Skip to content

Commit f3dc05d

Browse files
authored
Update how-to-staging-environment.md
1 parent 7c76d39 commit f3dc05d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

articles/spring-apps/how-to-staging-environment.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -163,12 +163,12 @@ Use the following steps to view deployed apps.
163163
:::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.":::
164164

165165
>[!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.
167167
168168
>[!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/...`.
170170
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.
172172

173173
## Set the green deployment as the production environment
174174

@@ -193,9 +193,9 @@ If you're not satisfied with your change, you can modify your application code,
193193
az spring app deploy \
194194
--resource-group <resource-group-name> \
195195
--service <service-instance-name> \
196-
--name gateway \
196+
--name demo \
197197
--deployment green \
198-
--artifact-path gateway.jar
198+
--artifact-path demo.jar
199199
```
200200

201201
## Delete the staging deployment
@@ -209,7 +209,7 @@ az spring app deployment delete \
209209
--resource-group <resource-group-name> \
210210
--service <service-instance-name> \
211211
--name <staging-deployment-name> \
212-
--app gateway
212+
--app demo
213213
```
214214

215215
## Next steps

0 commit comments

Comments
 (0)