Skip to content

Commit eac0049

Browse files
irinaschubertsubotic
andauthored
refactor: improve code structure (DEV-612) (#2012)
Co-authored-by: Ivan Subotic <400790+subotic@users.noreply.github.com>
1 parent 5ef0842 commit eac0049

10 files changed

Lines changed: 5 additions & 6 deletions

File tree

‎.gitignore‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ webapi-test
1919
upgrade/project
2020
sipi/test
2121

22-
**/project/target/
2322
**/target/
2423
*.aux
2524
*.bbl

‎build.sbt‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ lazy val apiMain = project
232232
.dependsOn(schemaCore, schemaRepo, schemaApi)
233233

234234
lazy val schemaApi = project
235-
.in(file("dsp-schema-api"))
235+
.in(file("dsp-schema/api"))
236236
.settings(
237237
name := "schemaApi",
238238
Dependencies.webapiLibraryDependencies,
@@ -241,15 +241,15 @@ lazy val schemaApi = project
241241
.dependsOn(schemaCore)
242242

243243
lazy val schemaCore = project
244-
.in(file("dsp-schema-core"))
244+
.in(file("dsp-schema/core"))
245245
.settings(
246246
name := "schemaCore",
247247
Dependencies.webapiLibraryDependencies,
248248
testFrameworks := Seq(new TestFramework("zio.test.sbt.ZTestFramework"))
249249
)
250250

251251
lazy val schemaRepo = project
252-
.in(file("dsp-schema-repo"))
252+
.in(file("dsp-schema/repo"))
253253
.settings(
254254
name := "schemaRepo",
255255
Dependencies.webapiLibraryDependencies,
@@ -258,7 +258,7 @@ lazy val schemaRepo = project
258258
.dependsOn(schemaCore)
259259

260260
lazy val schemaRepoEventStoreService = project
261-
.in(file("dsp-schema-repo-eventstore-service"))
261+
.in(file("dsp-schema/repo-eventstore-service"))
262262
.settings(
263263
name := "schemaRepoEventstoreService",
264264
Dependencies.webapiLibraryDependencies,
@@ -267,7 +267,7 @@ lazy val schemaRepoEventStoreService = project
267267
.dependsOn(schemaRepo)
268268

269269
lazy val schemaRepoSearchService = project
270-
.in(file("dsp-schema-repo-search-service"))
270+
.in(file("dsp-schema/repo-search-service"))
271271
.settings(
272272
name := "dsp-schema-repo-search-service",
273273
Dependencies.webapiLibraryDependencies,

dsp-schema-api/src/main/scala/dsp/schema/api/app/App.scala renamed to dsp-schema/api/src/main/scala/dsp/schema/api/app/App.scala

File renamed without changes.

dsp-schema-core/src/main/scala/dsp/schema/domain/SchemaDomain.scala renamed to dsp-schema/core/src/main/scala/dsp/schema/domain/SchemaDomain.scala

File renamed without changes.

dsp-schema-core/src/main/scala/dsp/schema/handler/CreateSchema.scala renamed to dsp-schema/core/src/main/scala/dsp/schema/handler/CreateSchema.scala

File renamed without changes.

dsp-schema-core/src/main/scala/dsp/schema/repo/SchemaRepo.scala renamed to dsp-schema/core/src/main/scala/dsp/schema/repo/SchemaRepo.scala

File renamed without changes.

dsp-schema-repo-eventstore-service/src/main/scala/dsp/schema/repo/eventstore/EventStoreLive.scala renamed to dsp-schema/repo-eventstore-service/src/main/scala/dsp/schema/repo/eventstore/EventStoreLive.scala

File renamed without changes.

dsp-schema-repo-search-service/src/main/scala/dsp/schema/repo/search/SearchService.scala renamed to dsp-schema/repo-search-service/src/main/scala/dsp/schema/repo/search/SearchService.scala

File renamed without changes.

dsp-schema-repo/src/main/scala/dsp/schema/repo/SchemaRepoLive.scala renamed to dsp-schema/repo/src/main/scala/dsp/schema/repo/SchemaRepoLive.scala

File renamed without changes.

dsp-schema-repo/src/main/scala/dsp/schema/repo/SchemaRepoTest.scala renamed to dsp-schema/repo/src/main/scala/dsp/schema/repo/SchemaRepoTest.scala

File renamed without changes.

0 commit comments

Comments
 (0)