{"action":"created","issue":{"url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/3574","repository_url":"https://api.github.com/repos/jhipster/generator-jhipster","labels_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/3574/labels{/name}","comments_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/3574/comments","events_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/3574/events","html_url":"https://github.com/jhipster/generator-jhipster/issues/3574","id":154054742,"number":3574,"title":"[FEATURE] Add git commit data to /info endpoint","user":{"login":"PierreBesson","id":513471,"avatar_url":"https://avatars.githubusercontent.com/u/513471?v=3","gravatar_id":"","url":"https://api.github.com/users/PierreBesson","html_url":"https://github.com/PierreBesson","followers_url":"https://api.github.com/users/PierreBesson/followers","following_url":"https://api.github.com/users/PierreBesson/following{/other_user}","gists_url":"https://api.github.com/users/PierreBesson/gists{/gist_id}","starred_url":"https://api.github.com/users/PierreBesson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PierreBesson/subscriptions","organizations_url":"https://api.github.com/users/PierreBesson/orgs","repos_url":"https://api.github.com/users/PierreBesson/repos","events_url":"https://api.github.com/users/PierreBesson/events{/privacy}","received_events_url":"https://api.github.com/users/PierreBesson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-05-10T16:50:33Z","updated_at":"2016-05-18T01:51:38Z","closed_at":null,"body":"The [Spring Boot Actuator Docs §45.7.2](https://docs.spring.io/spring-boot/docs/current/reference/html/production-ready-endpoints.html#production-ready-git-commit-information) mention a way to add git commit and branch information to the /info endpoint.\r\n\r\nAs all management endpoints are now secured by default, it would be interesting to have this feature. This is making use of [ktoso/maven-git-commit-id-plugin](https://github.com/ktoso/maven-git-commit-id-plugin) for maven and [com.gorylenko.gradle-git-properties](https://plugins.gradle.org/plugin/com.gorylenko.gradle-git-properties) for gradle.\r\n\r\nIt would be very interesting to have this, especially for microservices. Ideally, this info could be displayed in the JHipster Registry."},"comment":{"url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/comments/219904225","html_url":"https://github.com/jhipster/generator-jhipster/issues/3574#issuecomment-219904225","issue_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/3574","id":219904225,"user":{"login":"deepu105","id":1107223,"avatar_url":"https://avatars.githubusercontent.com/u/1107223?v=3","gravatar_id":"","url":"https://api.github.com/users/deepu105","html_url":"https://github.com/deepu105","followers_url":"https://api.github.com/users/deepu105/followers","following_url":"https://api.github.com/users/deepu105/following{/other_user}","gists_url":"https://api.github.com/users/deepu105/gists{/gist_id}","starred_url":"https://api.github.com/users/deepu105/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deepu105/subscriptions","organizations_url":"https://api.github.com/users/deepu105/orgs","repos_url":"https://api.github.com/users/deepu105/repos","events_url":"https://api.github.com/users/deepu105/events{/privacy}","received_events_url":"https://api.github.com/users/deepu105/received_events","type":"User","site_admin":false},"created_at":"2016-05-18T01:51:38Z","updated_at":"2016-05-18T01:51:38Z","body":"I think having the required info in the application.yml with property\nreplacement is the easiest way to do this and IMO a good way with less\noverhead and side effects\nOn 18 May 2016 00:47, \"Gaël Marziou\" <notifications@github.com> wrote:\n\n> Yes this is what is used in Spring Boot Admin dashboard :\n> http://codecentric.github.io/spring-boot-admin/1.3.0/#show-version-in-application-list\n>\n> —\n> You are receiving this because you were mentioned.\n> Reply to this email directly or view it on GitHub\n> <https://github.com/jhipster/generator-jhipster/issues/3574#issuecomment-219779920>\n>\n"}}