diff options
Diffstat (limited to 'catalog-fe/src/test/resources/CI/tests/12_DatabaseType-GetArtifacts/commandTrial')
-rw-r--r-- | catalog-fe/src/test/resources/CI/tests/12_DatabaseType-GetArtifacts/commandTrial | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/catalog-fe/src/test/resources/CI/tests/12_DatabaseType-GetArtifacts/commandTrial b/catalog-fe/src/test/resources/CI/tests/12_DatabaseType-GetArtifacts/commandTrial new file mode 100644 index 0000000000..26c8be9956 --- /dev/null +++ b/catalog-fe/src/test/resources/CI/tests/12_DatabaseType-GetArtifacts/commandTrial @@ -0,0 +1,12 @@ +command="curl \"http://${CATALOG_BE_HOST}:${CATALOG_BE_PORT}/sdc2/rest/v1/catalog/resources/alien.nodes.Apache/2.0.0-SNAPSHOT/artifacts\" -d \"@body.txt\"" +#command="$command `paste -s -d\" \" headers`" +#command="$command -sL -w \":%{http_code}:%{size_request} BYTES:%{time_total} \\n\"" + +echo $command > 1.log + +$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" + + + |