Make echo liveness probe available under /actuator/health for resources 17/138717/2
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>
Tue, 13 Aug 2024 12:13:25 +0000 (14:13 +0200)
committerFiete Ostkamp <fiete.ostkamp@telekom.de>
Tue, 13 Aug 2024 13:25:58 +0000 (13:25 +0000)
commit412d236404aa0ef9aebec658a1aeca80ab968fcd
treebc9f5b38ce50608edea26ddf97185c246fa58323
parent43647cd712e6da6b09003845b74d64837bfa8db1
Make echo liveness probe available under /actuator/health for resources

- implement spring's HealthIndicator interface to provide health probe based on AaiGraphChecker
- conditionally enable the probe when aai.actuator.echo.enabled=true
- increase snapshot version to 1.15.6-SNAPSHOT

Issue-ID: AAI-3959
Change-Id: Ie2b49ad1f3145285be844bb11aa8119a16fb68c9
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
aai-resources/pom.xml
aai-resources/src/main/java/org/onap/aai/rest/util/EchoHealthIndicator.java [new file with mode: 0644]
aai-resources/src/main/resources/application.properties
aai-resources/src/test/java/org/onap/aai/config/WebClientConfiguration.java
aai-resources/src/test/java/org/onap/aai/rest/util/EchoHealthIndicatorTest.java [new file with mode: 0644]
pom.xml
version.properties