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
@@ -26,13 +26,9 @@ In this tutorial, you will learn to:
26
26
27
27
## Prerequisites
28
28
29
-
To complete this tutorial, you need the following items:
30
-
31
-
| Requirement | Instructions |
32
-
|--|--|
33
-
| Azure account | An active subscription is required. If you don't have one, you [can create one for free](https://azure.microsoft.com/free/). |
34
-
| Azure CLI | Install the [Azure CLI](/cli/azure/install-azure-cli).|
35
-
| An existing Eureka Server for Spring Java component | If you don't have one, follow the [Create the Eureka Server for Spring](java-eureka-server.md#create-the-eureka-server-for-spring-java-component) section to create one. |
29
+
* An Azure account with an active subscription. If you don't already have one, you can [can create one for free](https://azure.microsoft.com/free/).
30
+
*[Azure CLI](/cli/azure/install-azure-cli).
31
+
* An existing Eureka Server for Spring Java component. If you don't have one, see [Create the Eureka Server for Spring](java-eureka-server.md#create-the-eureka-server-for-spring-java-component).
36
32
37
33
## Considerations
38
34
@@ -46,47 +42,47 @@ Before you begin, create the necessary resources by executing the following comm
46
42
47
43
1. Create variables to support your application configuration. These values are provided for you for the purposes of this lesson.
Before running this command, replace the placeholder in between the `<>` brackets with your user or service principal ID.
170
+
Before running this command, replace the placeholder in between the `<>` brackets with your user or service principal ID.
174
171
175
-
```azurecli
176
-
az role assignment create \
177
-
--assignee <USER_OR_SERVICE_PRINCIPAL_ID> \
178
-
--role "Java Component Dashboard Access" \
179
-
--scope $ENVIRONMENT_ID
180
-
```
172
+
```azurecli
173
+
az role assignment create \
174
+
--assignee <USER_OR_SERVICE_PRINCIPAL_ID> \
175
+
--role "Java Component Dashboard Access" \
176
+
--scope $ENVIRONMENT_ID
177
+
```
181
178
182
179
1. Get the URL of the Admin for Spring dashboard.
183
180
184
-
```azurecli
185
-
az containerapp env java-component admin-for-spring show \
186
-
--environment $ENVIRONMENT \
187
-
--resource-group $RESOURCE_GROUP \
188
-
--name $ADMIN_COMPONENT_NAME \
189
-
--query properties.ingress.fqdn -o tsv
190
-
```
181
+
```azurecli
182
+
az containerapp env java-component admin-for-spring show \
183
+
--environment $ENVIRONMENT \
184
+
--resource-group $RESOURCE_GROUP \
185
+
--name $ADMIN_COMPONENT_NAME \
186
+
--query properties.ingress.fqdn \
187
+
--output tsv
188
+
```
191
189
192
190
1. Get the URL of the Eureka Server for Spring dashboard.
193
191
194
-
```azurecli
195
-
az containerapp env java-component eureka-server-for-spring show \
196
-
--environment $ENVIRONMENT \
197
-
--resource-group $RESOURCE_GROUP \
198
-
--name $EUREKA_COMPONENT_NAME \
199
-
--query properties.ingress.fqdn -o tsv
200
-
```
192
+
```azurecli
193
+
az containerapp env java-component eureka-server-for-spring show \
194
+
--environment $ENVIRONMENT \
195
+
--resource-group $RESOURCE_GROUP \
196
+
--name $EUREKA_COMPONENT_NAME \
197
+
--query properties.ingress.fqdn \
198
+
--output tsv
199
+
```
201
200
202
-
This command returns the URL you can use to access the Eureka Server for Spring dashboard. Through the dashboard, your container app is also to you as shown in the following screenshot.
201
+
This command returns the URL you can use to access the Eureka Server for Spring dashboard. Through the dashboard, your container app is also to you as shown in the following screenshot.
203
202
204
-
:::image type="content" source="media/java-components/spring-boot-admin.png" alt-text="Screenshot of the Admin for Spring dashboard." lightbox="media/java-components/spring-boot-admin.png":::
203
+
:::image type="content" source="media/java-components/spring-boot-admin.png" alt-text="Screenshot of the Admin for Spring dashboard." lightbox="media/java-components/spring-boot-admin.png":::
205
204
206
-
:::image type="content" source="media/java-components/eureka.png" alt-text="Screenshot of the Eureka Server for Spring dashboard." lightbox="media/java-components/eureka.png":::
205
+
:::image type="content" source="media/java-components/eureka.png" alt-text="Screenshot of the Eureka Server for Spring dashboard." lightbox="media/java-components/eureka.png":::
207
206
208
207
## Clean up resources
209
208
210
209
The resources created in this tutorial have an effect on your Azure bill. If you aren't going to use these services long-term, run the following command to remove everything created in this tutorial.
0 commit comments