summaryrefslogtreecommitdiffstats
path: root/ms/controllerblueprints/distribution/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'ms/controllerblueprints/distribution/src/main')
-rw-r--r--ms/controllerblueprints/distribution/src/main/dc/docker-compose.yaml2
-rw-r--r--ms/controllerblueprints/distribution/src/main/docker/Dockerfile2
-rw-r--r--ms/controllerblueprints/distribution/src/main/docker/distribution.xml9
3 files changed, 4 insertions, 9 deletions
diff --git a/ms/controllerblueprints/distribution/src/main/dc/docker-compose.yaml b/ms/controllerblueprints/distribution/src/main/dc/docker-compose.yaml
index 3c1464699..dd2190843 100644
--- a/ms/controllerblueprints/distribution/src/main/dc/docker-compose.yaml
+++ b/ms/controllerblueprints/distribution/src/main/dc/docker-compose.yaml
@@ -5,7 +5,7 @@ services:
image: mariadb:latest
container_name: cb-mariadb
ports:
- - "3307:3306"
+ - "3306:3306"
volumes:
- ~/vm_mysql:/var/lib/mysql
restart: always
diff --git a/ms/controllerblueprints/distribution/src/main/docker/Dockerfile b/ms/controllerblueprints/distribution/src/main/docker/Dockerfile
index a2f453f24..6de589dac 100644
--- a/ms/controllerblueprints/distribution/src/main/docker/Dockerfile
+++ b/ms/controllerblueprints/distribution/src/main/docker/Dockerfile
@@ -14,7 +14,7 @@ RUN (mkdir -p /source /opt/app/onap) && (tar -xzf /source.tar.gz -C /source) \
&& (mv /source/@project.build.finalName@ /source/app) \
&& (cp -rf /source/app/opt/app/onap/lib /opt/app/onap/) \
&& (cp -rf /source/app/etc /) \
-&& (cp -rf /source/app/load /) \
+&& (cp -rf /source/app/model-catalog /) \
&& (rm -rf /source)
ENTRYPOINT /startService.sh
diff --git a/ms/controllerblueprints/distribution/src/main/docker/distribution.xml b/ms/controllerblueprints/distribution/src/main/docker/distribution.xml
index f2f3cb0be..c929f98ef 100644
--- a/ms/controllerblueprints/distribution/src/main/docker/distribution.xml
+++ b/ms/controllerblueprints/distribution/src/main/docker/distribution.xml
@@ -49,11 +49,6 @@
<useDefaultExcludes>true</useDefaultExcludes>
</fileSet>
<fileSet>
- <directory>${project.basedir}/../application/src/main/groovy</directory>
- <outputDirectory>src/main/groovy</outputDirectory>
- <useDefaultExcludes>true</useDefaultExcludes>
- </fileSet>
- <fileSet>
<directory>${project.basedir}/../application/src/main/resources</directory>
<outputDirectory>src/main/resources</outputDirectory>
<useDefaultExcludes>true</useDefaultExcludes>
@@ -64,8 +59,8 @@
<useDefaultExcludes>true</useDefaultExcludes>
</fileSet>
<fileSet>
- <directory>${project.basedir}/../application/load</directory>
- <outputDirectory>load</outputDirectory>
+ <directory>${project.basedir}/../../../components/model-catalog</directory>
+ <outputDirectory>./model-catalog</outputDirectory>
<useDefaultExcludes>true</useDefaultExcludes>
</fileSet>
</fileSets>