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>
diff --git a/scripts/policy/docker-compose-pap.yml b/scripts/policy/docker-compose-pap.yml
index 5438557..934e173 100644
--- a/scripts/policy/docker-compose-pap.yml
+++ b/scripts/policy/docker-compose-pap.yml
@@ -23,6 +23,12 @@
- ./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 @@
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 @@
hostname: policy-wait-all
command:
mariadb:3306
+ message-router:3904
pap:6969
api:6969