- Updated the DMI_DEMO_STUB_VERSION to `1.8.0-SNAPSHOT` in `.env` and `test.properties`.
- Modified `ncmp-dmi-plugin-demo-and-csit-stub` Docker Compose service to reference:
- Custom container name using `${NCMP_DMI_PLUGIN_DEMO_AND_CSIT_STUB_CONTAINER_NAME}`.
- Image from `${DOCKER_REPO}/onap/dmi-stub:${DMI_DEMO_STUB_VERSION}`.
- Ensures consistent version control and improved flexibility in image source and container naming.
Issue-ID: CPS-2837
Change-Id: Ic2951dee646b900294e019a4fee021bf5d875b01
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
DOCKER_REPO=nexus3.onap.org:10003
CPS_VERSION=latest
-DMI_VERSION=latest
-DMI_DEMO_STUB_VERSION=latest
+DMI_VERSION=1.8.0-SNAPSHOT
+DMI_DEMO_STUB_VERSION=1.8.0-SNAPSHOT
ADVISED_MODULES_SYNC_SLEEP_TIME_MS=2000
CMHANDLE_DATA_SYNC_SLEEP_TIME_MS=2000
ncmp-dmi-plugin-demo-and-csit-stub:
container_name: ${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-stub:${DMI_DEMO_STUB_VERSION:-latest}
+ image: ${DOCKER_REPO:-nexus3.onap.org:10003}/onap/dmi-stub:${DMI_DEMO_STUB_VERSION:-1.8.0-SNAPSHOT}
ports:
- ${DMI_DEMO_STUB_PORT:-8784}:8092
environment:
ncmp-dmi-plugin:
container_name: ${NCMP_DMI_PLUGIN_CONTAINER_NAME:-ncmp-dmi-plugin}
- image: ${DOCKER_REPO:-nexus3.onap.org:10003}/onap/ncmp-dmi-plugin:${DMI_VERSION:-1.8.0-SNAPSHOT-latest}
+ image: ${DOCKER_REPO:-nexus3.onap.org:10003}/onap/ncmp-dmi-plugin:${DMI_VERSION:-1.8.0-SNAPSHOT}
ports:
- ${DMI_PORT:-8783}:8080
depends_on:
NCMP_DMI_PLUGIN_CONTAINER_NAME=endurance-ncmp-dmi-plugin
DMI_PORT=8786
+DMI_VERSION=1.8.0-SNAPSHOT
NCMP_DMI_PLUGIN_DEMO_AND_CSIT_STUB_CONTAINER_NAME=endurance-ncmp-dmi-plugin-demo-and-csit-stub
DMI_DEMO_STUB_PORT=8787
+DMI_DEMO_STUB_VERSION=1.8.0-SNAPSHOT
POLICY_EXECUTOR_STUB_CONTAINER_NAME=endurance-policy-executor-stub
POLICY_EXECUTOR_STUB_PORT=8788
NCMP_DMI_PLUGIN_CONTAINER_NAME=kpi-ncmp-dmi-plugin
DMI_PORT=8783
+DMI_VERSION=1.8.0-SNAPSHOT
NCMP_DMI_PLUGIN_DEMO_AND_CSIT_STUB_CONTAINER_NAME=kpi-ncmp-dmi-plugin-demo-and-csit-stub
DMI_DEMO_STUB_PORT=8784
+DMI_DEMO_STUB_VERSION=1.8.0-SNAPSHOT
POLICY_EXECUTOR_STUB_CONTAINER_NAME=kpi-policy-executor-stub
POLICY_EXECUTOR_STUB_PORT=8785