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
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -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. Following exmaple log indicates the configuration file for `payment/default` pattern is pulled with `example-commit-id` in the `main` branch from `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 with Azure CLI in [Examine configuration file with Azure CLI](#examine-configuration-file-with-azure-cli) section.
565
+
566
+
> [!NOTE]
567
+
> Git revision is not avilable 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