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/container-apps/java-admin-eureka-integration.md
+31-31Lines changed: 31 additions & 31 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -92,45 +92,45 @@ Before you begin, create the necessary resources by executing the following comm
92
92
93
93
## Optional: Create the Eureka Server for Spring
94
94
95
-
1. If you don't have an existing Eureka Server for Spring, follow the command below to create the Eureka Server Java component. For more information, see [Create the Eureka Server for Spring](java-eureka-server.md#create-the-eureka server-for-spring-java-component).
95
+
If you don't have an existing Eureka Server for Spring, follow the command below to create the Eureka Server Java component. For more information, see [Create the Eureka Server for Spring](java-eureka-server.md#create-the-eureka server-for-spring-java-component).
96
96
97
-
```azurecli
98
-
az containerapp env java-component eureka-server-for-spring create \
99
-
--environment $ENVIRONMENT \
100
-
--resource-group $RESOURCE_GROUP \
101
-
--name $EUREKA_COMPONENT_NAME
102
-
```
97
+
```azurecli
98
+
az containerapp env java-component eureka-server-for-spring create \
99
+
--environment $ENVIRONMENT \
100
+
--resource-group $RESOURCE_GROUP \
101
+
--name $EUREKA_COMPONENT_NAME
102
+
```
103
103
104
104
## Bind the components together
105
105
106
-
1. Create the Admin for Spring Java component.
106
+
Create the Admin for Spring Java component.
107
107
108
-
```azurecli
109
-
az containerapp env java-component admin-for-spring create \
110
-
--environment $ENVIRONMENT \
111
-
--resource-group $RESOURCE_GROUP \
112
-
--name $ADMIN_COMPONENT_NAME \
113
-
--bind $EUREKA_COMPONENT_NAME
114
-
```
108
+
```azurecli
109
+
az containerapp env java-component admin-for-spring create \
110
+
--environment $ENVIRONMENT \
111
+
--resource-group $RESOURCE_GROUP \
112
+
--name $ADMIN_COMPONENT_NAME \
113
+
--bind $EUREKA_COMPONENT_NAME
114
+
```
115
115
116
116
## Bind other apps to the Eureka Server
117
117
118
118
With the Eureka Server set up, you can now bind other applications to it for service discovery. And you can also monitor and manage these applications in the dashboard of Admin for Spring. Follow the steps below to create and bind a container app to the Eureka Server:
119
119
120
-
1. Create the container app and bind it to the Eureka Server.
120
+
Create the container app and bind it to the Eureka Server.
121
121
122
-
```azurecli
123
-
az containerapp create \
124
-
--name $CLIENT_APP_NAME \
125
-
--resource-group $RESOURCE_GROUP \
126
-
--environment $ENVIRONMENT \
127
-
--image $CLIENT_IMAGE \
128
-
--min-replicas 1 \
129
-
--max-replicas 1 \
130
-
--ingress external \
131
-
--target-port 8080 \
132
-
--bind $EUREKA_COMPONENT_NAME
133
-
```
122
+
```azurecli
123
+
az containerapp create \
124
+
--name $CLIENT_APP_NAME \
125
+
--resource-group $RESOURCE_GROUP \
126
+
--environment $ENVIRONMENT \
127
+
--image $CLIENT_IMAGE \
128
+
--min-replicas 1 \
129
+
--max-replicas 1 \
130
+
--ingress external \
131
+
--target-port 8080 \
132
+
--bind $EUREKA_COMPONENT_NAME
133
+
```
134
134
135
135
> [!TIP]
136
136
> Since the Admin for Spring has been binded to the Eureka Server for Spring in previous steps. Bind the container app to the Eureka Server Java component will enable service discovery and allow to be managed through the Admin for Spring dashboard at the same time.
@@ -166,7 +166,7 @@ With the Eureka Server set up, you can now bind other applications to it for ser
166
166
--query id -o tsv)
167
167
```
168
168
169
-
1. Assign the role to the your account.
169
+
1. Assign the role to your account.
170
170
171
171
Before running this command, replace the placeholder in between the `<>` brackets with your user or service principal ID.
172
172
@@ -197,9 +197,9 @@ With the Eureka Server set up, you can now bind other applications to it for ser
197
197
--query properties.ingress.fqdn -o tsv
198
198
```
199
199
200
-
This command returns the URL you can use to access the Eureka Server for Spring dashboard. Through the dashboard, you container app is also to you as shown in the following screenshot.
200
+
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
201
202
-
:::image type="content" source="media/java-components/sba.png" alt-text="Screenshot of the Admin for Spring dashboard." lightbox="media/java-components/sba.png":::
202
+
:::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
203
204
204
:::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":::
- Any other configurations under `logging.*` namespace should be forbidden. For example, writing log files by using `logging.file` should be forbidden.
Copy file name to clipboardExpand all lines: articles/container-apps/java-admin.md
+7-8Lines changed: 7 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ The Admin for Spring managed component offers an administrative interface for Sp
16
16
17
17
This tutorial shows you how to create an Admin for Spring Java component and bind it to your container app so you can monitor and manage your Spring applications with ease.
18
18
19
-
:::image type="content" source="media/java-components/sba-overview.png" alt-text="Overview of the Admin for Spring insights dashboard." lightbox="media/java-components/sba-overview.png":::
19
+
:::image type="content" source="media/java-components/spring-boot-admin-overview.png" alt-text="Overview of the Admin for Spring insights dashboard." lightbox="media/java-components/spring-boot-admin-overview.png":::
20
20
21
21
In this tutorial, you learn to:
22
22
@@ -67,7 +67,7 @@ The following commands help you create your resource group and Container Apps en
67
67
|`LOCATION`| The Azure region location where you create your container app and Java component. |
68
68
|`ENVIRONMENT`| The Azure Container Apps environment name for your demo application. |
69
69
|`RESOURCE_GROUP`| The Azure resource group name for your demo application. |
70
-
|`JAVA_COMPONENT_NAME`| The name of the Java component created for your container app. In this case, you create a Admin for Spring Java component. |
70
+
|`JAVA_COMPONENT_NAME`| The name of the Java component created for your container app. In this case, you create an Admin for Spring Java component. |
71
71
|`IMAGE`| The container image used in your container app. |
72
72
73
73
1. Log in to Azure with the Azure CLI.
@@ -167,7 +167,7 @@ Now that you have an existing environment, you can create your container app and
167
167
--query id -o tsv)
168
168
```
169
169
170
-
1. Assign the role to the your account.
170
+
1. Assign the role to your account.
171
171
172
172
Before running this command, replace the placeholder in between the `<>` brackets with your user or service principal ID.
173
173
@@ -178,9 +178,8 @@ Now that you have an existing environment, you can create your container app and
178
178
--scope $ENVIRONMENT_ID
179
179
```
180
180
181
-
> [!NOTE]
182
-
><USER_OR_SERVICE_PRINCIPAL_ID> usually should be the identity that you use to access Azure Portal.
183
-
><ROLE_NAME> is the name you assigned in step 1.
181
+
> [!NOTE]
182
+
><USER_OR_SERVICE_PRINCIPAL_ID> usually should be the identity that you use to access Azure Portal. <ROLE_NAME> is the name you assigned in step 1.
184
183
185
184
1. Get the URL of the Admin for Spring dashboard.
186
185
@@ -192,9 +191,9 @@ Now that you have an existing environment, you can create your container app and
192
191
--query properties.ingress.fqdn -o tsv
193
192
```
194
193
195
-
This command returns the URL you can use to access the Admin forSpring dashboard. Through the dashboard, you container app is also to you as shownin the following screenshot.
194
+
This command returns the URL you can use to access the Admin forSpring dashboard. Through the dashboard, your container app is also to you as shownin the following screenshot.
196
195
197
-
:::image type="content" source="media/java-components/sba-alone.png" alt-text="Screenshot of the Admin for Spring dashboard." lightbox="media/java-components/sba-alone.png":::
196
+
:::image type="content" source="media/java-components/spring-boot-admin-alone.png" alt-text="Screenshot of the overview the Admin for Spring dashboard." lightbox="media/java-components/spring-boot-admin-alone.png":::
Copy file name to clipboardExpand all lines: articles/container-apps/java-eureka-server.md
+4-5Lines changed: 4 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -181,7 +181,7 @@ Now that you have an existing environment, you can create your container app and
181
181
--query id -o tsv)
182
182
```
183
183
184
-
1. Assign the role to the your account.
184
+
1. Assign the role to your account.
185
185
186
186
Before running this command, replace the placeholder in between the `<>` brackets with your user or service principal ID.
187
187
@@ -192,9 +192,8 @@ Now that you have an existing environment, you can create your container app and
192
192
--scope $ENVIRONMENT_ID
193
193
```
194
194
195
-
> [!NOTE]
196
-
><USER_OR_SERVICE_PRINCIPAL_ID> usually should be the identity that you use to access Azure Portal.
197
-
><ROLE_NAME> is the name you assigned in step 1.
195
+
> [!NOTE]
196
+
><USER_OR_SERVICE_PRINCIPAL_ID> usually should be the identity that you use to access Azure Portal. <ROLE_NAME> is the name you assigned in step 1.
198
197
199
198
1. Get the URL of the Eureka Server for Spring dashboard.
200
199
@@ -206,7 +205,7 @@ Now that you have an existing environment, you can create your container app and
206
205
--query properties.ingress.fqdn -o tsv
207
206
```
208
207
209
-
This command returns the URL you can use to access the Eureka Server forSpring dashboard. Through the dashboard, you container app is also to you as shownin the following screenshot.
208
+
This command returns the URL you can use to access the Eureka Server forSpring dashboard. Through the dashboard, your container app is also to you as shownin the following screenshot.
210
209
211
210
:::image type="content" source="media/java-components/eureka-alone.png" alt-text="Screenshot of the Eureka Server for Spring dashboard." lightbox="media/java-components/eureka-alone.png":::
0 commit comments