You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/spring-apps/how-to-staging-environment.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -163,12 +163,12 @@ Use the following steps to view deployed apps.
163
163
:::image type="content" source="media/how-to-staging-environment/running-staging-app.png" lightbox="media/how-to-staging-environment/running-staging-app.png" alt-text="Screenshot that shows the URL of the staging app.":::
164
164
165
165
>[!TIP]
166
-
> Confirm that your test endpoint ends with a slash (/) to ensure that the CSS file is loaded correctly. If your browser requires you to enter login credentials to view the page, use [URL decode](https://www.urldecoder.org/) to decode your test endpoint. URL decode returns a URL in the format `https://\<username>:\<password>@\<cluster-name>.test.azureapps.io/gateway/green`. Use this format to access your endpoint.
166
+
> Confirm that your test endpoint ends with a slash (/) to ensure that the CSS file is loaded correctly. If your browser requires you to enter login credentials to view the page, use [URL decode](https://www.urldecoder.org/) to decode your test endpoint. URL decode returns a URL in the format `https://\<username>:\<password>@\<cluster-name>.test.azureapps.io/demo/green`. Use this format to access your endpoint.
167
167
168
168
>[!NOTE]
169
-
> Configuration server settings apply to both your staging environment and your production environment. For example, if you set the context path (*server.servlet.context-path*) for your app gateway in the configuration server as *somepath*, the path to your green deployment changes to `https://\<username>:\<password>@\<cluster-name>.test.azureapps.io/gateway/green/somepath/...`.
169
+
> Configuration server settings apply to both your staging environment and your production environment. For example, if you set the context path (*server.servlet.context-path*) for your app demo in the configuration server as *somepath*, the path to your green deployment changes to `https://\<username>:\<password>@\<cluster-name>.test.azureapps.io/demo/green/somepath/...`.
170
170
171
-
If you visit your public-facing app gateway at this point, you should see the old page without your new change.
171
+
If you visit your public-facing app demo at this point, you should see the old page without your new change.
172
172
173
173
## Set the green deployment as the production environment
174
174
@@ -193,9 +193,9 @@ If you're not satisfied with your change, you can modify your application code,
193
193
az spring app deploy \
194
194
--resource-group <resource-group-name> \
195
195
--service <service-instance-name> \
196
-
--name gateway \
196
+
--name demo \
197
197
--deployment green \
198
-
--artifact-path gateway.jar
198
+
--artifact-path demo.jar
199
199
```
200
200
201
201
## Delete the staging deployment
@@ -209,7 +209,7 @@ az spring app deployment delete \
0 commit comments