houshengbo commented on issue #25: Not adding "api" to the URL URL: https://github.com/apache/incubator-openwhisk-client-go/issues/25#issuecomment-325398907 @tleyden I plan to remove openwhisk.ng.bluemix.net as the default URL. Instead, credentials are now able to load in .wskprops, and then whisk.properties if there is a local deployment of openwhisk. BaseURL will deprecate, since we only need to configure apiHost. BaseURL can be generated from apiHost. If a user creates the *config, they can proceed without hassle by at least setting namespace, auth and apihost for whisk.NewClient. BTW, the following methods have already been supported to get the config: ``` func GetDefaultConfig() (*Config, error) // from .wskprops, if not, whisk.properties func GetWhiskPropertiesConfig() (*Config, error) //from whisk.properties func GetWskpropsConfig(path string) (*Config, error) // from .wskprops ``` please check https://github.com/apache/incubator-openwhisk-client-go/blob/master/whisk/wskprops.go. ---------------------------------------------------------------- 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
