4.0.0
org.onap.sdnc.apps
gra
2.3.0-SNAPSHOT
org.onap.sdnc.apps
gra-docker
2.3.0-SNAPSHOT
jar
sdnc-apps :: ms :: gra :: ${project.artifactId}
Generic Resource API docker creation
http://wiki.onap.org
/image.build.properties
/chart.update.properties
onap/ccsdk-alpine-j11-image
${ccsdk.docker.version}
org.onap.ccsdk.distribution
${ccsdk.distribution.version}
onap/sdnc-gra
${project.version}
${maven.build.timestamp}
yyyyMMdd'T'HHmmss'Z'
gra-app-${project.version}.jar
1001
truststore.jks
deploy
5
true
UTF-8
UTF-8
mariadb
10.5
${project.groupId}
gra-app
${project.version}
com.microsoft.azure
applicationinsights-agent
3.2.0
${platform.logic.group}
platform-logic-installer
${platform.logic.version}
zip
docker
org.codehaus.groovy.maven
gmaven-plugin
prepare-package
execute
println 'repository: ' + project.properties['image.name'];
println 'tag: ' + project.version + '-' + project.properties['build.number'];
String dir = project.parent.build.directory;
println dir;
File mkDir = new File(dir);
File chartUpdateFile = new File(dir.concat(project.properties['chart.update.properties.file']));
mkDir.mkdirs();
dir = dir.concat(project.properties['image.build.properties.file']);
println dir;
File propFile = new File(dir);
propFile.createNewFile();
chartUpdateFile.createNewFile();
propFile.append('repository: ' + project.properties['image.name'] + '\n');
propFile.append('tag: ' + project.version + '-' + project.properties['build.number'] + '\n');
chartUpdateFile.append(' --set global.gra.image.tag=' + project.version + '-' + project.properties['build.number']);
${basedir}/../../../TagVersion.groovy
org.apache.maven.plugins
maven-dependency-plugin
2.10
copy-dependencies
copy-dependencies
process-resources
true
${project.build.directory}/docker-stage/opt/sdnc/gra/lib
false
true
true
false
false
false
unpack dgs
generate-sources
unpack-dependencies
${basedir}/target/docker-stage/opt/sdnc/gra
platform-logic-installer
maven-resources-plugin
2.6
copy-dockerfile
copy-resources
initialize
${basedir}/target/docker-stage
src/main/docker
Dockerfile
true
copy-config
copy-resources
generate-resources
${basedir}/target/docker-stage/opt/sdnc/gra/config
src/main/resources
*.properties
*.props
*.sql
true
copy-jks
copy-resources
generate-resources
${basedir}/target/docker-stage/opt/sdnc/gra/config
src/main/resources
*.jks
false
copy-script
copy-resources
generate-resources
${basedir}/target/docker-stage/opt/sdnc/gra/bin
src/main/resources
*.sh
true
src/main/scripts
exportGraDaexim.sh
importGraDaexim.sh
copy-restapi-templates
copy-resources
generate-resources
${basedir}/target/docker-stage/opt/sdnc/gra/restapi/templates
src/main/templates
*.json
false
org.apache.maven.plugins
maven-failsafe-plugin
integration-test
verify
false
${gra.port}
io.fabric8
docker-maven-plugin
0.34.0
false
${image.name}
try
true
${basedir}/target/docker-stage
Dockerfile
${project.docker.latestminortag.version}
${project.docker.latestfulltag.version}
properties
docker
override
true
generate-images
package
build
start-it-instance
pre-integration-test
start
${db.image.name}:${db.image.version}
gradb
${gratest.mysql.root.password}
${gratest.mysql.user}
${gratest.mysql.password}
${gratest.mysql.database}
custom
gra
dbhost
gradb.port:3306
true
${image.name}:${project.docker.latestfulltag.version}
gra-container
${gratest.mysql.root.password}
dbhost
${gratest.mysql.user}
${gratest.mysql.password}
${gratest.mysql.database}
INFO
/opt/sdnc/gra/config
gradb
custom
gra
gra
gra.port:8080
Started GenericResourceMsApp
true
stop-it-instance
post-integration-test
stop
push-images
${docker.push.phase}
build
push