diff options
author | Michael Lando <ml636r@att.com> | 2017-06-17 22:40:44 +0300 |
---|---|---|
committer | Michael Lando <ml636r@att.com> | 2017-06-18 07:20:49 +0300 |
commit | 4d97d5fac309ce0d66938e5ccd0349e2660d4e23 (patch) | |
tree | 3f921054f997d1962fa6f9db9a0119e31a851eea /catalog-fe/src/test/resources/CI/tests/15_ApacheType-DownloadArtifact | |
parent | 89786d31f266a205857cae0177904c249ac6a512 (diff) |
[sdc] update code of sdc
Change-Id: If9f37c80b659cb67b34d18e6c019defecca58b9a
Signed-off-by: Michael Lando <ml636r@att.com>
Diffstat (limited to 'catalog-fe/src/test/resources/CI/tests/15_ApacheType-DownloadArtifact')
7 files changed, 0 insertions, 36 deletions
diff --git a/catalog-fe/src/test/resources/CI/tests/15_ApacheType-DownloadArtifact/body.txt b/catalog-fe/src/test/resources/CI/tests/15_ApacheType-DownloadArtifact/body.txt deleted file mode 100644 index e69de29bb2..0000000000 --- a/catalog-fe/src/test/resources/CI/tests/15_ApacheType-DownloadArtifact/body.txt +++ /dev/null diff --git a/catalog-fe/src/test/resources/CI/tests/15_ApacheType-DownloadArtifact/command b/catalog-fe/src/test/resources/CI/tests/15_ApacheType-DownloadArtifact/command deleted file mode 100644 index fc8bcb241f..0000000000 --- a/catalog-fe/src/test/resources/CI/tests/15_ApacheType-DownloadArtifact/command +++ /dev/null @@ -1,13 +0,0 @@ -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\" " - -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" - - - diff --git a/catalog-fe/src/test/resources/CI/tests/15_ApacheType-DownloadArtifact/commandTrial b/catalog-fe/src/test/resources/CI/tests/15_ApacheType-DownloadArtifact/commandTrial deleted file mode 100644 index 26c8be9956..0000000000 --- a/catalog-fe/src/test/resources/CI/tests/15_ApacheType-DownloadArtifact/commandTrial +++ /dev/null @@ -1,12 +0,0 @@ -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" - - - diff --git a/catalog-fe/src/test/resources/CI/tests/15_ApacheType-DownloadArtifact/contentMD5.txt b/catalog-fe/src/test/resources/CI/tests/15_ApacheType-DownloadArtifact/contentMD5.txt deleted file mode 100644 index 763af5bc63..0000000000 --- a/catalog-fe/src/test/resources/CI/tests/15_ApacheType-DownloadArtifact/contentMD5.txt +++ /dev/null @@ -1 +0,0 @@ -YTg2Mjg4MWJhNmI5NzBiNzdmNGFmMTY4OTlhNDFkMWI=
\ No newline at end of file diff --git a/catalog-fe/src/test/resources/CI/tests/15_ApacheType-DownloadArtifact/headers b/catalog-fe/src/test/resources/CI/tests/15_ApacheType-DownloadArtifact/headers deleted file mode 100644 index cd1db0c52d..0000000000 --- a/catalog-fe/src/test/resources/CI/tests/15_ApacheType-DownloadArtifact/headers +++ /dev/null @@ -1,8 +0,0 @@ ---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 "HTTP_CSP_WSTYPE: HTTP_CSP_WSTYPE" ---header "USER_ID: USER_ID" ---header "Content-MD5: `cat contentMD5.txt`" diff --git a/catalog-fe/src/test/resources/CI/tests/15_ApacheType-DownloadArtifact/results b/catalog-fe/src/test/resources/CI/tests/15_ApacheType-DownloadArtifact/results deleted file mode 100644 index da36ee26fc..0000000000 --- a/catalog-fe/src/test/resources/CI/tests/15_ApacheType-DownloadArtifact/results +++ /dev/null @@ -1 +0,0 @@ -.*:200:.*:.* diff --git a/catalog-fe/src/test/resources/CI/tests/15_ApacheType-DownloadArtifact/toExec b/catalog-fe/src/test/resources/CI/tests/15_ApacheType-DownloadArtifact/toExec deleted file mode 100644 index 91f4750c01..0000000000 --- a/catalog-fe/src/test/resources/CI/tests/15_ApacheType-DownloadArtifact/toExec +++ /dev/null @@ -1 +0,0 @@ -curl -o "/tmp/start_apache.sh" "http://172.20.43.124:8080/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" |