Skip to content

Commit 836133e

Browse files
authored
Merge pull request #274328 from guitarsheng/guitarsheng/spring-config-server
oss config server doc
2 parents a085945 + 2527457 commit 836133e

30 files changed

+587
-348
lines changed

articles/spring-apps/.openpublishing.redirection.spring-apps.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@
7777
},
7878
{
7979
"source_path": "how-to-config-server.md",
80-
"redirect_url": "/azure/spring-apps/basic-standard/how-to-config-server",
81-
"redirect_document_id": true
80+
"redirect_url": "/azure/spring-apps/enterprise/how-to-config-server",
81+
"redirect_document_id": false
8282
},
8383
{
8484
"source_path": "how-to-dynatrace-one-agent-monitor.md",
@@ -839,6 +839,11 @@
839839
"source_path": "how-to-use-flush-dns-settings.md",
840840
"redirect_url": "/azure/spring-apps/enterprise/how-to-use-flush-dns-settings",
841841
"redirect_document_id": true
842+
},
843+
{
844+
"source_path": "basic-standard/how-to-config-server.md",
845+
"redirect_url": "/azure/spring-apps/enterprise/how-to-config-server",
846+
"redirect_document_id": true
842847
}
843848
]
844849
}

articles/spring-apps/basic-standard/how-to-config-server.md

Lines changed: 0 additions & 334 deletions
This file was deleted.
Binary file not shown.
Binary file not shown.

articles/spring-apps/basic-standard/quickstart-setup-config-server.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,13 @@ Config Server is a centralized configuration service for distributed systems. It
2828

2929
## Config Server procedures
3030

31-
Set up your Config Server with the location of the git repository for the project by running the following command. Replace *\<service instance name>* with the name of the service you created earlier. The default value for service instance name that you set in the preceding quickstart doesn't work with this command.
31+
Set up your Config Server with the location of the Git repository for the project by running the following command. Replace `<service-instance-name>` with the name of the service you created earlier. The default value for service instance name that you set in the preceding quickstart doesn't work with this command.
3232

3333
```azurecli
34-
az spring config-server git set -n <service instance name> --uri https://github.com/Azure-Samples/azure-spring-apps-samples --search-paths steeltoe-sample/config
34+
az spring config-server git set \
35+
--name <service-instance-name> \
36+
--uri https://github.com/Azure-Samples/azure-spring-apps-samples \
37+
--search-paths steeltoe-sample/config
3538
```
3639

3740
This command tells Config Server to find the configuration data in the [steeltoe-sample/config](https://github.com/Azure-Samples/azure-spring-apps-samples/tree/main/steeltoe-sample/config) folder of the sample app repository. Since the name of the app that gets the configuration data is `planet-weather-provider`, the file that's used is [planet-weather-provider.yml](https://github.com/Azure-Samples/azure-spring-apps-samples/blob/main/steeltoe-sample/config/planet-weather-provider.yml).
@@ -74,13 +77,15 @@ The following procedure uses the Azure CLI to set up Config Server to deploy the
7477
Run the following command to set the Default repository.
7578

7679
```azurecli
77-
az spring config-server git set -n <service instance name> --uri https://github.com/azure-samples/spring-petclinic-microservices-config
80+
az spring config-server git set \
81+
--name <service-instance-name> \
82+
--uri https://github.com/azure-samples/spring-petclinic-microservices-config
7883
```
7984

8085
::: zone-end
8186

8287
> [!TIP]
83-
> For information on using a private repository for Config Server, see [Configure a managed Spring Cloud Config Server in Azure Spring Apps](./how-to-config-server.md).
88+
> For information on using a private repository for Config Server, see [Configure a managed Spring Cloud Config Server in Azure Spring Apps](../enterprise/how-to-config-server.md?pivots=sc-standard&toc=/azure/spring-apps/basic-standard/toc.json&bc=/azure/spring-apps/basic-standard/breadcrumb/toc.json).
8489
8590
## Troubleshooting of Azure Spring Apps Config Server
8691

articles/spring-apps/basic-standard/toc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ items:
113113
- name: Prepare a Java Spring app for deployment
114114
href: ../enterprise/how-to-prepare-app-deployment.md?tabs=basic-standard-plan&toc=/azure/spring-apps/basic-standard/toc.json&bc=/azure/spring-apps/basic-standard/breadcrumb/toc.json
115115
- name: Set up a Config Server
116-
href: how-to-config-server.md
116+
href: ../enterprise/how-to-config-server.md?pivots=sc-standard&toc=/azure/spring-apps/basic-standard/toc.json&bc=/azure/spring-apps/basic-standard/breadcrumb/toc.json
117117
- name: Enable Service Registration
118118
href: how-to-service-registration.md
119119
- name: Deploy

articles/spring-apps/consumption-dedicated/quickstart-standard-consumption-config-server.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ az spring config-server git set \
3535
```
3636

3737
> [!TIP]
38-
> For information on using a private repository for Config Server, see [Configure a managed Spring Cloud Config Server in Azure Spring Apps](../basic-standard/how-to-config-server.md?toc=/azure/spring-apps/consumption-dedicated/toc.json&bc=/azure/spring-apps/consumption-dedicated/breadcrumb/toc.json).
38+
> For information on using a private repository for Config Server, see [Configure a managed Spring Cloud Config Server in Azure Spring Apps](../enterprise/how-to-config-server.md?pivots=sc-standard&toc=/azure/spring-apps/consumption-dedicated/toc.json&bc=/azure/spring-apps/consumption-dedicated/breadcrumb/toc.json).
3939
4040
## Enable Config Server
4141

articles/spring-apps/consumption-dedicated/toc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ items:
9797
- name: Enable and disable Spring Cloud Config Server
9898
href: quickstart-standard-consumption-config-server.md
9999
- name: Set up a Config Server
100-
href: ../basic-standard/how-to-config-server.md?toc=/azure/spring-apps/consumption-dedicated/toc.json&bc=/azure/spring-apps/consumption-dedicated/breadcrumb/toc.json
100+
href: ../enterprise/how-to-config-server.md?pivots=sc-standard&toc=/azure/spring-apps/consumption-dedicated/toc.json&bc=/azure/spring-apps/consumption-dedicated/breadcrumb/toc.json
101101
- name: Enable and disable Eureka Server
102102
href: quickstart-standard-consumption-eureka-server.md
103103
- name: Enable Service Registration

0 commit comments

Comments
 (0)