aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/resources/robotframework
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/resources/robotframework')
-rw-r--r--src/test/resources/robotframework/Dockerfile12
-rw-r--r--src/test/resources/robotframework/robotframework-test.properties2
2 files changed, 5 insertions, 9 deletions
diff --git a/src/test/resources/robotframework/Dockerfile b/src/test/resources/robotframework/Dockerfile
index 4ae08208e..7e0bf8a26 100644
--- a/src/test/resources/robotframework/Dockerfile
+++ b/src/test/resources/robotframework/Dockerfile
@@ -1,9 +1,5 @@
-#FROM robotframework/rfdocker
-#
-#### Uncomment following two lines if having external test libraries:
-##COPY --chown=robot:robot requirements.txt .
-#RUN pip3 install --no-cache-dir -r requirements.txt
-#COPY *.robot /home/robot/atest
-FROM ppodgorsek/robot-framework:3.0.3
+FROM ppodgorsek/robot-framework:latest
+
+USER root
COPY requirements.txt .
-RUN pip install -r requirements.txt \ No newline at end of file
+RUN pip3 install --no-cache-dir -r requirements.txt \ No newline at end of file
diff --git a/src/test/resources/robotframework/robotframework-test.properties b/src/test/resources/robotframework/robotframework-test.properties
index 4ec657355..665842b84 100644
--- a/src/test/resources/robotframework/robotframework-test.properties
+++ b/src/test/resources/robotframework/robotframework-test.properties
@@ -160,7 +160,7 @@ clamp.config.security.permission.type.template=permission-type-template
clamp.config.security.permission.type.tosca=permission-type-tosca
#This one indicates the type of instances (dev|prod|perf...), this must be set accordingly in clds-users.properties
clamp.config.security.permission.instance=dev
-clamp.config.security.authentication.class=org.onap.aaf.cadi.principal.X509Principal
+clamp.config.security.authentication.class=org.onap.aaf.cadi.principal.X509Principal, org.onap.aaf.cadi.principal.CachedBasicPrincipal
# Configuration settings for CDS
clamp.config.cds.url=http4://localhost:${docker.http-cache.port.host}