aboutsummaryrefslogtreecommitdiffstats
path: root/smoke-usecases-robot/docker
diff options
context:
space:
mode:
Diffstat (limited to 'smoke-usecases-robot/docker')
-rw-r--r--smoke-usecases-robot/docker/Dockerfile12
-rw-r--r--smoke-usecases-robot/docker/testcases.yaml49
2 files changed, 60 insertions, 1 deletions
diff --git a/smoke-usecases-robot/docker/Dockerfile b/smoke-usecases-robot/docker/Dockerfile
index 8dbe29a..5a614c0 100644
--- a/smoke-usecases-robot/docker/Dockerfile
+++ b/smoke-usecases-robot/docker/Dockerfile
@@ -5,15 +5,23 @@ MAINTAINER Morgan Richomme <morgan.richomme@orange.com>
ARG OPENSTACK_TAG=master
ARG OPNFV_TAG=master
ARG ONAP_TAG=master
-ARG PIP_TAG=19.3.1
+ARG PIP_TAG=20.1
+ARG KUBERNETES_VERSION="v1.15.11"
ENV TAG all
+# Install kubectl
+# Note: Latest version may be found on:
+# https://aur.archlinux.org/packages/kubectl-bin/
+
+ADD https://storage.googleapis.com/kubernetes-release/release/${KUBERNETES_VERSION}/bin/linux/amd64/kubectl /usr/local/bin/kubectl
+
COPY requirements.txt requirements.txt
RUN apk --no-cache add --update openssl chromium chromium-chromedriver && \
apk --no-cache add --virtual .build-deps --update \
python3-dev build-base linux-headers libffi-dev \
openssl-dev libjpeg-turbo-dev && \
+ chmod +x /usr/local/bin/kubectl && \
pip3 install --upgrade pip && \
pip3 install --no-cache-dir \
git+https://git.onap.org/testsuite/heatbridge.git@$ONAP_TAG#egg=heatbridge\&subdirectory=heatbridge \
@@ -30,6 +38,8 @@ RUN apk --no-cache add --update openssl chromium chromium-chromedriver && \
mkdir -p /var/opt/ONAP/demo/tosca && cp -Rf /src/demo/tosca/pNF /var/opt/ONAP/demo/tosca/ && \
mkdir -p /demo/service_mapping && cp -Rf /src/demo/service_mapping /demo/ && \
mkdir -p /var/opt/ONAP/demo/preload_data && cp -Rf /src/demo/preload_data /var/opt/ONAP/demo/ && \
+ mkdir -p /app && cp /var/opt/ONAP/setup-hvves.sh /app/setup-hvves.sh && \
+ chmod +x /app/setup-hvves.sh && \
ln -s /usr/lib/python3.7/site-packages/vcpeutils /usr/lib/python3.7/site-packages/SoUtils && \
ln -s /usr/lib/python3.7/site-packages/heatbridge /usr/lib/python3.7/site-packages/HeatBridge && \
rm -r requirements.txt /var/opt/ONAP/.git /src/demo && \
diff --git a/smoke-usecases-robot/docker/testcases.yaml b/smoke-usecases-robot/docker/testcases.yaml
index 969c9b7..9036d24 100644
--- a/smoke-usecases-robot/docker/testcases.yaml
+++ b/smoke-usecases-robot/docker/testcases.yaml
@@ -42,3 +42,52 @@ tiers:
- vfwc
variablefile:
- '/share/config/robot_properties.py'
+ -
+ case_name: 5gbulkpm
+ project_name: integration
+ enabled: true
+ criteria: 100
+ blocking: true
+ description: >-
+ Test 5G Bulk PM Usecase functionality (inventory and
+ deployment api from DCAEGEN, data router and bus
+ controller)
+ dependencies:
+ run:
+ name: 'robotframework'
+ args:
+ suites:
+ - /var/opt/ONAP/robot/testsuites/usecases/5gbulkpm.robot
+ include:
+ - 5gbulkpm
+ variablefile:
+ - '/share/config/robot_properties.py'
+ -
+ case_name: hv-ves
+ project_name: integration
+ enabled: true
+ criteria: 100
+ blocking: true
+ description: >-
+ HV VES (High Volume) VES collector has been proposed, based
+ on a need to process high-volumes of data generated
+ frequently by a large number of NFs. The driving use-case
+ is the 5G RAN, where it is expected that up to 10k NF
+ instances report the data, per DCAE platform deployment.
+ The network traffic generated in simulations - based on
+ 4G BTS Real-Time PM data has shown, that GPB serialization
+ is 2-3 times more effective, than JSON serialization
+ utilized in VES collector. HV-VES 'Sunny Scenario' Robot
+ Framework test - message is sent to the collector and Kafka
+ topic is checked if the message has been published. Content
+ is decoded and checked.
+ dependencies:
+ run:
+ name: 'robotframework'
+ args:
+ suites:
+ - /var/opt/ONAP/robot/testsuites/hvves-ci.robot
+ include:
+ - hvves
+ variablefile:
+ - '/share/config/robot_properties.py'