diff options
author | 2017-02-19 10:28:42 +0200 | |
---|---|---|
committer | 2017-02-19 10:51:01 +0200 | |
commit | 451a3400b76511393c62a444f588a4ed15f4a549 (patch) | |
tree | e4f5873a863d1d3e55618eab48b83262f874719d /catalog-fe/src/test/resources/CI/tests/01_NormativeTypeCI-root/command | |
parent | 5abfe4e1fb5fae4bbd5fbc340519f52075aff3ff (diff) |
Initial OpenECOMP SDC commit
Change-Id: I0924d5a6ae9cdc161ae17c68d3689a30d10f407b
Signed-off-by: Michael Lando <ml636r@att.com>
Diffstat (limited to 'catalog-fe/src/test/resources/CI/tests/01_NormativeTypeCI-root/command')
-rw-r--r-- | catalog-fe/src/test/resources/CI/tests/01_NormativeTypeCI-root/command | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/catalog-fe/src/test/resources/CI/tests/01_NormativeTypeCI-root/command b/catalog-fe/src/test/resources/CI/tests/01_NormativeTypeCI-root/command new file mode 100644 index 0000000000..c9a5b38dc4 --- /dev/null +++ b/catalog-fe/src/test/resources/CI/tests/01_NormativeTypeCI-root/command @@ -0,0 +1,15 @@ +headers=`paste -s -d" " headers` + +command="curl -XPOST \"http://${CATALOG_FE_HOST}:${CATALOG_FE_PORT}/sdc1/rest/v1/catalog/resources\" -d \"@body.txt\" ${headers} -sL -w \":%{http_code}:%{size_request} BYTES:%{time_total} \\n\" " + +echo $command > toExec +chmod +x toExec +./toExec + + +#$command + +#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" + + + |