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/03/27 20:03:46 UTC

[GitHub] pritidesai opened a new issue #822: Support reading of packages from different namespace than the one specified in .wskprops

pritidesai opened a new issue #822: Support reading of packages from different namespace than the one specified in .wskprops
URL: https://github.com/apache/incubator-openwhisk-wskdeploy/issues/822
 
 
   Running Get method from [Package](https://github.com/apache/incubator-openwhisk-client-go/blob/master/whisk/package.go#L157) (go client) supports specifying namespace but is limited to the one specified in `Config`:
   
   ```
   	if includeNamespaceInUrl {
   		if c.Config.Namespace != "" {
   			urlStr = fmt.Sprintf("%s/namespaces/%s/%s", c.Config.Version, c.Config.Namespace, urlStr)
   		} else {
   			urlStr = fmt.Sprintf("%s/namespaces", c.Config.Version)
   		}
   ```
   
   Once, we have support to specify a different namespace (of course the one we have access to), update reading of packages in [servicedeploy.go](https://github.com/apache/incubator-openwhisk-wskdeploy/pull/816/files#diff-e9dbca805ea7b9a1dbc87a46e400307aR662).

----------------------------------------------------------------
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