You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by je...@apache.org on 2018/03/28 08:35:35 UTC

[incubator-openwhisk-performance] 01/01: accept self-signed certs via https

This is an automated email from the ASF dual-hosted git repository.

jeremiaswerner pushed a commit to branch jeremiaswerner-https-self-signed
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk-performance.git

commit 9ea5ab310a6f27f9074ab274d8f475c744a19bc3
Author: Jeremias Werner <je...@gmail.com>
AuthorDate: Wed Mar 28 10:35:32 2018 +0200

    accept self-signed certs via https
---
 tests/create.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/create.sh b/tests/create.sh
index 9198a9a..1a79649 100755
--- a/tests/create.sh
+++ b/tests/create.sh
@@ -10,8 +10,8 @@ action=$3
 
 # create a noop action
 echo "Creating action $action"
-curl -u "$credentials" "$host/api/v1/namespaces/_/actions/$action" -XPUT -d '{"namespace":"_","name":"test","exec":{"kind":"nodejs:default","code":"function main(){return {};}"}}' -H "Content-Type: application/json"
+curl -k -u "$credentials" "$host/api/v1/namespaces/_/actions/$action" -XPUT -d '{"namespace":"_","name":"test","exec":{"kind":"nodejs:default","code":"function main(){return {};}"}}' -H "Content-Type: application/json"
 
 # run the noop action
 echo "Running $action once to assert an intact system"
-curl -u "$credentials" "$host/api/v1/namespaces/_/actions/$action?blocking=true" -XPOST
\ No newline at end of file
+curl -k -u "$credentials" "$host/api/v1/namespaces/_/actions/$action?blocking=true" -XPOST

-- 
To stop receiving notification emails like this one, please contact
jeremiaswerner@apache.org.