diff options
author | 2019-04-17 14:54:16 -0400 | |
---|---|---|
committer | 2019-04-17 14:54:27 -0400 | |
commit | f51670bdc0a71789176ef7b29c8fb72d0c3e43d5 (patch) | |
tree | 981b74f53f647410871fae8bba94275d1eee2224 /cmso-sonar/docker/integration/docker-compose.yml | |
parent | 52383d23af47d2c27121486d38d5728b90263e18 (diff) |
Add cmso-sonar to generate jacoco files
Issue-ID: OPTFRA-474
Change-Id: I0a1cd03708fda09255ada655df727acfa7498d09
Signed-off-by: Jerry Flood <jflood@att.com>
Diffstat (limited to 'cmso-sonar/docker/integration/docker-compose.yml')
-rw-r--r-- | cmso-sonar/docker/integration/docker-compose.yml | 104 |
1 files changed, 104 insertions, 0 deletions
diff --git a/cmso-sonar/docker/integration/docker-compose.yml b/cmso-sonar/docker/integration/docker-compose.yml new file mode 100644 index 0000000..5c2f173 --- /dev/null +++ b/cmso-sonar/docker/integration/docker-compose.yml @@ -0,0 +1,104 @@ +version: '3' + +services: + mariadb: + image: mariadb:10.1.11 + volumes: + - "/var/lib/mysql" + - "../mariadb/conf1:/etc/mysql/conf.d:ro" + environment: + - MYSQL_ROOT_PASSWORD=beer + ports: + - "8806:3306" + + db-init-svc: + image: onap/optf-cmso-dbinit + volumes: + - "./cmso-service/etc:/share/etc:rw" + - "./cmso-service/logs:/share/logs:rw" + depends_on: + - mariadb + environment: + - DB_HOST=mariadb + entrypoint: "bash -x /share/etc/startDbinitService.sh" + + db-init-opt: + image: onap/optf-cmso-dbinit + volumes: + - "./cmso-optimizer/etc:/share/etc:rw" + - "./cmso-optimizer/logs:/share/logs:rw" + depends_on: + - mariadb + environment: + - DB_HOST=mariadb + entrypoint: "bash -x /share/etc/startDbinitService.sh" + + + cmso-service: + image: onap/optf-cmso-service + volumes: + - "./cmso-service/etc:/share/etc:rw" + - "./cmso-service/logs:/share/logs:rw" + - "./cmso-service/debug-logs:/share/debug-logs:rw" + depends_on: + - db-init-svc + entrypoint: "bash -x /share/etc/startJacocoService.sh" + ports: + - "8080:8080" + environment: + - DB_HOST=mariadb + - OPTIMIZER_URL=http://cmso-optimizer:7997/optimizer/v1/optimize/schedule + - OPTIMIZER_HEALTH_URL=http://cmso-optimizer:7997/optimizer/v1/health?checkInterfaces=true + + cmso-ticketmgt: + image: onap/optf-cmso-ticketmgt + volumes: + - "./cmso-ticketmgt/etc:/share/etc:rw" + - "./cmso-ticketmgt/logs:/share/logs:rw" + - "./cmso-ticketmgt/debug-logs:/share/debug-logs:rw" + entrypoint: "bash -x /share/etc/startJacocoService.sh" + ports: + - "7999:7999" + + cmso-topology: + image: onap/optf-cmso-topology + volumes: + - "./cmso-topology/etc:/share/etc:rw" + - "./cmso-topology/logs:/share/logs:rw" + - "./cmso-topology/debug-logs:/share/debug-logs:rw" + entrypoint: "bash -x /share/etc/startJacocoService.sh" + ports: + - "7998:7998" + + cmso-optimizer: + image: onap/optf-cmso-optimizer + volumes: + - "./cmso-optimizer/etc:/share/etc:rw" + - "./cmso-optimizer/logs:/share/logs:rw" + - "./cmso-optimizer/debug-logs:/share/debug-logs:rw" + depends_on: + - db-init-opt + entrypoint: "bash -x /share/etc/startJacocoService.sh" + ports: + - "7997:7997" + environment: + - DB_HOST=mariadb + - TOPOLOGY_HOST=cmso-topology + - TICKETMGT_HOST=cmso-ticketmgt + + + cmso-robot: + image: onap/optf-cmso-robot + volumes: + - "./cmso-robot/logs:/share:rw" + depends_on: + - cmso-service + environment: + - GLOBAL_SCHEDULER_URL=http://cmso-service:8080 + - GLOBAL_OPTIMIZER_URL=http://cmso-optimizer:7997 + - CMSO_STARTUP_WAIT_TIME=600s + - TAGS=-i ete + - OUTPUT=-d /share + working_dir: /opt/cmso-robot + entrypoint: "bash -x /opt/cmso-robot/ete.sh" + |