Skip to content

Commit

Permalink
add internal port to remoteServiceAPI
Browse files Browse the repository at this point in the history
  • Loading branch information
theganyo committed Apr 3, 2020
1 parent db284f9 commit ee2deab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/provision/provision.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ const ( // modern
quotasURLFormat = "%s/quotas" // RemoteServiceProxyURL
rotateURLFormat = "%s/rotate" // RemoteServiceProxyURL

remoteServiceInternalURLFormat = "https://apigee-runtime-%s-%s/remote-service" // org, env
remoteServiceAPIURLFormat = "https://apigee-runtime-%s-%s:8443/remote-service" // org, env

fluentdConfigFile = "/opt/apigee/customer/default.properties"
)
Expand Down Expand Up @@ -687,7 +687,7 @@ func (p *provision) printConfig(cred *credential, printf shared.FormatFn, verify

if p.IsGCPManaged {
config.Tenant.ManagementAPI = ""
config.Tenant.RemoteServiceAPI = fmt.Sprintf(remoteServiceInternalURLFormat, p.Org, p.Env)
config.Tenant.RemoteServiceAPI = fmt.Sprintf(remoteServiceAPIURLFormat, p.Org, p.Env)
config.Tenant.FluentdConfigFile = fluentdConfigFile
config.Tenant.AllowUnverifiedSSLCert = true
config.Analytics.CollectionInterval = 10 * time.Second
Expand Down

0 comments on commit ee2deab

Please sign in to comment.