diff --git a/backend/.idea/compiler.xml b/backend/.idea/compiler.xml index abcf9f3a..c3434737 100644 --- a/backend/.idea/compiler.xml +++ b/backend/.idea/compiler.xml @@ -7,11 +7,11 @@ - + - + lear \ No newline at end of file diff --git a/backend/.idea/gradle.xml b/backend/.idea/gradle.xml index 3ed0f4e4..67cb8ab8 100644 --- a/backend/.idea/gradle.xml +++ b/backend/.idea/gradle.xml @@ -11,6 +11,14 @@ + + + \ No newline at end of file diff --git a/backend/.idea/misc.xml b/backend/.idea/misc.xml index afea9a3f..46687a74 100644 --- a/backend/.idea/misc.xml +++ b/backend/.idea/misc.xml @@ -3,6 +3,7 @@ + diff --git a/backend/notification-service/build.gradle.kts b/backend/notification-service/build.gradle.kts index 1a5ccea8..80c81e31 100644 --- a/backend/notification-service/build.gradle.kts +++ b/backend/notification-service/build.gradle.kts @@ -3,7 +3,6 @@ plugins { kotlin("plugin.spring") version "1.9.25" id("org.springframework.boot") version "3.3.5" id("io.spring.dependency-management") version "1.1.6" - kotlin("plugin.jpa") version "1.9.25" } group = "com.framecheckmate" @@ -26,7 +25,6 @@ repositories { } dependencies { - implementation("org.springframework.boot:spring-boot-starter-data-jpa") implementation("org.springframework.boot:spring-boot-starter-web") implementation("com.fasterxml.jackson.module:jackson-module-kotlin") implementation("org.jetbrains.kotlin:kotlin-reflect") @@ -43,12 +41,6 @@ kotlin { } } -allOpen { - annotation("jakarta.persistence.Entity") - annotation("jakarta.persistence.MappedSuperclass") - annotation("jakarta.persistence.Embeddable") -} - tasks.withType { useJUnitPlatform() } diff --git a/backend/notification-service/settings.gradle.kts b/backend/notification-service/settings.gradle.kts index c4a90f2e..3cc0e57a 100644 --- a/backend/notification-service/settings.gradle.kts +++ b/backend/notification-service/settings.gradle.kts @@ -1 +1 @@ -rootProject.name = "notification" +rootProject.name = "notification-service" diff --git a/backend/notification-service/src/main/kotlin/com/framecheckmate/notification/controller/NotificationController.kt b/backend/notification-service/src/main/kotlin/com/framecheckmate/notification/controller/NotificationController.kt deleted file mode 100644 index fde668e1..00000000 --- a/backend/notification-service/src/main/kotlin/com/framecheckmate/notification/controller/NotificationController.kt +++ /dev/null @@ -1,4 +0,0 @@ -package com.framecheckmate.notification.controller - -class NotificationController { -} \ No newline at end of file diff --git a/backend/notification-service/src/main/kotlin/com/framecheckmate/notification/dto/request/NotificationSaveRequest.kt b/backend/notification-service/src/main/kotlin/com/framecheckmate/notification/dto/request/NotificationSaveRequest.kt deleted file mode 100644 index e7c16a5b..00000000 --- a/backend/notification-service/src/main/kotlin/com/framecheckmate/notification/dto/request/NotificationSaveRequest.kt +++ /dev/null @@ -1,4 +0,0 @@ -package com.framecheckmate.notification.dto.request - -class NotificationSaveRequest { -} \ No newline at end of file diff --git a/backend/notification-service/src/main/kotlin/com/framecheckmate/notification/dto/response/NotificationSaveResponse.kt b/backend/notification-service/src/main/kotlin/com/framecheckmate/notification/dto/response/NotificationSaveResponse.kt deleted file mode 100644 index ba182060..00000000 --- a/backend/notification-service/src/main/kotlin/com/framecheckmate/notification/dto/response/NotificationSaveResponse.kt +++ /dev/null @@ -1,4 +0,0 @@ -package com.framecheckmate.notification.dto.response - -class NotificationSaveResponse { -} \ No newline at end of file diff --git a/backend/notification-service/src/main/kotlin/com/framecheckmate/notification/entity/Notification.kt b/backend/notification-service/src/main/kotlin/com/framecheckmate/notification/entity/Notification.kt deleted file mode 100644 index 6f66a0d1..00000000 --- a/backend/notification-service/src/main/kotlin/com/framecheckmate/notification/entity/Notification.kt +++ /dev/null @@ -1,4 +0,0 @@ -package com.framecheckmate.notification.entity - -class Notification { -} \ No newline at end of file diff --git a/backend/notification-service/src/main/kotlin/com/framecheckmate/notification/repository/NotificationRepository.kt b/backend/notification-service/src/main/kotlin/com/framecheckmate/notification/repository/NotificationRepository.kt deleted file mode 100644 index 285fd2fc..00000000 --- a/backend/notification-service/src/main/kotlin/com/framecheckmate/notification/repository/NotificationRepository.kt +++ /dev/null @@ -1,4 +0,0 @@ -package com.framecheckmate.notification.repository - -interface NotificationRepository { -} \ No newline at end of file diff --git a/backend/notification-service/src/main/kotlin/com/framecheckmate/notification/service/NotificationService.kt b/backend/notification-service/src/main/kotlin/com/framecheckmate/notification/service/NotificationService.kt deleted file mode 100644 index c2d984f7..00000000 --- a/backend/notification-service/src/main/kotlin/com/framecheckmate/notification/service/NotificationService.kt +++ /dev/null @@ -1,4 +0,0 @@ -package com.framecheckmate.notification.service - -class NotificationService { -} \ No newline at end of file diff --git a/backend/notification-service/src/main/kotlin/com/framecheckmate/notification/NotificationApplication.kt b/backend/notification-service/src/main/kotlin/com/framecheckmate/notificationservice/NotificationServiceApplication.kt similarity index 55% rename from backend/notification-service/src/main/kotlin/com/framecheckmate/notification/NotificationApplication.kt rename to backend/notification-service/src/main/kotlin/com/framecheckmate/notificationservice/NotificationServiceApplication.kt index d87dc0ed..fb8e5ba7 100644 --- a/backend/notification-service/src/main/kotlin/com/framecheckmate/notification/NotificationApplication.kt +++ b/backend/notification-service/src/main/kotlin/com/framecheckmate/notificationservice/NotificationServiceApplication.kt @@ -1,11 +1,11 @@ -package com.framecheckmate.notification +package com.framecheckmate.notificationservice import org.springframework.boot.autoconfigure.SpringBootApplication import org.springframework.boot.runApplication @SpringBootApplication -class NotificationApplication +class NotificationServiceApplication fun main(args: Array) { - runApplication(*args) + runApplication(*args) } diff --git a/backend/notification-service/src/main/resources/application.properties b/backend/notification-service/src/main/resources/application.properties index 01501956..10e675da 100644 --- a/backend/notification-service/src/main/resources/application.properties +++ b/backend/notification-service/src/main/resources/application.properties @@ -1 +1 @@ -spring.application.name=notification +spring.application.name=notification-service diff --git a/backend/notification-service/src/test/kotlin/com/framecheckmate/notification/NotificationApplicationTests.kt b/backend/notification-service/src/test/kotlin/com/framecheckmate/notificationservice/NotificationServiceApplicationTests.kt similarity index 63% rename from backend/notification-service/src/test/kotlin/com/framecheckmate/notification/NotificationApplicationTests.kt rename to backend/notification-service/src/test/kotlin/com/framecheckmate/notificationservice/NotificationServiceApplicationTests.kt index e4766687..ce0f3a8b 100644 --- a/backend/notification-service/src/test/kotlin/com/framecheckmate/notification/NotificationApplicationTests.kt +++ b/backend/notification-service/src/test/kotlin/com/framecheckmate/notificationservice/NotificationServiceApplicationTests.kt @@ -1,10 +1,10 @@ -package com.framecheckmate.notification +package com.framecheckmate.notificationservice import org.junit.jupiter.api.Test import org.springframework.boot.test.context.SpringBootTest @SpringBootTest -class NotificationApplicationTests { +class NotificationServiceApplicationTests { @Test fun contextLoads() {