Merge "freeze 1st test group for music integration"
diff --git a/test/csit/plans/sdnc/healthcheck/teardown.sh b/test/csit/plans/sdnc/healthcheck/teardown.sh
index 925e7b7..dd465bb 100644
--- a/test/csit/plans/sdnc/healthcheck/teardown.sh
+++ b/test/csit/plans/sdnc/healthcheck/teardown.sh
@@ -22,5 +22,6 @@
 kill-instance.sh sdnc_portal_container
 kill-instance.sh sdnc_db_container
 kill-instance.sh sdnc_ueblistener_container
+kill-instance.sh sdnc_dmaaplistener_container
 
 # $WORKSPACE/archives/appc deleted with archives folder when tests starts so we keep it at the end for debugging
diff --git a/test/csit/plans/vnfsdk-refrepo/sanity-check/setup.sh b/test/csit/plans/vnfsdk-refrepo/sanity-check/setup.sh
index e04feac..1c3e4e8 100644
--- a/test/csit/plans/vnfsdk-refrepo/sanity-check/setup.sh
+++ b/test/csit/plans/vnfsdk-refrepo/sanity-check/setup.sh
@@ -23,7 +23,7 @@
 POSTGRES=`docker inspect --format '{{ .NetworkSettings.IPAddress }}' postgres`
 
 #Start market place
-docker run -d -i -t --name=refrepo -e POSTGRES_IP=$POSTGRES  -p 8702:8702 nexus3.onap.org:10001/onap/refrepo:1.0-STAGING-latest
+docker run -d -i -t --name=refrepo -e POSTGRES_IP=$POSTGRES  -p 8702:8702 nexus3.onap.org:10001/onap/refrepo:1.1-STAGING-latest
 
 # Wait for Market place initialization
 echo Wait for VNF Repository initialization
diff --git a/test/csit/scripts/policy/script1.sh b/test/csit/scripts/policy/script1.sh
index db5b515..d66b073 100755
--- a/test/csit/scripts/policy/script1.sh
+++ b/test/csit/scripts/policy/script1.sh
@@ -70,19 +70,22 @@
 
 git clone http://gerrit.onap.org/r/oparent
 
+git clone http://gerrit.onap.org/r/policy/engine
+cd engine/packages/docker 
+${WORK_DIR}/maven/apache-maven-3.3.9/bin/mvn prepare-package --settings ${WORK_DIR}/oparent/settings.xml
+docker build -t onap/policy/policy-pe target/policy-pe
+
+cd ${WORK_DIR}
+git clone http://gerrit.onap.org/r/policy/drools-pdp
+cd drools-pdp/packages/docker 
+${WORK_DIR}/maven/apache-maven-3.3.9/bin/mvn prepare-package --settings ${WORK_DIR}/oparent/settings.xml
+docker build -t onap/policy/policy-drools target/policy-drools
+
+cd ${WORK_DIR}
 git clone http://gerrit.onap.org/r/policy/docker
 cd docker
 
-${WORK_DIR}/maven/apache-maven-3.3.9/bin/mvn clean install prepare-package --settings ../oparent/settings.xml
-cp policy-pe/* target/policy-pe
-cp policy-drools/* target/policy-drools
-
-docker build -t onap/policy/policy-os     policy-os
-docker build -t onap/policy/policy-db     policy-db
 docker build -t onap/policy/policy-nexus  policy-nexus
-docker build -t onap/policy/policy-base   policy-base
-docker build -t onap/policy/policy-pe     target/policy-pe
-docker build -t onap/policy/policy-drools target/policy-drools
 
 chmod +x config/drools/drools-tweaks.sh
 
diff --git a/test/csit/tests/holmes/testcase/RuleMgt/Rule-Mgt.robot b/test/csit/tests/holmes/testcase/RuleMgt/Rule-Mgt.robot
index 19d0f74..9ec6585 100644
--- a/test/csit/tests/holmes/testcase/RuleMgt/Rule-Mgt.robot
+++ b/test/csit/tests/holmes/testcase/RuleMgt/Rule-Mgt.robot
@@ -8,7 +8,7 @@
 *** Test Cases ***
 add_valid_rule
     [Documentation]    Add a valid rule.
-    ${dict2}    create dictionary    ruleName=you1212121121    description=create a new rule!    content=package ruleqwertasd;\n\nimport java.util.Locale;    enabled=1    loopControlName=closedControlLoop
+    ${dict2}    create dictionary    ruleName=youbowu0314    description=create a new rule!    content=package ruleqwertasd;\n\nimport java.util.Locale;    enabled=1    loopControlName=closedControlLoop
     ${jsonParams}    encode    ${dict2}
     ${response}    createRule    ${jsonParams}
     ${respJson}    to json    ${response.content}
@@ -99,7 +99,6 @@
     ${count}    get from dictionary    ${respJson}    totalCount
     run keyword if    ${count}!=1    fail    query rule fails! (can't find the rule modified!)    ELSE    traversalRuleAttribute    ${respJson}
     ...    ${dic}
-    log    "response:"    ${response}
 
 modify_rule_with_invalid_status
     [Documentation]    modify the rule with an invalid status.
diff --git a/test/csit/tests/vnfsdk-marketplace/provision/sanity_test_vnfsdktestfunction.robot b/test/csit/tests/vnfsdk-marketplace/provision/sanity_test_vnfsdktestfunction.robot
index c57642a..01ece23 100644
--- a/test/csit/tests/vnfsdk-marketplace/provision/sanity_test_vnfsdktestfunction.robot
+++ b/test/csit/tests/vnfsdk-marketplace/provision/sanity_test_vnfsdktestfunction.robot
@@ -15,7 +15,7 @@
 
 Upload VNF Package to VNF Repository
     [Documentation]    Upload the VNF Package
-    ${resp}=   Run    curl -s -X POST -H "Content-Type: multipart/form-data" -F "file=@${csarpath}" http://${REPO_IP}:8702/openoapi/vnfsdk-marketplace/v1/PackageResource/csars
+    ${resp}=   Run    curl -s -X POST -H "Content-Type: multipart/form-data" -F "file=@${csarpath}" http://${REPO_IP}:8702/onapapi/vnfsdk-marketplace/v1/PackageResource/csars
     Should Contain    ${resp}    csarId
     ${csarjson}=    Evaluate    ${resp}
     ${csarId}=    Set Variable    ${csarjson["csarId"]}
@@ -24,7 +24,7 @@
 Get VNF Package Information from Repository
     Create Session   refrepo  http://${REPO_IP}:8702
     &{headers}=  Create Dictionary      Content-Type=application/json
-    ${resp}=    Get Request    refrepo   /openoapi/vnfsdk-marketplace/v1/PackageResource/csars/${csarId}   headers=${headers}
+    ${resp}=    Get Request    refrepo   /onapapi/vnfsdk-marketplace/v1/PackageResource/csars/${csarId}   headers=${headers}
     ${response_json}    json.loads    ${resp.content}
     ${downloadUri}=    Convert To String      ${response_json['downloadUri']}
     Should Contain    ${downloadUri}     ${csarId}
@@ -33,16 +33,16 @@
 Get List Of Requests 
     Create Session   refrepo  http://${REPO_IP}:8702
     &{headers}=  Create Dictionary      Content-Type=application/json
-    ${resp}=    Get Request    refrepo   /openoapi/vnfsdk-marketplace/v1/PackageResource/csars?name=enterprise2DC&version=1.0&type=SSAR&provider=huawei   headers=${headers}	
+    ${resp}=    Get Request    refrepo   /onapapi/vnfsdk-marketplace/v1/PackageResource/csars?name=enterprise2DC&version=1.0&type=SSAR&provider=huawei   headers=${headers}	
     Should Be Equal As Strings  ${resp.status_code}     200
 
 Download VNF Package from Repository
     Create Session   refrepo  http://${REPO_IP}:8702
     &{headers}=  Create Dictionary      Content-Type=application/json
-    ${resp}=    Get Request    refrepo   /openoapi/vnfsdk-marketplace/v1/PackageResource/csars/${csarId}/files   headers=${headers}
+    ${resp}=    Get Request    refrepo   /onapapi/vnfsdk-marketplace/v1/PackageResource/csars/${csarId}/files   headers=${headers}
     Should Be Equal As Strings  ${resp.status_code}     200
     ${downloadUri}=    Convert To String    ${resp.content}
-    ${downloadUri1}=    Run    curl http://${REPO_IP}:8702/openoapi/vnfsdk-marketplace/v1/PackageResource/csars/${csarId}/files
+    ${downloadUri1}=    Run    curl http://${REPO_IP}:8702/onapapi/vnfsdk-marketplace/v1/PackageResource/csars/${csarId}/files
     ${string}=    Convert To String    ${downloadUri1}
     Should Contain    ${downloadUri1}    '  % Total    % Received % Xferd  Average
     Should Contain    ${string}    '  % Total    % Received % Xferd  Average
@@ -50,6 +50,6 @@
 Delete VNF Package from Repository
     Create Session   refrepo  http://${REPO_IP}:8702
     &{headers}=  Create Dictionary      Content-Type=application/json
-    ${resp}=    Delete Request    refrepo    /openoapi/vnfsdk-marketplace/v1/PackageResource/csars/${csarId}   headers=${headers}
+    ${resp}=    Delete Request    refrepo    /onapapi/vnfsdk-marketplace/v1/PackageResource/csars/${csarId}   headers=${headers}
     Should Be Equal As Strings  ${resp.status_code}     200