1 # ============LICENSE_START=======================================================
3 # ================================================================================
4 # Copyright (C) 2021 Wipro Limited.
5 # ==============================================================================
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
10 # http://www.apache.org/licenses/LICENSE-2.0
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
17 # ============LICENSE_END=========================================================
21 testsuites_slice-analysis-ms-default:
25 container_name: cps-and-ncmp
26 hostname: cps-and-ncmp
27 image: ${DOCKER_REPO:-nexus3.onap.org:10003}/onap/cps-and-ncmp:${VERSION:-latest}
32 - testsuites_slice-analysis-ms-default
34 CPS_USERNAME: ${CPS_USERNAME:-cpsuser}
35 CPS_PASSWORD: ${CPS_PASSWORD:-cpsr0cks!}
37 DB_USERNAME: ${DB_USERNAME:-cps}
38 DB_PASSWORD: ${DB_PASSWORD:-cps}
39 DMI_USERNAME: ${DMI_USERNAME:-cpsuser}
40 DMI_PASSWORD: ${DMI_PASSWORD:-cpsr0cks!}
41 #KAFKA_BOOTSTRAP_SERVER: kafka:9092
42 #notification.data-updated.enabled: 'true'
43 #NOTIFICATION_DATASPACE_FILTER_PATTERNS: '.*'
44 restart: unless-stopped
49 container_name: dbpostgresql
50 image: postgres:13.2-alpine
54 - testsuites_slice-analysis-ms-default
57 POSTGRES_USER: ${DB_USERNAME:-cps}
58 POSTGRES_PASSWORD: ${DB_PASSWORD:-cps}
60 image: 'postgres:12.4-alpine'
61 container_name: cps-tbdmt-postgres
64 - POSTGRES_USER=postgres
65 - POSTGRES_PASSWORD=postgres
66 - POSTGRES_DB=cps_template_db
70 test: ["CMD", "nc", "-z", "localhost", "5432"]
75 - testsuites_slice-analysis-ms-default
77 image: ${DOCKER_REPO:-nexus3.onap.org:10003}/onap/cps-tbdmt:${VERSION:-latest}
78 container_name: cps-tbdmt
83 - "./application.yml:/app/resources/application.yml"
86 restart: on-failure:10
88 - testsuites_slice-analysis-ms-default
90 image: ${DOCKER_REPO:-nexus3.onap.org:10001}/onap/aai-resources:1.9.1
91 hostname: aai-resources
92 container_name: aai-resources
94 - testsuites_slice-analysis-ms-default
98 - ./application.properties:/opt/app/aai-resources/resources/application.properties