From 06c4aa69e525c7865a9465c11594a271c3e5ffbd Mon Sep 17 00:00:00 2001 From: Jonathan Platt Date: Wed, 28 Jul 2021 13:00:04 -0400 Subject: Add A&AI Mock Response Simulator for Testing Added A&AI mock response simulator for CSIT test cases. Issue-ID: SDNC-1586 Signed-off-by: Jonathan Platt Change-Id: I89ab08598ae3628e668353097a6763c50951a14d Former-commit-id: 698315d91a4071d467bb7760f57d3584c9008c28 --- csit/scripts/docker-compose.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'csit/scripts/docker-compose.yml') diff --git a/csit/scripts/docker-compose.yml b/csit/scripts/docker-compose.yml index 525538a4..b852c973 100755 --- a/csit/scripts/docker-compose.yml +++ b/csit/scripts/docker-compose.yml @@ -22,12 +22,30 @@ services: max-size: "30m" max-file: "5" + aaisim: + image: rodolpheche/wiremock + ports: + - "8080:8080" + command: --verbose + container_name: aaisim + volumes: + - /etc/localtime:/etc/localtime:ro + - ./aaisimulator/wiremock:/home/wiremock:ro + hostname: + aaisim + logging: + driver: "json-file" + options: + max-size: "30m" + max-file: "5" + sdnc: image: onap/sdnc-image:latest container_name: sdnc_controller volumes: - /etc/localtime:/etc/localtime:ro - $SDNC_CERT_PATH:/opt/opendaylight/current/certs + - ./aaisimulator/aaiclient.properties:/opt/onap/sdnc/data/properties/aaiclient.properties:ro entrypoint: ["/opt/onap/sdnc/bin/startODL.sh"] ports: - "8282:8181" @@ -37,6 +55,7 @@ services: - mariadb:dbhost - mariadb:sdnctldb01 - mariadb:sdnctldb02 + - aaisim:aaihost environment: - MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD} - MYSQL_USER=${MYSQL_USER} -- cgit 1.2.3-korg