diff --git a/build.sbt b/build.sbt index 446d24a44d..3cb7d7377f 100644 --- a/build.sbt +++ b/build.sbt @@ -15,6 +15,9 @@ import scala.sys.process.Process // GLOBAL SETTINGS ////////////////////////////////////// +// when true enables run cancellation w/o exiting sbt +cancelable in Global := true + lazy val aggregatedProjects: Seq[ProjectReference] = Seq(webapi, sipi) lazy val buildSettings = Seq( @@ -93,10 +96,6 @@ lazy val webApiCommonSettings = Seq( name := "webapi" ) -// GatlingPlugin - load testing -// JavaAgent - adds AspectJ Weaver configuration -// BuildInfoPlugin - allows generation of scala code with version information - lazy val webapi: Project = Project(id = "webapi", base = file("webapi")) .settings(buildSettings) .enablePlugins(SbtTwirl, JavaAppPackaging, DockerPlugin, GatlingPlugin, JavaAgent, RevolverPlugin, BuildInfoPlugin) @@ -105,7 +104,7 @@ lazy val webapi: Project = Project(id = "webapi", base = file("webapi")) resolvers ++= Seq( Resolver.bintrayRepo("hseeberger", "maven") ), - Dependencies.webapiLibraryDependencies + libraryDependencies ++= Dependencies.webapiLibraryDependencies ) .settings( inConfig(Test)(Defaults.testTasks ++ baseAssemblySettings) @@ -138,7 +137,7 @@ lazy val webapi: Project = Project(id = "webapi", base = file("webapi")) "-javaagent:" + resolved.artifact.absolutePath + resolved.agent.arguments }, // allows sbt-javaagent to work with sbt-revolver reStart / javaOptions ++= webapiJavaRunOptions, - javaAgents += Dependencies.Compile.aspectJWeaver, + javaAgents += Dependencies.aspectJWeaver, fork := true, // run tests in a forked JVM Test / testForkedParallel := false, // run forked tests in parallel Test / parallelExecution := false, // run non-forked tests in parallel @@ -224,7 +223,7 @@ lazy val apiMain = project .in(file("dsp-api-main")) .settings( name := "dsp-api-main", - Dependencies.webapiLibraryDependencies, + libraryDependencies ++= Dependencies.dspApiMainLibraryDependencies, testFrameworks := Seq(new TestFramework("zio.test.sbt.ZTestFramework")) ) .dependsOn(schemaCore, schemaRepo, schemaApi) @@ -233,7 +232,7 @@ lazy val schemaApi = project .in(file("dsp-schema/api")) .settings( name := "schemaApi", - Dependencies.webapiLibraryDependencies, + libraryDependencies ++= Dependencies.schemaApiLibraryDependencies, testFrameworks := Seq(new TestFramework("zio.test.sbt.ZTestFramework")) ) .dependsOn(schemaCore) @@ -242,7 +241,7 @@ lazy val schemaCore = project .in(file("dsp-schema/core")) .settings( name := "schemaCore", - Dependencies.webapiLibraryDependencies, + libraryDependencies ++= Dependencies.schemaCoreLibraryDependencies, testFrameworks := Seq(new TestFramework("zio.test.sbt.ZTestFramework")) ) @@ -250,7 +249,7 @@ lazy val schemaRepo = project .in(file("dsp-schema/repo")) .settings( name := "schemaRepo", - Dependencies.webapiLibraryDependencies, + libraryDependencies ++= Dependencies.schemaRepoLibraryDependencies, testFrameworks := Seq(new TestFramework("zio.test.sbt.ZTestFramework")) ) .dependsOn(schemaCore) @@ -259,7 +258,7 @@ lazy val schemaRepoEventStoreService = project .in(file("dsp-schema/repo-eventstore-service")) .settings( name := "schemaRepoEventstoreService", - Dependencies.webapiLibraryDependencies, + libraryDependencies ++= Dependencies.schemaRepoEventStoreServiceLibraryDependencies, testFrameworks := Seq(new TestFramework("zio.test.sbt.ZTestFramework")) ) .dependsOn(schemaRepo) @@ -268,7 +267,7 @@ lazy val schemaRepoSearchService = project .in(file("dsp-schema/repo-search-service")) .settings( name := "dsp-schema-repo-search-service", - Dependencies.webapiLibraryDependencies, + libraryDependencies ++= Dependencies.schemaRepoSearchServiceLibraryDependencies, testFrameworks := Seq(new TestFramework("zio.test.sbt.ZTestFramework")) ) .dependsOn(schemaRepo) diff --git a/docs/02-knora-ontologies/knora-base.md b/docs/02-knora-ontologies/knora-base.md index a5300fc98f..21b0b6a7d4 100644 --- a/docs/02-knora-ontologies/knora-base.md +++ b/docs/02-knora-ontologies/knora-base.md @@ -50,7 +50,7 @@ the `kb:isInProject` property, as described in ### Ontologies Each user-created ontology must be defined as an `owl:Ontology` with the properties `rdfs:label` and `kb:attachedToProject`. -Since [DSP-API v19](https://github.com/dasch-swiss/dsp-api/releases/tag/v19.0.0) `kb:lastModificationDate` property is also required. +Since [DSP-API v20](https://github.com/dasch-swiss/dsp-api/releases/tag/v20.0.0) `kb:lastModificationDate` property is also required. ### Resources diff --git a/project/Dependencies.scala b/project/Dependencies.scala index c15c3c9627..44323caeb1 100644 --- a/project/Dependencies.scala +++ b/project/Dependencies.scala @@ -9,7 +9,7 @@ import sbt.Keys._ import sbt.{Def, _} object Dependencies { - + // core deps versions val scalaVersion = "2.13.7" val akkaVersion = "2.6.18" val akkaHttpVersion = "10.2.8" @@ -18,238 +18,215 @@ object Dependencies { val sipiImage = "daschswiss/sipi:3.3.4" // base image the knora-sipi image is created from val fusekiImage = "daschswiss/apache-jena-fuseki:2.0.8" // should be the same version as in docker-compose.yml + // ZIO val ZioVersion = "2.0.0-RC2" val ZioHttpVersion = "2.0.0-RC3" - val ZioJsonVersion = "0.3.0-RC3" - val ZioConfigVersion = "3.0.0-RC2" - val ZioSchemaVersion = "0.2.0-RC1-1" - val ZioLoggingVersion = "2.0.0-RC5" - val ZioZmxVersion = "2.0.0-M1" val ZioPreludeVersion = "1.0.0-RC10" - - object Compile { - - // ZIO - val zio = "dev.zio" %% "zio" % ZioVersion - val zioHttp = "io.d11" %% "zhttp" % ZioHttpVersion - val zioJson = "dev.zio" %% "zio-json" % ZioJsonVersion - val zioPrelude = "dev.zio" %% "zio-prelude" % ZioPreludeVersion - val zioTest = "dev.zio" %% "zio-test" % ZioVersion % Test - val zioTestSbt = "dev.zio" %% "zio-test-sbt" % ZioVersion % Test - - // akka - val akkaActor = "com.typesafe.akka" %% "akka-actor" % akkaVersion - val akkaStream = "com.typesafe.akka" %% "akka-stream" % akkaVersion - val akkaSlf4j = "com.typesafe.akka" %% "akka-slf4j" % akkaVersion - val akkaProtobufV3 = "com.typesafe.akka" %% "akka-protobuf-v3" % akkaVersion - - // akka http - val akkaHttp = "com.typesafe.akka" %% "akka-http" % akkaHttpVersion - val akkaHttpXml = "com.typesafe.akka" %% "akka-http-xml" % akkaHttpVersion - val akkaHttpSprayJson = "com.typesafe.akka" %% "akka-http-spray-json" % akkaHttpVersion - val akkaHttpJacksonJava = "com.typesafe.akka" %% "akka-http-jackson" % akkaHttpVersion - - val typesafeConfig = "com.typesafe" % "config" % "1.3.3" - - //CORS support - val akkaHttpCors = "ch.megard" %% "akka-http-cors" % "1.0.0" - - // jena - val jenaLibs = "org.apache.jena" % "apache-jena-libs" % jenaVersion - val jenaText = "org.apache.jena" % "jena-text" % jenaVersion - - // logging - val scalaLogging = "com.typesafe.scala-logging" %% "scala-logging" % "3.9.4" - val logbackClassic = "ch.qos.logback" % "logback-classic" % "1.2.10" - - // Metrics - val kamonCore = "io.kamon" %% "kamon-core" % "2.1.5" - val kamonScalaFuture = "io.kamon" %% "kamon-scala-future" % "2.1.5" - val kamonAkkaHttpd = "io.kamon" %% "kamon-akka-http" % "2.1.5" - val kamonPrometheus = "io.kamon" %% "kamon-prometheus" % "2.1.5" - val kamonLogback = "io.kamon" %% "kamon-logback" % "2.1.5" - val aspectJWeaver = "org.aspectj" % "aspectjweaver" % "1.9.4" - - // input validation - val commonsValidator = - "commons-validator" % "commons-validator" % "1.6" exclude ("commons-logging", "commons-logging") - - // authentication - val bcprov = "org.bouncycastle" % "bcprov-jdk15on" % "1.64" - val springSecurityCore = - "org.springframework.security" % "spring-security-core" % "5.1.5.RELEASE" exclude ("commons-logging", "commons-logging") exclude ("org.springframework", "spring-aop") - val jwtSprayJson = "com.pauldijou" %% "jwt-spray-json" % "5.0.0" - - // caching - val ehcache = "net.sf.ehcache" % "ehcache" % "2.10.9.2" - val jedis = "redis.clients" % "jedis" % "3.1.0-m4" - // serialization - val chill = "com.twitter" %% "chill" % "0.9.5" - - // other - //"javax.transaction" % "transaction-api" % "1.1-rev-1", - val commonsText = "org.apache.commons" % "commons-text" % "1.6" - val commonsIo = "commons-io" % "commons-io" % "2.6" - val commonsBeanUtil = - "commons-beanutils" % "commons-beanutils" % "1.9.3" exclude ("commons-logging", "commons-logging") // not used by us, but need newest version to prevent this problem: http://stackoverflow.com/questions/14402745/duplicate-classes-in-commons-collections-and-commons-beanutils - val jodd = "org.jodd" % "jodd" % "3.2.6" - val jodaTime = "joda-time" % "joda-time" % "2.9.1" - val jodaConvert = "org.joda" % "joda-convert" % "1.8" - val diff = "com.sksamuel.diff" % "diff" % "1.1.11" - val xmlunitCore = "org.xmlunit" % "xmlunit-core" % "2.1.1" - - // other - val rdf4jClient = "org.eclipse.rdf4j" % "rdf4j-client" % "3.4.4" - val rdf4jRuntime = "org.eclipse.rdf4j" % "rdf4j-runtime" % "3.4.4" - val rdf4jStorage = "org.eclipse.rdf4j" % "rdf4j-storage" % "3.4.4" - val scallop = "org.rogach" %% "scallop" % "3.5.1" - val gwtServlet = "com.google.gwt" % "gwt-servlet" % "2.8.0" - val saxonHE = "net.sf.saxon" % "Saxon-HE" % "9.9.0-2" - - val scalaXml = "org.scala-lang.modules" %% "scala-xml" % "1.2.0" - - // provides akka jackson (json) support - val akkaHttpCirce = "de.heikoseeberger" %% "akka-http-circe" % "1.36.0" - val jacksonScala = "com.fasterxml.jackson.module" %% "jackson-module-scala" % "2.12.3" - - // swagger (api documentation) - val swaggerAkkaHttp = "com.github.swagger-akka-http" %% "swagger-akka-http" % "1.6.0" - - // Java EE modules which are deprecated in Java SE 9, 10 and will be removed in Java SE 11 - val jaxbApi = "javax.xml.bind" % "jaxb-api" % "2.2.12" - - val icu4j = "com.ibm.icu" % "icu4j" % "62.1" - - val apacheHttpClient = - "org.apache.httpcomponents" % "httpclient" % "4.5.6" exclude ("commons-logging", "commons-logging") - - // Graph for Scala "org.scala-graph:graph-core_2.13:1.13.1", - val scalaGraph = "org.scala-graph" %% "graph-core" % "1.13.1" - - // missing from current BAZEL setup - // "ch.qos.logback:logback-core:1.2.9", - val logbackCore = "ch.qos.logback" % "logback-core" % "1.2.9" - // "org.slf4j:log4j-over-slf4j:1.7.32", - val log4jOverSlf4j = "org.slf4j" % "log4j-over-slf4j" % "1.7.32" - // "org.slf4j:jcl-over-slf4j:1.7.32", - val jclOverSlf4j = "org.slf4j" % "jcl-over-slf4j" % "1.7.32" - // "org.slf4j:slf4j-api:1.7.32", - val slf4jApi = "org.slf4j" % "slf4j-api" % "1.7.32" - // "com.apicatalog:titanium-json-ld:1.2.0", - val titaniumJSONLD = "com.apicatalog" % "titanium-json-ld" % "1.2.0" - // "org.glassfish:jakarta.json:2.0.1", - val jakartaJSON = "org.glassfish" % "jakarta.json" % "2.0.1" - // "com.typesafe.play:twirl-api_2.13:1.5.1", - val twirlApi = "com.typesafe.play" %% "twirl-api" % "1.5.1" - // "junit:junit:4.13.2", - val junit = "junit" % "junit" % "4.13.2" - // "org.seleniumhq.selenium:selenium-support:3.141.59", - val seleniumSupport = "org.seleniumhq.selenium" % "selenium-support" % "3.141.59" - } - - object WebapiTest { - val akkaTestkit = "com.typesafe.akka" %% "akka-testkit" % akkaVersion % "test" - val akkaStreamTestkit = "com.typesafe.akka" %% "akka-stream-testkit" % akkaVersion % "test" - val akkaHttpTestkit = "com.typesafe.akka" %% "akka-http-testkit" % akkaHttpVersion % "test" - val scalaTest = "org.scalatest" %% "scalatest" % "3.2.2" % "test" - val gatlingHighcharts = "io.gatling.highcharts" % "gatling-charts-highcharts" % "3.7.5" % "test" - val gatlingTestFramework = "io.gatling" % "gatling-test-framework" % "3.2.1" % "test" - val testcontainers = "org.testcontainers" % "testcontainers" % "1.16.0" % "test" - } - - object TestBinaries { - val akkaTestkit = "com.typesafe.akka" %% "akka-testkit" % akkaVersion - val akkaStreamTestkit = "com.typesafe.akka" %% "akka-stream-testkit" % akkaVersion - val akkaHttpTestkit = "com.typesafe.akka" %% "akka-http-testkit" % akkaHttpVersion - val scalaTest = "org.scalatest" %% "scalatest" % "3.2.2" - val gatlingHighcharts = "io.gatling.highcharts" % "gatling-charts-highcharts" % "3.7.5" - val gatlingTestFramework = "io.gatling" % "gatling-test-framework" % "3.2.1" - } - - import Compile._ - - val l = libraryDependencies - - val webapiLibraryDependencies = l ++= Seq[sbt.ModuleID]( + val zio = "dev.zio" %% "zio" % ZioVersion + val zioHttp = "io.d11" %% "zhttp" % ZioHttpVersion + val zioPrelude = "dev.zio" %% "zio-prelude" % ZioPreludeVersion + val zioTest = "dev.zio" %% "zio-test" % ZioVersion + val zioTestSbt = "dev.zio" %% "zio-test-sbt" % ZioVersion + val izumiReflect = "dev.zio" %% "izumi-reflect" % "2.0.8" + val zioStacktracer = "dev.zio" %% "zio-stacktracer" % ZioVersion + + // akka + val akkaActor = "com.typesafe.akka" %% "akka-actor" % akkaVersion + val akkaStream = "com.typesafe.akka" %% "akka-stream" % akkaVersion + val akkaSlf4j = "com.typesafe.akka" %% "akka-slf4j" % akkaVersion + val akkaHttp = "com.typesafe.akka" %% "akka-http" % akkaHttpVersion + val akkaHttpSprayJson = "com.typesafe.akka" %% "akka-http-spray-json" % akkaHttpVersion + + //CORS support + val akkaHttpCors = "ch.megard" %% "akka-http-cors" % "1.0.0" + + // jena + val jenaText = "org.apache.jena" % "jena-text" % jenaVersion + + // logging + val scalaLogging = "com.typesafe.scala-logging" %% "scala-logging" % "3.9.4" + val logbackClassic = "ch.qos.logback" % "logback-classic" % "1.2.10" + + // Metrics + val kamonCore = "io.kamon" %% "kamon-core" % "2.1.5" + val kamonScalaFuture = "io.kamon" %% "kamon-scala-future" % "2.1.5" + val kamonAkkaHttpd = "io.kamon" %% "kamon-akka-http" % "2.1.5" + val aspectJWeaver = "org.aspectj" % "aspectjweaver" % "1.9.4" + + // input validation + val commonsValidator = + "commons-validator" % "commons-validator" % "1.6" exclude ("commons-logging", "commons-logging") + + // authentication + val springSecurityCore = + "org.springframework.security" % "spring-security-core" % "5.1.5.RELEASE" exclude ("commons-logging", "commons-logging") exclude ("org.springframework", "spring-aop") + val jwtSprayJson = "com.pauldijou" %% "jwt-spray-json" % "5.0.0" + + // caching + val ehcache = "net.sf.ehcache" % "ehcache" % "2.10.9.2" + val jedis = "redis.clients" % "jedis" % "3.1.0-m4" + + // serialization + val chill = "com.twitter" %% "chill" % "0.9.5" + + // other + val jodd = "org.jodd" % "jodd" % "3.2.6" + val diff = "com.sksamuel.diff" % "diff" % "1.1.11" + val xmlunitCore = "org.xmlunit" % "xmlunit-core" % "2.1.1" + val rdf4jClient = "org.eclipse.rdf4j" % "rdf4j-client" % "3.4.4" + val scallop = "org.rogach" %% "scallop" % "3.5.1" + val gwtServlet = "com.google.gwt" % "gwt-servlet" % "2.8.0" + val saxonHE = "net.sf.saxon" % "Saxon-HE" % "9.9.0-2" + val icu4j = "com.ibm.icu" % "icu4j" % "62.1" + + // swagger (api documentation) + val swaggerAkkaHttp = "com.github.swagger-akka-http" %% "swagger-akka-http" % "1.6.0" + + // Graph for Scala + val scalaGraph = "org.scala-graph" %% "graph-core" % "1.13.1" + + // test + val akkaTestkit = "com.typesafe.akka" %% "akka-testkit" % akkaVersion + val akkaStreamTestkit = "com.typesafe.akka" %% "akka-stream-testkit" % akkaVersion + val akkaHttpTestkit = "com.typesafe.akka" %% "akka-http-testkit" % akkaHttpVersion + val scalaTest = "org.scalatest" %% "scalatest" % "3.2.2" + val gatlingHighcharts = "io.gatling.highcharts" % "gatling-charts-highcharts" % "3.7.5" + val gatlingTestFramework = "io.gatling" % "gatling-test-framework" % "3.2.1" + val testcontainers = "org.testcontainers" % "testcontainers" % "1.16.0" + + // missing from current BAZEL setup + val titaniumJSONLD = "com.apicatalog" % "titanium-json-ld" % "1.2.0" + val jakartaJSON = "org.glassfish" % "jakarta.json" % "2.0.1" + + // found by plugin + val jwtCore = "com.pauldijou" %% "jwt-core" % "5.0.0" + val config = "com.typesafe" % "config" % "1.4.0" + val akkaHttpCore = "com.typesafe.akka" %% "akka-http-core" % "10.2.8" + val commonsIo = "commons-io" % "commons-io" % "2.11.0" + val sprayJson = "io.spray" %% "spray-json" % "1.3.6" + val swaggerAnnotations = "io.swagger" % "swagger-annotations" % "1.6.3" + val swaggerModels = "io.swagger" % "swagger-models" % "1.6.3" + val jsr311Api = "javax.ws.rs" % "jsr311-api" % "1.1.1" + val commonsLang3 = "org.apache.commons" % "commons-lang3" % "3.12.0" + val commonsPool2 = "org.apache.commons" % "commons-pool2" % "2.6.2" + val commonsText = "org.apache.commons" % "commons-text" % "1.8" + val httpClient = + "org.apache.httpcomponents" % "httpclient" % "4.5.13" exclude ("commons-logging", "commons-logging") + val httpCore = "org.apache.httpcomponents" % "httpcore" % "4.4.14" + val jenaArq = "org.apache.jena" % "jena-arq" % "4.4.0" + val jenaCore = "org.apache.jena" % "jena-core" % "4.4.0" + val jenaShacl = "org.apache.jena" % "jena-shacl" % "4.4.0" + val jenaTdb = "org.apache.jena" % "jena-tdb" % "4.4.0" + val luceneCore = "org.apache.lucene" % "lucene-core" % "8.11.1" + val rdf4jModel = "org.eclipse.rdf4j" % "rdf4j-model" % "3.4.4" + val rdf4jQuery = "org.eclipse.rdf4j" % "rdf4j-query" % "3.4.4" + val rdf4jQueryAlgebraModel = "org.eclipse.rdf4j" % "rdf4j-queryalgebra-model" % "3.4.4" + val rdf4jQueryParserApi = "org.eclipse.rdf4j" % "rdf4j-queryparser-api" % "3.4.4" + val rdf4jQueryParserSparql = "org.eclipse.rdf4j" % "rdf4j-queryparser-sparql" % "3.4.4" + val rdf4jRepositoryApi = "org.eclipse.rdf4j" % "rdf4j-repository-api" % "3.4.4" + val rdf4jRepositorySail = "org.eclipse.rdf4j" % "rdf4j-repository-sail" % "3.4.4" + val rdf4jRioApi = "org.eclipse.rdf4j" % "rdf4j-rio-api" % "3.4.4" + val rdf4jSailApi = "org.eclipse.rdf4j" % "rdf4j-sail-api" % "3.4.4" + val rdf4jSailMemory = "org.eclipse.rdf4j" % "rdf4j-sail-memory" % "3.4.4" + val rdf4jShacl = "org.eclipse.rdf4j" % "rdf4j-shacl" % "3.4.4" + val rdf4jUtil = "org.eclipse.rdf4j" % "rdf4j-util" % "3.4.4" + val scalaReflect = "org.scala-lang" % "scala-reflect" % "2.13.7" + val scalaXml = "org.scala-lang.modules" %% "scala-xml" % "1.3.0" + val slf4jApi = "org.slf4j" % "slf4j-api" % "1.7.35" + + val webapiLibraryDependencies = Seq( akkaActor, akkaHttp, - akkaHttpCirce, akkaHttpCors, - akkaHttpJacksonJava, akkaHttpSprayJson, - akkaHttpXml, - akkaProtobufV3, - akkaSlf4j, + akkaSlf4j % Runtime, akkaStream, - apacheHttpClient, - bcprov, chill, - commonsBeanUtil, - commonsIo, - commonsText, commonsValidator, diff, ehcache, gwtServlet, icu4j, - jacksonScala, - jaxbApi, jedis, - jenaLibs, jenaText, - jodaConvert, - jodaTime, jodd, jwtSprayJson, kamonCore, - kamonLogback, - kamonPrometheus, kamonScalaFuture, - logbackCore, - logbackClassic, - rdf4jClient, - rdf4jRuntime, - rdf4jStorage, saxonHE, scalaGraph, scalaLogging, - scalaXml, + logbackClassic % Runtime, scallop, springSecurityCore, swaggerAkkaHttp, titaniumJSONLD, - typesafeConfig, - WebapiTest.akkaHttpTestkit, - WebapiTest.akkaStreamTestkit, - WebapiTest.akkaTestkit, - WebapiTest.gatlingHighcharts, - WebapiTest.gatlingTestFramework, - WebapiTest.scalaTest, - WebapiTest.testcontainers, - xmlunitCore, + akkaHttpTestkit % Test, + akkaStreamTestkit % Test, + akkaTestkit % Test, + gatlingHighcharts % Test, + gatlingTestFramework % Test, + scalaTest % Test, + testcontainers % Test, + xmlunitCore % Test, zio, - zioHttp, - zioJson, zioPrelude, - zioTest, - zioTestSbt, - log4jOverSlf4j, - jclOverSlf4j, - slf4jApi, + zioTest % Test, + zioTestSbt % Test, jakartaJSON, - twirlApi, - junit, - seleniumSupport + rdf4jClient % Test, + // found by plugin - to check if are actually needed + // jwtCore, + // config, + // akkaHttpCore, + // commonsIo,// + // sprayJson, + // swaggerAnnotations, + // swaggerModels, + // jsr311Api, + // commonsLang3, + // commonsPool2, + // commonsText,// + // httpClient,// + // httpCore, + // jenaArq, + // jenaCore, + // jenaShacl, + // jenaTdb, + // luceneCore, + // rdf4jModel, + // rdf4jQuery, + // rdf4jQueryAlgebraModel, + // rdf4jQueryParserApi, + // rdf4jQueryParserSparql, + // rdf4jRepositoryApi, + // rdf4jRepositorySail, + // rdf4jRioApi, + // rdf4jSailApi, + // rdf4jSailMemory, + rdf4jShacl, + // rdf4jUtil, + // scalaReflect, + // scalaXml,// + // slf4jApi ) - val upgradeLibraryDependencies = l ++= Seq[sbt.ModuleID]( - rdf4jRuntime, - scallop + val dspApiMainLibraryDependencies = Seq( + zio, + // compile w/o both but plugin complain missing them + izumiReflect, + zioStacktracer + ) + + val schemaApiLibraryDependencies = Seq( + zioHttp ) - val webapiTestAndITLibraryDependencies = l ++= Seq[sbt.ModuleID]( - TestBinaries.gatlingHighcharts, - TestBinaries.gatlingTestFramework, - TestBinaries.scalaTest + val schemaCoreLibraryDependencies = Seq( + zioPrelude ) + + val schemaRepoLibraryDependencies = Seq() + val schemaRepoEventStoreServiceLibraryDependencies = Seq() + val schemaRepoSearchServiceLibraryDependencies = Seq() }