diff options
author | mpriyank <priyank.maheshwari@est.tech> | 2024-10-16 11:59:49 +0100 |
---|---|---|
committer | mpriyank <priyank.maheshwari@est.tech> | 2024-10-23 22:55:21 +0100 |
commit | ff99139d82e9911e485f228bcd93e0d9b4d6a74b (patch) | |
tree | 92aef9fa3c0a6ed03330a4503c9f609f2cbcc89e /cps-application/src/main/resources | |
parent | 26559ef91557ae602fc3e8f2304f7bc6c57b6fbb (diff) |
Add metadata related to builds and commits
- removing the build-info goal from the existing spring-boot-maven-plugin
- adding git-commit-id-maven-plugin to expose the git related info using
actuator/info endpoint
- adding the dateFormat to git plugin to make it same as the build-info
- cleaning up a duplicate dependency in cps-ncmp-rest-stub module
Issue-ID: CPS-2445
Change-Id: Id7179a81361718d293b7b31f50c1adbdd2ad4302
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
Diffstat (limited to 'cps-application/src/main/resources')
-rw-r--r-- | cps-application/src/main/resources/application.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cps-application/src/main/resources/application.yml b/cps-application/src/main/resources/application.yml index 3789e92b08..d7e39f7fae 100644 --- a/cps-application/src/main/resources/application.yml +++ b/cps-application/src/main/resources/application.yml @@ -180,6 +180,11 @@ management: probes: enabled: true + info: + git: + enabled: true + mode: full + logging: format: json level: |