From 451a3400b76511393c62a444f588a4ed15f4a549 Mon Sep 17 00:00:00 2001 From: Michael Lando Date: Sun, 19 Feb 2017 10:28:42 +0200 Subject: Initial OpenECOMP SDC commit Change-Id: I0924d5a6ae9cdc161ae17c68d3689a30d10f407b Signed-off-by: Michael Lando --- .../resources/CI/tests/12_DatabaseType-GetArtifacts/command | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 catalog-fe/src/test/resources/CI/tests/12_DatabaseType-GetArtifacts/command (limited to 'catalog-fe/src/test/resources/CI/tests/12_DatabaseType-GetArtifacts/command') diff --git a/catalog-fe/src/test/resources/CI/tests/12_DatabaseType-GetArtifacts/command b/catalog-fe/src/test/resources/CI/tests/12_DatabaseType-GetArtifacts/command new file mode 100644 index 0000000000..96c8a2101c --- /dev/null +++ b/catalog-fe/src/test/resources/CI/tests/12_DatabaseType-GetArtifacts/command @@ -0,0 +1,13 @@ +command="curl \"http://${CATALOG_BE_HOST}:${CATALOG_BE_PORT}/sdc2/rest/v1/catalog/resources/tosca.nodes.Database/1.0.0.wd03-SNAPSHOT/artifacts\" -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" + + + -- cgit 1.2.3-korg