summaryrefslogtreecommitdiffstats
path: root/ms/generic-resource-api/src/main/dc
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2021-04-23 13:02:22 -0400
committerDan Timoney <dtimoney@att.com>2021-04-23 15:48:50 -0400
commitbf2bea4aaee161d82c8093f8b723f0fd9b57a115 (patch)
tree0f784c234b444f0479dad7b3eb6fb3c1e502cd6d /ms/generic-resource-api/src/main/dc
parent5c4184f9312d00166dea77b5a16ae400c669f473 (diff)
Refactor GRA to separate docker creation from application code
Refactor GRA so that application jar is created in a separate maven module from the docker build. Issue-ID: SDNC-1527 Change-Id: I4a9af7fe4df14faaf683588bc2567fcc3346886e Signed-off-by: Dan Timoney <dtimoney@att.com>
Diffstat (limited to 'ms/generic-resource-api/src/main/dc')
-rwxr-xr-xms/generic-resource-api/src/main/dc/docker-compose.yaml80
1 files changed, 0 insertions, 80 deletions
diff --git a/ms/generic-resource-api/src/main/dc/docker-compose.yaml b/ms/generic-resource-api/src/main/dc/docker-compose.yaml
deleted file mode 100755
index 37a5807..0000000
--- a/ms/generic-resource-api/src/main/dc/docker-compose.yaml
+++ /dev/null
@@ -1,80 +0,0 @@
-version: '2.1'
-
-services:
- db:
- image: mariadb:10.5
- container_name: gra_db
- ports:
- - "13306:3306"
- environment:
- - MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
- - MYSQL_ROOT_HOST=%
- - MYSQL_USER=${MYSQL_USER}
- - MYSQL_PASSWORD=${MYSQL_PASSWORD}
- - MYSQL_DATABASE=${MYSQL_DATABASE}
- logging:
- driver: "json-file"
- options:
- max-size: "30m"
- max-file: "5"
-
-
- gra:
- image: onap/sdnc-gra-image:latest
- depends_on:
- - db
- container_name: gra_controller
- ports:
- - "8181:8080"
- - "8443:8443"
- links:
- - db:dbhost
- environment:
- - MYSQL_DB_HOST=dbhost
- - MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
- - MYSQL_USER=${MYSQL_USER}
- - MYSQL_PASSWORD=${MYSQL_PASSWORD}
- - MYSQL_DATABASE=${MYSQL_DATABASE}
- - SDNC_CONFIG_DIR=/opt/onap/sdnc/config
- - LOG_LEVEL=INFO
- - TRUSTSTORE_PASSWORD=changeit
- - CACERT_PASSWORD=changeit
- - SDNC_CERT_DIR=/opt/onap/sdnc/config
- - JAVA_SECURITY_DIR=/usr/lib/jvm/default-jvm/jre/lib/security
- - TRUSTSTORE=truststoreONAPall.jks
- logging:
- driver: "json-file"
- options:
- max-size: "30m"
- max-file: "5"
- extra_hosts:
- aaf-onap-test.osaaf.org: 10.12.5.145
-
- dgbuilder:
- image: onap/ccsdk-dgbuilder-image:latest
- depends_on:
- - db
- container_name: gra_dgbuilder
- entrypoint:
- - "/bin/bash"
- - "-c"
- - "cd /opt/onap/ccsdk/dgbuilder/ && ./start.sh sdnc1.0 && wait"
- ports:
- - "3200:3100"
- volumes:
- - ${HOME}/gerrit/sdnc/oam/platform-logic:/opt/onap/ccsdk/platform-logic
- links:
- - db:dbhost
- - db:sdnctldb01
- - db:sdnctldb02
- environment:
- - MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
- - SDNC_CONFIG_DIR=/opt/onap/ccsdk/data/properties
- - MYSQL_USER=${MYSQL_USER}
- - MYSQL_PASSWORD=${MYSQL_PASSWORD}
- - MYSQL_DATABASE=${MYSQL_DATABASE}
- logging:
- driver: "json-file"
- options:
- max-size: "30m"
- max-file: "5"