summaryrefslogtreecommitdiffstats
path: root/testsuites/stability/src/main/resources/setup/docker-compose.yml
diff options
context:
space:
mode:
authorsaul.gill <saul.gill@est.tech>2023-10-16 17:21:15 +0100
committersaul.gill <saul.gill@est.tech>2023-10-16 17:21:19 +0100
commitd1d92a580b4e95f02d9fcbd72f8884140d758ca5 (patch)
treef980fdb6d73b1963b87ebcc67bea3c6ee2197deb /testsuites/stability/src/main/resources/setup/docker-compose.yml
parentf0b1c5bf1662edf6a2a07b79c1ffe7e42e1bb054 (diff)
Add automation for s3p tests
Issue-ID: POLICY-4844 Change-Id: Ia6003d5b492d2731fdd0d17342b4fd1c213c4b91 Signed-off-by: saul.gill <saul.gill@est.tech>
Diffstat (limited to 'testsuites/stability/src/main/resources/setup/docker-compose.yml')
-rw-r--r--testsuites/stability/src/main/resources/setup/docker-compose.yml34
1 files changed, 18 insertions, 16 deletions
diff --git a/testsuites/stability/src/main/resources/setup/docker-compose.yml b/testsuites/stability/src/main/resources/setup/docker-compose.yml
index 48d1851e..2fd77d7b 100644
--- a/testsuites/stability/src/main/resources/setup/docker-compose.yml
+++ b/testsuites/stability/src/main/resources/setup/docker-compose.yml
@@ -1,5 +1,5 @@
# ============LICENSE_START=======================================================
-# Copyright (C) 2021-2022 Nordix Foundation.
+# Copyright (C) 2021-2023 Nordix Foundation.
# ================================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -45,9 +45,9 @@ services:
- ./config/wait_for_port.sh:/opt/app/policy/bin/wait_for_port.sh:ro
entrypoint: /opt/app/policy/bin/wait_for_port.sh
command: [
- '-c',
- '/opt/app/policy/bin/db_migrator_policy_init.sh',
- 'mariadb', '3306'
+ '-c',
+ '/opt/app/policy/bin/db_migrator_policy_init.sh',
+ 'mariadb', '3306'
]
simulator:
image: nexus3.onap.org:10001/onap/policy-models-simulator:${POLICY_MODELS_SIMULATOR}
@@ -83,9 +83,9 @@ services:
- ./config/wait_for_port.sh:/opt/app/policy/api/bin/wait_for_port.sh:ro
entrypoint: /opt/app/policy/api/bin/wait_for_port.sh
command: [
- '-c', './policy-api.sh',
- 'mariadb', '3306',
- 'policy-db-migrator', '6824'
+ '-c', './policy-api.sh',
+ 'mariadb', '3306',
+ 'policy-db-migrator', '6824'
]
policy-pap:
image: nexus3.onap.org:10001/onap/policy-pap:${POLICY_PAP_VERSION}
@@ -103,10 +103,10 @@ services:
- ./config/jsonConfigs/papGroups.json:/opt/app/policy/pap/etc/mounted/groups.json:ro
entrypoint: /opt/app/policy/pap/bin/wait_for_port.sh
command: [
- '-c', './policy-pap.sh',
- 'mariadb', '3306',
- 'message-router', '3904',
- 'policy-api', '6969'
+ '-c', './policy-pap.sh',
+ 'mariadb', '3306',
+ 'message-router', '3904',
+ 'policy-api', '6969'
]
policy-dist:
image: nexus3.onap.org:10001/onap/policy-distribution:${POLICY_DIST_VERSION}
@@ -119,12 +119,14 @@ services:
expose:
- 6969
- 9090
+ ports:
+ - 9090:9090
container_name: policy-distribution
entrypoint: /opt/app/policy/bin/wait_for_port.sh
command: [
- '-c', './policy-dist.sh',
- 'mariadb', '3306',
- 'message-router', '3904',
- 'policy-api', '6969',
- 'policy-pap', '6969'
+ '-c', './policy-dist.sh',
+ 'mariadb', '3306',
+ 'message-router', '3904',
+ 'policy-api', '6969',
+ 'policy-pap', '6969'
]