aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2020-09-02 11:16:16 -0400
committerJim Hahn <jrh3@att.com>2020-09-02 13:08:26 -0400
commit09148c800bf7ca61ac2f96e005511753d4237aa0 (patch)
treee8ea22d08abcf97bf23396489e007415539854aa /scripts
parent17bd0431d70dcf80d0de81f64bc1fec387effa31 (diff)
Use models-examples in CSITs
Replaced tosca policies found in the test "data" directory with policies from models-examples. Also added the dmaap simulator to the pap CSIT to prevent the error log from filling with dmaap errors while trying to debug the CSIT. Issue-ID: POLICY-2813 Change-Id: I6bccffa41acd0fda0b945fe8e3cd6badde1ac4c1 Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/policy/docker-compose-pap.yml12
1 files changed, 11 insertions, 1 deletions
diff --git a/scripts/policy/docker-compose-pap.yml b/scripts/policy/docker-compose-pap.yml
index 5438557b..934e1739 100644
--- a/scripts/policy/docker-compose-pap.yml
+++ b/scripts/policy/docker-compose-pap.yml
@@ -23,6 +23,12 @@ services:
- ./config/db:/docker-entrypoint-initdb.d
expose:
- 3306
+ message-router:
+ image: dmaap/simulator
+ container_name: dmaap-simulator
+ hostname: dmaap-simulator
+ expose:
+ - 3904
pap:
image: nexus3.onap.org:10001/onap/policy-pap:${POLICY_PAP_VERSION}
container_name: policy-pap
@@ -46,8 +52,11 @@ services:
container_name: policy-wait
depends_on:
- mariadb
+ - message-router
hostname: policy-wait
- command: mariadb:3306
+ command:
+ mariadb:3306
+ message-router:3904
start_all:
image: dadarek/wait-for-dependencies
environment:
@@ -60,5 +69,6 @@ services:
hostname: policy-wait-all
command:
mariadb:3306
+ message-router:3904
pap:6969
api:6969