summaryrefslogtreecommitdiffstats
path: root/csit/scripts/docker-compose.yml
diff options
context:
space:
mode:
authorJonathan Platt <jonathan.platt@att.com>2021-07-28 13:00:04 -0400
committerJonathan Platt <jonathan.platt@att.com>2021-07-28 13:00:04 -0400
commit06c4aa69e525c7865a9465c11594a271c3e5ffbd (patch)
tree338f3b62367be17296d309dc6987251f6cdb3d5b /csit/scripts/docker-compose.yml
parentcdcd58f6f622c7c3b05fdf7ae96d5a716a6194cc (diff)
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 <jonathan.platt@att.com> Change-Id: I89ab08598ae3628e668353097a6763c50951a14d Former-commit-id: 698315d91a4071d467bb7760f57d3584c9008c28
Diffstat (limited to 'csit/scripts/docker-compose.yml')
-rwxr-xr-xcsit/scripts/docker-compose.yml19
1 files changed, 19 insertions, 0 deletions
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}