diff options
author | eh552t <eh552t@intl.att.com> | 2019-03-12 10:51:43 +0100 |
---|---|---|
committer | eh552t <eh552t@intl.att.com> | 2019-03-12 10:54:05 +0100 |
commit | 08dc6ff5d9404944ce0588bec1728294a61e73f4 (patch) | |
tree | 491cc3004bb19663be9b0800b792878d774304ea /scripts/clamp | |
parent | 60f92958ebdaa6a5d10a9bc47c6f6d93b3bb97f8 (diff) |
Fix CLAMP CSIT APIs as model changed
Change-Id: I79378dc7fd3129e94ada00eaf5411a65e1d25fda
Signed-off-by: eh552t <eh552t@intl.att.com>
Issue-ID: CLAMP-233
Diffstat (limited to 'scripts/clamp')
-rwxr-xr-x | scripts/clamp/start_clamp_containers.sh | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/scripts/clamp/start_clamp_containers.sh b/scripts/clamp/start_clamp_containers.sh index 8a176fbf..8da83405 100755 --- a/scripts/clamp/start_clamp_containers.sh +++ b/scripts/clamp/start_clamp_containers.sh @@ -49,22 +49,5 @@ if [ "$TIME" -ge "$TIME_OUT" ]; then exit 1; 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:password -vk --key config/org.onap.clamp.keyfile https://localhost:8443/restservices/clds/v1/cldsTempate/template-names); echo $response +sleep 30 - if [ "$response" == "200" ]; then - echo Templates well available - break; - fi - - echo Sleep: $INTERVAL seconds before testing if templates available. Total wait time up now is: $TIME seconds. Timeout is: $TIME_OUT seconds - sleep $INTERVAL - TIME=$(($TIME+$INTERVAL)) -done - -if [ "$TIME" -ge "$TIME_OUT" ]; then - echo TIME OUT: Templates not available in $TIME_OUT seconds... Could cause problems for tests... - exit 1; -fi |