[SDC] update configuration template in chef os
[sdc.git] / catalog-fe / src / test / resources / CI / tests / 15_ApacheType-DownloadArtifact / command
1 command="curl -o \"/tmp/start_apache.sh\" \"http://${CATALOG_BE_HOST}:${CATALOG_BE_PORT}/sdc2/rest/v1/catalog/resources/alien.nodes.Apache/2.0.0-SNAPSHOT/artifacts/start_apache.sh\" -sL -w \":%{http_code}:%{size_request} BYTES:%{time_total} \\n\" "
2
3 echo $command > toExec
4 chmod +x toExec
5 ./toExec
6
7
8 #$command
9
10 #curl  -XPOST "http://${CATALOG_FE_HOST}:${CATALOG_FE_PORT}/sdc2/rest/v1/catalog/resources" -d "@body.txt" --header "Content-Type: application/json" --header "HTTP_IV_USER: HTTP_IV_USER" --header "HTTP_CSP_FIRSTNAME: HTTP_CSP_FIRSTNAME" --header "HTTP_CSP_LASTNAME: HTTP_CSP_LASTNAME" --header "HTTP_IV_REMOTE_ADDRESS: HTTP_IV_REMOTE_ADDRESS" --header "Content-MD5: `cat contentMD5.txt`"  -sL -w ":%{http_code}:%{size_request} BYTES:%{time_total} \\n"
11
12
13