File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
articles/spring-apps/migration Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -94,20 +94,22 @@ Use the following commands to test with the label-specific fully qualified domai
94
94
95
95
``` azurecli
96
96
# Get the containerapp environment default domain
97
- export APP_DOMAIN=$(az containerapp env show \
97
+ export APP_NAME=<app-name>
98
+
99
+ export APP_ENV_DOMAIN=$(az containerapp env show \
98
100
--resource-group <resource-group> \
99
101
--name <app-environment-name> \
100
102
--query "properties.defaultDomain" \
101
103
--output tsv)
102
104
103
105
# Test the production FQDN
104
- curl -s https://$APP_NAME.$APP_DOMAIN
106
+ curl -s https://$APP_NAME.$APP_ENV_DOMAIN
105
107
106
108
# Test the blue label FQDN
107
- curl -s https://$APP_NAME---blue.$APP_DOMAIN
109
+ curl -s https://$APP_NAME---blue.$APP_ENV_DOMAIN
108
110
109
111
# Test the green label FQDN
110
- curl -s https://$APP_NAME---green.$APP_DOMAIN
112
+ curl -s https://$APP_NAME---green.$APP_ENV_DOMAIN
111
113
```
112
114
113
115
## Send production traffic to the green revision
You can’t perform that action at this time.
0 commit comments