Skip to content

Commit be3c3b9

Browse files
Merge pull request #270890 from jiec-msft/mason/show-acs-commit-id
Add description on showing ACS commit id (a.k.a Git revision) when check ACS Configs
2 parents 98aae6c + 74becae commit be3c3b9

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

articles/spring-apps/enterprise/how-to-enterprise-application-configuration-service.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -436,10 +436,16 @@ This command produces JSON output similar to the following example:
436436
"example.property.application.name: example-service",
437437
"example.property.cloud: Azure"
438438
]
439+
},
440+
"metadata": {
441+
"gitRevisions": "[{\"url\":\"{gitRepoUrl}\",\"revision\":\"{revisionInfo}\"}]"
439442
}
440443
}
441444
```
442445

446+
> [!NOTE]
447+
> The `metadata` and `gitRevisions` properties are not available for the Gen1 version of Application Configuration Service.
448+
443449
You can also use this command with the `--export-path {/path/to/target/folder}` parameter to export the configuration file to the specified folder. It supports both relative paths and absolute paths. If you don't specify the path, the command uses the path of the current directory by default.
444450

445451
## Examine configuration file in the app
@@ -457,6 +463,9 @@ After you bind the app to the Application Configuration Service and set the [Pat
457463

458464
1. Check the content of the configuration file using commands such as `cat`.
459465

466+
> [!NOTE]
467+
> The Git revision information is not available in the app.
468+
460469
## Check logs
461470

462471
The following sections show you how to view application logs by using either the Azure CLI or the Azure portal.

0 commit comments

Comments
 (0)