From 69077f8ca403632b7d80146fb2dc6c864b094b3f Mon Sep 17 00:00:00 2001 From: kangeunchan Date: Thu, 22 Jan 2026 14:35:54 +0900 Subject: [PATCH 1/3] =?UTF-8?q?refactor(packages):=20kotlin=20=EC=84=9C?= =?UTF-8?q?=EB=B9=84=EC=8A=A4=20=EB=AA=A8=EB=93=88=EB=AA=85=EC=9D=84=20ada?= =?UTF-8?q?pter-in/out,=20application,=20domain,=20bootstrap=EC=9C=BC?= =?UTF-8?q?=EB=A1=9C=20=ED=91=9C=EC=A4=80=ED=99=94=20(#14)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BUILD.bazel | 2 +- .../BUILD.bazel | 0 .../deps.bzl | 0 .../hs/kr/entrydsm/ExampleApplication.kt | 0 .../test/kotlin/hs/kr/entrydsm/TestMain.kt | 0 .../BUILD.bazel | 5 +--- .../deps.bzl | 0 .../hs/kr/entrydsm/ExampleApplication.kt | 0 .../test/kotlin/hs/kr/entrydsm/TestMain.kt | 0 .../admission-application}/BUILD.bazel | 5 +--- .../admission-application}/deps.bzl | 0 .../hs/kr/entrydsm/ExampleApplication.kt | 0 .../test/kotlin/hs/kr/entrydsm/TestMain.kt | 0 .../admission-bootstrap}/BUILD.bazel | 5 +--- .../admission-bootstrap}/deps.bzl | 0 .../hs/kr/entrydsm/ExampleApplication.kt | 0 .../test/kotlin/hs/kr/entrydsm/TestMain.kt | 0 .../admission-domain}/BUILD.bazel | 5 +--- .../admission-domain}/deps.bzl | 0 .../hs/kr/entrydsm/ExampleApplication.kt | 0 .../test/kotlin/hs/kr/entrydsm/TestMain.kt | 0 .../application-adapter-in/BUILD.bazel | 24 +++++++++++++++++ .../application-adapter-in}/deps.bzl | 0 .../hs/kr/entrydsm/ExampleApplication.kt | 0 .../test/kotlin/hs/kr/entrydsm/TestMain.kt | 0 .../application-adapter-out/BUILD.bazel | 24 +++++++++++++++++ .../application-adapter-out}/deps.bzl | 0 .../hs/kr/entrydsm/ExampleApplication.kt | 0 .../test/kotlin/hs/kr/entrydsm/TestMain.kt | 0 .../application-application/BUILD.bazel | 24 +++++++++++++++++ .../application-application}/deps.bzl | 0 .../hs/kr/entrydsm/ExampleApplication.kt | 0 .../test/kotlin/hs/kr/entrydsm/TestMain.kt | 0 .../application-bootstrap/BUILD.bazel | 24 +++++++++++++++++ .../application-bootstrap}/deps.bzl | 0 .../hs/kr/entrydsm/ExampleApplication.kt | 0 .../test/kotlin/hs/kr/entrydsm/TestMain.kt | 0 .../application-domain/BUILD.bazel | 24 +++++++++++++++++ .../application-domain}/deps.bzl | 0 .../hs/kr/entrydsm/ExampleApplication.kt | 0 .../test/kotlin/hs/kr/entrydsm/TestMain.kt | 0 .../configuration-adapter-in/BUILD.bazel | 24 +++++++++++++++++ .../configuration-adapter-in}/deps.bzl | 0 .../hs/kr/entrydsm/ExampleApplication.kt | 0 .../test/kotlin/hs/kr/entrydsm/TestMain.kt | 0 .../configuration-adapter-out/BUILD.bazel | 24 +++++++++++++++++ .../configuration-adapter-out}/deps.bzl | 0 .../hs/kr/entrydsm/ExampleApplication.kt | 0 .../test/kotlin/hs/kr/entrydsm/TestMain.kt | 0 .../configuration-application/BUILD.bazel | 24 +++++++++++++++++ .../configuration-application}/deps.bzl | 0 .../hs/kr/entrydsm/ExampleApplication.kt | 0 .../test/kotlin/hs/kr/entrydsm/TestMain.kt | 0 .../configuration-bootstrap/BUILD.bazel | 24 +++++++++++++++++ .../configuration-bootstrap}/deps.bzl | 0 .../hs/kr/entrydsm/ExampleApplication.kt | 0 .../test/kotlin/hs/kr/entrydsm/TestMain.kt | 0 .../configuration-domain/BUILD.bazel | 24 +++++++++++++++++ .../configuration-domain}/deps.bzl | 0 .../hs/kr/entrydsm/ExampleApplication.kt | 0 .../test/kotlin/hs/kr/entrydsm/TestMain.kt | 0 systems/configuration/module-b/BUILD.bazel | 27 ------------------- .../document/document-adapter-in/BUILD.bazel | 24 +++++++++++++++++ .../document-adapter-in}/deps.bzl | 0 .../hs/kr/entrydsm/ExampleApplication.kt | 0 .../test/kotlin/hs/kr/entrydsm/TestMain.kt | 0 .../document/document-adapter-out/BUILD.bazel | 24 +++++++++++++++++ .../document/document-adapter-out/deps.bzl | 16 +++++++++++ .../hs/kr/entrydsm/ExampleApplication.kt | 11 ++++++++ .../test/kotlin/hs/kr/entrydsm/TestMain.kt | 11 ++++++++ .../document/document-application/BUILD.bazel | 24 +++++++++++++++++ .../document/document-application/deps.bzl | 16 +++++++++++ .../hs/kr/entrydsm/ExampleApplication.kt | 11 ++++++++ .../test/kotlin/hs/kr/entrydsm/TestMain.kt | 11 ++++++++ .../document/document-bootstrap/BUILD.bazel | 24 +++++++++++++++++ systems/document/document-bootstrap/deps.bzl | 16 +++++++++++ .../hs/kr/entrydsm/ExampleApplication.kt | 11 ++++++++ .../test/kotlin/hs/kr/entrydsm/TestMain.kt | 11 ++++++++ systems/document/document-domain/BUILD.bazel | 24 +++++++++++++++++ systems/document/document-domain/deps.bzl | 16 +++++++++++ .../hs/kr/entrydsm/ExampleApplication.kt | 11 ++++++++ .../test/kotlin/hs/kr/entrydsm/TestMain.kt | 11 ++++++++ systems/document/module-a/BUILD.bazel | 27 ------------------- systems/document/module-b/BUILD.bazel | 27 ------------------- .../gateway/gateway-adapter-in/BUILD.bazel | 24 +++++++++++++++++ systems/gateway/gateway-adapter-in/deps.bzl | 16 +++++++++++ .../hs/kr/entrydsm/ExampleApplication.kt | 11 ++++++++ .../test/kotlin/hs/kr/entrydsm/TestMain.kt | 11 ++++++++ .../gateway/gateway-adapter-out/BUILD.bazel | 24 +++++++++++++++++ systems/gateway/gateway-adapter-out/deps.bzl | 16 +++++++++++ .../hs/kr/entrydsm/ExampleApplication.kt | 11 ++++++++ .../test/kotlin/hs/kr/entrydsm/TestMain.kt | 11 ++++++++ .../gateway/gateway-application/BUILD.bazel | 24 +++++++++++++++++ systems/gateway/gateway-application/deps.bzl | 16 +++++++++++ .../hs/kr/entrydsm/ExampleApplication.kt | 11 ++++++++ .../test/kotlin/hs/kr/entrydsm/TestMain.kt | 11 ++++++++ systems/gateway/gateway-bootstrap/BUILD.bazel | 24 +++++++++++++++++ systems/gateway/gateway-bootstrap/deps.bzl | 16 +++++++++++ .../hs/kr/entrydsm/ExampleApplication.kt | 11 ++++++++ .../test/kotlin/hs/kr/entrydsm/TestMain.kt | 11 ++++++++ systems/gateway/gateway-domain/BUILD.bazel | 24 +++++++++++++++++ systems/gateway/gateway-domain/deps.bzl | 16 +++++++++++ .../hs/kr/entrydsm/ExampleApplication.kt | 11 ++++++++ .../test/kotlin/hs/kr/entrydsm/TestMain.kt | 11 ++++++++ systems/gateway/module-a/BUILD.bazel | 27 ------------------- systems/gateway/module-b/BUILD.bazel | 27 ------------------- .../identity/identity-adapter-in/BUILD.bazel | 24 +++++++++++++++++ systems/identity/identity-adapter-in/deps.bzl | 16 +++++++++++ .../hs/kr/entrydsm/ExampleApplication.kt | 11 ++++++++ .../test/kotlin/hs/kr/entrydsm/TestMain.kt | 11 ++++++++ .../identity/identity-adapter-out/BUILD.bazel | 24 +++++++++++++++++ .../identity/identity-adapter-out/deps.bzl | 16 +++++++++++ .../hs/kr/entrydsm/ExampleApplication.kt | 11 ++++++++ .../test/kotlin/hs/kr/entrydsm/TestMain.kt | 11 ++++++++ .../identity/identity-application/BUILD.bazel | 24 +++++++++++++++++ .../identity/identity-application/deps.bzl | 16 +++++++++++ .../hs/kr/entrydsm/ExampleApplication.kt | 11 ++++++++ .../test/kotlin/hs/kr/entrydsm/TestMain.kt | 11 ++++++++ .../identity/identity-bootstrap/BUILD.bazel | 24 +++++++++++++++++ systems/identity/identity-bootstrap/deps.bzl | 16 +++++++++++ .../hs/kr/entrydsm/ExampleApplication.kt | 11 ++++++++ .../test/kotlin/hs/kr/entrydsm/TestMain.kt | 11 ++++++++ systems/identity/identity-domain/BUILD.bazel | 24 +++++++++++++++++ systems/identity/identity-domain/deps.bzl | 16 +++++++++++ .../hs/kr/entrydsm/ExampleApplication.kt | 11 ++++++++ .../test/kotlin/hs/kr/entrydsm/TestMain.kt | 11 ++++++++ systems/identity/module-a/BUILD.bazel | 27 ------------------- systems/identity/module-b/BUILD.bazel | 27 ------------------- systems/notification/module-a/BUILD.bazel | 27 ------------------- systems/notification/module-b/BUILD.bazel | 27 ------------------- .../notification-adapter-in/BUILD.bazel | 24 +++++++++++++++++ .../notification-adapter-in/deps.bzl | 16 +++++++++++ .../hs/kr/entrydsm/ExampleApplication.kt | 11 ++++++++ .../test/kotlin/hs/kr/entrydsm/TestMain.kt | 11 ++++++++ .../notification-adapter-out/BUILD.bazel | 24 +++++++++++++++++ .../notification-adapter-out/deps.bzl | 16 +++++++++++ .../hs/kr/entrydsm/ExampleApplication.kt | 11 ++++++++ .../test/kotlin/hs/kr/entrydsm/TestMain.kt | 11 ++++++++ .../notification-application/BUILD.bazel | 24 +++++++++++++++++ .../notification-application/deps.bzl | 16 +++++++++++ .../hs/kr/entrydsm/ExampleApplication.kt | 11 ++++++++ .../test/kotlin/hs/kr/entrydsm/TestMain.kt | 11 ++++++++ .../notification-bootstrap/BUILD.bazel | 24 +++++++++++++++++ .../notification-bootstrap/deps.bzl | 16 +++++++++++ .../hs/kr/entrydsm/ExampleApplication.kt | 11 ++++++++ .../test/kotlin/hs/kr/entrydsm/TestMain.kt | 11 ++++++++ .../notification-domain/BUILD.bazel | 24 +++++++++++++++++ .../notification/notification-domain/deps.bzl | 16 +++++++++++ .../hs/kr/entrydsm/ExampleApplication.kt | 11 ++++++++ .../test/kotlin/hs/kr/entrydsm/TestMain.kt | 11 ++++++++ systems/schedule/module-a/BUILD.bazel | 27 ------------------- systems/schedule/module-b/BUILD.bazel | 27 ------------------- .../schedule/schedule-adapter-in/BUILD.bazel | 24 +++++++++++++++++ systems/schedule/schedule-adapter-in/deps.bzl | 16 +++++++++++ .../hs/kr/entrydsm/ExampleApplication.kt | 11 ++++++++ .../test/kotlin/hs/kr/entrydsm/TestMain.kt | 11 ++++++++ .../schedule/schedule-adapter-out/BUILD.bazel | 24 +++++++++++++++++ .../schedule/schedule-adapter-out/deps.bzl | 16 +++++++++++ .../hs/kr/entrydsm/ExampleApplication.kt | 11 ++++++++ .../test/kotlin/hs/kr/entrydsm/TestMain.kt | 11 ++++++++ .../schedule/schedule-application/BUILD.bazel | 24 +++++++++++++++++ .../schedule/schedule-application/deps.bzl | 16 +++++++++++ .../hs/kr/entrydsm/ExampleApplication.kt | 11 ++++++++ .../test/kotlin/hs/kr/entrydsm/TestMain.kt | 11 ++++++++ .../schedule/schedule-bootstrap/BUILD.bazel | 24 +++++++++++++++++ systems/schedule/schedule-bootstrap/deps.bzl | 16 +++++++++++ .../hs/kr/entrydsm/ExampleApplication.kt | 11 ++++++++ .../test/kotlin/hs/kr/entrydsm/TestMain.kt | 11 ++++++++ systems/schedule/schedule-domain/BUILD.bazel | 24 +++++++++++++++++ systems/schedule/schedule-domain/deps.bzl | 16 +++++++++++ .../hs/kr/entrydsm/ExampleApplication.kt | 11 ++++++++ .../test/kotlin/hs/kr/entrydsm/TestMain.kt | 11 ++++++++ 172 files changed, 1757 insertions(+), 314 deletions(-) rename systems/admission/{module-a => admission-adapter-in}/BUILD.bazel (100%) rename systems/admission/{module-a => admission-adapter-in}/deps.bzl (100%) rename systems/admission/{module-a => admission-adapter-in}/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt (100%) rename systems/admission/{module-a => admission-adapter-in}/src/test/kotlin/hs/kr/entrydsm/TestMain.kt (100%) rename systems/admission/{module-b => admission-adapter-out}/BUILD.bazel (89%) rename systems/admission/{module-b => admission-adapter-out}/deps.bzl (100%) rename systems/admission/{module-b => admission-adapter-out}/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt (100%) rename systems/admission/{module-b => admission-adapter-out}/src/test/kotlin/hs/kr/entrydsm/TestMain.kt (100%) rename systems/{application/module-a => admission/admission-application}/BUILD.bazel (89%) rename systems/{application/module-a => admission/admission-application}/deps.bzl (100%) rename systems/{application/module-a => admission/admission-application}/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt (100%) rename systems/{application/module-a => admission/admission-application}/src/test/kotlin/hs/kr/entrydsm/TestMain.kt (100%) rename systems/{application/module-b => admission/admission-bootstrap}/BUILD.bazel (89%) rename systems/{application/module-b => admission/admission-bootstrap}/deps.bzl (100%) rename systems/{application/module-b => admission/admission-bootstrap}/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt (100%) rename systems/{application/module-b => admission/admission-bootstrap}/src/test/kotlin/hs/kr/entrydsm/TestMain.kt (100%) rename systems/{configuration/module-a => admission/admission-domain}/BUILD.bazel (89%) rename systems/{configuration/module-a => admission/admission-domain}/deps.bzl (100%) rename systems/{configuration/module-a => admission/admission-domain}/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt (100%) rename systems/{configuration/module-a => admission/admission-domain}/src/test/kotlin/hs/kr/entrydsm/TestMain.kt (100%) create mode 100644 systems/application/application-adapter-in/BUILD.bazel rename systems/{configuration/module-b => application/application-adapter-in}/deps.bzl (100%) rename systems/{configuration/module-b => application/application-adapter-in}/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt (100%) rename systems/{configuration/module-b => application/application-adapter-in}/src/test/kotlin/hs/kr/entrydsm/TestMain.kt (100%) create mode 100644 systems/application/application-adapter-out/BUILD.bazel rename systems/{document/module-a => application/application-adapter-out}/deps.bzl (100%) rename systems/{document/module-a => application/application-adapter-out}/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt (100%) rename systems/{document/module-a => application/application-adapter-out}/src/test/kotlin/hs/kr/entrydsm/TestMain.kt (100%) create mode 100644 systems/application/application-application/BUILD.bazel rename systems/{document/module-b => application/application-application}/deps.bzl (100%) rename systems/{document/module-b => application/application-application}/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt (100%) rename systems/{document/module-b => application/application-application}/src/test/kotlin/hs/kr/entrydsm/TestMain.kt (100%) create mode 100644 systems/application/application-bootstrap/BUILD.bazel rename systems/{gateway/module-a => application/application-bootstrap}/deps.bzl (100%) rename systems/{gateway/module-a => application/application-bootstrap}/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt (100%) rename systems/{gateway/module-a => application/application-bootstrap}/src/test/kotlin/hs/kr/entrydsm/TestMain.kt (100%) create mode 100644 systems/application/application-domain/BUILD.bazel rename systems/{gateway/module-b => application/application-domain}/deps.bzl (100%) rename systems/{gateway/module-b => application/application-domain}/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt (100%) rename systems/{gateway/module-b => application/application-domain}/src/test/kotlin/hs/kr/entrydsm/TestMain.kt (100%) create mode 100644 systems/configuration/configuration-adapter-in/BUILD.bazel rename systems/{identity/module-a => configuration/configuration-adapter-in}/deps.bzl (100%) rename systems/{identity/module-a => configuration/configuration-adapter-in}/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt (100%) rename systems/{identity/module-a => configuration/configuration-adapter-in}/src/test/kotlin/hs/kr/entrydsm/TestMain.kt (100%) create mode 100644 systems/configuration/configuration-adapter-out/BUILD.bazel rename systems/{identity/module-b => configuration/configuration-adapter-out}/deps.bzl (100%) rename systems/{identity/module-b => configuration/configuration-adapter-out}/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt (100%) rename systems/{identity/module-b => configuration/configuration-adapter-out}/src/test/kotlin/hs/kr/entrydsm/TestMain.kt (100%) create mode 100644 systems/configuration/configuration-application/BUILD.bazel rename systems/{notification/module-a => configuration/configuration-application}/deps.bzl (100%) rename systems/{notification/module-a => configuration/configuration-application}/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt (100%) rename systems/{notification/module-a => configuration/configuration-application}/src/test/kotlin/hs/kr/entrydsm/TestMain.kt (100%) create mode 100644 systems/configuration/configuration-bootstrap/BUILD.bazel rename systems/{notification/module-b => configuration/configuration-bootstrap}/deps.bzl (100%) rename systems/{notification/module-b => configuration/configuration-bootstrap}/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt (100%) rename systems/{notification/module-b => configuration/configuration-bootstrap}/src/test/kotlin/hs/kr/entrydsm/TestMain.kt (100%) create mode 100644 systems/configuration/configuration-domain/BUILD.bazel rename systems/{schedule/module-a => configuration/configuration-domain}/deps.bzl (100%) rename systems/{schedule/module-a => configuration/configuration-domain}/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt (100%) rename systems/{schedule/module-a => configuration/configuration-domain}/src/test/kotlin/hs/kr/entrydsm/TestMain.kt (100%) delete mode 100644 systems/configuration/module-b/BUILD.bazel create mode 100644 systems/document/document-adapter-in/BUILD.bazel rename systems/{schedule/module-b => document/document-adapter-in}/deps.bzl (100%) rename systems/{schedule/module-b => document/document-adapter-in}/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt (100%) rename systems/{schedule/module-b => document/document-adapter-in}/src/test/kotlin/hs/kr/entrydsm/TestMain.kt (100%) create mode 100644 systems/document/document-adapter-out/BUILD.bazel create mode 100644 systems/document/document-adapter-out/deps.bzl create mode 100644 systems/document/document-adapter-out/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt create mode 100644 systems/document/document-adapter-out/src/test/kotlin/hs/kr/entrydsm/TestMain.kt create mode 100644 systems/document/document-application/BUILD.bazel create mode 100644 systems/document/document-application/deps.bzl create mode 100644 systems/document/document-application/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt create mode 100644 systems/document/document-application/src/test/kotlin/hs/kr/entrydsm/TestMain.kt create mode 100644 systems/document/document-bootstrap/BUILD.bazel create mode 100644 systems/document/document-bootstrap/deps.bzl create mode 100644 systems/document/document-bootstrap/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt create mode 100644 systems/document/document-bootstrap/src/test/kotlin/hs/kr/entrydsm/TestMain.kt create mode 100644 systems/document/document-domain/BUILD.bazel create mode 100644 systems/document/document-domain/deps.bzl create mode 100644 systems/document/document-domain/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt create mode 100644 systems/document/document-domain/src/test/kotlin/hs/kr/entrydsm/TestMain.kt delete mode 100644 systems/document/module-a/BUILD.bazel delete mode 100644 systems/document/module-b/BUILD.bazel create mode 100644 systems/gateway/gateway-adapter-in/BUILD.bazel create mode 100644 systems/gateway/gateway-adapter-in/deps.bzl create mode 100644 systems/gateway/gateway-adapter-in/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt create mode 100644 systems/gateway/gateway-adapter-in/src/test/kotlin/hs/kr/entrydsm/TestMain.kt create mode 100644 systems/gateway/gateway-adapter-out/BUILD.bazel create mode 100644 systems/gateway/gateway-adapter-out/deps.bzl create mode 100644 systems/gateway/gateway-adapter-out/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt create mode 100644 systems/gateway/gateway-adapter-out/src/test/kotlin/hs/kr/entrydsm/TestMain.kt create mode 100644 systems/gateway/gateway-application/BUILD.bazel create mode 100644 systems/gateway/gateway-application/deps.bzl create mode 100644 systems/gateway/gateway-application/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt create mode 100644 systems/gateway/gateway-application/src/test/kotlin/hs/kr/entrydsm/TestMain.kt create mode 100644 systems/gateway/gateway-bootstrap/BUILD.bazel create mode 100644 systems/gateway/gateway-bootstrap/deps.bzl create mode 100644 systems/gateway/gateway-bootstrap/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt create mode 100644 systems/gateway/gateway-bootstrap/src/test/kotlin/hs/kr/entrydsm/TestMain.kt create mode 100644 systems/gateway/gateway-domain/BUILD.bazel create mode 100644 systems/gateway/gateway-domain/deps.bzl create mode 100644 systems/gateway/gateway-domain/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt create mode 100644 systems/gateway/gateway-domain/src/test/kotlin/hs/kr/entrydsm/TestMain.kt delete mode 100644 systems/gateway/module-a/BUILD.bazel delete mode 100644 systems/gateway/module-b/BUILD.bazel create mode 100644 systems/identity/identity-adapter-in/BUILD.bazel create mode 100644 systems/identity/identity-adapter-in/deps.bzl create mode 100644 systems/identity/identity-adapter-in/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt create mode 100644 systems/identity/identity-adapter-in/src/test/kotlin/hs/kr/entrydsm/TestMain.kt create mode 100644 systems/identity/identity-adapter-out/BUILD.bazel create mode 100644 systems/identity/identity-adapter-out/deps.bzl create mode 100644 systems/identity/identity-adapter-out/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt create mode 100644 systems/identity/identity-adapter-out/src/test/kotlin/hs/kr/entrydsm/TestMain.kt create mode 100644 systems/identity/identity-application/BUILD.bazel create mode 100644 systems/identity/identity-application/deps.bzl create mode 100644 systems/identity/identity-application/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt create mode 100644 systems/identity/identity-application/src/test/kotlin/hs/kr/entrydsm/TestMain.kt create mode 100644 systems/identity/identity-bootstrap/BUILD.bazel create mode 100644 systems/identity/identity-bootstrap/deps.bzl create mode 100644 systems/identity/identity-bootstrap/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt create mode 100644 systems/identity/identity-bootstrap/src/test/kotlin/hs/kr/entrydsm/TestMain.kt create mode 100644 systems/identity/identity-domain/BUILD.bazel create mode 100644 systems/identity/identity-domain/deps.bzl create mode 100644 systems/identity/identity-domain/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt create mode 100644 systems/identity/identity-domain/src/test/kotlin/hs/kr/entrydsm/TestMain.kt delete mode 100644 systems/identity/module-a/BUILD.bazel delete mode 100644 systems/identity/module-b/BUILD.bazel delete mode 100644 systems/notification/module-a/BUILD.bazel delete mode 100644 systems/notification/module-b/BUILD.bazel create mode 100644 systems/notification/notification-adapter-in/BUILD.bazel create mode 100644 systems/notification/notification-adapter-in/deps.bzl create mode 100644 systems/notification/notification-adapter-in/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt create mode 100644 systems/notification/notification-adapter-in/src/test/kotlin/hs/kr/entrydsm/TestMain.kt create mode 100644 systems/notification/notification-adapter-out/BUILD.bazel create mode 100644 systems/notification/notification-adapter-out/deps.bzl create mode 100644 systems/notification/notification-adapter-out/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt create mode 100644 systems/notification/notification-adapter-out/src/test/kotlin/hs/kr/entrydsm/TestMain.kt create mode 100644 systems/notification/notification-application/BUILD.bazel create mode 100644 systems/notification/notification-application/deps.bzl create mode 100644 systems/notification/notification-application/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt create mode 100644 systems/notification/notification-application/src/test/kotlin/hs/kr/entrydsm/TestMain.kt create mode 100644 systems/notification/notification-bootstrap/BUILD.bazel create mode 100644 systems/notification/notification-bootstrap/deps.bzl create mode 100644 systems/notification/notification-bootstrap/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt create mode 100644 systems/notification/notification-bootstrap/src/test/kotlin/hs/kr/entrydsm/TestMain.kt create mode 100644 systems/notification/notification-domain/BUILD.bazel create mode 100644 systems/notification/notification-domain/deps.bzl create mode 100644 systems/notification/notification-domain/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt create mode 100644 systems/notification/notification-domain/src/test/kotlin/hs/kr/entrydsm/TestMain.kt delete mode 100644 systems/schedule/module-a/BUILD.bazel delete mode 100644 systems/schedule/module-b/BUILD.bazel create mode 100644 systems/schedule/schedule-adapter-in/BUILD.bazel create mode 100644 systems/schedule/schedule-adapter-in/deps.bzl create mode 100644 systems/schedule/schedule-adapter-in/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt create mode 100644 systems/schedule/schedule-adapter-in/src/test/kotlin/hs/kr/entrydsm/TestMain.kt create mode 100644 systems/schedule/schedule-adapter-out/BUILD.bazel create mode 100644 systems/schedule/schedule-adapter-out/deps.bzl create mode 100644 systems/schedule/schedule-adapter-out/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt create mode 100644 systems/schedule/schedule-adapter-out/src/test/kotlin/hs/kr/entrydsm/TestMain.kt create mode 100644 systems/schedule/schedule-application/BUILD.bazel create mode 100644 systems/schedule/schedule-application/deps.bzl create mode 100644 systems/schedule/schedule-application/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt create mode 100644 systems/schedule/schedule-application/src/test/kotlin/hs/kr/entrydsm/TestMain.kt create mode 100644 systems/schedule/schedule-bootstrap/BUILD.bazel create mode 100644 systems/schedule/schedule-bootstrap/deps.bzl create mode 100644 systems/schedule/schedule-bootstrap/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt create mode 100644 systems/schedule/schedule-bootstrap/src/test/kotlin/hs/kr/entrydsm/TestMain.kt create mode 100644 systems/schedule/schedule-domain/BUILD.bazel create mode 100644 systems/schedule/schedule-domain/deps.bzl create mode 100644 systems/schedule/schedule-domain/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt create mode 100644 systems/schedule/schedule-domain/src/test/kotlin/hs/kr/entrydsm/TestMain.kt diff --git a/BUILD.bazel b/BUILD.bazel index 6c91e06..84b8582 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -16,7 +16,7 @@ gazelle( alias(name = "admission", actual = "//systems/admission/module-a:main") alias(name = "application", actual = "//systems/application/module-a:main") -alias(name = "configuration" actual = "//systems/configuration/module-a:main") +alias(name = "configuration", actual = "//systems/configuration/module-a:main") alias(name = "document", actual = "//systems/document/module-a:main") alias(name = "gateway", actual = "//systems/gateway/module-a:main") alias(name = "identity", actual = "//systems/identity/module-a:main") diff --git a/systems/admission/module-a/BUILD.bazel b/systems/admission/admission-adapter-in/BUILD.bazel similarity index 100% rename from systems/admission/module-a/BUILD.bazel rename to systems/admission/admission-adapter-in/BUILD.bazel diff --git a/systems/admission/module-a/deps.bzl b/systems/admission/admission-adapter-in/deps.bzl similarity index 100% rename from systems/admission/module-a/deps.bzl rename to systems/admission/admission-adapter-in/deps.bzl diff --git a/systems/admission/module-a/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt b/systems/admission/admission-adapter-in/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt similarity index 100% rename from systems/admission/module-a/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt rename to systems/admission/admission-adapter-in/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt diff --git a/systems/admission/module-a/src/test/kotlin/hs/kr/entrydsm/TestMain.kt b/systems/admission/admission-adapter-in/src/test/kotlin/hs/kr/entrydsm/TestMain.kt similarity index 100% rename from systems/admission/module-a/src/test/kotlin/hs/kr/entrydsm/TestMain.kt rename to systems/admission/admission-adapter-in/src/test/kotlin/hs/kr/entrydsm/TestMain.kt diff --git a/systems/admission/module-b/BUILD.bazel b/systems/admission/admission-adapter-out/BUILD.bazel similarity index 89% rename from systems/admission/module-b/BUILD.bazel rename to systems/admission/admission-adapter-out/BUILD.bazel index 09022c5..4945eef 100644 --- a/systems/admission/module-b/BUILD.bazel +++ b/systems/admission/admission-adapter-out/BUILD.bazel @@ -1,11 +1,8 @@ load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_binary", "kt_jvm_test") - -load("//module-a:deps.bzl", "MODULE_DEPS", "TEST_DEPS") +load("//systems/admission/module-a:deps.bzl", "MODULE_DEPS", "TEST_DEPS") package(default_visibility = ["//visibility:public"]) -setup_kotlin_compiler() - kt_jvm_binary( name = "main", srcs = glob(["src/main/kotlin/**/*.kt"]), diff --git a/systems/admission/module-b/deps.bzl b/systems/admission/admission-adapter-out/deps.bzl similarity index 100% rename from systems/admission/module-b/deps.bzl rename to systems/admission/admission-adapter-out/deps.bzl diff --git a/systems/admission/module-b/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt b/systems/admission/admission-adapter-out/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt similarity index 100% rename from systems/admission/module-b/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt rename to systems/admission/admission-adapter-out/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt diff --git a/systems/admission/module-b/src/test/kotlin/hs/kr/entrydsm/TestMain.kt b/systems/admission/admission-adapter-out/src/test/kotlin/hs/kr/entrydsm/TestMain.kt similarity index 100% rename from systems/admission/module-b/src/test/kotlin/hs/kr/entrydsm/TestMain.kt rename to systems/admission/admission-adapter-out/src/test/kotlin/hs/kr/entrydsm/TestMain.kt diff --git a/systems/application/module-a/BUILD.bazel b/systems/admission/admission-application/BUILD.bazel similarity index 89% rename from systems/application/module-a/BUILD.bazel rename to systems/admission/admission-application/BUILD.bazel index 09022c5..4945eef 100644 --- a/systems/application/module-a/BUILD.bazel +++ b/systems/admission/admission-application/BUILD.bazel @@ -1,11 +1,8 @@ load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_binary", "kt_jvm_test") - -load("//module-a:deps.bzl", "MODULE_DEPS", "TEST_DEPS") +load("//systems/admission/module-a:deps.bzl", "MODULE_DEPS", "TEST_DEPS") package(default_visibility = ["//visibility:public"]) -setup_kotlin_compiler() - kt_jvm_binary( name = "main", srcs = glob(["src/main/kotlin/**/*.kt"]), diff --git a/systems/application/module-a/deps.bzl b/systems/admission/admission-application/deps.bzl similarity index 100% rename from systems/application/module-a/deps.bzl rename to systems/admission/admission-application/deps.bzl diff --git a/systems/application/module-a/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt b/systems/admission/admission-application/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt similarity index 100% rename from systems/application/module-a/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt rename to systems/admission/admission-application/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt diff --git a/systems/application/module-a/src/test/kotlin/hs/kr/entrydsm/TestMain.kt b/systems/admission/admission-application/src/test/kotlin/hs/kr/entrydsm/TestMain.kt similarity index 100% rename from systems/application/module-a/src/test/kotlin/hs/kr/entrydsm/TestMain.kt rename to systems/admission/admission-application/src/test/kotlin/hs/kr/entrydsm/TestMain.kt diff --git a/systems/application/module-b/BUILD.bazel b/systems/admission/admission-bootstrap/BUILD.bazel similarity index 89% rename from systems/application/module-b/BUILD.bazel rename to systems/admission/admission-bootstrap/BUILD.bazel index 09022c5..4945eef 100644 --- a/systems/application/module-b/BUILD.bazel +++ b/systems/admission/admission-bootstrap/BUILD.bazel @@ -1,11 +1,8 @@ load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_binary", "kt_jvm_test") - -load("//module-a:deps.bzl", "MODULE_DEPS", "TEST_DEPS") +load("//systems/admission/module-a:deps.bzl", "MODULE_DEPS", "TEST_DEPS") package(default_visibility = ["//visibility:public"]) -setup_kotlin_compiler() - kt_jvm_binary( name = "main", srcs = glob(["src/main/kotlin/**/*.kt"]), diff --git a/systems/application/module-b/deps.bzl b/systems/admission/admission-bootstrap/deps.bzl similarity index 100% rename from systems/application/module-b/deps.bzl rename to systems/admission/admission-bootstrap/deps.bzl diff --git a/systems/application/module-b/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt b/systems/admission/admission-bootstrap/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt similarity index 100% rename from systems/application/module-b/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt rename to systems/admission/admission-bootstrap/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt diff --git a/systems/application/module-b/src/test/kotlin/hs/kr/entrydsm/TestMain.kt b/systems/admission/admission-bootstrap/src/test/kotlin/hs/kr/entrydsm/TestMain.kt similarity index 100% rename from systems/application/module-b/src/test/kotlin/hs/kr/entrydsm/TestMain.kt rename to systems/admission/admission-bootstrap/src/test/kotlin/hs/kr/entrydsm/TestMain.kt diff --git a/systems/configuration/module-a/BUILD.bazel b/systems/admission/admission-domain/BUILD.bazel similarity index 89% rename from systems/configuration/module-a/BUILD.bazel rename to systems/admission/admission-domain/BUILD.bazel index 09022c5..4945eef 100644 --- a/systems/configuration/module-a/BUILD.bazel +++ b/systems/admission/admission-domain/BUILD.bazel @@ -1,11 +1,8 @@ load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_binary", "kt_jvm_test") - -load("//module-a:deps.bzl", "MODULE_DEPS", "TEST_DEPS") +load("//systems/admission/module-a:deps.bzl", "MODULE_DEPS", "TEST_DEPS") package(default_visibility = ["//visibility:public"]) -setup_kotlin_compiler() - kt_jvm_binary( name = "main", srcs = glob(["src/main/kotlin/**/*.kt"]), diff --git a/systems/configuration/module-a/deps.bzl b/systems/admission/admission-domain/deps.bzl similarity index 100% rename from systems/configuration/module-a/deps.bzl rename to systems/admission/admission-domain/deps.bzl diff --git a/systems/configuration/module-a/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt b/systems/admission/admission-domain/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt similarity index 100% rename from systems/configuration/module-a/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt rename to systems/admission/admission-domain/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt diff --git a/systems/configuration/module-a/src/test/kotlin/hs/kr/entrydsm/TestMain.kt b/systems/admission/admission-domain/src/test/kotlin/hs/kr/entrydsm/TestMain.kt similarity index 100% rename from systems/configuration/module-a/src/test/kotlin/hs/kr/entrydsm/TestMain.kt rename to systems/admission/admission-domain/src/test/kotlin/hs/kr/entrydsm/TestMain.kt diff --git a/systems/application/application-adapter-in/BUILD.bazel b/systems/application/application-adapter-in/BUILD.bazel new file mode 100644 index 0000000..4945eef --- /dev/null +++ b/systems/application/application-adapter-in/BUILD.bazel @@ -0,0 +1,24 @@ +load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_binary", "kt_jvm_test") +load("//systems/admission/module-a:deps.bzl", "MODULE_DEPS", "TEST_DEPS") + +package(default_visibility = ["//visibility:public"]) + +kt_jvm_binary( + name = "main", + srcs = glob(["src/main/kotlin/**/*.kt"]), + main_class = "hs.kr.entrydsm.example.ExampleApplicationKt", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) + +kt_jvm_test( + name = "test", + srcs = glob(["src/test/kotlin/**/*.kt"]), + test_class = "hs.kr.entrydsm.example.ExampleApplicationTest", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS + TEST_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) diff --git a/systems/configuration/module-b/deps.bzl b/systems/application/application-adapter-in/deps.bzl similarity index 100% rename from systems/configuration/module-b/deps.bzl rename to systems/application/application-adapter-in/deps.bzl diff --git a/systems/configuration/module-b/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt b/systems/application/application-adapter-in/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt similarity index 100% rename from systems/configuration/module-b/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt rename to systems/application/application-adapter-in/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt diff --git a/systems/configuration/module-b/src/test/kotlin/hs/kr/entrydsm/TestMain.kt b/systems/application/application-adapter-in/src/test/kotlin/hs/kr/entrydsm/TestMain.kt similarity index 100% rename from systems/configuration/module-b/src/test/kotlin/hs/kr/entrydsm/TestMain.kt rename to systems/application/application-adapter-in/src/test/kotlin/hs/kr/entrydsm/TestMain.kt diff --git a/systems/application/application-adapter-out/BUILD.bazel b/systems/application/application-adapter-out/BUILD.bazel new file mode 100644 index 0000000..4945eef --- /dev/null +++ b/systems/application/application-adapter-out/BUILD.bazel @@ -0,0 +1,24 @@ +load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_binary", "kt_jvm_test") +load("//systems/admission/module-a:deps.bzl", "MODULE_DEPS", "TEST_DEPS") + +package(default_visibility = ["//visibility:public"]) + +kt_jvm_binary( + name = "main", + srcs = glob(["src/main/kotlin/**/*.kt"]), + main_class = "hs.kr.entrydsm.example.ExampleApplicationKt", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) + +kt_jvm_test( + name = "test", + srcs = glob(["src/test/kotlin/**/*.kt"]), + test_class = "hs.kr.entrydsm.example.ExampleApplicationTest", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS + TEST_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) diff --git a/systems/document/module-a/deps.bzl b/systems/application/application-adapter-out/deps.bzl similarity index 100% rename from systems/document/module-a/deps.bzl rename to systems/application/application-adapter-out/deps.bzl diff --git a/systems/document/module-a/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt b/systems/application/application-adapter-out/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt similarity index 100% rename from systems/document/module-a/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt rename to systems/application/application-adapter-out/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt diff --git a/systems/document/module-a/src/test/kotlin/hs/kr/entrydsm/TestMain.kt b/systems/application/application-adapter-out/src/test/kotlin/hs/kr/entrydsm/TestMain.kt similarity index 100% rename from systems/document/module-a/src/test/kotlin/hs/kr/entrydsm/TestMain.kt rename to systems/application/application-adapter-out/src/test/kotlin/hs/kr/entrydsm/TestMain.kt diff --git a/systems/application/application-application/BUILD.bazel b/systems/application/application-application/BUILD.bazel new file mode 100644 index 0000000..4945eef --- /dev/null +++ b/systems/application/application-application/BUILD.bazel @@ -0,0 +1,24 @@ +load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_binary", "kt_jvm_test") +load("//systems/admission/module-a:deps.bzl", "MODULE_DEPS", "TEST_DEPS") + +package(default_visibility = ["//visibility:public"]) + +kt_jvm_binary( + name = "main", + srcs = glob(["src/main/kotlin/**/*.kt"]), + main_class = "hs.kr.entrydsm.example.ExampleApplicationKt", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) + +kt_jvm_test( + name = "test", + srcs = glob(["src/test/kotlin/**/*.kt"]), + test_class = "hs.kr.entrydsm.example.ExampleApplicationTest", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS + TEST_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) diff --git a/systems/document/module-b/deps.bzl b/systems/application/application-application/deps.bzl similarity index 100% rename from systems/document/module-b/deps.bzl rename to systems/application/application-application/deps.bzl diff --git a/systems/document/module-b/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt b/systems/application/application-application/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt similarity index 100% rename from systems/document/module-b/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt rename to systems/application/application-application/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt diff --git a/systems/document/module-b/src/test/kotlin/hs/kr/entrydsm/TestMain.kt b/systems/application/application-application/src/test/kotlin/hs/kr/entrydsm/TestMain.kt similarity index 100% rename from systems/document/module-b/src/test/kotlin/hs/kr/entrydsm/TestMain.kt rename to systems/application/application-application/src/test/kotlin/hs/kr/entrydsm/TestMain.kt diff --git a/systems/application/application-bootstrap/BUILD.bazel b/systems/application/application-bootstrap/BUILD.bazel new file mode 100644 index 0000000..4945eef --- /dev/null +++ b/systems/application/application-bootstrap/BUILD.bazel @@ -0,0 +1,24 @@ +load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_binary", "kt_jvm_test") +load("//systems/admission/module-a:deps.bzl", "MODULE_DEPS", "TEST_DEPS") + +package(default_visibility = ["//visibility:public"]) + +kt_jvm_binary( + name = "main", + srcs = glob(["src/main/kotlin/**/*.kt"]), + main_class = "hs.kr.entrydsm.example.ExampleApplicationKt", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) + +kt_jvm_test( + name = "test", + srcs = glob(["src/test/kotlin/**/*.kt"]), + test_class = "hs.kr.entrydsm.example.ExampleApplicationTest", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS + TEST_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) diff --git a/systems/gateway/module-a/deps.bzl b/systems/application/application-bootstrap/deps.bzl similarity index 100% rename from systems/gateway/module-a/deps.bzl rename to systems/application/application-bootstrap/deps.bzl diff --git a/systems/gateway/module-a/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt b/systems/application/application-bootstrap/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt similarity index 100% rename from systems/gateway/module-a/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt rename to systems/application/application-bootstrap/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt diff --git a/systems/gateway/module-a/src/test/kotlin/hs/kr/entrydsm/TestMain.kt b/systems/application/application-bootstrap/src/test/kotlin/hs/kr/entrydsm/TestMain.kt similarity index 100% rename from systems/gateway/module-a/src/test/kotlin/hs/kr/entrydsm/TestMain.kt rename to systems/application/application-bootstrap/src/test/kotlin/hs/kr/entrydsm/TestMain.kt diff --git a/systems/application/application-domain/BUILD.bazel b/systems/application/application-domain/BUILD.bazel new file mode 100644 index 0000000..4945eef --- /dev/null +++ b/systems/application/application-domain/BUILD.bazel @@ -0,0 +1,24 @@ +load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_binary", "kt_jvm_test") +load("//systems/admission/module-a:deps.bzl", "MODULE_DEPS", "TEST_DEPS") + +package(default_visibility = ["//visibility:public"]) + +kt_jvm_binary( + name = "main", + srcs = glob(["src/main/kotlin/**/*.kt"]), + main_class = "hs.kr.entrydsm.example.ExampleApplicationKt", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) + +kt_jvm_test( + name = "test", + srcs = glob(["src/test/kotlin/**/*.kt"]), + test_class = "hs.kr.entrydsm.example.ExampleApplicationTest", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS + TEST_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) diff --git a/systems/gateway/module-b/deps.bzl b/systems/application/application-domain/deps.bzl similarity index 100% rename from systems/gateway/module-b/deps.bzl rename to systems/application/application-domain/deps.bzl diff --git a/systems/gateway/module-b/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt b/systems/application/application-domain/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt similarity index 100% rename from systems/gateway/module-b/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt rename to systems/application/application-domain/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt diff --git a/systems/gateway/module-b/src/test/kotlin/hs/kr/entrydsm/TestMain.kt b/systems/application/application-domain/src/test/kotlin/hs/kr/entrydsm/TestMain.kt similarity index 100% rename from systems/gateway/module-b/src/test/kotlin/hs/kr/entrydsm/TestMain.kt rename to systems/application/application-domain/src/test/kotlin/hs/kr/entrydsm/TestMain.kt diff --git a/systems/configuration/configuration-adapter-in/BUILD.bazel b/systems/configuration/configuration-adapter-in/BUILD.bazel new file mode 100644 index 0000000..4945eef --- /dev/null +++ b/systems/configuration/configuration-adapter-in/BUILD.bazel @@ -0,0 +1,24 @@ +load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_binary", "kt_jvm_test") +load("//systems/admission/module-a:deps.bzl", "MODULE_DEPS", "TEST_DEPS") + +package(default_visibility = ["//visibility:public"]) + +kt_jvm_binary( + name = "main", + srcs = glob(["src/main/kotlin/**/*.kt"]), + main_class = "hs.kr.entrydsm.example.ExampleApplicationKt", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) + +kt_jvm_test( + name = "test", + srcs = glob(["src/test/kotlin/**/*.kt"]), + test_class = "hs.kr.entrydsm.example.ExampleApplicationTest", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS + TEST_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) diff --git a/systems/identity/module-a/deps.bzl b/systems/configuration/configuration-adapter-in/deps.bzl similarity index 100% rename from systems/identity/module-a/deps.bzl rename to systems/configuration/configuration-adapter-in/deps.bzl diff --git a/systems/identity/module-a/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt b/systems/configuration/configuration-adapter-in/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt similarity index 100% rename from systems/identity/module-a/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt rename to systems/configuration/configuration-adapter-in/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt diff --git a/systems/identity/module-a/src/test/kotlin/hs/kr/entrydsm/TestMain.kt b/systems/configuration/configuration-adapter-in/src/test/kotlin/hs/kr/entrydsm/TestMain.kt similarity index 100% rename from systems/identity/module-a/src/test/kotlin/hs/kr/entrydsm/TestMain.kt rename to systems/configuration/configuration-adapter-in/src/test/kotlin/hs/kr/entrydsm/TestMain.kt diff --git a/systems/configuration/configuration-adapter-out/BUILD.bazel b/systems/configuration/configuration-adapter-out/BUILD.bazel new file mode 100644 index 0000000..4945eef --- /dev/null +++ b/systems/configuration/configuration-adapter-out/BUILD.bazel @@ -0,0 +1,24 @@ +load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_binary", "kt_jvm_test") +load("//systems/admission/module-a:deps.bzl", "MODULE_DEPS", "TEST_DEPS") + +package(default_visibility = ["//visibility:public"]) + +kt_jvm_binary( + name = "main", + srcs = glob(["src/main/kotlin/**/*.kt"]), + main_class = "hs.kr.entrydsm.example.ExampleApplicationKt", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) + +kt_jvm_test( + name = "test", + srcs = glob(["src/test/kotlin/**/*.kt"]), + test_class = "hs.kr.entrydsm.example.ExampleApplicationTest", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS + TEST_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) diff --git a/systems/identity/module-b/deps.bzl b/systems/configuration/configuration-adapter-out/deps.bzl similarity index 100% rename from systems/identity/module-b/deps.bzl rename to systems/configuration/configuration-adapter-out/deps.bzl diff --git a/systems/identity/module-b/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt b/systems/configuration/configuration-adapter-out/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt similarity index 100% rename from systems/identity/module-b/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt rename to systems/configuration/configuration-adapter-out/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt diff --git a/systems/identity/module-b/src/test/kotlin/hs/kr/entrydsm/TestMain.kt b/systems/configuration/configuration-adapter-out/src/test/kotlin/hs/kr/entrydsm/TestMain.kt similarity index 100% rename from systems/identity/module-b/src/test/kotlin/hs/kr/entrydsm/TestMain.kt rename to systems/configuration/configuration-adapter-out/src/test/kotlin/hs/kr/entrydsm/TestMain.kt diff --git a/systems/configuration/configuration-application/BUILD.bazel b/systems/configuration/configuration-application/BUILD.bazel new file mode 100644 index 0000000..4945eef --- /dev/null +++ b/systems/configuration/configuration-application/BUILD.bazel @@ -0,0 +1,24 @@ +load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_binary", "kt_jvm_test") +load("//systems/admission/module-a:deps.bzl", "MODULE_DEPS", "TEST_DEPS") + +package(default_visibility = ["//visibility:public"]) + +kt_jvm_binary( + name = "main", + srcs = glob(["src/main/kotlin/**/*.kt"]), + main_class = "hs.kr.entrydsm.example.ExampleApplicationKt", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) + +kt_jvm_test( + name = "test", + srcs = glob(["src/test/kotlin/**/*.kt"]), + test_class = "hs.kr.entrydsm.example.ExampleApplicationTest", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS + TEST_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) diff --git a/systems/notification/module-a/deps.bzl b/systems/configuration/configuration-application/deps.bzl similarity index 100% rename from systems/notification/module-a/deps.bzl rename to systems/configuration/configuration-application/deps.bzl diff --git a/systems/notification/module-a/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt b/systems/configuration/configuration-application/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt similarity index 100% rename from systems/notification/module-a/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt rename to systems/configuration/configuration-application/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt diff --git a/systems/notification/module-a/src/test/kotlin/hs/kr/entrydsm/TestMain.kt b/systems/configuration/configuration-application/src/test/kotlin/hs/kr/entrydsm/TestMain.kt similarity index 100% rename from systems/notification/module-a/src/test/kotlin/hs/kr/entrydsm/TestMain.kt rename to systems/configuration/configuration-application/src/test/kotlin/hs/kr/entrydsm/TestMain.kt diff --git a/systems/configuration/configuration-bootstrap/BUILD.bazel b/systems/configuration/configuration-bootstrap/BUILD.bazel new file mode 100644 index 0000000..4945eef --- /dev/null +++ b/systems/configuration/configuration-bootstrap/BUILD.bazel @@ -0,0 +1,24 @@ +load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_binary", "kt_jvm_test") +load("//systems/admission/module-a:deps.bzl", "MODULE_DEPS", "TEST_DEPS") + +package(default_visibility = ["//visibility:public"]) + +kt_jvm_binary( + name = "main", + srcs = glob(["src/main/kotlin/**/*.kt"]), + main_class = "hs.kr.entrydsm.example.ExampleApplicationKt", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) + +kt_jvm_test( + name = "test", + srcs = glob(["src/test/kotlin/**/*.kt"]), + test_class = "hs.kr.entrydsm.example.ExampleApplicationTest", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS + TEST_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) diff --git a/systems/notification/module-b/deps.bzl b/systems/configuration/configuration-bootstrap/deps.bzl similarity index 100% rename from systems/notification/module-b/deps.bzl rename to systems/configuration/configuration-bootstrap/deps.bzl diff --git a/systems/notification/module-b/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt b/systems/configuration/configuration-bootstrap/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt similarity index 100% rename from systems/notification/module-b/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt rename to systems/configuration/configuration-bootstrap/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt diff --git a/systems/notification/module-b/src/test/kotlin/hs/kr/entrydsm/TestMain.kt b/systems/configuration/configuration-bootstrap/src/test/kotlin/hs/kr/entrydsm/TestMain.kt similarity index 100% rename from systems/notification/module-b/src/test/kotlin/hs/kr/entrydsm/TestMain.kt rename to systems/configuration/configuration-bootstrap/src/test/kotlin/hs/kr/entrydsm/TestMain.kt diff --git a/systems/configuration/configuration-domain/BUILD.bazel b/systems/configuration/configuration-domain/BUILD.bazel new file mode 100644 index 0000000..4945eef --- /dev/null +++ b/systems/configuration/configuration-domain/BUILD.bazel @@ -0,0 +1,24 @@ +load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_binary", "kt_jvm_test") +load("//systems/admission/module-a:deps.bzl", "MODULE_DEPS", "TEST_DEPS") + +package(default_visibility = ["//visibility:public"]) + +kt_jvm_binary( + name = "main", + srcs = glob(["src/main/kotlin/**/*.kt"]), + main_class = "hs.kr.entrydsm.example.ExampleApplicationKt", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) + +kt_jvm_test( + name = "test", + srcs = glob(["src/test/kotlin/**/*.kt"]), + test_class = "hs.kr.entrydsm.example.ExampleApplicationTest", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS + TEST_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) diff --git a/systems/schedule/module-a/deps.bzl b/systems/configuration/configuration-domain/deps.bzl similarity index 100% rename from systems/schedule/module-a/deps.bzl rename to systems/configuration/configuration-domain/deps.bzl diff --git a/systems/schedule/module-a/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt b/systems/configuration/configuration-domain/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt similarity index 100% rename from systems/schedule/module-a/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt rename to systems/configuration/configuration-domain/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt diff --git a/systems/schedule/module-a/src/test/kotlin/hs/kr/entrydsm/TestMain.kt b/systems/configuration/configuration-domain/src/test/kotlin/hs/kr/entrydsm/TestMain.kt similarity index 100% rename from systems/schedule/module-a/src/test/kotlin/hs/kr/entrydsm/TestMain.kt rename to systems/configuration/configuration-domain/src/test/kotlin/hs/kr/entrydsm/TestMain.kt diff --git a/systems/configuration/module-b/BUILD.bazel b/systems/configuration/module-b/BUILD.bazel deleted file mode 100644 index 09022c5..0000000 --- a/systems/configuration/module-b/BUILD.bazel +++ /dev/null @@ -1,27 +0,0 @@ -load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_binary", "kt_jvm_test") - -load("//module-a:deps.bzl", "MODULE_DEPS", "TEST_DEPS") - -package(default_visibility = ["//visibility:public"]) - -setup_kotlin_compiler() - -kt_jvm_binary( - name = "main", - srcs = glob(["src/main/kotlin/**/*.kt"]), - main_class = "hs.kr.entrydsm.example.ExampleApplicationKt", - plugins = ["//:spring_allopen"], - deps = MODULE_DEPS, - javac_opts = "//:javac_options", - kotlinc_opts = "//:kotlinc_options", -) - -kt_jvm_test( - name = "test", - srcs = glob(["src/test/kotlin/**/*.kt"]), - test_class = "hs.kr.entrydsm.example.ExampleApplicationTest", - plugins = ["//:spring_allopen"], - deps = MODULE_DEPS + TEST_DEPS, - javac_opts = "//:javac_options", - kotlinc_opts = "//:kotlinc_options", -) diff --git a/systems/document/document-adapter-in/BUILD.bazel b/systems/document/document-adapter-in/BUILD.bazel new file mode 100644 index 0000000..4945eef --- /dev/null +++ b/systems/document/document-adapter-in/BUILD.bazel @@ -0,0 +1,24 @@ +load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_binary", "kt_jvm_test") +load("//systems/admission/module-a:deps.bzl", "MODULE_DEPS", "TEST_DEPS") + +package(default_visibility = ["//visibility:public"]) + +kt_jvm_binary( + name = "main", + srcs = glob(["src/main/kotlin/**/*.kt"]), + main_class = "hs.kr.entrydsm.example.ExampleApplicationKt", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) + +kt_jvm_test( + name = "test", + srcs = glob(["src/test/kotlin/**/*.kt"]), + test_class = "hs.kr.entrydsm.example.ExampleApplicationTest", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS + TEST_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) diff --git a/systems/schedule/module-b/deps.bzl b/systems/document/document-adapter-in/deps.bzl similarity index 100% rename from systems/schedule/module-b/deps.bzl rename to systems/document/document-adapter-in/deps.bzl diff --git a/systems/schedule/module-b/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt b/systems/document/document-adapter-in/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt similarity index 100% rename from systems/schedule/module-b/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt rename to systems/document/document-adapter-in/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt diff --git a/systems/schedule/module-b/src/test/kotlin/hs/kr/entrydsm/TestMain.kt b/systems/document/document-adapter-in/src/test/kotlin/hs/kr/entrydsm/TestMain.kt similarity index 100% rename from systems/schedule/module-b/src/test/kotlin/hs/kr/entrydsm/TestMain.kt rename to systems/document/document-adapter-in/src/test/kotlin/hs/kr/entrydsm/TestMain.kt diff --git a/systems/document/document-adapter-out/BUILD.bazel b/systems/document/document-adapter-out/BUILD.bazel new file mode 100644 index 0000000..4945eef --- /dev/null +++ b/systems/document/document-adapter-out/BUILD.bazel @@ -0,0 +1,24 @@ +load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_binary", "kt_jvm_test") +load("//systems/admission/module-a:deps.bzl", "MODULE_DEPS", "TEST_DEPS") + +package(default_visibility = ["//visibility:public"]) + +kt_jvm_binary( + name = "main", + srcs = glob(["src/main/kotlin/**/*.kt"]), + main_class = "hs.kr.entrydsm.example.ExampleApplicationKt", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) + +kt_jvm_test( + name = "test", + srcs = glob(["src/test/kotlin/**/*.kt"]), + test_class = "hs.kr.entrydsm.example.ExampleApplicationTest", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS + TEST_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) diff --git a/systems/document/document-adapter-out/deps.bzl b/systems/document/document-adapter-out/deps.bzl new file mode 100644 index 0000000..bfdb5ae --- /dev/null +++ b/systems/document/document-adapter-out/deps.bzl @@ -0,0 +1,16 @@ +SPRING_DEPS = [ + "@maven//:org_springframework_boot_spring_boot_starter_web", + "@maven//:org_springframework_boot_spring_boot_starter_actuator", +] + +KOTLIN_DEPS = [ + "@maven//:org_jetbrains_kotlin_kotlin_reflect", + "@maven//:com_fasterxml_jackson_module_jackson_module_kotlin", +] + +TEST_DEPS = [ + "@maven//:org_springframework_boot_spring_boot_starter_test", + "@maven//:junit_junit", +] + +MODULE_DEPS = SPRING_DEPS + KOTLIN_DEPS diff --git a/systems/document/document-adapter-out/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt b/systems/document/document-adapter-out/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt new file mode 100644 index 0000000..10d9573 --- /dev/null +++ b/systems/document/document-adapter-out/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt @@ -0,0 +1,11 @@ +package hs.kr.entrydsm.example + +import org.springframework.boot.autoconfigure.SpringBootApplication +import org.springframework.boot.runApplication + +@SpringBootApplication +class ExampleApplication + +fun main(args: Array) { + runApplication(*args) +} \ No newline at end of file diff --git a/systems/document/document-adapter-out/src/test/kotlin/hs/kr/entrydsm/TestMain.kt b/systems/document/document-adapter-out/src/test/kotlin/hs/kr/entrydsm/TestMain.kt new file mode 100644 index 0000000..561ecc3 --- /dev/null +++ b/systems/document/document-adapter-out/src/test/kotlin/hs/kr/entrydsm/TestMain.kt @@ -0,0 +1,11 @@ +package hs.kr.entrydsm.example + +import org.junit.Assert.assertEquals +import org.junit.Test + +class ExampleApplicationTest { + @Test + fun contextLoads() { + assertEquals(4, 2 + 2) + } +} \ No newline at end of file diff --git a/systems/document/document-application/BUILD.bazel b/systems/document/document-application/BUILD.bazel new file mode 100644 index 0000000..4945eef --- /dev/null +++ b/systems/document/document-application/BUILD.bazel @@ -0,0 +1,24 @@ +load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_binary", "kt_jvm_test") +load("//systems/admission/module-a:deps.bzl", "MODULE_DEPS", "TEST_DEPS") + +package(default_visibility = ["//visibility:public"]) + +kt_jvm_binary( + name = "main", + srcs = glob(["src/main/kotlin/**/*.kt"]), + main_class = "hs.kr.entrydsm.example.ExampleApplicationKt", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) + +kt_jvm_test( + name = "test", + srcs = glob(["src/test/kotlin/**/*.kt"]), + test_class = "hs.kr.entrydsm.example.ExampleApplicationTest", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS + TEST_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) diff --git a/systems/document/document-application/deps.bzl b/systems/document/document-application/deps.bzl new file mode 100644 index 0000000..bfdb5ae --- /dev/null +++ b/systems/document/document-application/deps.bzl @@ -0,0 +1,16 @@ +SPRING_DEPS = [ + "@maven//:org_springframework_boot_spring_boot_starter_web", + "@maven//:org_springframework_boot_spring_boot_starter_actuator", +] + +KOTLIN_DEPS = [ + "@maven//:org_jetbrains_kotlin_kotlin_reflect", + "@maven//:com_fasterxml_jackson_module_jackson_module_kotlin", +] + +TEST_DEPS = [ + "@maven//:org_springframework_boot_spring_boot_starter_test", + "@maven//:junit_junit", +] + +MODULE_DEPS = SPRING_DEPS + KOTLIN_DEPS diff --git a/systems/document/document-application/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt b/systems/document/document-application/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt new file mode 100644 index 0000000..10d9573 --- /dev/null +++ b/systems/document/document-application/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt @@ -0,0 +1,11 @@ +package hs.kr.entrydsm.example + +import org.springframework.boot.autoconfigure.SpringBootApplication +import org.springframework.boot.runApplication + +@SpringBootApplication +class ExampleApplication + +fun main(args: Array) { + runApplication(*args) +} \ No newline at end of file diff --git a/systems/document/document-application/src/test/kotlin/hs/kr/entrydsm/TestMain.kt b/systems/document/document-application/src/test/kotlin/hs/kr/entrydsm/TestMain.kt new file mode 100644 index 0000000..561ecc3 --- /dev/null +++ b/systems/document/document-application/src/test/kotlin/hs/kr/entrydsm/TestMain.kt @@ -0,0 +1,11 @@ +package hs.kr.entrydsm.example + +import org.junit.Assert.assertEquals +import org.junit.Test + +class ExampleApplicationTest { + @Test + fun contextLoads() { + assertEquals(4, 2 + 2) + } +} \ No newline at end of file diff --git a/systems/document/document-bootstrap/BUILD.bazel b/systems/document/document-bootstrap/BUILD.bazel new file mode 100644 index 0000000..4945eef --- /dev/null +++ b/systems/document/document-bootstrap/BUILD.bazel @@ -0,0 +1,24 @@ +load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_binary", "kt_jvm_test") +load("//systems/admission/module-a:deps.bzl", "MODULE_DEPS", "TEST_DEPS") + +package(default_visibility = ["//visibility:public"]) + +kt_jvm_binary( + name = "main", + srcs = glob(["src/main/kotlin/**/*.kt"]), + main_class = "hs.kr.entrydsm.example.ExampleApplicationKt", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) + +kt_jvm_test( + name = "test", + srcs = glob(["src/test/kotlin/**/*.kt"]), + test_class = "hs.kr.entrydsm.example.ExampleApplicationTest", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS + TEST_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) diff --git a/systems/document/document-bootstrap/deps.bzl b/systems/document/document-bootstrap/deps.bzl new file mode 100644 index 0000000..bfdb5ae --- /dev/null +++ b/systems/document/document-bootstrap/deps.bzl @@ -0,0 +1,16 @@ +SPRING_DEPS = [ + "@maven//:org_springframework_boot_spring_boot_starter_web", + "@maven//:org_springframework_boot_spring_boot_starter_actuator", +] + +KOTLIN_DEPS = [ + "@maven//:org_jetbrains_kotlin_kotlin_reflect", + "@maven//:com_fasterxml_jackson_module_jackson_module_kotlin", +] + +TEST_DEPS = [ + "@maven//:org_springframework_boot_spring_boot_starter_test", + "@maven//:junit_junit", +] + +MODULE_DEPS = SPRING_DEPS + KOTLIN_DEPS diff --git a/systems/document/document-bootstrap/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt b/systems/document/document-bootstrap/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt new file mode 100644 index 0000000..10d9573 --- /dev/null +++ b/systems/document/document-bootstrap/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt @@ -0,0 +1,11 @@ +package hs.kr.entrydsm.example + +import org.springframework.boot.autoconfigure.SpringBootApplication +import org.springframework.boot.runApplication + +@SpringBootApplication +class ExampleApplication + +fun main(args: Array) { + runApplication(*args) +} \ No newline at end of file diff --git a/systems/document/document-bootstrap/src/test/kotlin/hs/kr/entrydsm/TestMain.kt b/systems/document/document-bootstrap/src/test/kotlin/hs/kr/entrydsm/TestMain.kt new file mode 100644 index 0000000..561ecc3 --- /dev/null +++ b/systems/document/document-bootstrap/src/test/kotlin/hs/kr/entrydsm/TestMain.kt @@ -0,0 +1,11 @@ +package hs.kr.entrydsm.example + +import org.junit.Assert.assertEquals +import org.junit.Test + +class ExampleApplicationTest { + @Test + fun contextLoads() { + assertEquals(4, 2 + 2) + } +} \ No newline at end of file diff --git a/systems/document/document-domain/BUILD.bazel b/systems/document/document-domain/BUILD.bazel new file mode 100644 index 0000000..4945eef --- /dev/null +++ b/systems/document/document-domain/BUILD.bazel @@ -0,0 +1,24 @@ +load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_binary", "kt_jvm_test") +load("//systems/admission/module-a:deps.bzl", "MODULE_DEPS", "TEST_DEPS") + +package(default_visibility = ["//visibility:public"]) + +kt_jvm_binary( + name = "main", + srcs = glob(["src/main/kotlin/**/*.kt"]), + main_class = "hs.kr.entrydsm.example.ExampleApplicationKt", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) + +kt_jvm_test( + name = "test", + srcs = glob(["src/test/kotlin/**/*.kt"]), + test_class = "hs.kr.entrydsm.example.ExampleApplicationTest", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS + TEST_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) diff --git a/systems/document/document-domain/deps.bzl b/systems/document/document-domain/deps.bzl new file mode 100644 index 0000000..bfdb5ae --- /dev/null +++ b/systems/document/document-domain/deps.bzl @@ -0,0 +1,16 @@ +SPRING_DEPS = [ + "@maven//:org_springframework_boot_spring_boot_starter_web", + "@maven//:org_springframework_boot_spring_boot_starter_actuator", +] + +KOTLIN_DEPS = [ + "@maven//:org_jetbrains_kotlin_kotlin_reflect", + "@maven//:com_fasterxml_jackson_module_jackson_module_kotlin", +] + +TEST_DEPS = [ + "@maven//:org_springframework_boot_spring_boot_starter_test", + "@maven//:junit_junit", +] + +MODULE_DEPS = SPRING_DEPS + KOTLIN_DEPS diff --git a/systems/document/document-domain/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt b/systems/document/document-domain/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt new file mode 100644 index 0000000..10d9573 --- /dev/null +++ b/systems/document/document-domain/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt @@ -0,0 +1,11 @@ +package hs.kr.entrydsm.example + +import org.springframework.boot.autoconfigure.SpringBootApplication +import org.springframework.boot.runApplication + +@SpringBootApplication +class ExampleApplication + +fun main(args: Array) { + runApplication(*args) +} \ No newline at end of file diff --git a/systems/document/document-domain/src/test/kotlin/hs/kr/entrydsm/TestMain.kt b/systems/document/document-domain/src/test/kotlin/hs/kr/entrydsm/TestMain.kt new file mode 100644 index 0000000..561ecc3 --- /dev/null +++ b/systems/document/document-domain/src/test/kotlin/hs/kr/entrydsm/TestMain.kt @@ -0,0 +1,11 @@ +package hs.kr.entrydsm.example + +import org.junit.Assert.assertEquals +import org.junit.Test + +class ExampleApplicationTest { + @Test + fun contextLoads() { + assertEquals(4, 2 + 2) + } +} \ No newline at end of file diff --git a/systems/document/module-a/BUILD.bazel b/systems/document/module-a/BUILD.bazel deleted file mode 100644 index 09022c5..0000000 --- a/systems/document/module-a/BUILD.bazel +++ /dev/null @@ -1,27 +0,0 @@ -load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_binary", "kt_jvm_test") - -load("//module-a:deps.bzl", "MODULE_DEPS", "TEST_DEPS") - -package(default_visibility = ["//visibility:public"]) - -setup_kotlin_compiler() - -kt_jvm_binary( - name = "main", - srcs = glob(["src/main/kotlin/**/*.kt"]), - main_class = "hs.kr.entrydsm.example.ExampleApplicationKt", - plugins = ["//:spring_allopen"], - deps = MODULE_DEPS, - javac_opts = "//:javac_options", - kotlinc_opts = "//:kotlinc_options", -) - -kt_jvm_test( - name = "test", - srcs = glob(["src/test/kotlin/**/*.kt"]), - test_class = "hs.kr.entrydsm.example.ExampleApplicationTest", - plugins = ["//:spring_allopen"], - deps = MODULE_DEPS + TEST_DEPS, - javac_opts = "//:javac_options", - kotlinc_opts = "//:kotlinc_options", -) diff --git a/systems/document/module-b/BUILD.bazel b/systems/document/module-b/BUILD.bazel deleted file mode 100644 index 09022c5..0000000 --- a/systems/document/module-b/BUILD.bazel +++ /dev/null @@ -1,27 +0,0 @@ -load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_binary", "kt_jvm_test") - -load("//module-a:deps.bzl", "MODULE_DEPS", "TEST_DEPS") - -package(default_visibility = ["//visibility:public"]) - -setup_kotlin_compiler() - -kt_jvm_binary( - name = "main", - srcs = glob(["src/main/kotlin/**/*.kt"]), - main_class = "hs.kr.entrydsm.example.ExampleApplicationKt", - plugins = ["//:spring_allopen"], - deps = MODULE_DEPS, - javac_opts = "//:javac_options", - kotlinc_opts = "//:kotlinc_options", -) - -kt_jvm_test( - name = "test", - srcs = glob(["src/test/kotlin/**/*.kt"]), - test_class = "hs.kr.entrydsm.example.ExampleApplicationTest", - plugins = ["//:spring_allopen"], - deps = MODULE_DEPS + TEST_DEPS, - javac_opts = "//:javac_options", - kotlinc_opts = "//:kotlinc_options", -) diff --git a/systems/gateway/gateway-adapter-in/BUILD.bazel b/systems/gateway/gateway-adapter-in/BUILD.bazel new file mode 100644 index 0000000..4945eef --- /dev/null +++ b/systems/gateway/gateway-adapter-in/BUILD.bazel @@ -0,0 +1,24 @@ +load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_binary", "kt_jvm_test") +load("//systems/admission/module-a:deps.bzl", "MODULE_DEPS", "TEST_DEPS") + +package(default_visibility = ["//visibility:public"]) + +kt_jvm_binary( + name = "main", + srcs = glob(["src/main/kotlin/**/*.kt"]), + main_class = "hs.kr.entrydsm.example.ExampleApplicationKt", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) + +kt_jvm_test( + name = "test", + srcs = glob(["src/test/kotlin/**/*.kt"]), + test_class = "hs.kr.entrydsm.example.ExampleApplicationTest", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS + TEST_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) diff --git a/systems/gateway/gateway-adapter-in/deps.bzl b/systems/gateway/gateway-adapter-in/deps.bzl new file mode 100644 index 0000000..bfdb5ae --- /dev/null +++ b/systems/gateway/gateway-adapter-in/deps.bzl @@ -0,0 +1,16 @@ +SPRING_DEPS = [ + "@maven//:org_springframework_boot_spring_boot_starter_web", + "@maven//:org_springframework_boot_spring_boot_starter_actuator", +] + +KOTLIN_DEPS = [ + "@maven//:org_jetbrains_kotlin_kotlin_reflect", + "@maven//:com_fasterxml_jackson_module_jackson_module_kotlin", +] + +TEST_DEPS = [ + "@maven//:org_springframework_boot_spring_boot_starter_test", + "@maven//:junit_junit", +] + +MODULE_DEPS = SPRING_DEPS + KOTLIN_DEPS diff --git a/systems/gateway/gateway-adapter-in/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt b/systems/gateway/gateway-adapter-in/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt new file mode 100644 index 0000000..10d9573 --- /dev/null +++ b/systems/gateway/gateway-adapter-in/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt @@ -0,0 +1,11 @@ +package hs.kr.entrydsm.example + +import org.springframework.boot.autoconfigure.SpringBootApplication +import org.springframework.boot.runApplication + +@SpringBootApplication +class ExampleApplication + +fun main(args: Array) { + runApplication(*args) +} \ No newline at end of file diff --git a/systems/gateway/gateway-adapter-in/src/test/kotlin/hs/kr/entrydsm/TestMain.kt b/systems/gateway/gateway-adapter-in/src/test/kotlin/hs/kr/entrydsm/TestMain.kt new file mode 100644 index 0000000..561ecc3 --- /dev/null +++ b/systems/gateway/gateway-adapter-in/src/test/kotlin/hs/kr/entrydsm/TestMain.kt @@ -0,0 +1,11 @@ +package hs.kr.entrydsm.example + +import org.junit.Assert.assertEquals +import org.junit.Test + +class ExampleApplicationTest { + @Test + fun contextLoads() { + assertEquals(4, 2 + 2) + } +} \ No newline at end of file diff --git a/systems/gateway/gateway-adapter-out/BUILD.bazel b/systems/gateway/gateway-adapter-out/BUILD.bazel new file mode 100644 index 0000000..4945eef --- /dev/null +++ b/systems/gateway/gateway-adapter-out/BUILD.bazel @@ -0,0 +1,24 @@ +load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_binary", "kt_jvm_test") +load("//systems/admission/module-a:deps.bzl", "MODULE_DEPS", "TEST_DEPS") + +package(default_visibility = ["//visibility:public"]) + +kt_jvm_binary( + name = "main", + srcs = glob(["src/main/kotlin/**/*.kt"]), + main_class = "hs.kr.entrydsm.example.ExampleApplicationKt", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) + +kt_jvm_test( + name = "test", + srcs = glob(["src/test/kotlin/**/*.kt"]), + test_class = "hs.kr.entrydsm.example.ExampleApplicationTest", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS + TEST_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) diff --git a/systems/gateway/gateway-adapter-out/deps.bzl b/systems/gateway/gateway-adapter-out/deps.bzl new file mode 100644 index 0000000..bfdb5ae --- /dev/null +++ b/systems/gateway/gateway-adapter-out/deps.bzl @@ -0,0 +1,16 @@ +SPRING_DEPS = [ + "@maven//:org_springframework_boot_spring_boot_starter_web", + "@maven//:org_springframework_boot_spring_boot_starter_actuator", +] + +KOTLIN_DEPS = [ + "@maven//:org_jetbrains_kotlin_kotlin_reflect", + "@maven//:com_fasterxml_jackson_module_jackson_module_kotlin", +] + +TEST_DEPS = [ + "@maven//:org_springframework_boot_spring_boot_starter_test", + "@maven//:junit_junit", +] + +MODULE_DEPS = SPRING_DEPS + KOTLIN_DEPS diff --git a/systems/gateway/gateway-adapter-out/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt b/systems/gateway/gateway-adapter-out/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt new file mode 100644 index 0000000..10d9573 --- /dev/null +++ b/systems/gateway/gateway-adapter-out/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt @@ -0,0 +1,11 @@ +package hs.kr.entrydsm.example + +import org.springframework.boot.autoconfigure.SpringBootApplication +import org.springframework.boot.runApplication + +@SpringBootApplication +class ExampleApplication + +fun main(args: Array) { + runApplication(*args) +} \ No newline at end of file diff --git a/systems/gateway/gateway-adapter-out/src/test/kotlin/hs/kr/entrydsm/TestMain.kt b/systems/gateway/gateway-adapter-out/src/test/kotlin/hs/kr/entrydsm/TestMain.kt new file mode 100644 index 0000000..561ecc3 --- /dev/null +++ b/systems/gateway/gateway-adapter-out/src/test/kotlin/hs/kr/entrydsm/TestMain.kt @@ -0,0 +1,11 @@ +package hs.kr.entrydsm.example + +import org.junit.Assert.assertEquals +import org.junit.Test + +class ExampleApplicationTest { + @Test + fun contextLoads() { + assertEquals(4, 2 + 2) + } +} \ No newline at end of file diff --git a/systems/gateway/gateway-application/BUILD.bazel b/systems/gateway/gateway-application/BUILD.bazel new file mode 100644 index 0000000..4945eef --- /dev/null +++ b/systems/gateway/gateway-application/BUILD.bazel @@ -0,0 +1,24 @@ +load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_binary", "kt_jvm_test") +load("//systems/admission/module-a:deps.bzl", "MODULE_DEPS", "TEST_DEPS") + +package(default_visibility = ["//visibility:public"]) + +kt_jvm_binary( + name = "main", + srcs = glob(["src/main/kotlin/**/*.kt"]), + main_class = "hs.kr.entrydsm.example.ExampleApplicationKt", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) + +kt_jvm_test( + name = "test", + srcs = glob(["src/test/kotlin/**/*.kt"]), + test_class = "hs.kr.entrydsm.example.ExampleApplicationTest", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS + TEST_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) diff --git a/systems/gateway/gateway-application/deps.bzl b/systems/gateway/gateway-application/deps.bzl new file mode 100644 index 0000000..bfdb5ae --- /dev/null +++ b/systems/gateway/gateway-application/deps.bzl @@ -0,0 +1,16 @@ +SPRING_DEPS = [ + "@maven//:org_springframework_boot_spring_boot_starter_web", + "@maven//:org_springframework_boot_spring_boot_starter_actuator", +] + +KOTLIN_DEPS = [ + "@maven//:org_jetbrains_kotlin_kotlin_reflect", + "@maven//:com_fasterxml_jackson_module_jackson_module_kotlin", +] + +TEST_DEPS = [ + "@maven//:org_springframework_boot_spring_boot_starter_test", + "@maven//:junit_junit", +] + +MODULE_DEPS = SPRING_DEPS + KOTLIN_DEPS diff --git a/systems/gateway/gateway-application/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt b/systems/gateway/gateway-application/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt new file mode 100644 index 0000000..10d9573 --- /dev/null +++ b/systems/gateway/gateway-application/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt @@ -0,0 +1,11 @@ +package hs.kr.entrydsm.example + +import org.springframework.boot.autoconfigure.SpringBootApplication +import org.springframework.boot.runApplication + +@SpringBootApplication +class ExampleApplication + +fun main(args: Array) { + runApplication(*args) +} \ No newline at end of file diff --git a/systems/gateway/gateway-application/src/test/kotlin/hs/kr/entrydsm/TestMain.kt b/systems/gateway/gateway-application/src/test/kotlin/hs/kr/entrydsm/TestMain.kt new file mode 100644 index 0000000..561ecc3 --- /dev/null +++ b/systems/gateway/gateway-application/src/test/kotlin/hs/kr/entrydsm/TestMain.kt @@ -0,0 +1,11 @@ +package hs.kr.entrydsm.example + +import org.junit.Assert.assertEquals +import org.junit.Test + +class ExampleApplicationTest { + @Test + fun contextLoads() { + assertEquals(4, 2 + 2) + } +} \ No newline at end of file diff --git a/systems/gateway/gateway-bootstrap/BUILD.bazel b/systems/gateway/gateway-bootstrap/BUILD.bazel new file mode 100644 index 0000000..4945eef --- /dev/null +++ b/systems/gateway/gateway-bootstrap/BUILD.bazel @@ -0,0 +1,24 @@ +load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_binary", "kt_jvm_test") +load("//systems/admission/module-a:deps.bzl", "MODULE_DEPS", "TEST_DEPS") + +package(default_visibility = ["//visibility:public"]) + +kt_jvm_binary( + name = "main", + srcs = glob(["src/main/kotlin/**/*.kt"]), + main_class = "hs.kr.entrydsm.example.ExampleApplicationKt", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) + +kt_jvm_test( + name = "test", + srcs = glob(["src/test/kotlin/**/*.kt"]), + test_class = "hs.kr.entrydsm.example.ExampleApplicationTest", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS + TEST_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) diff --git a/systems/gateway/gateway-bootstrap/deps.bzl b/systems/gateway/gateway-bootstrap/deps.bzl new file mode 100644 index 0000000..bfdb5ae --- /dev/null +++ b/systems/gateway/gateway-bootstrap/deps.bzl @@ -0,0 +1,16 @@ +SPRING_DEPS = [ + "@maven//:org_springframework_boot_spring_boot_starter_web", + "@maven//:org_springframework_boot_spring_boot_starter_actuator", +] + +KOTLIN_DEPS = [ + "@maven//:org_jetbrains_kotlin_kotlin_reflect", + "@maven//:com_fasterxml_jackson_module_jackson_module_kotlin", +] + +TEST_DEPS = [ + "@maven//:org_springframework_boot_spring_boot_starter_test", + "@maven//:junit_junit", +] + +MODULE_DEPS = SPRING_DEPS + KOTLIN_DEPS diff --git a/systems/gateway/gateway-bootstrap/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt b/systems/gateway/gateway-bootstrap/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt new file mode 100644 index 0000000..10d9573 --- /dev/null +++ b/systems/gateway/gateway-bootstrap/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt @@ -0,0 +1,11 @@ +package hs.kr.entrydsm.example + +import org.springframework.boot.autoconfigure.SpringBootApplication +import org.springframework.boot.runApplication + +@SpringBootApplication +class ExampleApplication + +fun main(args: Array) { + runApplication(*args) +} \ No newline at end of file diff --git a/systems/gateway/gateway-bootstrap/src/test/kotlin/hs/kr/entrydsm/TestMain.kt b/systems/gateway/gateway-bootstrap/src/test/kotlin/hs/kr/entrydsm/TestMain.kt new file mode 100644 index 0000000..561ecc3 --- /dev/null +++ b/systems/gateway/gateway-bootstrap/src/test/kotlin/hs/kr/entrydsm/TestMain.kt @@ -0,0 +1,11 @@ +package hs.kr.entrydsm.example + +import org.junit.Assert.assertEquals +import org.junit.Test + +class ExampleApplicationTest { + @Test + fun contextLoads() { + assertEquals(4, 2 + 2) + } +} \ No newline at end of file diff --git a/systems/gateway/gateway-domain/BUILD.bazel b/systems/gateway/gateway-domain/BUILD.bazel new file mode 100644 index 0000000..4945eef --- /dev/null +++ b/systems/gateway/gateway-domain/BUILD.bazel @@ -0,0 +1,24 @@ +load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_binary", "kt_jvm_test") +load("//systems/admission/module-a:deps.bzl", "MODULE_DEPS", "TEST_DEPS") + +package(default_visibility = ["//visibility:public"]) + +kt_jvm_binary( + name = "main", + srcs = glob(["src/main/kotlin/**/*.kt"]), + main_class = "hs.kr.entrydsm.example.ExampleApplicationKt", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) + +kt_jvm_test( + name = "test", + srcs = glob(["src/test/kotlin/**/*.kt"]), + test_class = "hs.kr.entrydsm.example.ExampleApplicationTest", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS + TEST_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) diff --git a/systems/gateway/gateway-domain/deps.bzl b/systems/gateway/gateway-domain/deps.bzl new file mode 100644 index 0000000..bfdb5ae --- /dev/null +++ b/systems/gateway/gateway-domain/deps.bzl @@ -0,0 +1,16 @@ +SPRING_DEPS = [ + "@maven//:org_springframework_boot_spring_boot_starter_web", + "@maven//:org_springframework_boot_spring_boot_starter_actuator", +] + +KOTLIN_DEPS = [ + "@maven//:org_jetbrains_kotlin_kotlin_reflect", + "@maven//:com_fasterxml_jackson_module_jackson_module_kotlin", +] + +TEST_DEPS = [ + "@maven//:org_springframework_boot_spring_boot_starter_test", + "@maven//:junit_junit", +] + +MODULE_DEPS = SPRING_DEPS + KOTLIN_DEPS diff --git a/systems/gateway/gateway-domain/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt b/systems/gateway/gateway-domain/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt new file mode 100644 index 0000000..10d9573 --- /dev/null +++ b/systems/gateway/gateway-domain/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt @@ -0,0 +1,11 @@ +package hs.kr.entrydsm.example + +import org.springframework.boot.autoconfigure.SpringBootApplication +import org.springframework.boot.runApplication + +@SpringBootApplication +class ExampleApplication + +fun main(args: Array) { + runApplication(*args) +} \ No newline at end of file diff --git a/systems/gateway/gateway-domain/src/test/kotlin/hs/kr/entrydsm/TestMain.kt b/systems/gateway/gateway-domain/src/test/kotlin/hs/kr/entrydsm/TestMain.kt new file mode 100644 index 0000000..561ecc3 --- /dev/null +++ b/systems/gateway/gateway-domain/src/test/kotlin/hs/kr/entrydsm/TestMain.kt @@ -0,0 +1,11 @@ +package hs.kr.entrydsm.example + +import org.junit.Assert.assertEquals +import org.junit.Test + +class ExampleApplicationTest { + @Test + fun contextLoads() { + assertEquals(4, 2 + 2) + } +} \ No newline at end of file diff --git a/systems/gateway/module-a/BUILD.bazel b/systems/gateway/module-a/BUILD.bazel deleted file mode 100644 index 09022c5..0000000 --- a/systems/gateway/module-a/BUILD.bazel +++ /dev/null @@ -1,27 +0,0 @@ -load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_binary", "kt_jvm_test") - -load("//module-a:deps.bzl", "MODULE_DEPS", "TEST_DEPS") - -package(default_visibility = ["//visibility:public"]) - -setup_kotlin_compiler() - -kt_jvm_binary( - name = "main", - srcs = glob(["src/main/kotlin/**/*.kt"]), - main_class = "hs.kr.entrydsm.example.ExampleApplicationKt", - plugins = ["//:spring_allopen"], - deps = MODULE_DEPS, - javac_opts = "//:javac_options", - kotlinc_opts = "//:kotlinc_options", -) - -kt_jvm_test( - name = "test", - srcs = glob(["src/test/kotlin/**/*.kt"]), - test_class = "hs.kr.entrydsm.example.ExampleApplicationTest", - plugins = ["//:spring_allopen"], - deps = MODULE_DEPS + TEST_DEPS, - javac_opts = "//:javac_options", - kotlinc_opts = "//:kotlinc_options", -) diff --git a/systems/gateway/module-b/BUILD.bazel b/systems/gateway/module-b/BUILD.bazel deleted file mode 100644 index 09022c5..0000000 --- a/systems/gateway/module-b/BUILD.bazel +++ /dev/null @@ -1,27 +0,0 @@ -load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_binary", "kt_jvm_test") - -load("//module-a:deps.bzl", "MODULE_DEPS", "TEST_DEPS") - -package(default_visibility = ["//visibility:public"]) - -setup_kotlin_compiler() - -kt_jvm_binary( - name = "main", - srcs = glob(["src/main/kotlin/**/*.kt"]), - main_class = "hs.kr.entrydsm.example.ExampleApplicationKt", - plugins = ["//:spring_allopen"], - deps = MODULE_DEPS, - javac_opts = "//:javac_options", - kotlinc_opts = "//:kotlinc_options", -) - -kt_jvm_test( - name = "test", - srcs = glob(["src/test/kotlin/**/*.kt"]), - test_class = "hs.kr.entrydsm.example.ExampleApplicationTest", - plugins = ["//:spring_allopen"], - deps = MODULE_DEPS + TEST_DEPS, - javac_opts = "//:javac_options", - kotlinc_opts = "//:kotlinc_options", -) diff --git a/systems/identity/identity-adapter-in/BUILD.bazel b/systems/identity/identity-adapter-in/BUILD.bazel new file mode 100644 index 0000000..4945eef --- /dev/null +++ b/systems/identity/identity-adapter-in/BUILD.bazel @@ -0,0 +1,24 @@ +load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_binary", "kt_jvm_test") +load("//systems/admission/module-a:deps.bzl", "MODULE_DEPS", "TEST_DEPS") + +package(default_visibility = ["//visibility:public"]) + +kt_jvm_binary( + name = "main", + srcs = glob(["src/main/kotlin/**/*.kt"]), + main_class = "hs.kr.entrydsm.example.ExampleApplicationKt", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) + +kt_jvm_test( + name = "test", + srcs = glob(["src/test/kotlin/**/*.kt"]), + test_class = "hs.kr.entrydsm.example.ExampleApplicationTest", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS + TEST_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) diff --git a/systems/identity/identity-adapter-in/deps.bzl b/systems/identity/identity-adapter-in/deps.bzl new file mode 100644 index 0000000..bfdb5ae --- /dev/null +++ b/systems/identity/identity-adapter-in/deps.bzl @@ -0,0 +1,16 @@ +SPRING_DEPS = [ + "@maven//:org_springframework_boot_spring_boot_starter_web", + "@maven//:org_springframework_boot_spring_boot_starter_actuator", +] + +KOTLIN_DEPS = [ + "@maven//:org_jetbrains_kotlin_kotlin_reflect", + "@maven//:com_fasterxml_jackson_module_jackson_module_kotlin", +] + +TEST_DEPS = [ + "@maven//:org_springframework_boot_spring_boot_starter_test", + "@maven//:junit_junit", +] + +MODULE_DEPS = SPRING_DEPS + KOTLIN_DEPS diff --git a/systems/identity/identity-adapter-in/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt b/systems/identity/identity-adapter-in/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt new file mode 100644 index 0000000..10d9573 --- /dev/null +++ b/systems/identity/identity-adapter-in/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt @@ -0,0 +1,11 @@ +package hs.kr.entrydsm.example + +import org.springframework.boot.autoconfigure.SpringBootApplication +import org.springframework.boot.runApplication + +@SpringBootApplication +class ExampleApplication + +fun main(args: Array) { + runApplication(*args) +} \ No newline at end of file diff --git a/systems/identity/identity-adapter-in/src/test/kotlin/hs/kr/entrydsm/TestMain.kt b/systems/identity/identity-adapter-in/src/test/kotlin/hs/kr/entrydsm/TestMain.kt new file mode 100644 index 0000000..561ecc3 --- /dev/null +++ b/systems/identity/identity-adapter-in/src/test/kotlin/hs/kr/entrydsm/TestMain.kt @@ -0,0 +1,11 @@ +package hs.kr.entrydsm.example + +import org.junit.Assert.assertEquals +import org.junit.Test + +class ExampleApplicationTest { + @Test + fun contextLoads() { + assertEquals(4, 2 + 2) + } +} \ No newline at end of file diff --git a/systems/identity/identity-adapter-out/BUILD.bazel b/systems/identity/identity-adapter-out/BUILD.bazel new file mode 100644 index 0000000..4945eef --- /dev/null +++ b/systems/identity/identity-adapter-out/BUILD.bazel @@ -0,0 +1,24 @@ +load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_binary", "kt_jvm_test") +load("//systems/admission/module-a:deps.bzl", "MODULE_DEPS", "TEST_DEPS") + +package(default_visibility = ["//visibility:public"]) + +kt_jvm_binary( + name = "main", + srcs = glob(["src/main/kotlin/**/*.kt"]), + main_class = "hs.kr.entrydsm.example.ExampleApplicationKt", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) + +kt_jvm_test( + name = "test", + srcs = glob(["src/test/kotlin/**/*.kt"]), + test_class = "hs.kr.entrydsm.example.ExampleApplicationTest", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS + TEST_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) diff --git a/systems/identity/identity-adapter-out/deps.bzl b/systems/identity/identity-adapter-out/deps.bzl new file mode 100644 index 0000000..bfdb5ae --- /dev/null +++ b/systems/identity/identity-adapter-out/deps.bzl @@ -0,0 +1,16 @@ +SPRING_DEPS = [ + "@maven//:org_springframework_boot_spring_boot_starter_web", + "@maven//:org_springframework_boot_spring_boot_starter_actuator", +] + +KOTLIN_DEPS = [ + "@maven//:org_jetbrains_kotlin_kotlin_reflect", + "@maven//:com_fasterxml_jackson_module_jackson_module_kotlin", +] + +TEST_DEPS = [ + "@maven//:org_springframework_boot_spring_boot_starter_test", + "@maven//:junit_junit", +] + +MODULE_DEPS = SPRING_DEPS + KOTLIN_DEPS diff --git a/systems/identity/identity-adapter-out/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt b/systems/identity/identity-adapter-out/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt new file mode 100644 index 0000000..10d9573 --- /dev/null +++ b/systems/identity/identity-adapter-out/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt @@ -0,0 +1,11 @@ +package hs.kr.entrydsm.example + +import org.springframework.boot.autoconfigure.SpringBootApplication +import org.springframework.boot.runApplication + +@SpringBootApplication +class ExampleApplication + +fun main(args: Array) { + runApplication(*args) +} \ No newline at end of file diff --git a/systems/identity/identity-adapter-out/src/test/kotlin/hs/kr/entrydsm/TestMain.kt b/systems/identity/identity-adapter-out/src/test/kotlin/hs/kr/entrydsm/TestMain.kt new file mode 100644 index 0000000..561ecc3 --- /dev/null +++ b/systems/identity/identity-adapter-out/src/test/kotlin/hs/kr/entrydsm/TestMain.kt @@ -0,0 +1,11 @@ +package hs.kr.entrydsm.example + +import org.junit.Assert.assertEquals +import org.junit.Test + +class ExampleApplicationTest { + @Test + fun contextLoads() { + assertEquals(4, 2 + 2) + } +} \ No newline at end of file diff --git a/systems/identity/identity-application/BUILD.bazel b/systems/identity/identity-application/BUILD.bazel new file mode 100644 index 0000000..4945eef --- /dev/null +++ b/systems/identity/identity-application/BUILD.bazel @@ -0,0 +1,24 @@ +load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_binary", "kt_jvm_test") +load("//systems/admission/module-a:deps.bzl", "MODULE_DEPS", "TEST_DEPS") + +package(default_visibility = ["//visibility:public"]) + +kt_jvm_binary( + name = "main", + srcs = glob(["src/main/kotlin/**/*.kt"]), + main_class = "hs.kr.entrydsm.example.ExampleApplicationKt", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) + +kt_jvm_test( + name = "test", + srcs = glob(["src/test/kotlin/**/*.kt"]), + test_class = "hs.kr.entrydsm.example.ExampleApplicationTest", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS + TEST_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) diff --git a/systems/identity/identity-application/deps.bzl b/systems/identity/identity-application/deps.bzl new file mode 100644 index 0000000..bfdb5ae --- /dev/null +++ b/systems/identity/identity-application/deps.bzl @@ -0,0 +1,16 @@ +SPRING_DEPS = [ + "@maven//:org_springframework_boot_spring_boot_starter_web", + "@maven//:org_springframework_boot_spring_boot_starter_actuator", +] + +KOTLIN_DEPS = [ + "@maven//:org_jetbrains_kotlin_kotlin_reflect", + "@maven//:com_fasterxml_jackson_module_jackson_module_kotlin", +] + +TEST_DEPS = [ + "@maven//:org_springframework_boot_spring_boot_starter_test", + "@maven//:junit_junit", +] + +MODULE_DEPS = SPRING_DEPS + KOTLIN_DEPS diff --git a/systems/identity/identity-application/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt b/systems/identity/identity-application/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt new file mode 100644 index 0000000..10d9573 --- /dev/null +++ b/systems/identity/identity-application/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt @@ -0,0 +1,11 @@ +package hs.kr.entrydsm.example + +import org.springframework.boot.autoconfigure.SpringBootApplication +import org.springframework.boot.runApplication + +@SpringBootApplication +class ExampleApplication + +fun main(args: Array) { + runApplication(*args) +} \ No newline at end of file diff --git a/systems/identity/identity-application/src/test/kotlin/hs/kr/entrydsm/TestMain.kt b/systems/identity/identity-application/src/test/kotlin/hs/kr/entrydsm/TestMain.kt new file mode 100644 index 0000000..561ecc3 --- /dev/null +++ b/systems/identity/identity-application/src/test/kotlin/hs/kr/entrydsm/TestMain.kt @@ -0,0 +1,11 @@ +package hs.kr.entrydsm.example + +import org.junit.Assert.assertEquals +import org.junit.Test + +class ExampleApplicationTest { + @Test + fun contextLoads() { + assertEquals(4, 2 + 2) + } +} \ No newline at end of file diff --git a/systems/identity/identity-bootstrap/BUILD.bazel b/systems/identity/identity-bootstrap/BUILD.bazel new file mode 100644 index 0000000..4945eef --- /dev/null +++ b/systems/identity/identity-bootstrap/BUILD.bazel @@ -0,0 +1,24 @@ +load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_binary", "kt_jvm_test") +load("//systems/admission/module-a:deps.bzl", "MODULE_DEPS", "TEST_DEPS") + +package(default_visibility = ["//visibility:public"]) + +kt_jvm_binary( + name = "main", + srcs = glob(["src/main/kotlin/**/*.kt"]), + main_class = "hs.kr.entrydsm.example.ExampleApplicationKt", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) + +kt_jvm_test( + name = "test", + srcs = glob(["src/test/kotlin/**/*.kt"]), + test_class = "hs.kr.entrydsm.example.ExampleApplicationTest", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS + TEST_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) diff --git a/systems/identity/identity-bootstrap/deps.bzl b/systems/identity/identity-bootstrap/deps.bzl new file mode 100644 index 0000000..bfdb5ae --- /dev/null +++ b/systems/identity/identity-bootstrap/deps.bzl @@ -0,0 +1,16 @@ +SPRING_DEPS = [ + "@maven//:org_springframework_boot_spring_boot_starter_web", + "@maven//:org_springframework_boot_spring_boot_starter_actuator", +] + +KOTLIN_DEPS = [ + "@maven//:org_jetbrains_kotlin_kotlin_reflect", + "@maven//:com_fasterxml_jackson_module_jackson_module_kotlin", +] + +TEST_DEPS = [ + "@maven//:org_springframework_boot_spring_boot_starter_test", + "@maven//:junit_junit", +] + +MODULE_DEPS = SPRING_DEPS + KOTLIN_DEPS diff --git a/systems/identity/identity-bootstrap/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt b/systems/identity/identity-bootstrap/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt new file mode 100644 index 0000000..10d9573 --- /dev/null +++ b/systems/identity/identity-bootstrap/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt @@ -0,0 +1,11 @@ +package hs.kr.entrydsm.example + +import org.springframework.boot.autoconfigure.SpringBootApplication +import org.springframework.boot.runApplication + +@SpringBootApplication +class ExampleApplication + +fun main(args: Array) { + runApplication(*args) +} \ No newline at end of file diff --git a/systems/identity/identity-bootstrap/src/test/kotlin/hs/kr/entrydsm/TestMain.kt b/systems/identity/identity-bootstrap/src/test/kotlin/hs/kr/entrydsm/TestMain.kt new file mode 100644 index 0000000..561ecc3 --- /dev/null +++ b/systems/identity/identity-bootstrap/src/test/kotlin/hs/kr/entrydsm/TestMain.kt @@ -0,0 +1,11 @@ +package hs.kr.entrydsm.example + +import org.junit.Assert.assertEquals +import org.junit.Test + +class ExampleApplicationTest { + @Test + fun contextLoads() { + assertEquals(4, 2 + 2) + } +} \ No newline at end of file diff --git a/systems/identity/identity-domain/BUILD.bazel b/systems/identity/identity-domain/BUILD.bazel new file mode 100644 index 0000000..4945eef --- /dev/null +++ b/systems/identity/identity-domain/BUILD.bazel @@ -0,0 +1,24 @@ +load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_binary", "kt_jvm_test") +load("//systems/admission/module-a:deps.bzl", "MODULE_DEPS", "TEST_DEPS") + +package(default_visibility = ["//visibility:public"]) + +kt_jvm_binary( + name = "main", + srcs = glob(["src/main/kotlin/**/*.kt"]), + main_class = "hs.kr.entrydsm.example.ExampleApplicationKt", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) + +kt_jvm_test( + name = "test", + srcs = glob(["src/test/kotlin/**/*.kt"]), + test_class = "hs.kr.entrydsm.example.ExampleApplicationTest", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS + TEST_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) diff --git a/systems/identity/identity-domain/deps.bzl b/systems/identity/identity-domain/deps.bzl new file mode 100644 index 0000000..bfdb5ae --- /dev/null +++ b/systems/identity/identity-domain/deps.bzl @@ -0,0 +1,16 @@ +SPRING_DEPS = [ + "@maven//:org_springframework_boot_spring_boot_starter_web", + "@maven//:org_springframework_boot_spring_boot_starter_actuator", +] + +KOTLIN_DEPS = [ + "@maven//:org_jetbrains_kotlin_kotlin_reflect", + "@maven//:com_fasterxml_jackson_module_jackson_module_kotlin", +] + +TEST_DEPS = [ + "@maven//:org_springframework_boot_spring_boot_starter_test", + "@maven//:junit_junit", +] + +MODULE_DEPS = SPRING_DEPS + KOTLIN_DEPS diff --git a/systems/identity/identity-domain/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt b/systems/identity/identity-domain/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt new file mode 100644 index 0000000..10d9573 --- /dev/null +++ b/systems/identity/identity-domain/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt @@ -0,0 +1,11 @@ +package hs.kr.entrydsm.example + +import org.springframework.boot.autoconfigure.SpringBootApplication +import org.springframework.boot.runApplication + +@SpringBootApplication +class ExampleApplication + +fun main(args: Array) { + runApplication(*args) +} \ No newline at end of file diff --git a/systems/identity/identity-domain/src/test/kotlin/hs/kr/entrydsm/TestMain.kt b/systems/identity/identity-domain/src/test/kotlin/hs/kr/entrydsm/TestMain.kt new file mode 100644 index 0000000..561ecc3 --- /dev/null +++ b/systems/identity/identity-domain/src/test/kotlin/hs/kr/entrydsm/TestMain.kt @@ -0,0 +1,11 @@ +package hs.kr.entrydsm.example + +import org.junit.Assert.assertEquals +import org.junit.Test + +class ExampleApplicationTest { + @Test + fun contextLoads() { + assertEquals(4, 2 + 2) + } +} \ No newline at end of file diff --git a/systems/identity/module-a/BUILD.bazel b/systems/identity/module-a/BUILD.bazel deleted file mode 100644 index 09022c5..0000000 --- a/systems/identity/module-a/BUILD.bazel +++ /dev/null @@ -1,27 +0,0 @@ -load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_binary", "kt_jvm_test") - -load("//module-a:deps.bzl", "MODULE_DEPS", "TEST_DEPS") - -package(default_visibility = ["//visibility:public"]) - -setup_kotlin_compiler() - -kt_jvm_binary( - name = "main", - srcs = glob(["src/main/kotlin/**/*.kt"]), - main_class = "hs.kr.entrydsm.example.ExampleApplicationKt", - plugins = ["//:spring_allopen"], - deps = MODULE_DEPS, - javac_opts = "//:javac_options", - kotlinc_opts = "//:kotlinc_options", -) - -kt_jvm_test( - name = "test", - srcs = glob(["src/test/kotlin/**/*.kt"]), - test_class = "hs.kr.entrydsm.example.ExampleApplicationTest", - plugins = ["//:spring_allopen"], - deps = MODULE_DEPS + TEST_DEPS, - javac_opts = "//:javac_options", - kotlinc_opts = "//:kotlinc_options", -) diff --git a/systems/identity/module-b/BUILD.bazel b/systems/identity/module-b/BUILD.bazel deleted file mode 100644 index 09022c5..0000000 --- a/systems/identity/module-b/BUILD.bazel +++ /dev/null @@ -1,27 +0,0 @@ -load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_binary", "kt_jvm_test") - -load("//module-a:deps.bzl", "MODULE_DEPS", "TEST_DEPS") - -package(default_visibility = ["//visibility:public"]) - -setup_kotlin_compiler() - -kt_jvm_binary( - name = "main", - srcs = glob(["src/main/kotlin/**/*.kt"]), - main_class = "hs.kr.entrydsm.example.ExampleApplicationKt", - plugins = ["//:spring_allopen"], - deps = MODULE_DEPS, - javac_opts = "//:javac_options", - kotlinc_opts = "//:kotlinc_options", -) - -kt_jvm_test( - name = "test", - srcs = glob(["src/test/kotlin/**/*.kt"]), - test_class = "hs.kr.entrydsm.example.ExampleApplicationTest", - plugins = ["//:spring_allopen"], - deps = MODULE_DEPS + TEST_DEPS, - javac_opts = "//:javac_options", - kotlinc_opts = "//:kotlinc_options", -) diff --git a/systems/notification/module-a/BUILD.bazel b/systems/notification/module-a/BUILD.bazel deleted file mode 100644 index 09022c5..0000000 --- a/systems/notification/module-a/BUILD.bazel +++ /dev/null @@ -1,27 +0,0 @@ -load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_binary", "kt_jvm_test") - -load("//module-a:deps.bzl", "MODULE_DEPS", "TEST_DEPS") - -package(default_visibility = ["//visibility:public"]) - -setup_kotlin_compiler() - -kt_jvm_binary( - name = "main", - srcs = glob(["src/main/kotlin/**/*.kt"]), - main_class = "hs.kr.entrydsm.example.ExampleApplicationKt", - plugins = ["//:spring_allopen"], - deps = MODULE_DEPS, - javac_opts = "//:javac_options", - kotlinc_opts = "//:kotlinc_options", -) - -kt_jvm_test( - name = "test", - srcs = glob(["src/test/kotlin/**/*.kt"]), - test_class = "hs.kr.entrydsm.example.ExampleApplicationTest", - plugins = ["//:spring_allopen"], - deps = MODULE_DEPS + TEST_DEPS, - javac_opts = "//:javac_options", - kotlinc_opts = "//:kotlinc_options", -) diff --git a/systems/notification/module-b/BUILD.bazel b/systems/notification/module-b/BUILD.bazel deleted file mode 100644 index 09022c5..0000000 --- a/systems/notification/module-b/BUILD.bazel +++ /dev/null @@ -1,27 +0,0 @@ -load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_binary", "kt_jvm_test") - -load("//module-a:deps.bzl", "MODULE_DEPS", "TEST_DEPS") - -package(default_visibility = ["//visibility:public"]) - -setup_kotlin_compiler() - -kt_jvm_binary( - name = "main", - srcs = glob(["src/main/kotlin/**/*.kt"]), - main_class = "hs.kr.entrydsm.example.ExampleApplicationKt", - plugins = ["//:spring_allopen"], - deps = MODULE_DEPS, - javac_opts = "//:javac_options", - kotlinc_opts = "//:kotlinc_options", -) - -kt_jvm_test( - name = "test", - srcs = glob(["src/test/kotlin/**/*.kt"]), - test_class = "hs.kr.entrydsm.example.ExampleApplicationTest", - plugins = ["//:spring_allopen"], - deps = MODULE_DEPS + TEST_DEPS, - javac_opts = "//:javac_options", - kotlinc_opts = "//:kotlinc_options", -) diff --git a/systems/notification/notification-adapter-in/BUILD.bazel b/systems/notification/notification-adapter-in/BUILD.bazel new file mode 100644 index 0000000..4945eef --- /dev/null +++ b/systems/notification/notification-adapter-in/BUILD.bazel @@ -0,0 +1,24 @@ +load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_binary", "kt_jvm_test") +load("//systems/admission/module-a:deps.bzl", "MODULE_DEPS", "TEST_DEPS") + +package(default_visibility = ["//visibility:public"]) + +kt_jvm_binary( + name = "main", + srcs = glob(["src/main/kotlin/**/*.kt"]), + main_class = "hs.kr.entrydsm.example.ExampleApplicationKt", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) + +kt_jvm_test( + name = "test", + srcs = glob(["src/test/kotlin/**/*.kt"]), + test_class = "hs.kr.entrydsm.example.ExampleApplicationTest", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS + TEST_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) diff --git a/systems/notification/notification-adapter-in/deps.bzl b/systems/notification/notification-adapter-in/deps.bzl new file mode 100644 index 0000000..bfdb5ae --- /dev/null +++ b/systems/notification/notification-adapter-in/deps.bzl @@ -0,0 +1,16 @@ +SPRING_DEPS = [ + "@maven//:org_springframework_boot_spring_boot_starter_web", + "@maven//:org_springframework_boot_spring_boot_starter_actuator", +] + +KOTLIN_DEPS = [ + "@maven//:org_jetbrains_kotlin_kotlin_reflect", + "@maven//:com_fasterxml_jackson_module_jackson_module_kotlin", +] + +TEST_DEPS = [ + "@maven//:org_springframework_boot_spring_boot_starter_test", + "@maven//:junit_junit", +] + +MODULE_DEPS = SPRING_DEPS + KOTLIN_DEPS diff --git a/systems/notification/notification-adapter-in/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt b/systems/notification/notification-adapter-in/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt new file mode 100644 index 0000000..10d9573 --- /dev/null +++ b/systems/notification/notification-adapter-in/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt @@ -0,0 +1,11 @@ +package hs.kr.entrydsm.example + +import org.springframework.boot.autoconfigure.SpringBootApplication +import org.springframework.boot.runApplication + +@SpringBootApplication +class ExampleApplication + +fun main(args: Array) { + runApplication(*args) +} \ No newline at end of file diff --git a/systems/notification/notification-adapter-in/src/test/kotlin/hs/kr/entrydsm/TestMain.kt b/systems/notification/notification-adapter-in/src/test/kotlin/hs/kr/entrydsm/TestMain.kt new file mode 100644 index 0000000..561ecc3 --- /dev/null +++ b/systems/notification/notification-adapter-in/src/test/kotlin/hs/kr/entrydsm/TestMain.kt @@ -0,0 +1,11 @@ +package hs.kr.entrydsm.example + +import org.junit.Assert.assertEquals +import org.junit.Test + +class ExampleApplicationTest { + @Test + fun contextLoads() { + assertEquals(4, 2 + 2) + } +} \ No newline at end of file diff --git a/systems/notification/notification-adapter-out/BUILD.bazel b/systems/notification/notification-adapter-out/BUILD.bazel new file mode 100644 index 0000000..4945eef --- /dev/null +++ b/systems/notification/notification-adapter-out/BUILD.bazel @@ -0,0 +1,24 @@ +load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_binary", "kt_jvm_test") +load("//systems/admission/module-a:deps.bzl", "MODULE_DEPS", "TEST_DEPS") + +package(default_visibility = ["//visibility:public"]) + +kt_jvm_binary( + name = "main", + srcs = glob(["src/main/kotlin/**/*.kt"]), + main_class = "hs.kr.entrydsm.example.ExampleApplicationKt", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) + +kt_jvm_test( + name = "test", + srcs = glob(["src/test/kotlin/**/*.kt"]), + test_class = "hs.kr.entrydsm.example.ExampleApplicationTest", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS + TEST_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) diff --git a/systems/notification/notification-adapter-out/deps.bzl b/systems/notification/notification-adapter-out/deps.bzl new file mode 100644 index 0000000..bfdb5ae --- /dev/null +++ b/systems/notification/notification-adapter-out/deps.bzl @@ -0,0 +1,16 @@ +SPRING_DEPS = [ + "@maven//:org_springframework_boot_spring_boot_starter_web", + "@maven//:org_springframework_boot_spring_boot_starter_actuator", +] + +KOTLIN_DEPS = [ + "@maven//:org_jetbrains_kotlin_kotlin_reflect", + "@maven//:com_fasterxml_jackson_module_jackson_module_kotlin", +] + +TEST_DEPS = [ + "@maven//:org_springframework_boot_spring_boot_starter_test", + "@maven//:junit_junit", +] + +MODULE_DEPS = SPRING_DEPS + KOTLIN_DEPS diff --git a/systems/notification/notification-adapter-out/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt b/systems/notification/notification-adapter-out/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt new file mode 100644 index 0000000..10d9573 --- /dev/null +++ b/systems/notification/notification-adapter-out/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt @@ -0,0 +1,11 @@ +package hs.kr.entrydsm.example + +import org.springframework.boot.autoconfigure.SpringBootApplication +import org.springframework.boot.runApplication + +@SpringBootApplication +class ExampleApplication + +fun main(args: Array) { + runApplication(*args) +} \ No newline at end of file diff --git a/systems/notification/notification-adapter-out/src/test/kotlin/hs/kr/entrydsm/TestMain.kt b/systems/notification/notification-adapter-out/src/test/kotlin/hs/kr/entrydsm/TestMain.kt new file mode 100644 index 0000000..561ecc3 --- /dev/null +++ b/systems/notification/notification-adapter-out/src/test/kotlin/hs/kr/entrydsm/TestMain.kt @@ -0,0 +1,11 @@ +package hs.kr.entrydsm.example + +import org.junit.Assert.assertEquals +import org.junit.Test + +class ExampleApplicationTest { + @Test + fun contextLoads() { + assertEquals(4, 2 + 2) + } +} \ No newline at end of file diff --git a/systems/notification/notification-application/BUILD.bazel b/systems/notification/notification-application/BUILD.bazel new file mode 100644 index 0000000..4945eef --- /dev/null +++ b/systems/notification/notification-application/BUILD.bazel @@ -0,0 +1,24 @@ +load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_binary", "kt_jvm_test") +load("//systems/admission/module-a:deps.bzl", "MODULE_DEPS", "TEST_DEPS") + +package(default_visibility = ["//visibility:public"]) + +kt_jvm_binary( + name = "main", + srcs = glob(["src/main/kotlin/**/*.kt"]), + main_class = "hs.kr.entrydsm.example.ExampleApplicationKt", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) + +kt_jvm_test( + name = "test", + srcs = glob(["src/test/kotlin/**/*.kt"]), + test_class = "hs.kr.entrydsm.example.ExampleApplicationTest", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS + TEST_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) diff --git a/systems/notification/notification-application/deps.bzl b/systems/notification/notification-application/deps.bzl new file mode 100644 index 0000000..bfdb5ae --- /dev/null +++ b/systems/notification/notification-application/deps.bzl @@ -0,0 +1,16 @@ +SPRING_DEPS = [ + "@maven//:org_springframework_boot_spring_boot_starter_web", + "@maven//:org_springframework_boot_spring_boot_starter_actuator", +] + +KOTLIN_DEPS = [ + "@maven//:org_jetbrains_kotlin_kotlin_reflect", + "@maven//:com_fasterxml_jackson_module_jackson_module_kotlin", +] + +TEST_DEPS = [ + "@maven//:org_springframework_boot_spring_boot_starter_test", + "@maven//:junit_junit", +] + +MODULE_DEPS = SPRING_DEPS + KOTLIN_DEPS diff --git a/systems/notification/notification-application/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt b/systems/notification/notification-application/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt new file mode 100644 index 0000000..10d9573 --- /dev/null +++ b/systems/notification/notification-application/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt @@ -0,0 +1,11 @@ +package hs.kr.entrydsm.example + +import org.springframework.boot.autoconfigure.SpringBootApplication +import org.springframework.boot.runApplication + +@SpringBootApplication +class ExampleApplication + +fun main(args: Array) { + runApplication(*args) +} \ No newline at end of file diff --git a/systems/notification/notification-application/src/test/kotlin/hs/kr/entrydsm/TestMain.kt b/systems/notification/notification-application/src/test/kotlin/hs/kr/entrydsm/TestMain.kt new file mode 100644 index 0000000..561ecc3 --- /dev/null +++ b/systems/notification/notification-application/src/test/kotlin/hs/kr/entrydsm/TestMain.kt @@ -0,0 +1,11 @@ +package hs.kr.entrydsm.example + +import org.junit.Assert.assertEquals +import org.junit.Test + +class ExampleApplicationTest { + @Test + fun contextLoads() { + assertEquals(4, 2 + 2) + } +} \ No newline at end of file diff --git a/systems/notification/notification-bootstrap/BUILD.bazel b/systems/notification/notification-bootstrap/BUILD.bazel new file mode 100644 index 0000000..4945eef --- /dev/null +++ b/systems/notification/notification-bootstrap/BUILD.bazel @@ -0,0 +1,24 @@ +load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_binary", "kt_jvm_test") +load("//systems/admission/module-a:deps.bzl", "MODULE_DEPS", "TEST_DEPS") + +package(default_visibility = ["//visibility:public"]) + +kt_jvm_binary( + name = "main", + srcs = glob(["src/main/kotlin/**/*.kt"]), + main_class = "hs.kr.entrydsm.example.ExampleApplicationKt", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) + +kt_jvm_test( + name = "test", + srcs = glob(["src/test/kotlin/**/*.kt"]), + test_class = "hs.kr.entrydsm.example.ExampleApplicationTest", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS + TEST_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) diff --git a/systems/notification/notification-bootstrap/deps.bzl b/systems/notification/notification-bootstrap/deps.bzl new file mode 100644 index 0000000..bfdb5ae --- /dev/null +++ b/systems/notification/notification-bootstrap/deps.bzl @@ -0,0 +1,16 @@ +SPRING_DEPS = [ + "@maven//:org_springframework_boot_spring_boot_starter_web", + "@maven//:org_springframework_boot_spring_boot_starter_actuator", +] + +KOTLIN_DEPS = [ + "@maven//:org_jetbrains_kotlin_kotlin_reflect", + "@maven//:com_fasterxml_jackson_module_jackson_module_kotlin", +] + +TEST_DEPS = [ + "@maven//:org_springframework_boot_spring_boot_starter_test", + "@maven//:junit_junit", +] + +MODULE_DEPS = SPRING_DEPS + KOTLIN_DEPS diff --git a/systems/notification/notification-bootstrap/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt b/systems/notification/notification-bootstrap/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt new file mode 100644 index 0000000..10d9573 --- /dev/null +++ b/systems/notification/notification-bootstrap/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt @@ -0,0 +1,11 @@ +package hs.kr.entrydsm.example + +import org.springframework.boot.autoconfigure.SpringBootApplication +import org.springframework.boot.runApplication + +@SpringBootApplication +class ExampleApplication + +fun main(args: Array) { + runApplication(*args) +} \ No newline at end of file diff --git a/systems/notification/notification-bootstrap/src/test/kotlin/hs/kr/entrydsm/TestMain.kt b/systems/notification/notification-bootstrap/src/test/kotlin/hs/kr/entrydsm/TestMain.kt new file mode 100644 index 0000000..561ecc3 --- /dev/null +++ b/systems/notification/notification-bootstrap/src/test/kotlin/hs/kr/entrydsm/TestMain.kt @@ -0,0 +1,11 @@ +package hs.kr.entrydsm.example + +import org.junit.Assert.assertEquals +import org.junit.Test + +class ExampleApplicationTest { + @Test + fun contextLoads() { + assertEquals(4, 2 + 2) + } +} \ No newline at end of file diff --git a/systems/notification/notification-domain/BUILD.bazel b/systems/notification/notification-domain/BUILD.bazel new file mode 100644 index 0000000..4945eef --- /dev/null +++ b/systems/notification/notification-domain/BUILD.bazel @@ -0,0 +1,24 @@ +load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_binary", "kt_jvm_test") +load("//systems/admission/module-a:deps.bzl", "MODULE_DEPS", "TEST_DEPS") + +package(default_visibility = ["//visibility:public"]) + +kt_jvm_binary( + name = "main", + srcs = glob(["src/main/kotlin/**/*.kt"]), + main_class = "hs.kr.entrydsm.example.ExampleApplicationKt", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) + +kt_jvm_test( + name = "test", + srcs = glob(["src/test/kotlin/**/*.kt"]), + test_class = "hs.kr.entrydsm.example.ExampleApplicationTest", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS + TEST_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) diff --git a/systems/notification/notification-domain/deps.bzl b/systems/notification/notification-domain/deps.bzl new file mode 100644 index 0000000..bfdb5ae --- /dev/null +++ b/systems/notification/notification-domain/deps.bzl @@ -0,0 +1,16 @@ +SPRING_DEPS = [ + "@maven//:org_springframework_boot_spring_boot_starter_web", + "@maven//:org_springframework_boot_spring_boot_starter_actuator", +] + +KOTLIN_DEPS = [ + "@maven//:org_jetbrains_kotlin_kotlin_reflect", + "@maven//:com_fasterxml_jackson_module_jackson_module_kotlin", +] + +TEST_DEPS = [ + "@maven//:org_springframework_boot_spring_boot_starter_test", + "@maven//:junit_junit", +] + +MODULE_DEPS = SPRING_DEPS + KOTLIN_DEPS diff --git a/systems/notification/notification-domain/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt b/systems/notification/notification-domain/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt new file mode 100644 index 0000000..10d9573 --- /dev/null +++ b/systems/notification/notification-domain/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt @@ -0,0 +1,11 @@ +package hs.kr.entrydsm.example + +import org.springframework.boot.autoconfigure.SpringBootApplication +import org.springframework.boot.runApplication + +@SpringBootApplication +class ExampleApplication + +fun main(args: Array) { + runApplication(*args) +} \ No newline at end of file diff --git a/systems/notification/notification-domain/src/test/kotlin/hs/kr/entrydsm/TestMain.kt b/systems/notification/notification-domain/src/test/kotlin/hs/kr/entrydsm/TestMain.kt new file mode 100644 index 0000000..561ecc3 --- /dev/null +++ b/systems/notification/notification-domain/src/test/kotlin/hs/kr/entrydsm/TestMain.kt @@ -0,0 +1,11 @@ +package hs.kr.entrydsm.example + +import org.junit.Assert.assertEquals +import org.junit.Test + +class ExampleApplicationTest { + @Test + fun contextLoads() { + assertEquals(4, 2 + 2) + } +} \ No newline at end of file diff --git a/systems/schedule/module-a/BUILD.bazel b/systems/schedule/module-a/BUILD.bazel deleted file mode 100644 index 09022c5..0000000 --- a/systems/schedule/module-a/BUILD.bazel +++ /dev/null @@ -1,27 +0,0 @@ -load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_binary", "kt_jvm_test") - -load("//module-a:deps.bzl", "MODULE_DEPS", "TEST_DEPS") - -package(default_visibility = ["//visibility:public"]) - -setup_kotlin_compiler() - -kt_jvm_binary( - name = "main", - srcs = glob(["src/main/kotlin/**/*.kt"]), - main_class = "hs.kr.entrydsm.example.ExampleApplicationKt", - plugins = ["//:spring_allopen"], - deps = MODULE_DEPS, - javac_opts = "//:javac_options", - kotlinc_opts = "//:kotlinc_options", -) - -kt_jvm_test( - name = "test", - srcs = glob(["src/test/kotlin/**/*.kt"]), - test_class = "hs.kr.entrydsm.example.ExampleApplicationTest", - plugins = ["//:spring_allopen"], - deps = MODULE_DEPS + TEST_DEPS, - javac_opts = "//:javac_options", - kotlinc_opts = "//:kotlinc_options", -) diff --git a/systems/schedule/module-b/BUILD.bazel b/systems/schedule/module-b/BUILD.bazel deleted file mode 100644 index 09022c5..0000000 --- a/systems/schedule/module-b/BUILD.bazel +++ /dev/null @@ -1,27 +0,0 @@ -load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_binary", "kt_jvm_test") - -load("//module-a:deps.bzl", "MODULE_DEPS", "TEST_DEPS") - -package(default_visibility = ["//visibility:public"]) - -setup_kotlin_compiler() - -kt_jvm_binary( - name = "main", - srcs = glob(["src/main/kotlin/**/*.kt"]), - main_class = "hs.kr.entrydsm.example.ExampleApplicationKt", - plugins = ["//:spring_allopen"], - deps = MODULE_DEPS, - javac_opts = "//:javac_options", - kotlinc_opts = "//:kotlinc_options", -) - -kt_jvm_test( - name = "test", - srcs = glob(["src/test/kotlin/**/*.kt"]), - test_class = "hs.kr.entrydsm.example.ExampleApplicationTest", - plugins = ["//:spring_allopen"], - deps = MODULE_DEPS + TEST_DEPS, - javac_opts = "//:javac_options", - kotlinc_opts = "//:kotlinc_options", -) diff --git a/systems/schedule/schedule-adapter-in/BUILD.bazel b/systems/schedule/schedule-adapter-in/BUILD.bazel new file mode 100644 index 0000000..4945eef --- /dev/null +++ b/systems/schedule/schedule-adapter-in/BUILD.bazel @@ -0,0 +1,24 @@ +load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_binary", "kt_jvm_test") +load("//systems/admission/module-a:deps.bzl", "MODULE_DEPS", "TEST_DEPS") + +package(default_visibility = ["//visibility:public"]) + +kt_jvm_binary( + name = "main", + srcs = glob(["src/main/kotlin/**/*.kt"]), + main_class = "hs.kr.entrydsm.example.ExampleApplicationKt", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) + +kt_jvm_test( + name = "test", + srcs = glob(["src/test/kotlin/**/*.kt"]), + test_class = "hs.kr.entrydsm.example.ExampleApplicationTest", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS + TEST_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) diff --git a/systems/schedule/schedule-adapter-in/deps.bzl b/systems/schedule/schedule-adapter-in/deps.bzl new file mode 100644 index 0000000..bfdb5ae --- /dev/null +++ b/systems/schedule/schedule-adapter-in/deps.bzl @@ -0,0 +1,16 @@ +SPRING_DEPS = [ + "@maven//:org_springframework_boot_spring_boot_starter_web", + "@maven//:org_springframework_boot_spring_boot_starter_actuator", +] + +KOTLIN_DEPS = [ + "@maven//:org_jetbrains_kotlin_kotlin_reflect", + "@maven//:com_fasterxml_jackson_module_jackson_module_kotlin", +] + +TEST_DEPS = [ + "@maven//:org_springframework_boot_spring_boot_starter_test", + "@maven//:junit_junit", +] + +MODULE_DEPS = SPRING_DEPS + KOTLIN_DEPS diff --git a/systems/schedule/schedule-adapter-in/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt b/systems/schedule/schedule-adapter-in/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt new file mode 100644 index 0000000..10d9573 --- /dev/null +++ b/systems/schedule/schedule-adapter-in/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt @@ -0,0 +1,11 @@ +package hs.kr.entrydsm.example + +import org.springframework.boot.autoconfigure.SpringBootApplication +import org.springframework.boot.runApplication + +@SpringBootApplication +class ExampleApplication + +fun main(args: Array) { + runApplication(*args) +} \ No newline at end of file diff --git a/systems/schedule/schedule-adapter-in/src/test/kotlin/hs/kr/entrydsm/TestMain.kt b/systems/schedule/schedule-adapter-in/src/test/kotlin/hs/kr/entrydsm/TestMain.kt new file mode 100644 index 0000000..561ecc3 --- /dev/null +++ b/systems/schedule/schedule-adapter-in/src/test/kotlin/hs/kr/entrydsm/TestMain.kt @@ -0,0 +1,11 @@ +package hs.kr.entrydsm.example + +import org.junit.Assert.assertEquals +import org.junit.Test + +class ExampleApplicationTest { + @Test + fun contextLoads() { + assertEquals(4, 2 + 2) + } +} \ No newline at end of file diff --git a/systems/schedule/schedule-adapter-out/BUILD.bazel b/systems/schedule/schedule-adapter-out/BUILD.bazel new file mode 100644 index 0000000..4945eef --- /dev/null +++ b/systems/schedule/schedule-adapter-out/BUILD.bazel @@ -0,0 +1,24 @@ +load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_binary", "kt_jvm_test") +load("//systems/admission/module-a:deps.bzl", "MODULE_DEPS", "TEST_DEPS") + +package(default_visibility = ["//visibility:public"]) + +kt_jvm_binary( + name = "main", + srcs = glob(["src/main/kotlin/**/*.kt"]), + main_class = "hs.kr.entrydsm.example.ExampleApplicationKt", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) + +kt_jvm_test( + name = "test", + srcs = glob(["src/test/kotlin/**/*.kt"]), + test_class = "hs.kr.entrydsm.example.ExampleApplicationTest", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS + TEST_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) diff --git a/systems/schedule/schedule-adapter-out/deps.bzl b/systems/schedule/schedule-adapter-out/deps.bzl new file mode 100644 index 0000000..bfdb5ae --- /dev/null +++ b/systems/schedule/schedule-adapter-out/deps.bzl @@ -0,0 +1,16 @@ +SPRING_DEPS = [ + "@maven//:org_springframework_boot_spring_boot_starter_web", + "@maven//:org_springframework_boot_spring_boot_starter_actuator", +] + +KOTLIN_DEPS = [ + "@maven//:org_jetbrains_kotlin_kotlin_reflect", + "@maven//:com_fasterxml_jackson_module_jackson_module_kotlin", +] + +TEST_DEPS = [ + "@maven//:org_springframework_boot_spring_boot_starter_test", + "@maven//:junit_junit", +] + +MODULE_DEPS = SPRING_DEPS + KOTLIN_DEPS diff --git a/systems/schedule/schedule-adapter-out/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt b/systems/schedule/schedule-adapter-out/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt new file mode 100644 index 0000000..10d9573 --- /dev/null +++ b/systems/schedule/schedule-adapter-out/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt @@ -0,0 +1,11 @@ +package hs.kr.entrydsm.example + +import org.springframework.boot.autoconfigure.SpringBootApplication +import org.springframework.boot.runApplication + +@SpringBootApplication +class ExampleApplication + +fun main(args: Array) { + runApplication(*args) +} \ No newline at end of file diff --git a/systems/schedule/schedule-adapter-out/src/test/kotlin/hs/kr/entrydsm/TestMain.kt b/systems/schedule/schedule-adapter-out/src/test/kotlin/hs/kr/entrydsm/TestMain.kt new file mode 100644 index 0000000..561ecc3 --- /dev/null +++ b/systems/schedule/schedule-adapter-out/src/test/kotlin/hs/kr/entrydsm/TestMain.kt @@ -0,0 +1,11 @@ +package hs.kr.entrydsm.example + +import org.junit.Assert.assertEquals +import org.junit.Test + +class ExampleApplicationTest { + @Test + fun contextLoads() { + assertEquals(4, 2 + 2) + } +} \ No newline at end of file diff --git a/systems/schedule/schedule-application/BUILD.bazel b/systems/schedule/schedule-application/BUILD.bazel new file mode 100644 index 0000000..4945eef --- /dev/null +++ b/systems/schedule/schedule-application/BUILD.bazel @@ -0,0 +1,24 @@ +load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_binary", "kt_jvm_test") +load("//systems/admission/module-a:deps.bzl", "MODULE_DEPS", "TEST_DEPS") + +package(default_visibility = ["//visibility:public"]) + +kt_jvm_binary( + name = "main", + srcs = glob(["src/main/kotlin/**/*.kt"]), + main_class = "hs.kr.entrydsm.example.ExampleApplicationKt", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) + +kt_jvm_test( + name = "test", + srcs = glob(["src/test/kotlin/**/*.kt"]), + test_class = "hs.kr.entrydsm.example.ExampleApplicationTest", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS + TEST_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) diff --git a/systems/schedule/schedule-application/deps.bzl b/systems/schedule/schedule-application/deps.bzl new file mode 100644 index 0000000..bfdb5ae --- /dev/null +++ b/systems/schedule/schedule-application/deps.bzl @@ -0,0 +1,16 @@ +SPRING_DEPS = [ + "@maven//:org_springframework_boot_spring_boot_starter_web", + "@maven//:org_springframework_boot_spring_boot_starter_actuator", +] + +KOTLIN_DEPS = [ + "@maven//:org_jetbrains_kotlin_kotlin_reflect", + "@maven//:com_fasterxml_jackson_module_jackson_module_kotlin", +] + +TEST_DEPS = [ + "@maven//:org_springframework_boot_spring_boot_starter_test", + "@maven//:junit_junit", +] + +MODULE_DEPS = SPRING_DEPS + KOTLIN_DEPS diff --git a/systems/schedule/schedule-application/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt b/systems/schedule/schedule-application/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt new file mode 100644 index 0000000..10d9573 --- /dev/null +++ b/systems/schedule/schedule-application/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt @@ -0,0 +1,11 @@ +package hs.kr.entrydsm.example + +import org.springframework.boot.autoconfigure.SpringBootApplication +import org.springframework.boot.runApplication + +@SpringBootApplication +class ExampleApplication + +fun main(args: Array) { + runApplication(*args) +} \ No newline at end of file diff --git a/systems/schedule/schedule-application/src/test/kotlin/hs/kr/entrydsm/TestMain.kt b/systems/schedule/schedule-application/src/test/kotlin/hs/kr/entrydsm/TestMain.kt new file mode 100644 index 0000000..561ecc3 --- /dev/null +++ b/systems/schedule/schedule-application/src/test/kotlin/hs/kr/entrydsm/TestMain.kt @@ -0,0 +1,11 @@ +package hs.kr.entrydsm.example + +import org.junit.Assert.assertEquals +import org.junit.Test + +class ExampleApplicationTest { + @Test + fun contextLoads() { + assertEquals(4, 2 + 2) + } +} \ No newline at end of file diff --git a/systems/schedule/schedule-bootstrap/BUILD.bazel b/systems/schedule/schedule-bootstrap/BUILD.bazel new file mode 100644 index 0000000..4945eef --- /dev/null +++ b/systems/schedule/schedule-bootstrap/BUILD.bazel @@ -0,0 +1,24 @@ +load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_binary", "kt_jvm_test") +load("//systems/admission/module-a:deps.bzl", "MODULE_DEPS", "TEST_DEPS") + +package(default_visibility = ["//visibility:public"]) + +kt_jvm_binary( + name = "main", + srcs = glob(["src/main/kotlin/**/*.kt"]), + main_class = "hs.kr.entrydsm.example.ExampleApplicationKt", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) + +kt_jvm_test( + name = "test", + srcs = glob(["src/test/kotlin/**/*.kt"]), + test_class = "hs.kr.entrydsm.example.ExampleApplicationTest", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS + TEST_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) diff --git a/systems/schedule/schedule-bootstrap/deps.bzl b/systems/schedule/schedule-bootstrap/deps.bzl new file mode 100644 index 0000000..bfdb5ae --- /dev/null +++ b/systems/schedule/schedule-bootstrap/deps.bzl @@ -0,0 +1,16 @@ +SPRING_DEPS = [ + "@maven//:org_springframework_boot_spring_boot_starter_web", + "@maven//:org_springframework_boot_spring_boot_starter_actuator", +] + +KOTLIN_DEPS = [ + "@maven//:org_jetbrains_kotlin_kotlin_reflect", + "@maven//:com_fasterxml_jackson_module_jackson_module_kotlin", +] + +TEST_DEPS = [ + "@maven//:org_springframework_boot_spring_boot_starter_test", + "@maven//:junit_junit", +] + +MODULE_DEPS = SPRING_DEPS + KOTLIN_DEPS diff --git a/systems/schedule/schedule-bootstrap/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt b/systems/schedule/schedule-bootstrap/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt new file mode 100644 index 0000000..10d9573 --- /dev/null +++ b/systems/schedule/schedule-bootstrap/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt @@ -0,0 +1,11 @@ +package hs.kr.entrydsm.example + +import org.springframework.boot.autoconfigure.SpringBootApplication +import org.springframework.boot.runApplication + +@SpringBootApplication +class ExampleApplication + +fun main(args: Array) { + runApplication(*args) +} \ No newline at end of file diff --git a/systems/schedule/schedule-bootstrap/src/test/kotlin/hs/kr/entrydsm/TestMain.kt b/systems/schedule/schedule-bootstrap/src/test/kotlin/hs/kr/entrydsm/TestMain.kt new file mode 100644 index 0000000..561ecc3 --- /dev/null +++ b/systems/schedule/schedule-bootstrap/src/test/kotlin/hs/kr/entrydsm/TestMain.kt @@ -0,0 +1,11 @@ +package hs.kr.entrydsm.example + +import org.junit.Assert.assertEquals +import org.junit.Test + +class ExampleApplicationTest { + @Test + fun contextLoads() { + assertEquals(4, 2 + 2) + } +} \ No newline at end of file diff --git a/systems/schedule/schedule-domain/BUILD.bazel b/systems/schedule/schedule-domain/BUILD.bazel new file mode 100644 index 0000000..4945eef --- /dev/null +++ b/systems/schedule/schedule-domain/BUILD.bazel @@ -0,0 +1,24 @@ +load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_binary", "kt_jvm_test") +load("//systems/admission/module-a:deps.bzl", "MODULE_DEPS", "TEST_DEPS") + +package(default_visibility = ["//visibility:public"]) + +kt_jvm_binary( + name = "main", + srcs = glob(["src/main/kotlin/**/*.kt"]), + main_class = "hs.kr.entrydsm.example.ExampleApplicationKt", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) + +kt_jvm_test( + name = "test", + srcs = glob(["src/test/kotlin/**/*.kt"]), + test_class = "hs.kr.entrydsm.example.ExampleApplicationTest", + plugins = ["//:spring_allopen"], + deps = MODULE_DEPS + TEST_DEPS, + javac_opts = "//:javac_options", + kotlinc_opts = "//:kotlinc_options", +) diff --git a/systems/schedule/schedule-domain/deps.bzl b/systems/schedule/schedule-domain/deps.bzl new file mode 100644 index 0000000..bfdb5ae --- /dev/null +++ b/systems/schedule/schedule-domain/deps.bzl @@ -0,0 +1,16 @@ +SPRING_DEPS = [ + "@maven//:org_springframework_boot_spring_boot_starter_web", + "@maven//:org_springframework_boot_spring_boot_starter_actuator", +] + +KOTLIN_DEPS = [ + "@maven//:org_jetbrains_kotlin_kotlin_reflect", + "@maven//:com_fasterxml_jackson_module_jackson_module_kotlin", +] + +TEST_DEPS = [ + "@maven//:org_springframework_boot_spring_boot_starter_test", + "@maven//:junit_junit", +] + +MODULE_DEPS = SPRING_DEPS + KOTLIN_DEPS diff --git a/systems/schedule/schedule-domain/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt b/systems/schedule/schedule-domain/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt new file mode 100644 index 0000000..10d9573 --- /dev/null +++ b/systems/schedule/schedule-domain/src/main/kotlin/hs/kr/entrydsm/ExampleApplication.kt @@ -0,0 +1,11 @@ +package hs.kr.entrydsm.example + +import org.springframework.boot.autoconfigure.SpringBootApplication +import org.springframework.boot.runApplication + +@SpringBootApplication +class ExampleApplication + +fun main(args: Array) { + runApplication(*args) +} \ No newline at end of file diff --git a/systems/schedule/schedule-domain/src/test/kotlin/hs/kr/entrydsm/TestMain.kt b/systems/schedule/schedule-domain/src/test/kotlin/hs/kr/entrydsm/TestMain.kt new file mode 100644 index 0000000..561ecc3 --- /dev/null +++ b/systems/schedule/schedule-domain/src/test/kotlin/hs/kr/entrydsm/TestMain.kt @@ -0,0 +1,11 @@ +package hs.kr.entrydsm.example + +import org.junit.Assert.assertEquals +import org.junit.Test + +class ExampleApplicationTest { + @Test + fun contextLoads() { + assertEquals(4, 2 + 2) + } +} \ No newline at end of file From 0b5f0f983605b114e2b0bc5578988a7cd331f5aa Mon Sep 17 00:00:00 2001 From: kangeunchan Date: Thu, 22 Jan 2026 15:11:52 +0900 Subject: [PATCH 2/3] =?UTF-8?q?feat(packages):=20analytics,=20evaluation,?= =?UTF-8?q?=20observability=20=EB=94=94=EB=A0=89=ED=86=A0=EB=A6=AC=20?= =?UTF-8?q?=EA=B5=AC=EC=A1=B0=20=EC=84=A4=EC=A0=95=20(#14)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- systems/analytics/internal/config/.keep | 0 systems/analytics/internal/handler/.keep | 0 systems/analytics/internal/model/.keep | 0 systems/analytics/internal/repository/.keep | 0 systems/analytics/internal/service/.keep | 0 systems/analytics/pkg/.keep | 0 systems/evaluation/internal/config/.keep | 0 systems/evaluation/internal/handler/.keep | 0 systems/evaluation/internal/model/.keep | 0 systems/evaluation/internal/repository/.keep | 0 systems/evaluation/internal/service/.keep | 0 systems/evaluation/pkg/.keep | 0 systems/observability/internal/config/.keep | 0 systems/observability/internal/handler/.keep | 0 systems/observability/internal/model/.keep | 0 systems/observability/internal/repository/.keep | 0 systems/observability/internal/service/.keep | 0 systems/observability/pkg/.keep | 0 18 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 systems/analytics/internal/config/.keep create mode 100644 systems/analytics/internal/handler/.keep create mode 100644 systems/analytics/internal/model/.keep create mode 100644 systems/analytics/internal/repository/.keep create mode 100644 systems/analytics/internal/service/.keep create mode 100644 systems/analytics/pkg/.keep create mode 100644 systems/evaluation/internal/config/.keep create mode 100644 systems/evaluation/internal/handler/.keep create mode 100644 systems/evaluation/internal/model/.keep create mode 100644 systems/evaluation/internal/repository/.keep create mode 100644 systems/evaluation/internal/service/.keep create mode 100644 systems/evaluation/pkg/.keep create mode 100644 systems/observability/internal/config/.keep create mode 100644 systems/observability/internal/handler/.keep create mode 100644 systems/observability/internal/model/.keep create mode 100644 systems/observability/internal/repository/.keep create mode 100644 systems/observability/internal/service/.keep create mode 100644 systems/observability/pkg/.keep diff --git a/systems/analytics/internal/config/.keep b/systems/analytics/internal/config/.keep new file mode 100644 index 0000000..e69de29 diff --git a/systems/analytics/internal/handler/.keep b/systems/analytics/internal/handler/.keep new file mode 100644 index 0000000..e69de29 diff --git a/systems/analytics/internal/model/.keep b/systems/analytics/internal/model/.keep new file mode 100644 index 0000000..e69de29 diff --git a/systems/analytics/internal/repository/.keep b/systems/analytics/internal/repository/.keep new file mode 100644 index 0000000..e69de29 diff --git a/systems/analytics/internal/service/.keep b/systems/analytics/internal/service/.keep new file mode 100644 index 0000000..e69de29 diff --git a/systems/analytics/pkg/.keep b/systems/analytics/pkg/.keep new file mode 100644 index 0000000..e69de29 diff --git a/systems/evaluation/internal/config/.keep b/systems/evaluation/internal/config/.keep new file mode 100644 index 0000000..e69de29 diff --git a/systems/evaluation/internal/handler/.keep b/systems/evaluation/internal/handler/.keep new file mode 100644 index 0000000..e69de29 diff --git a/systems/evaluation/internal/model/.keep b/systems/evaluation/internal/model/.keep new file mode 100644 index 0000000..e69de29 diff --git a/systems/evaluation/internal/repository/.keep b/systems/evaluation/internal/repository/.keep new file mode 100644 index 0000000..e69de29 diff --git a/systems/evaluation/internal/service/.keep b/systems/evaluation/internal/service/.keep new file mode 100644 index 0000000..e69de29 diff --git a/systems/evaluation/pkg/.keep b/systems/evaluation/pkg/.keep new file mode 100644 index 0000000..e69de29 diff --git a/systems/observability/internal/config/.keep b/systems/observability/internal/config/.keep new file mode 100644 index 0000000..e69de29 diff --git a/systems/observability/internal/handler/.keep b/systems/observability/internal/handler/.keep new file mode 100644 index 0000000..e69de29 diff --git a/systems/observability/internal/model/.keep b/systems/observability/internal/model/.keep new file mode 100644 index 0000000..e69de29 diff --git a/systems/observability/internal/repository/.keep b/systems/observability/internal/repository/.keep new file mode 100644 index 0000000..e69de29 diff --git a/systems/observability/internal/service/.keep b/systems/observability/internal/service/.keep new file mode 100644 index 0000000..e69de29 diff --git a/systems/observability/pkg/.keep b/systems/observability/pkg/.keep new file mode 100644 index 0000000..e69de29 From eebbe5b57c4e62992a626dddc37b907b39bbfe60 Mon Sep 17 00:00:00 2001 From: kangeunchan Date: Thu, 22 Jan 2026 15:20:26 +0900 Subject: [PATCH 3/3] =?UTF-8?q?fix(ci):=20commitlint=20subject=20=EC=B5=9C?= =?UTF-8?q?=EB=8C=80=20=EA=B8=B8=EC=9D=B4=EB=A5=BC=2072=EC=9E=90=EC=97=90?= =?UTF-8?q?=EC=84=9C=20300=EC=9E=90=EB=A1=9C=20=EC=A6=9D=EA=B0=80=20(#14)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .commitlintrc.cjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.commitlintrc.cjs b/.commitlintrc.cjs index 613e0eb..003b7a6 100644 --- a/.commitlintrc.cjs +++ b/.commitlintrc.cjs @@ -48,6 +48,6 @@ module.exports = { ], 'subject-empty': [2, 'never'], - 'subject-max-length': [2, 'always', 72] + 'subject-max-length': [2, 'always', 300] } };