summaryrefslogtreecommitdiffstats
path: root/docker-compose
diff options
context:
space:
mode:
authorsourabh_sourabh <sourabh.sourabh@est.tech>2023-07-05 00:56:05 +0100
committersourabh_sourabh <sourabh.sourabh@est.tech>2023-07-13 15:32:12 +0100
commit7cda5e9e9c53cc246d3fd6324675799be12b06fb (patch)
tree2ea6dfe6e6792af9c083876d1e379a8bdb7763b0 /docker-compose
parentd45fe759ba6d693fcaa9247f89d28c6a3162b2c0 (diff)
Introduced a dmi rest demo csit stub
- Introduced a new response code 0 for data operational success response. - Created a new dmi plugin rest stub for demo and performance testing. - Removed dmi plugin stub of wiremocked. - Updated parent pom to add newely created demo stub. - updated docker compose to add neww demo stub with profile for CSIT, demo and performance testing. - Removed target id list from unsupported operation/datastore from REST response. Issue-ID: CPS-1560 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech> Change-Id: Ie8198366df820e7d4b8b6e8a85ff9cdb0fce7435 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
Diffstat (limited to 'docker-compose')
-rw-r--r--docker-compose/docker-compose.yml16
1 files changed, 9 insertions, 7 deletions
diff --git a/docker-compose/docker-compose.yml b/docker-compose/docker-compose.yml
index 3dc54bbfc4..23f34b4634 100644
--- a/docker-compose/docker-compose.yml
+++ b/docker-compose/docker-compose.yml
@@ -106,17 +106,19 @@ services:
profiles:
- dmi-service
- ncmp-dmi-plugin-stub:
- container_name: ncmp-dmi-plugin-stub
- image: wiremock/wiremock:2.33.2
+ ncmp-dmi-plugin-demo-and-csit-stub:
+ container_name: ncmp-dmi-plugin-demo-and-csit-stub
+ image: ${DOCKER_REPO:-nexus3.onap.org:10003}/onap/dmi-plugin-demo-and-csit-stub:${DMI_DEMO_STUB_VERSION:-latest}
ports:
- - ${DMI_PORT:-8783}:8080
- volumes:
- - ../dmi-plugin-stub/mappings:/home/wiremock/mappings
- - ../dmi-plugin-stub/files:/home/wiremock/__files
+ - ${DMI_DEMO_STUB_PORT:-8784}:8092
+ environment:
+ KAFKA_BOOTSTRAP_SERVER: kafka:9092
+ NCMP_CONSUMER_GROUP_ID: ncmp-group
+ NCMP_ASYNC_M2M_TOPIC: ncmp-async-m2m
restart: unless-stopped
profiles:
- dmi-stub
+ - dmi-service
prometheus:
container_name: prometheus-container