Skip to content

Commit cf1b681

Browse files
committed
feat : OS Detector 플러그인 추가 및 관련 의존성 업데이트
1 parent f0c3519 commit cf1b681

6 files changed

Lines changed: 31 additions & 2 deletions

File tree

buildSrc/src/main/kotlin/Plugin.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ object Plugin {
88
const val KTLINT = "org.jlleitschuh.gradle.ktlint"
99
const val CASPER_DOCUMENTATION = "casper.documentation-convention"
1010
const val PROTOBUF = "com.google.protobuf"
11+
const val OSDETECTOR = "com.google.osdetector"
1112
}

buildSrc/src/main/kotlin/PluginVersion.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ object PluginVersion {
55
const val DETEKT_VERSION = "1.23.6"
66
const val KTLINT_VERSION = "12.1.1"
77
const val PROTOBUF_VERSION = "0.9.4"
8+
const val OSDETECTOR_VERSION = "1.7.3"
89
}

casper-status/build.gradle.kts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ plugins {
99
id(Plugin.SPRING_DEPENDENCY_MANAGEMENT) version PluginVersion.SPRING_DEPENDENCY_MANAGEMENT_VERSION
1010
id(Plugin.CASPER_DOCUMENTATION)
1111
id(Plugin.PROTOBUF) version PluginVersion.PROTOBUF_VERSION
12+
id(Plugin.OSDETECTOR) version PluginVersion.OSDETECTOR_VERSION
1213
}
1314

1415
dependencyManagement {
@@ -91,7 +92,7 @@ protobuf {
9192
}
9293
plugins {
9394
create("grpc") {
94-
artifact = "io.grpc:protoc-gen-grpc-java:${DependencyVersion.GRPC}"
95+
artifact = "io.grpc:protoc-gen-grpc-java:${DependencyVersion.GRPC}:${osdetector.classifier}"
9596
}
9697
create("grpckt") {
9798
artifact = "io.grpc:protoc-gen-grpc-kotlin:${DependencyVersion.GRPC_KOTLIN}:jdk8@jar"

casper-status/src/main/kotlin/hs/kr/entrydsm/status/CasperStatusApplication.kt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,13 @@ import org.springframework.boot.autoconfigure.SpringBootApplication
44
import org.springframework.boot.runApplication
55

66
@SpringBootApplication
7+
/**
8+
* 이 클래스이 무슨 일을 하는지 설명합니다.
9+
*/
710
class CasperStatusApplication
8-
11+
/**
12+
* 이 클래스이 무슨 일을 하는지 설명합니다.
13+
*/
914
fun main(args: Array<String>) {
1015
runApplication<CasperStatusApplication>(*args)
1116
}

casper-status/src/main/kotlin/hs/kr/entrydsm/status/global/document/status/AdminStatusApiDocument.kt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ interface AdminStatusApiDocument {
3030
content = arrayOf(Content())
3131
)
3232
)
33+
/**
34+
* 제출된 지원서를 작성 중 상태로 되돌립니다.
35+
*/
3336
fun cancelApplicationSubmit(
3437
@Parameter(description = "접수번호", required = true)
3538
@PathVariable("receipt-code") receiptCode: Long
@@ -51,6 +54,9 @@ interface AdminStatusApiDocument {
5154
content = arrayOf(Content())
5255
)
5356
)
57+
/**
58+
* 등기우편으로 제출된 서류의 도착을 확인합니다.
59+
*/
5460
fun updateIsPrintsArrivedService(
5561
@Parameter(description = "접수번호", required = true)
5662
@PathVariable("receipt-code") receiptCode: Long
@@ -72,6 +78,9 @@ interface AdminStatusApiDocument {
7278
content = arrayOf(Content())
7379
)
7480
)
81+
/**
82+
* 서류 검토 완료 후 1차 또는 2차 전형을 시작합니다.
83+
*/
7584
fun startScreening(
7685
@Parameter(description = "접수번호", required = true)
7786
@PathVariable("receipt-code") receiptCode: Long
@@ -93,6 +102,9 @@ interface AdminStatusApiDocument {
93102
content = arrayOf(Content())
94103
)
95104
)
105+
/**
106+
* 최종 전형 결과를 발표하고 합격 여부 확인 상태로 변경합니다.
107+
*/
96108
fun announceResult(
97109
@Parameter(description = "접수번호", required = true)
98110
@PathVariable("receipt-code") receiptCode: Long

casper-status/src/main/kotlin/hs/kr/entrydsm/status/global/document/status/InternalStatusApiDocument.kt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ interface InternalStatusApiDocument {
3333
content = arrayOf(Content())
3434
)
3535
)
36+
/**
37+
* 접수번호로 지원자의 상태 정보를 조회합니다.
38+
*/
3639
fun getStatusByReceiptCode(
3740
@Parameter(description = "조회할 접수번호", required = true)
3841
@PathVariable("receipt-code") receiptCode: Long
@@ -49,6 +52,9 @@ interface InternalStatusApiDocument {
4952
content = arrayOf(Content(schema = Schema(implementation = Array<InternalStatusResponse>::class)))
5053
)
5154
)
55+
/**
56+
* 모든 지원자의 상태 정보 목록을 조회합니다.
57+
*/
5258
fun getAllStatus(): List<InternalStatusResponse>
5359

5460
@Operation(
@@ -67,6 +73,9 @@ interface InternalStatusApiDocument {
6773
content = arrayOf(Content())
6874
)
6975
)
76+
/**
77+
* 지원자의 수험번호를 업데이트합니다.
78+
*/
7079
fun updateExamCode(
7180
@Parameter(description = "접수번호", required = true)
7281
@PathVariable("receipt-code") receiptCode: Long,

0 commit comments

Comments
 (0)