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 2020/03/20 15:10:12 UTC
[GitHub] [openwhisk-wskdeploy] mrutkows commented on a change in pull
request #1091: Support alt namespace uuid as tenant id on swagger api
creates/deletes
mrutkows commented on a change in pull request #1091: Support alt namespace uuid as tenant id on swagger api creates/deletes
URL: https://github.com/apache/openwhisk-wskdeploy/pull/1091#discussion_r395701409
##########
File path: deployers/servicedeployer.go
##########
@@ -1088,8 +1088,14 @@ func (deployer *ServiceDeployer) createSwaggerApi(api *whisk.ApiCreateRequest) e
var response *http.Response
apiCreateReqOptions := deployer.Deployment.SwaggerApiOptions
- apiCreateReqOptions.SpaceGuid = strings.Split(deployer.Client.Config.AuthToken, ":")[0]
apiCreateReqOptions.AccessToken = deployer.Client.Config.ApigwAccessToken
+ // In the case of IAM namespaces, we must use the ApigwTenantId as the SpaceGuid
Review comment:
Applying the same IAM token (securekey) logic here as we have added elsewhere... LGTM
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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