Updated the Identity URL to external for Web MVC

This commit is contained in:
Tim McCarthy 2020-03-02 14:00:30 -06:00
parent 9c291465e9
commit 9559b11f5c
2 changed files with 5 additions and 5 deletions

View File

@ -40,7 +40,7 @@ stages:
- script: 'oc project $(OpenShiftProject)' - script: 'oc project $(OpenShiftProject)'
failOnStderr: true failOnStderr: true
displayName: 'Set OpenShift Project Context' displayName: 'Set OpenShift Project Context'
- script: 'oc process -f ./deploy/aro/web-mvc/webmvc-deploy-template.yml -p IMAGE_REGISTRY_PROJECT_NAME=$(SourceImageRegistryProjectName) -p IDENTITY_API_URL=$(IdentityApiUrl) -p WEB_SHOPPING_API_GATEWAY_URL=$(WebShoppingApiGatewayUrl) -p MARKETING_API_URL=$(MarketingApiUrl) -p IDENTITY_API_HC_URL=$(IdentityApiHc) -p ORDERING_SIGNALR_HUB_URL=$(OrderingSignalRHubUrl) | oc apply -f-' - script: 'oc process -f ./deploy/aro/web-mvc/webmvc-deploy-template.yml -p IMAGE_REGISTRY_PROJECT_NAME=$(SourceImageRegistryProjectName) -p IDENTITY_URL_EXTERNAL=$(IdentityUrlExternal) -p WEB_SHOPPING_API_GATEWAY_URL=$(WebShoppingApiGatewayUrl) -p MARKETING_API_URL=$(MarketingApiUrl) -p IDENTITY_API_HC_URL=$(IdentityApiHc) -p ORDERING_SIGNALR_HUB_URL=$(OrderingSignalRHubUrl) | oc apply -f-'
failOnStderr: true failOnStderr: true
displayName: 'Ensure Web MVC OpenShift DeploymentConfig and Service' displayName: 'Ensure Web MVC OpenShift DeploymentConfig and Service'
- script: 'oc apply -f ./deploy/aro/web-mvc/webmvc-public-route.json' - script: 'oc apply -f ./deploy/aro/web-mvc/webmvc-public-route.json'

View File

@ -27,7 +27,7 @@ objects:
containers: containers:
- env: - env:
- name: IdentityUrl - name: IdentityUrl
value: ${IDENTITY_API_URL} value: ${IDENTITY_URL_EXTERNAL}
- name: PurchaseUrl - name: PurchaseUrl
value: ${WEB_SHOPPING_API_GATEWAY_URL} value: ${WEB_SHOPPING_API_GATEWAY_URL}
- name: MarketingUrl - name: MarketingUrl
@ -96,9 +96,9 @@ parameters:
name: TEMPLATE_NAME name: TEMPLATE_NAME
required: true required: true
value: webmvc-deploy-template value: webmvc-deploy-template
- description: The cluster internal URL of the Identity endpoint - description: The external URL of the Identity endpoint
displayName: Identity URL displayName: Identity URL External
name: IDENTITY_API_URL name: IDENTITY_URL_EXTERNAL
required: true required: true
- description: The URL of the Web Shopping API Gateway endpoint - description: The URL of the Web Shopping API Gateway endpoint
displayName: Web Shopping API Gateway URL displayName: Web Shopping API Gateway URL