From 949fed2a716fa636aec836ec46fec2c595f68d4f Mon Sep 17 00:00:00 2001 From: ebo Date: Sat, 7 Mar 2020 13:46:41 +0000 Subject: Enable generation and exposure of git information Initially only the blueprintprocessor MS will expose these info. Issue-ID: CCSDK-2165 Change-Id: Id0b994e62a2992942ec1def40566a03615c9df3c Signed-off-by: ebo --- ms/blueprintsprocessor/application/pom.xml | 4 ++++ .../src/main/resources/application.properties | 1 + ms/pom.xml | 19 +++++++++++++++++++ 3 files changed, 24 insertions(+) diff --git a/ms/blueprintsprocessor/application/pom.xml b/ms/blueprintsprocessor/application/pom.xml index d17425c40..a6dd73ba6 100755 --- a/ms/blueprintsprocessor/application/pom.xml +++ b/ms/blueprintsprocessor/application/pom.xml @@ -312,6 +312,10 @@ 1.8 + + pl.project13.maven + git-commit-id-plugin + diff --git a/ms/blueprintsprocessor/application/src/main/resources/application.properties b/ms/blueprintsprocessor/application/src/main/resources/application.properties index 2a16b3ef9..412fa3a33 100755 --- a/ms/blueprintsprocessor/application/src/main/resources/application.properties +++ b/ms/blueprintsprocessor/application/src/main/resources/application.properties @@ -135,3 +135,4 @@ cdslistener.healthcheck.mapping-service-name-with-service-link=[SDC Listener ser #Actuator properties management.endpoints.web.exposure.include=* management.endpoint.health.show-details=always +management.info.git.mode=full diff --git a/ms/pom.xml b/ms/pom.xml index 9386150bf..7a0168f5b 100644 --- a/ms/pom.xml +++ b/ms/pom.xml @@ -38,4 +38,23 @@ command-executor sdclistener + + + + + + pl.project13.maven + git-commit-id-plugin + 4.0.0 + + + ^git.build.(time|version)$ + ^git.commit.id.(abbrev|full)$ + + full + + + + + -- cgit 1.2.3-korg