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] } }; 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/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/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/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/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/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 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