From 09148c800bf7ca61ac2f96e005511753d4237aa0 Mon Sep 17 00:00:00 2001 From: Jim Hahn Date: Wed, 2 Sep 2020 11:16:16 -0400 Subject: 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 --- scripts/policy/docker-compose-pap.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'scripts') 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 -- cgit 1.2.3-korg