Skip to content

Commit 7837005

Browse files
committed
made the coverage coexist with the docker configuration in the build.sbt, minor correction to a file in the examples dir
1 parent 67e8126 commit 7837005

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

build.sbt

+4-4
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ def clientInterfaceFile: File = {
3939
}
4040

4141
lazy val domain = (project in file("domain")).settings(
42-
name := "dataplatform.shaper.domain",
43-
libraryDependencies := Dependencies.Jars.domain,
44-
coverageEnabled := true
42+
name := "dataplatform.shaper.domain",
43+
libraryDependencies := Dependencies.Jars.domain,
44+
Test / coverageEnabled := true,
4545
)
4646

4747
lazy val userviceClientGenerated = (project in file("uservice-client-generated")).settings(
@@ -82,7 +82,7 @@ lazy val uservice = (project in file("uservice")).settings(
8282
ExecCmd("RUN", "ln", "-sf", "/usr/local/cue/cue", "/usr/local/bin")
8383
),
8484
Docker / dockerExposedPorts := Seq(8093),
85-
coverageEnabled := true
85+
Test / coverageEnabled := true
8686
).dependsOn(domain, userviceGenerated, userviceClientGenerated % "test->compile").enablePlugins(JavaAppPackaging).setupBuildInfo
8787

8888
lazy val docs = (project in file("docs")).

examples/datamesh/simple/DataPlatformShape.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ mappingDefinitions:
8484
mapper:
8585
table: "source.get('name')"
8686
database: "dataproduct.get('domain') += '.' += dataproduct.get('name')"
87-
dataPath: "s3folder.get('path')"
87+
dataPath: "s3folder.get('path') += '/' += 'outputport' += '/' += source.get('name')"
8888
additionalSourcesReferences:
8989
dataproduct: "source/partOf/DataProductType"
9090
s3folder: "source/dependsOn/FileBasedOutputPortType/mappedTo/S3FolderType"

0 commit comments

Comments
 (0)