summaryrefslogtreecommitdiffstats
path: root/csit/docker-compose-all.yml
diff options
context:
space:
mode:
authorPamela Dragosh <pdragosh@research.att.com>2021-06-15 15:04:25 +0000
committerGerrit Code Review <gerrit@onap.org>2021-06-15 15:04:25 +0000
commite4c29a6ec4aa04a561d633c9baa45a636bc8ddf6 (patch)
treee5946e86f1304179b8d7b8d438cb2518646d9863 /csit/docker-compose-all.yml
parent548aa5aaf6e0c5fbcc92430855ddb24584352bd2 (diff)
parent3b56db7dbbca5875685ce6743da5b082b434f29d (diff)
Merge "Change container name to simulator in CSITs"
Diffstat (limited to 'csit/docker-compose-all.yml')
-rw-r--r--csit/docker-compose-all.yml33
1 files changed, 21 insertions, 12 deletions
diff --git a/csit/docker-compose-all.yml b/csit/docker-compose-all.yml
index aaa62e99..c2a1d633 100644
--- a/csit/docker-compose-all.yml
+++ b/csit/docker-compose-all.yml
@@ -28,10 +28,19 @@ services:
- ./config/db:/docker-entrypoint-initdb.d:ro
expose:
- 3306
- message-router:
+ simulator:
image: nexus3.onap.org:10001/onap/policy-models-simulator:${POLICY_MODELS_VERSION}
- container_name: message-router
- hostname: message-router
+ container_name: simulator
+ hostname: simulator
+ networks:
+ default:
+ aliases:
+ - message-router
+ - aai-sim
+ - grpc-sim
+ - sdnc-sim
+ - so-sim
+ - vfc-sim
volumes:
- ./config/sim-all:/opt/app/policy/simulators/etc/mounted:ro
- ./config/ks.jks:/opt/app/policy/simulators/etc/ssl/policy-keystore:ro
@@ -64,7 +73,7 @@ services:
container_name: policy-pap
depends_on:
- mariadb
- - message-router
+ - simulator
- api
hostname: policy-pap
expose:
@@ -86,7 +95,7 @@ services:
container_name: policy-xacml-pdp
depends_on:
- mariadb
- - message-router
+ - simulator
- pap
hostname: policy-xacml-pdp
expose:
@@ -108,7 +117,7 @@ services:
container_name: drools
depends_on:
- mariadb
- - message-router
+ - simulator
- pap
hostname: drools
expose:
@@ -130,7 +139,7 @@ services:
container_name: drools-apps
depends_on:
- mariadb
- - message-router
+ - simulator
- pap
- xacml-pdp
hostname: drools-apps
@@ -151,17 +160,17 @@ services:
'mariadb', '3306',
'message-router', '3905',
'pap', '6969',
- 'message-router', '6666',
- 'message-router', '6668',
- 'message-router', '6669',
- 'message-router', '6670'
+ 'aai-sim', '6666',
+ 'sdnc-sim', '6668',
+ 'so-sim', '6669',
+ 'vfc-sim', '6670'
]
apex-pdp:
image: nexus3.onap.org:10001/onap/policy-apex-pdp:${POLICY_APEX_PDP_VERSION}
container_name: policy-apex-pdp
depends_on:
- mariadb
- - message-router
+ - simulator
- pap
hostname: policy-apex-pdp
expose: