You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@fineract.apache.org by "Michael Vorburger (Jira)" <ji...@apache.org> on 2020/05/17 10:58:00 UTC
[jira] [Commented] (FINERACT-883) Expose Fineract build's Git
revision on /actuator/info HTTP API endpoint
[ https://issues.apache.org/jira/browse/FINERACT-883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17109428#comment-17109428 ]
Michael Vorburger commented on FINERACT-883:
--------------------------------------------
FINERACT-983 fixed this to actually work in-container.
> Expose Fineract build's Git revision on /actuator/info HTTP API endpoint
> ------------------------------------------------------------------------
>
> Key: FINERACT-883
> URL: https://issues.apache.org/jira/browse/FINERACT-883
> Project: Apache Fineract
> Issue Type: New Feature
> Reporter: Michael Vorburger
> Assignee: Yemdjih Kaze Nasser
> Priority: Major
> Labels: beginner, gsoc2020, starter, technical
> Fix For: 1.4.0
>
>
> It can be useful to be able to know what exact build of Fineract is running on a given server.
> This can be achieved by automatically including Git revision etc. details in a properties file during build time, and then exposing that information on an HTTP API endpoint.
> Spring Boot's "Production-ready Features" (formerly known as its Actuator), provides this more or less out of the box; the goal of this issue is to (a) add the required Gradle plugin to the build, (b) do whatever is required so that /actuator/info includes Git details (may be it "just works" out of the box...), and add a few lines of integration test for this. Background:
> * [https://docs.spring.io/spring-boot/docs/current/reference/html/production-ready-features.html#production-ready-application-info]
> * [https://rieckpil.de/howto-expose-git-information-with-spring-boots-actuator/]
> * [https://medium.com/@d.lopez.j/springboot-maven-jenkins-git-how-to-identify-your-release-automagically-13261ece13f]
> * [https://www.baeldung.com/spring-git-information]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)