As discussed on the [dev list][1] we should have a test target which enable 
testing an external OpenWhisk setup with minimal configuration

### Objective

Run test via command like

```
./gradlew :tests:testSystemBasic -Dwhisk.server=https://server:port 
-Dwhisk.auth=""
```
Properties passed

* Edge server url
  * System property - `whisk.server`
  * Env - `WHISK_SERVER`
* Test user auth
  * System property - `whisk.auth`
  * Env - `WHISK_AUTH`

Reason to support env variable is to enable passing test secrets in a safe 
manner

## TODO

- [ ] Make SSL config optional

[1]: 
https://lists.apache.org/thread.html/3bcda711218ded8580a13d3986118b70ccca23c0a1ec9e944abbc9a7@%3Cdev.openwhisk.apache.org%3E

[ Full content available at: 
https://github.com/apache/incubator-openwhisk/issues/4003 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to