csantanapr opened a new issue #239: The weather action forecast hard codes the 
host value
URL: https://github.com/apache/incubator-openwhisk-catalog/issues/239
 
 
   In the action 
[weather/forecast](https://github.com/apache/incubator-openwhisk-catalog/blob/master/packages/weather/forecast.js#L27)
   
   The url uses a hard coded host value of `twcservice.mybluemix.net`
   User have reported that this value is different per region like 
`twcservice.eu-gb.bluemix.net`
   
   We should change add `host` as a binding parameter and also update the readme
   ```
   var host = params.host || 'twcservice.mybluemix.net';
   var url = `https://${host}/api/weather/v1/geocode/${lat}/${lon}`;
   ```
 
----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to