aboutsummaryrefslogtreecommitdiffstats
path: root/cmso-robot/docker
diff options
context:
space:
mode:
authorJerry Flood <jflood@att.com>2019-04-25 16:46:35 -0400
committerJerry Flood <jflood@att.com>2019-04-25 16:46:46 -0400
commit131273f73ec21a5632de9069f8b04f75631ce790 (patch)
tree1beca0f4aceb0a255eff938291a7bd7a1f0f634a /cmso-robot/docker
parentd4014abb85d839c14c9a2572098571e7a8523104 (diff)
Remove dead code. Add robot tests
Move interface mocking test code from cmso to robot. Issue-ID: OPTFRA-474 Change-Id: Ib98f0b16d783e01f888279266dfdee858e30b787 Signed-off-by: Jerry Flood <jflood@att.com>
Diffstat (limited to 'cmso-robot/docker')
-rw-r--r--cmso-robot/docker/Dockerfile2
-rw-r--r--cmso-robot/docker/assembly/cmso-files.xml7
2 files changed, 9 insertions, 0 deletions
diff --git a/cmso-robot/docker/Dockerfile b/cmso-robot/docker/Dockerfile
index aa41520..91630a9 100644
--- a/cmso-robot/docker/Dockerfile
+++ b/cmso-robot/docker/Dockerfile
@@ -27,6 +27,7 @@ RUN apt-get update \
COPY /onap-cmso/robot /opt/cmso-robot/robot
+COPY /onap-cmso/mocking /opt/cmso-robot/mocking
COPY /onap-cmso/ete.sh /opt/cmso-robot
RUN chmod 777 /opt/cmso-robot/ete.sh
@@ -40,6 +41,7 @@ RUN pip --version
RUN pip install robotframework==3.1.1
RUN pip install Flask
+RUN pip install requests
RUN pip install selenium
RUN pip install robotframework-sshlibrary
RUN pip install robotframework-requests
diff --git a/cmso-robot/docker/assembly/cmso-files.xml b/cmso-robot/docker/assembly/cmso-files.xml
index cb61e5a..4865639 100644
--- a/cmso-robot/docker/assembly/cmso-files.xml
+++ b/cmso-robot/docker/assembly/cmso-files.xml
@@ -35,6 +35,13 @@
</fileSet>
<fileSet>
<includes>
+ <include>**</include>
+ </includes>
+ <directory>${project.basedir}/mocking</directory>
+ <outputDirectory>/mocking</outputDirectory>
+ </fileSet>
+ <fileSet>
+ <includes>
<include>ete.sh</include>
<include>server.py</include>
</includes>