Skip to content

Commit a021c86

Browse files
committed
edits, grammar fixes, added next-steps section
1 parent 679565b commit a021c86

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

articles/spring-apps/how-to-service-registration.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.author: karler
66
ms.service: spring-apps
77
ms.topic: conceptual
88
ms.date: 05/09/2022
9-
ms.custom: devx-track-java, event-tier1-build-2022
9+
ms.custom: devx-track-java, event-tier1-build-2022, engagement-fy23
1010
zone_pivot_groups: programming-languages-spring-apps
1111
---
1212

@@ -23,9 +23,7 @@ Service registration and discovery are key requirements for maintaining a list o
2323

2424
* Use Kubernetes Service Discovery approach to invoke calls among your apps.
2525

26-
Azure Spring Apps creates a corresponding kubernetes service for every app running in it using app name as the kubernetes service name. So you can invoke calls in one app to another app by using app name in a http/https request like http(s)://{app name}/path. And this approach is also suitable for Enterprise tier.
27-
You can refer to the [kubernetes registry code sample](https://github.com/Azure-Samples/Azure-Spring-Cloud-Samples/tree/master/k8s-service-registry) for more details
28-
26+
Azure Spring Apps creates a corresponding Kubernetes service for every app running in it using the app name as the Kubernetes service name. You can invoke calls from one app to another app by using the app name in an HTTP/HTTPS request such as `http(s)://{app name}/path`. This approach is also suitable for Enterprise tier. For more information, see the [Kubernetes registry code sample](https://github.com/Azure-Samples/Azure-Spring-Cloud-Samples/tree/master/k8s-service-registry).
2927

3028
* Use Managed Spring Cloud Service Registry (OSS) in Azure Spring Apps.
3129

@@ -41,7 +39,7 @@ For information about how to set up service registration for a Steeltoe app, see
4139

4240
## Register your application using Spring Cloud Service Registry
4341

44-
Before your application can manage service registration and discovery using Spring Cloud Service Registry, you must include the following dependency for *spring-cloud-starter-netflix-eureka-client* to your *pom.xml*:
42+
Before your application can manage service registration and discovery using Spring Cloud Service Registry, you must include the following dependency for `spring-cloud-starter-netflix-eureka-client` in your *pom.xml* file:
4543

4644
```xml
4745
<dependency>
@@ -52,7 +50,7 @@ Before your application can manage service registration and discovery using Spri
5250

5351
## Update the top level class
5452

55-
Finally, add an annotation to the top level class of your application as shown in the following example:
53+
Finally, add an annotation to the top level class of your application, as shown in the following example:
5654

5755
```java
5856
package foo.bar;
@@ -76,3 +74,7 @@ The Spring Cloud Service Registry server endpoint will be injected as an environ
7674
> [!NOTE]
7775
> It can take a few minutes for the changes to propagate from the server to all applications.
7876
::: zone-end
77+
78+
## Next steps
79+
80+
In this article, you learned how to register your application using Spring Cloud Service Registry. To learn how to access the Spring Cloud Service Registry using Azure Active Directory (Azure AD) role-based access control (RBAC), see [Access Config Server and Service Registry](how-to-access-data-plane-azure-ad-rbac.md).

0 commit comments

Comments
 (0)