[CLAMP] Fix path for schema_details.json 77/120377/4
authormorganrol <morgan.richomme@orange.com>
Sun, 11 Apr 2021 07:57:20 +0000 (09:57 +0200)
committermorganrol <morgan.richomme@orange.com>
Sun, 11 Apr 2021 16:11:32 +0000 (18:11 +0200)
As we moved back to standard python packaging, the json
artifact must follow the onapsdk requirements.
It could be fixed in onap-pythonsdk [1] but it would require
a new release of the SDK, it is possible to adjust by creating
the file at right place from the docker.

Issue-ID: INT-1819

[1]:https://gitlab.com/Orange-OpenSource/lfn/onap/python-onapsdk/
    -/blob/develop/src/onapsdk/clamp/loop_instance.py#L82

Signed-off-by: morganrol <morgan.richomme@orange.com>
Change-Id: I4bd21f22a73396160d06d0e02484cdbbd6dc14e1

smoke-usecases-pythonsdk/docker/Dockerfile

index f91d47f..99d4628 100644 (file)
@@ -3,7 +3,7 @@ FROM opnfv/xtesting
 MAINTAINER Morgan Richomme <morgan.richomme@orange.com>
 
 ARG ONAP_TESTS_TAG=master
-ARG ONAPSDK_PYTHON_PATH=/usr/lib/python3.8/site-packages/onapsdk
+ARG ONAPSDK_PYTHON_PATH=/src/onapsdk
 
 ENV CRYPTOGRAPHY_DONT_BUILD_RUST=1