aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--smoke-usecases-robot-py3/README.md2
-rw-r--r--smoke-usecases-robot-py3/docker/Dockerfile4
-rw-r--r--smoke-usecases-robot-py3/docker/testcases.yaml42
-rw-r--r--tox.ini2
4 files changed, 48 insertions, 2 deletions
diff --git a/smoke-usecases-robot-py3/README.md b/smoke-usecases-robot-py3/README.md
index e5d4652..45ab8a2 100644
--- a/smoke-usecases-robot-py3/README.md
+++ b/smoke-usecases-robot-py3/README.md
@@ -5,6 +5,8 @@
The tests are:
- cps-healthcheck
+- cps-temporal-healthcheck
+- cps-ncmp-dmi-plugin-healthcheck
## Usage
diff --git a/smoke-usecases-robot-py3/docker/Dockerfile b/smoke-usecases-robot-py3/docker/Dockerfile
index 1caf0f5..ce12e90 100644
--- a/smoke-usecases-robot-py3/docker/Dockerfile
+++ b/smoke-usecases-robot-py3/docker/Dockerfile
@@ -22,6 +22,10 @@ RUN apk --no-cache add --update openssl && \
openssl-dev libjpeg-turbo-dev && \
git clone --depth 1 https://github.com/onap/cps.git -b $ONAP_TAG /cps && \
find /cps -mindepth 1 -name csit -prune -o -exec rm -rf {} + && \
+ git clone --depth 1 https://github.com/onap/cps-cps-temporal.git -b $ONAP_TAG /cps-cps-temporal && \
+ find /cps-cps-temporal -mindepth 1 -name csit -prune -o -exec rm -rf {} + && \
+ git clone --depth 1 https://github.com/onap/cps-ncmp-dmi-plugin.git -b $ONAP_TAG /cps-ncmp-dmi-plugin && \
+ find /cps-ncmp-dmi-plugin -mindepth 1 -name csit -prune -o -exec rm -rf {} + && \
pip install --upgrade pip && \
pip install --no-cache-dir \
pip install \
diff --git a/smoke-usecases-robot-py3/docker/testcases.yaml b/smoke-usecases-robot-py3/docker/testcases.yaml
index 9992d97..33bf2f1 100644
--- a/smoke-usecases-robot-py3/docker/testcases.yaml
+++ b/smoke-usecases-robot-py3/docker/testcases.yaml
@@ -153,7 +153,7 @@ tiers:
criteria: 100
blocking: true
description: >-
- Execute CPS healtcheck
+ Execute CPS healthcheck
dependencies:
run:
name: 'robotframework'
@@ -165,3 +165,43 @@ tiers:
variable:
- CPS_CORE_HOST:cps-core
- CPS_CORE_MANAGEMENT_PORT:8081
+
+ -
+ case_name: cps-temporal-healthcheck
+ project_name: integration
+ enabled: true
+ criteria: 100
+ blocking: true
+ description: >-
+ Execute CPS temporal healthcheck
+ dependencies:
+ run:
+ name: 'robotframework'
+ args:
+ suites:
+ - /cps-cps-temporal/csit/tests/actuator/actuator.robot
+ variablefile:
+ - '/share/config/robot_properties.py'
+ variable:
+ - CPS_TEMPORAL_HOST:cps-temporal
+ - MANAGEMENT_PORT:8081
+
+ -
+ case_name: cps-dmi-plugin-healthcheck
+ project_name: integration
+ enabled: true
+ criteria: 100
+ blocking: true
+ description: >-
+ Execute CPS ncmp dmi-plugin healthcheck
+ dependencies:
+ run:
+ name: 'robotframework'
+ args:
+ suites:
+ - /cps-cps-temporal/csit/tests/actuator/actuator.robot
+ variablefile:
+ - '/share/config/robot_properties.py'
+ variable:
+ - DMI_HOST:ncmp-dmi-plugin
+ - DMI_MANAGEMENT_PORT:8081
diff --git a/tox.ini b/tox.ini
index cf8cf62..3b95001 100644
--- a/tox.ini
+++ b/tox.ini
@@ -37,7 +37,7 @@ commands =
[testenv:md]
commands_pre =
- nodeenv -p --verbose
+ nodeenv -p --node=16.10.0 --verbose
npm install --global remark-cli
/bin/sh -c "git --no-pager diff HEAD HEAD^ --name-only '*.md' > /tmp/.coalist_md"
commands =