Skip to content

Commit 8837d37

Browse files
authored
Merge pull request #111897 from BhargaviAnnadevara-MSFT/patch-30
(AzureCXP) Fixes MicrosoftDocs/azure-docs#52533
2 parents 42a39d6 + 90541ca commit 8837d37

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

articles/azure-app-configuration/quickstart-java-spring-app.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ manager: maiye
88
editor: ''
99
ms.service: azure-app-configuration
1010
ms.topic: quickstart
11-
ms.date: 12/17/2019
11+
ms.date: 04/18/2020
1212
ms.author: lcozzens
1313

1414
#Customer intent: As a Java Spring developer, I want to manage all my app settings in one place.
@@ -139,25 +139,25 @@ Use the [Spring Initializr](https://start.spring.io/) to create a new Spring Boo
139139
1. Create a new file named `bootstrap.properties` under the resources directory of your app, and add the following lines to the file. Replace the sample values with the appropriate properties for your App Configuration store.
140140

141141
```CLI
142-
spring.cloud.azure.appconfiguration.stores[0].name= ${APP_CONFIGURATION_CONNECTION_STRING}
142+
spring.cloud.azure.appconfiguration.stores[0].connection-string=${APP_CONFIGURATION_CONNECTION_STRING}
143143
```
144144

145145
1. Set an environment variable named **APP_CONFIGURATION_CONNECTION_STRING**, and set it to the access key to your App Configuration store. At the command line, run the following command and restart the command prompt to allow the change to take effect:
146146

147147
```cmd
148-
setx APP_CONFIGURATION_CONNECTION_STRING "connection-string-of-your-app-configuration-store"
148+
setx APP_CONFIGURATION_CONNECTION_STRING "connection-string-of-your-app-configuration-store"
149149
```
150150

151151
If you use Windows PowerShell, run the following command:
152152

153153
```azurepowershell
154-
$Env:APP_CONFIGURATION_CONNECTION_STRING = "connection-string-of-your-app-configuration-store"
154+
$Env:APP_CONFIGURATION_CONNECTION_STRING = "connection-string-of-your-app-configuration-store"
155155
```
156156

157157
If you use macOS or Linux, run the following command:
158158

159159
```cmd
160-
export APP_CONFIGURATION_CONNECTION_STRING='connection-string-of-your-app-configuration-store'
160+
export APP_CONFIGURATION_CONNECTION_STRING='connection-string-of-your-app-configuration-store'
161161
```
162162

163163
## Build and run the app locally

0 commit comments

Comments
 (0)