Update password 09/38509/2
authorehautot <eh552t@intl.att.com>
Mon, 26 Mar 2018 12:02:12 +0000 (14:02 +0200)
committerehautot <eh552t@intl.att.com>
Mon, 26 Mar 2018 12:25:34 +0000 (14:25 +0200)
Change-Id: Ie67204f082b128fc6b53295a53f907aaa312a6a2
Signed-off-by: ehautot <eh552t@intl.att.com>
Issue-ID: CLAMP-129

test/csit/scripts/clamp/start_clamp_containers.sh
test/csit/tests/clamp/APIs/01__Create_CL_Holmes.robot
test/csit/tests/clamp/APIs/02__Create_CL_TCA.robot
test/csit/tests/clamp/APIs/03__VariousApis.robot
test/csit/tests/clamp/APIs/04__Verify_API_Models.robot
test/csit/tests/clamp/UIs/01__Create_Holmes_model.robot
test/csit/tests/clamp/UIs/02__Create_TCA_model.robot
test/csit/tests/clamp/UIs/03__Verify_UI_Models.robot

index e49a591..11ddda1 100755 (executable)
@@ -51,7 +51,7 @@ fi
 # To avoid some problem because templates not yet read
 TIME=0
 while [ "$TIME" -lt "$TIME_OUT" ]; do
-  response=$(curl --write-out '%{http_code}' --silent --output /dev/null -u admin:5f4dcc3b5aa765d61d8327deb882cf99 http://localhost:8080/restservices/clds/v1/cldsTempate/template-names); echo $response
+  response=$(curl --write-out '%{http_code}' --silent --output /dev/null -u admin:password http://localhost:8080/restservices/clds/v1/cldsTempate/template-names); echo $response
 
   if [ "$response" == "200" ]; then
     echo Templates well available
index 86e7923..f837bae 100644 (file)
@@ -12,7 +12,7 @@ Get Requests health check ok
     Should Be Equal As Strings  ${resp.status_code}     200
 
 Get Requests verify test template found
-    ${auth}=    Create List     admin    5f4dcc3b5aa765d61d8327deb882cf99
+    ${auth}=    Create List     admin    password
     Create Session   clamp  http://localhost:8080   auth=${auth}
     ${resp}=    Get Request    clamp   /restservices/clds/v1/cldsTempate/template-names
     Should Be Equal As Strings  ${resp.status_code}     200
@@ -21,7 +21,7 @@ Get Requests verify test template found
     Should Not Contain Match     ${resp}      *templateHolmes99*
 
 Put Requests to add Close Loop ClHolmes1
-    ${auth}=    Create List     admin    5f4dcc3b5aa765d61d8327deb882cf99
+    ${auth}=    Create List     admin    password
     Create Session   clamp  http://localhost:8080   auth=${auth}
     ${data}=    Get Binary File     ${CURDIR}${/}data${/}createClHolmes1.json
     &{headers}=  Create Dictionary      Content-Type=application/json
@@ -29,7 +29,7 @@ Put Requests to add Close Loop ClHolmes1
     Should Be Equal As Strings      ${resp.status_code}     200
 
 Put Requests to add Close Loop ClHolmes2
-    ${auth}=    Create List     admin    5f4dcc3b5aa765d61d8327deb882cf99
+    ${auth}=    Create List     admin    password
     Create Session   clamp  http://localhost:8080   auth=${auth}
     ${data}=    Get Binary File     ${CURDIR}${/}data${/}createClHolmes2.json
     &{headers}=  Create Dictionary      Content-Type=application/json
@@ -37,7 +37,7 @@ Put Requests to add Close Loop ClHolmes2
     Should Be Equal As Strings      ${resp.status_code}     200
 
 Get Requests verify CL1 found
-    ${auth}=    Create List     admin    5f4dcc3b5aa765d61d8327deb882cf99
+    ${auth}=    Create List     admin    password
     Create Session   clamp  http://localhost:8080   auth=${auth}
     ${resp}=    Get Request    clamp   /restservices/clds/v1/clds/model-names
     Should Be Equal As Strings  ${resp.status_code}     200
index 4805ced..c86b2a7 100644 (file)
@@ -12,7 +12,7 @@ Get Requests health check ok
     Should Be Equal As Strings  ${resp.status_code}     200
 
 Get Requests verify test template found
-    ${auth}=    Create List     admin    5f4dcc3b5aa765d61d8327deb882cf99
+    ${auth}=    Create List     admin    password
     Create Session   clamp  http://localhost:8080   auth=${auth}
     ${resp}=    Get Request    clamp   /restservices/clds/v1/cldsTempate/template-names
     Should Be Equal As Strings  ${resp.status_code}     200
@@ -21,7 +21,7 @@ Get Requests verify test template found
     Should Not Contain Match     ${resp}      *templateTCA99*
 
 Put Requests to add Close Loop ClHolmes1
-    ${auth}=    Create List     admin    5f4dcc3b5aa765d61d8327deb882cf99
+    ${auth}=    Create List     admin    password
     Create Session   clamp  http://localhost:8080   auth=${auth}
     ${data}=    Get Binary File     ${CURDIR}${/}data${/}createClTCA1.json
     &{headers}=  Create Dictionary      Content-Type=application/json
@@ -29,7 +29,7 @@ Put Requests to add Close Loop ClHolmes1
     Should Be Equal As Strings      ${resp.status_code}     200
 
 Put Requests to add Close Loop ClHolmes2
-    ${auth}=    Create List     admin    5f4dcc3b5aa765d61d8327deb882cf99
+    ${auth}=    Create List     admin    password
     Create Session   clamp  http://localhost:8080   auth=${auth}
     ${data}=    Get Binary File     ${CURDIR}${/}data${/}createClTCA2.json
     &{headers}=  Create Dictionary      Content-Type=application/json
@@ -37,7 +37,7 @@ Put Requests to add Close Loop ClHolmes2
     Should Be Equal As Strings      ${resp.status_code}     200
 
 Get Requests verify CL1 found
-    ${auth}=    Create List     admin    5f4dcc3b5aa765d61d8327deb882cf99
+    ${auth}=    Create List     admin    password
     Create Session   clamp  http://localhost:8080   auth=${auth}
     ${resp}=    Get Request    clamp   /restservices/clds/v1/clds/model-names
     Should Be Equal As Strings  ${resp.status_code}     200
index f875e4c..df6e7e4 100644 (file)
@@ -7,21 +7,21 @@ Library     json
 
 *** Test Cases ***
 Get Clamp properties
-    ${auth}=    Create List     admin    5f4dcc3b5aa765d61d8327deb882cf99
+    ${auth}=    Create List     admin    password
     Create Session   clamp  http://localhost:8080   auth=${auth}
     ${resp}=    Get Request    clamp   /restservices/clds/v1/clds/properties
     Dictionary Should Contain Key    ${resp.json()}   global
     Dictionary Should Contain Key    ${resp.json()['global']}   location
 
 Get Clamp Info
-    ${auth}=    Create List     admin    5f4dcc3b5aa765d61d8327deb882cf99
+    ${auth}=    Create List     admin    password
     Create Session   clamp  http://localhost:8080   auth=${auth}
     ${resp}=    Get Request    clamp   /restservices/clds/v1/clds/cldsInfo
     Dictionary Should Contain Key    ${resp.json()}   userName
     Dictionary Should Contain Key    ${resp.json()}   cldsVersion
 
 Get model bpmn by name
-    ${auth}=    Create List     admin    5f4dcc3b5aa765d61d8327deb882cf99
+    ${auth}=    Create List     admin    password
     Create Session   clamp  http://localhost:8080   auth=${auth}
     ${resp}=    Get Request    clamp   /restservices/clds/v1/clds/model/bpmn/ClHolmes1
     Should Contain Match    ${resp}   *StartEvent_*
@@ -31,7 +31,7 @@ Get model bpmn by name
     Should Contain Match    ${resp}   *EndEvent_*
 
 Get model names
-    ${auth}=    Create List     admin    5f4dcc3b5aa765d61d8327deb882cf99
+    ${auth}=    Create List     admin    password
     Create Session   clamp  http://localhost:8080   auth=${auth}
     ${resp}=    Get Request    clamp   /restservices/clds/v1/clds/model-names
     Should Contain Match    ${resp}   *ClHolmes1*
index e7b2fb6..1bca594 100644 (file)
@@ -6,7 +6,7 @@ Library     json
 
 *** Test Cases ***
 Verify HolmesModel1
-    ${auth}=    Create List     admin    5f4dcc3b5aa765d61d8327deb882cf99
+    ${auth}=    Create List     admin    password
     Create Session   clamp  http://localhost:8080   auth=${auth}
     ${resp}=    Get Request    clamp   /restservices/clds/v1/clds/model/ClHolmes1
     Should Contain Match    ${resp}   *templateHolmes1*
@@ -19,7 +19,7 @@ Verify HolmesModel1
     Should Contain Match    ${resp}   *Config Policy name1*
 
 Verify HolmesModel2
-    ${auth}=    Create List     admin    5f4dcc3b5aa765d61d8327deb882cf99
+    ${auth}=    Create List     admin    password
     Create Session   clamp  http://localhost:8080   auth=${auth}
     ${resp}=    Get Request    clamp   /restservices/clds/v1/clds/model/ClHolmes2
     Should Contain Match    ${resp}   *templateHolmes2*
@@ -33,7 +33,7 @@ Verify HolmesModel2
     Should Contain Match    ${resp}   *Config Policy Name2*
 
 Verify TCAModel1
-    ${auth}=    Create List     admin    5f4dcc3b5aa765d61d8327deb882cf99
+    ${auth}=    Create List     admin    password
     Create Session   clamp  http://localhost:8080   auth=${auth}
     ${resp}=    Get Request    clamp   /restservices/clds/v1/clds/model/ClTCA1
     Should Contain Match    ${resp}   *templateTCA1*
@@ -46,7 +46,7 @@ Verify TCAModel1
     Should Contain Match    ${resp}   *ONSET*
 
 Verify TCAModel2
-    ${auth}=    Create List     admin    5f4dcc3b5aa765d61d8327deb882cf99
+    ${auth}=    Create List     admin    password
     Create Session   clamp  http://localhost:8080   auth=${auth}
     ${resp}=    Get Request    clamp   /restservices/clds/v1/clds/model/ClTCA2
     Should Contain Match    ${resp}   *templateTCA2*
@@ -61,7 +61,7 @@ Verify TCAModel2
     Should Contain Match    ${resp}   *VM*
 
 Get model names
-    ${auth}=    Create List     admin    5f4dcc3b5aa765d61d8327deb882cf99
+    ${auth}=    Create List     admin    password
     Create Session   clamp  http://localhost:8080   auth=${auth}
     ${resp}=    Get Request    clamp   /restservices/clds/v1/clds/model-names
     Should Contain Match    ${resp}   *ClHolmes1*
index a942550..02cfecb 100644 (file)
@@ -84,7 +84,7 @@ Close Browser
     Close Browser
 
 Verify Holmes CL well created
-    ${auth}=    Create List     admin    5f4dcc3b5aa765d61d8327deb882cf99
+    ${auth}=    Create List     admin    password
     Create Session   clamp  http://localhost:8080   auth=${auth}
     ${resp}=    Get Request    clamp   /restservices/clds/v1/clds/model-names
     Should Contain Match    ${resp}   *HolmesModel1*
index caacec3..8a8d9af 100644 (file)
@@ -79,7 +79,7 @@ Close Browser
     Close Browser
 
 Verify TCA CL well create
-    ${auth}=    Create List     admin    5f4dcc3b5aa765d61d8327deb882cf99
+    ${auth}=    Create List     admin    password
     Create Session   clamp  http://localhost:8080   auth=${auth}
     ${resp}=    Get Request    clamp   /restservices/clds/v1/clds/model-names
     Should Contain Match    ${resp}   *TCAModel1*
index 8aa74f4..634d171 100644 (file)
@@ -6,7 +6,7 @@ Library     json
 
 *** Test Cases ***
 Verify HolmesModel1
-    ${auth}=    Create List     admin    5f4dcc3b5aa765d61d8327deb882cf99
+    ${auth}=    Create List     admin    password
     Create Session   clamp  http://localhost:8080   auth=${auth}
     ${resp}=    Get Request    clamp   /restservices/clds/v1/clds/model/HolmesModel1
     Should Contain Match    ${resp}   *templateHolmes1*
@@ -21,7 +21,7 @@ Verify HolmesModel1
     Should Contain Match    ${resp}   *config Policy Name1*
 
 Verify TCAModel1
-    ${auth}=    Create List     admin    5f4dcc3b5aa765d61d8327deb882cf99
+    ${auth}=    Create List     admin    password
     Create Session   clamp  http://localhost:8080   auth=${auth}
     ${resp}=    Get Request    clamp   /restservices/clds/v1/clds/model/TCAModel1
     Should Contain Match    ${resp}   *templateTCA1*
@@ -35,7 +35,7 @@ Verify TCAModel1
     Should Contain Match    ${resp}   *400*
 
 Get model names
-    ${auth}=    Create List     admin    5f4dcc3b5aa765d61d8327deb882cf99
+    ${auth}=    Create List     admin    password
     Create Session   clamp  http://localhost:8080   auth=${auth}
     ${resp}=    Get Request    clamp   /restservices/clds/v1/clds/model-names
     Should Contain Match    ${resp}   *HolmesModel1*