Skip to content

Commit

Permalink
setting: initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
unanchoi committed May 17, 2024
1 parent 0d98aed commit 6d3aa7d
Show file tree
Hide file tree
Showing 22 changed files with 55 additions and 17 deletions.
40 changes: 39 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,40 @@
HELP.md
.gradle
build/
!gradle/wrapper/gradle-wrapper.jar
!**/src/main/**/build/
!**/src/test/**/build/

### STS ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
.sts4-cache
bin/
!**/src/main/**/bin/
!**/src/test/**/bin/

### IntelliJ IDEA ###
.idea
application-secret.properties
*.iws
*.iml
*.ipr
out/
!**/src/main/**/out/
!**/src/test/**/out/

### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/

### VS Code ###
.vscode/

application-secret.properties
```
Binary file modified .gradle/8.7/checksums/checksums.lock
Binary file not shown.
Binary file added .gradle/8.7/checksums/md5-checksums.bin
Binary file not shown.
Binary file added .gradle/8.7/checksums/sha1-checksums.bin
Binary file not shown.
Binary file added .gradle/8.7/executionHistory/executionHistory.bin
Binary file not shown.
Binary file modified .gradle/8.7/executionHistory/executionHistory.lock
Binary file not shown.
Binary file added .gradle/8.7/fileHashes/fileHashes.bin
Binary file not shown.
Binary file modified .gradle/8.7/fileHashes/fileHashes.lock
Binary file not shown.
Binary file added .gradle/8.7/fileHashes/resourceHashesCache.bin
Binary file not shown.
Binary file modified .gradle/buildOutputCleanup/buildOutputCleanup.lock
Binary file not shown.
Binary file added .gradle/buildOutputCleanup/outputFiles.bin
Binary file not shown.
Binary file added .gradle/file-system.probe
Binary file not shown.
5 changes: 4 additions & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ dependencies {
annotationProcessor 'org.projectlombok:lombok'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'

// swagger
implementation("org.springdoc:springdoc-openapi-starter-webmvc-ui:2.3.0")
}

tasks.named('test') {
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Empty file.
15 changes: 0 additions & 15 deletions build/resources/main/application-local.yml

This file was deleted.

Binary file removed build/tmp/compileJava/previous-compilation-data.bin
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
package site.sopkathon.product.controller;


import io.swagger.v3.oas.annotations.responses.ApiResponse;
import io.swagger.v3.oas.annotations.responses.ApiResponses;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
Expand All @@ -10,8 +13,14 @@

@RestController
@RequestMapping("/health")
@Tag(name = "Health Check", description = "서버 상태 체크")
public class HealthCheckController {

@ApiResponses(
value = {
@ApiResponse(responseCode = "200", description = "서버 상태 체크 성공")
}
)
@GetMapping
public ResponseEntity<BaseResponse<Void>> healthCheck() {
return ResponseEntity.ok(BaseResponse.success(SuccessMessage.HEALTH_CHECK_SUCCESS));
Expand Down

0 comments on commit 6d3aa7d

Please sign in to comment.