Change OpenECOMP_ETE to ONAP 75/78675/1
authorBrian Freeman <bf1936@att.com>
Mon, 18 Feb 2019 14:59:12 +0000 (09:59 -0500)
committerBrian Freeman <bf1936@att.com>
Mon, 18 Feb 2019 14:59:20 +0000 (09:59 -0500)
Issue-ID: INT-891
Change-Id: I848eea5334310d60ad7c86f641a630ddc09d29f9
Signed-off-by: Brian Freeman <bf1936@att.com>
README.md
docker/Dockerfile
docker/lighttpd.conf
robot/resources/asdc_interface.robot
runEteTag.sh
runSoak.sh
runTags.sh

index 98b05c2..f580a49 100644 (file)
--- a/README.md
+++ b/README.md
@@ -68,7 +68,7 @@ ProjectName - robot
     |-- assets - put anything you need as input like json files, cert keys, heat templates
     |   |-- templates - put any json templates in here, you can include subfolders for each component
     |-- library - put any python libraries need to run tests in here
-    |   |-- OpenECOMP - put any python code libraries we write in here
+    |   |-- eteutils - put any python code libraries we write in here
     |-- resources - put any robot resource files aka libraries we write in here
     |   |-- aai
     |   `-- vid
index 62677af..7795fa7 100644 (file)
@@ -1,9 +1,9 @@
 FROM ubuntu
 ## Be careful of Windows newlines
 
-MAINTAINER "OpenECOMP"
+MAINTAINER "ONAP"
 
-LABEL name="Docker image for the OpenECOMP Robot Testing Framework"
+LABEL name="Docker image for the ONAP Robot Testing Framework"
 LABEL usage="docker run -e ROBOT_TEST=<testname> -ti openecompete"
 
 # Install Python Pip, Robot framework, firefox, lighttpd web server, wget
@@ -38,20 +38,20 @@ RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key
     apt-get --assume-yes install google-chrome-stable
 
 # Copy the robot code
-COPY / /var/opt/OpenECOMP_ETE/
+COPY / /var/opt/ONAP/
 COPY lighttpd.conf /etc/lighttpd/lighttpd.conf
 COPY authorization /etc/lighttpd/authorization
-RUN chmod 777 /var/opt/OpenECOMP_ETE/setup.sh && \
-    chmod 777 /var/opt/OpenECOMP_ETE/runTags.sh && \
-    chmod 777 /var/opt/OpenECOMP_ETE/dnstraffic.sh && \
-    chmod 777 /var/opt/OpenECOMP_ETE/runSoak.sh && \
-    chmod 777 /var/opt/OpenECOMP_ETE/runEteTag.sh
+RUN chmod 777 /var/opt/ONAP/setup.sh && \
+    chmod 777 /var/opt/ONAP/runTags.sh && \
+    chmod 777 /var/opt/ONAP/dnstraffic.sh && \
+    chmod 777 /var/opt/ONAP/runSoak.sh && \
+    chmod 777 /var/opt/ONAP/runEteTag.sh
 
 # Set mode for the SSH keys
-RUN chmod 600 /var/opt/OpenECOMP_ETE/robot/assets/keys/* 
+RUN chmod 600 /var/opt/ONAP/robot/assets/keys/* 
 
 # Update the ssh library so that it will run properly in the docker env
-RUN cd /var/opt/OpenECOMP_ETE && ./setup.sh && apt-get clean
+RUN cd /var/opt/ONAP && ./setup.sh && apt-get clean
 
 CMD ["lighttpd", "-D", "-f",  "/etc/lighttpd/lighttpd.conf"]
 
index b6fc1fb..7fc50db 100644 (file)
@@ -1,4 +1,4 @@
-server.document-root = "/var/opt/OpenECOMP_ETE/html/"
+server.document-root = "/var/opt/ONAP/html/"
 
 server.port = 88
 
index a044dab..3ba4b5c 100644 (file)
@@ -297,7 +297,6 @@ Setup ASDC Catalog Resource
     ${license_agreement_id}=    Add ASDC License Agreement    ${license_model_id}    ${feature_group_id}   ${license_model_version_id}
     Submit ASDC License Model    ${license_model_id}   ${license_model_version_id}
     ${license_model_resp}=    Get ASDC License Model    ${license_model_id}   ${license_model_version_id}
-    # /var/opt/OpenECOMP_ETE/demo/heat/temp/vCPE_infra.zip
     ${matches}=   Get Regexp Matches  ${model_zip_path}  temp/(.*)\.zip  1
     ${software_product_name_prefix}=    Set Variable   ${matches[0]}
     ${software_product_id}   ${software_product_version_id}=    Add ASDC Software Product    ${license_agreement_id}    ${feature_group_id}    ${license_model_resp['vendorName']}    ${license_model_id}    ${license_model_version_id}    ${software_product_name_prefix}
index 64f36e7..7cbe03f 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/bash
-INSTALL_DIR=/var/opt/OpenECOMP_ETE
+INSTALL_DIR=/var/opt/ONAP
 
 #####################################################################
 # Start display on 256 if it has not already been started...
@@ -70,7 +70,7 @@ export DBUS_SESSION_BUS_ADDRESS=/dev/null
 RES="1280x1024x24"
 OUTPUT_FOLDER=/share/logs/${SOAKSUBFOLDER}runEteTag_$TEST_NUMBER
 mkdir -p $OUTPUT_FOLDER
-INSTALL_DIR="/var/opt/OpenECOMP_ETE"
+INSTALL_DIR="/var/opt/ONAP"
 
 ROBOT_LIBS=./robot/library:./robot/library/eteutils:./robot/library/heatbridge
 VARIABLEFILES="-V /share/config/vm_properties.py -V /share/config/integration_robot_properties.py -V /share/config/integration_preload_parameters.py"
index 0769197..827c3a0 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/bash
-INSTALL_DIR=/var/opt/OpenECOMP_ETE
+INSTALL_DIR=/var/opt/ONAP
 #
 # Execute tags built to support the hands on demo,
 #
@@ -25,4 +25,4 @@ function usage
 
 cd ${INSTALL_DIR}
 export PYTHONPATH=${INSTALL_DIR}/robot/library
-python -m loadtest.TestMain $@ --logfile /share/logs/soak_$$.log
\ No newline at end of file
+python -m loadtest.TestMain $@ --logfile /share/logs/soak_$$.log
index d17b1a1..03f75da 100755 (executable)
@@ -5,7 +5,7 @@ DEFAULT_LOG_LEVEL="TRACE" # Available levels: TRACE, DEBUG, INFO (default), WARN
 DEFAULT_RES="1280x1024x24"
 DEFAULT_DISPLAY=":99"
 DEFAULT_ROBOT_TEST="-i health"
-INSTALL_NAME="OpenECOMP_ETE"
+INSTALL_NAME="ONAP"
 DEFAULT_OUTPUT_FOLDER=./
 
 # To mitigate the chromedriver hanging issue