diff options
author | Alexis de Talhouët <adetalhouet89@gmail.com> | 2019-02-09 18:33:55 -0500 |
---|---|---|
committer | Alexis de Talhouët <adetalhouet89@gmail.com> | 2019-02-12 13:02:59 -0500 |
commit | a2fadaccbcdea04f3247b3abb5a2286c51341b5f (patch) | |
tree | 13894c69e192f4326ecf9f0cce9881cca39dd8bf /ms/controllerblueprints/distribution/src/main/docker/distribution.xml | |
parent | c319fed9310f3e6d42202f1161040c5c7b709458 (diff) |
Multiple fixes & enhancement
- Rework docker image build
- Fix compress function
- Fix node type name for source-primary-db
Change-Id: Ide38e17036e76047d9f850b714ba0da4add5cd9d
Issue-ID: CCSDK-414
Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
Diffstat (limited to 'ms/controllerblueprints/distribution/src/main/docker/distribution.xml')
-rwxr-xr-x | ms/controllerblueprints/distribution/src/main/docker/distribution.xml | 38 |
1 files changed, 8 insertions, 30 deletions
diff --git a/ms/controllerblueprints/distribution/src/main/docker/distribution.xml b/ms/controllerblueprints/distribution/src/main/docker/distribution.xml index 1555b43e7..74dc4400c 100755 --- a/ms/controllerblueprints/distribution/src/main/docker/distribution.xml +++ b/ms/controllerblueprints/distribution/src/main/docker/distribution.xml @@ -17,8 +17,8 @@ --> <assembly xmlns="http://maven.apache.org/ASSEMBLY/2.0.0" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd"> + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd"> <!-- create a tar.gz file containing the projects dependencies --> <id>${assembly.id}</id> <formats> @@ -27,8 +27,6 @@ <dependencySets> <dependencySet> <outputDirectory>/opt/app/onap/lib</outputDirectory> - <excludes> - </excludes> </dependencySet> </dependencySets> <fileSets> @@ -36,38 +34,18 @@ <directory>${project.basedir}/../application/src/main/resources</directory> <includes> <include>application.properties</include> + <include>logback.xml</include> </includes> - <outputDirectory>./</outputDirectory> - <useDefaultExcludes>true</useDefaultExcludes> - </fileSet> - <fileSet> - <directory>${project.basedir}/src/main/docker</directory> - <includes> - <include>Dockerfile</include> - <include>startService.sh</include> - </includes> - <outputDirectory>./</outputDirectory> - <useDefaultExcludes>true</useDefaultExcludes> - </fileSet> - <fileSet> - <directory>${project.basedir}/../application/src/main/resources</directory> - <outputDirectory>src/main/resources</outputDirectory> - <useDefaultExcludes>true</useDefaultExcludes> - </fileSet> - <fileSet> - <directory>${project.basedir}/../application/etc</directory> - <outputDirectory>./etc</outputDirectory> - <useDefaultExcludes>true</useDefaultExcludes> - </fileSet> - <fileSet> - <directory>${project.basedir}/../application/opt/app/onap/config</directory> - <outputDirectory>./config</outputDirectory> + <outputDirectory>/opt/app/onap/config</outputDirectory> <useDefaultExcludes>true</useDefaultExcludes> </fileSet> <fileSet> <directory>${project.basedir}/../../../components/model-catalog</directory> - <outputDirectory>./model-catalog</outputDirectory> + <outputDirectory>/opt/app/onap/model-catalog</outputDirectory> <useDefaultExcludes>true</useDefaultExcludes> + <excludes> + <exclude>${project.basedir}/../../../components/model-catalog/proto-definition</exclude> + </excludes> </fileSet> </fileSets> </assembly> |