From be0b0c9baf1b520d4fdea8cb32e5479da9e030ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CArslan?= Date: Sat, 28 Sep 2024 09:43:19 +0000 Subject: [PATCH] Added base core-booking impl --- core-booking/build.gradle.kts | 3 +++ core-booking/gradlew | 0 core-booking/src/main/kotlin/Main.kt | 5 ----- core-booking/src/main/resources/api/api.yaml | 2 +- 4 files changed, 4 insertions(+), 6 deletions(-) mode change 100755 => 100644 core-booking/gradlew delete mode 100644 core-booking/src/main/kotlin/Main.kt diff --git a/core-booking/build.gradle.kts b/core-booking/build.gradle.kts index 1932f8a..34a2661 100644 --- a/core-booking/build.gradle.kts +++ b/core-booking/build.gradle.kts @@ -17,6 +17,9 @@ dependencies { testImplementation(platform("org.junit:junit-bom:5.10.0")) testImplementation("org.junit.jupiter:junit-jupiter") implementation(kotlin("stdlib")) + implementation("io.klogging:klogging-jvm:0.7.2") + implementation("org.postgresql:postgresql:42.1.4") + implementation("org.springframework.boot:spring-boot-starter-jdbc:3.3.4") implementation("org.springframework.boot:spring-boot-starter-web:3.3.0") implementation("org.springframework.boot:spring-boot-starter-validation:3.3.0") } diff --git a/core-booking/gradlew b/core-booking/gradlew old mode 100755 new mode 100644 diff --git a/core-booking/src/main/kotlin/Main.kt b/core-booking/src/main/kotlin/Main.kt deleted file mode 100644 index 732adf1..0000000 --- a/core-booking/src/main/kotlin/Main.kt +++ /dev/null @@ -1,5 +0,0 @@ -package org.example - -fun main() { - println("Hello World!") -} \ No newline at end of file diff --git a/core-booking/src/main/resources/api/api.yaml b/core-booking/src/main/resources/api/api.yaml index e7b5817..8bc942f 100644 --- a/core-booking/src/main/resources/api/api.yaml +++ b/core-booking/src/main/resources/api/api.yaml @@ -19,7 +19,6 @@ paths: schema: type: string format: uuid - nullable: false responses: 200: description: Book reservation response @@ -43,6 +42,7 @@ paths: required: true schema: type: string + format: uuid description: ID of the reservation request. responses: 200: