aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--smoke-usecases-pythonsdk/docker/Dockerfile4
-rw-r--r--smoke-usecases-pythonsdk/docker/testcases.yaml12
2 files changed, 16 insertions, 0 deletions
diff --git a/smoke-usecases-pythonsdk/docker/Dockerfile b/smoke-usecases-pythonsdk/docker/Dockerfile
index 8e01e03..f6b6c96 100644
--- a/smoke-usecases-pythonsdk/docker/Dockerfile
+++ b/smoke-usecases-pythonsdk/docker/Dockerfile
@@ -3,6 +3,8 @@ FROM opnfv/xtesting
MAINTAINER Morgan Richomme <morgan.richomme@orange.com>
ARG ONAP_TESTS_TAG=master
+ARG ONAPSDK_PYTHON_PATH=/src/onapsdk
+
ENV CRYPTOGRAPHY_DONT_BUILD_RUST=1
RUN apk add --no-cache python3 git && \
@@ -11,6 +13,8 @@ RUN apk add --no-cache python3 git && \
pip3 install --upgrade pip && \
pip3 install --editable \
git+https://gerrit.onap.org/r/testsuite/pythonsdk-tests@$ONAP_TESTS_TAG#egg=onaptests && \
+ mkdir -p $ONAPSDK_PYTHON_PATH/clamp && \
+ wget -O $ONAPSDK_PYTHON_PATH/clamp/schema_details.json https://gitlab.com/Orange-OpenSource/lfn/onap/python-onapsdk/-/raw/develop/src/onapsdk/clamp/schema_details.json && \
apk del .build-deps
COPY docker/testcases.yaml /usr/lib/python3.8/site-packages/xtesting/ci/testcases.yaml
diff --git a/smoke-usecases-pythonsdk/docker/testcases.yaml b/smoke-usecases-pythonsdk/docker/testcases.yaml
index 2a94ef5..0aace6b 100644
--- a/smoke-usecases-pythonsdk/docker/testcases.yaml
+++ b/smoke-usecases-pythonsdk/docker/testcases.yaml
@@ -88,3 +88,15 @@ tiers:
dependencies:
run:
name: pnf_macro
+ -
+ case_name: basic_clamp
+ project_name: integration
+ enabled: true
+ criteria: 100
+ blocking: false
+ description: >-
+ Onboard and enrich a model with TCA. Create a loop using
+ clamp. Distribute the loop to Policy and DCAE.
+ dependencies:
+ run:
+ name: basic_clamp