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/spring-apps/enterprise/how-to-enterprise-application-configuration-service.md
+15-1Lines changed: 15 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -416,7 +416,7 @@ az role assignment create \
416
416
417
417
---
418
418
419
-
### Examine configuration file with Azure CLI
419
+
### Examine configuration file with the Azure CLI
420
420
421
421
Use the following command to view the content of the configuration file by [Pattern](#pattern):
422
422
@@ -553,6 +553,19 @@ To check the logs of `application-configuration-service` and `flux-source-contro
553
553
> [!NOTE]
554
554
> There might could be a few minutes delay before the logs are available in Log Analytics.
555
555
556
+
## Examine Git revisions of the configuration files
557
+
558
+
You can find the Git revision of the configuration file of the [Pattern](#pattern) in the logs of Application Configuration Service. The following example log indicates that the configuration file for the `payment/default` pattern is pulled with `example-commit-id` from the `main` branch of the `https://github.com/Azure-Samples/acme-fitness-store-config` repository. You can learn how to query logs in the [Check logs](#check-logs) section.
559
+
560
+
```output
561
+
Applied ConfigMap ({config-map-name}) for content (payment/default) from Git repositories https://github.com/Azure-Samples/acme-fitness-store-config@main@sha1:{example-commit-id}
562
+
```
563
+
564
+
You can also find the Git revision by using the Azure CLI. For more information, see the [Examine configuration file with Azure CLI](#examine-configuration-file-with-the-azure-cli) section.
565
+
566
+
> [!NOTE]
567
+
> Git revision is not available for the Gen1 version of Application Configuration Service.
568
+
556
569
## Troubleshoot known issues
557
570
558
571
If the latest changes aren't reflected in the applications, check the following items based on the [Refresh strategies](#refresh-strategies) section:
@@ -561,6 +574,7 @@ If the latest changes aren't reflected in the applications, check the following
561
574
- Confirm that the branch of the desired config file changes is updated.
562
575
- Confirm that the pattern configured in the Application Configuration Service matches the updated config files.
563
576
- Confirm that the application is bound to the Application Configuration Service.
577
+
- Confirm that the Application Configuration Service is using the correct Git revisions as described in the [Examine Git revisions of the configuration files](#examine-git-revisions-of-the-configuration-files) section.
564
578
- Confirm that the `ConfigMap` containing the configuration file for the [Pattern](#pattern) used by the application is updated, as described in the [Examine configuration file in ConfigMap](#examine-configuration-file-in-configmap) section of this article. If it isn't updated, raise a ticket.
565
579
- Confirm that the `ConfigMap` is mounted to the application as a file, as described in the [Examine configuration file in the app](#examine-configuration-file-in-the-app) section of this article. If the file isn't updated, wait for the Kubernetes refresh interval (1 minute), or force a refresh by restarting the application.
0 commit comments