diff options
author | morganrol <morgan.richomme@orange.com> | 2021-04-01 17:02:26 +0200 |
---|---|---|
committer | Morgan Richomme <morgan.richomme@orange.com> | 2021-04-02 12:37:10 +0000 |
commit | e16363ebc4a412865c69f968fb25ca185b83cbf8 (patch) | |
tree | b0d2836113aeaea96854099f72f2ffa6286ddd2a /smoke-usecases-pythonsdk | |
parent | 4c8b85594edc0c7eee997c09f1b223aa0be779b1 (diff) |
[CLAMP] Include schema_details.json for clamp test
This file is required by onapsdk clamp module
The alternative could be to modify directly in SDK to avoid this change...
Issue-ID: INT-1819
Signed-off-by: morganrol <morgan.richomme@orange.com>
Change-Id: I54ab1f8bb48a3a76689f1f27374d898d66dabc56
Diffstat (limited to 'smoke-usecases-pythonsdk')
-rw-r--r-- | smoke-usecases-pythonsdk/docker/Dockerfile | 4 | ||||
-rw-r--r-- | smoke-usecases-pythonsdk/docker/testcases.yaml | 12 |
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 |