You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/10/23 12:15:40 UTC
[GitHub] daisy-ycguo opened a new issue #180: The port of whisk api is
hard-coded while provider firing a trigger
daisy-ycguo opened a new issue #180: The port of whisk api is hard-coded while provider firing a trigger
URL: https://github.com/apache/incubator-openwhisk-package-cloudant/issues/180
See (here)[https://github.com/apache/incubator-openwhisk-package-cloudant/blob/master/provider/lib/utils.js#L293]
```
var host = 'https://' + self.routerHost + ':' + 443;
var triggerURL = host + '/api/v1/namespaces/' + triggerObj.namespace + '/triggers/' + triggerObj.name;
```
It should accept a parameter API_HOST and use this parameter to generate the trigger url.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services