Add PMSH CSITs
Signed-off-by: AndyWalshe <andy.walshe@est.tech>
Issue-ID: DCAEGEN2-1842
Change-Id: I69e824f9ed74137f217285381ab5efe55010f4dc
diff --git a/plans/dcaegen2-services-pmsh/testsuite/docker-compose.yml b/plans/dcaegen2-services-pmsh/testsuite/docker-compose.yml
new file mode 100644
index 0000000..4ea89dc
--- /dev/null
+++ b/plans/dcaegen2-services-pmsh/testsuite/docker-compose.yml
@@ -0,0 +1,48 @@
+version: '3.3'
+
+services:
+ mockserver:
+ container_name: mockserver
+ image: mockserver/mockserver:mockserver-5.9.0
+ environment:
+ MOCKSERVER_PROPERTY_FILE: /config/mockserver.properties
+ MOCKSERVER_INITIALIZATION_JSON_PATH: /config/initializerJson.json
+ volumes:
+ - ./assets/mockserver.properties:/config/mockserver.properties
+ - ./assets/initializerJson.json:/config/initializerJson.json
+ networks:
+ pmsh-network:
+
+ db:
+ container_name: db
+ image: postgres
+ restart: always
+ environment:
+ POSTGRES_PASSWORD: $DB_PASSWORD
+ POSTGRES_USER: $DB_USER
+ networks:
+ pmsh-network:
+
+ pmsh:
+ container_name: pmsh
+ image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.services.pmsh
+ depends_on:
+ - db
+ volumes:
+ - ./assets/cert.pem:/opt/app/pmsh/etc/certs/cert.pem
+ - ./assets/key.pem:/opt/app/pmsh/etc/certs/key.pem
+ environment:
+ HOSTNAME: "dcae-pmsh"
+ CONFIG_BINDING_SERVICE_SERVICE_HOST: mockserver
+ CONFIG_BINDING_SERVICE_SERVICE_PORT: 1080
+ PMSH_PG_URL: db
+ PMSH_PG_USERNAME: $DB_USER
+ PMSH_PG_PASSWORD: $DB_PASSWORD
+ AAI_SERVICE_HOST: mockserver
+ AAI_SERVICE_PORT_AAI_SSL: 1080
+ networks:
+ pmsh-network:
+
+networks:
+ pmsh-network:
+ driver: bridge