Commit 0ddc2afe authored by Smitha Manjunath's avatar Smitha Manjunath
Browse files

updated docs and property name.

parent 45c02fdb
Pipeline #53713 failed with stages
in 5 minutes and 24 seconds
# Enable Logging For Health Check Failures # Enable Logging For Health Check Failures
<ol> <ol>
<li> Ensure instructions from doc <a ref="docs/01_Using_Common_Properties.md">01_Using_Common_Properties.md </a>of core-lib-azure is implemented.<br/> <li>Ensure your service is running with SpringBoot version 2.4 or higher</li>
<li>Follow instructions from doc <a ref="docs/01_Using_Common_Properties.md">01_Using_Common_Properties.md </a>of core-lib-azure is implemented.<br/>
This is to enable actuator to run on a different port. This is to enable actuator to run on a different port.
</li> </li>
<li> Define Liveness and Readiness probes: <li> Define Liveness and Readiness probes:
......
...@@ -33,7 +33,7 @@ import java.util.Map; ...@@ -33,7 +33,7 @@ import java.util.Map;
* All services can pick up this class from core-lib-azure from the usual dependency that’s added. * All services can pick up this class from core-lib-azure from the usual dependency that’s added.
*/ */
@Configuration @Configuration
@ConditionalOnProperty(value = "health.endpoint.enabled", havingValue = "true", matchIfMissing = false) @ConditionalOnProperty(value = "azure.health.endpoint.enabled", havingValue = "true", matchIfMissing = false)
public class AzureHealthEndpointWebExtension extends HealthEndpointWebExtension { public class AzureHealthEndpointWebExtension extends HealthEndpointWebExtension {
private static final String LOGGER_NAME = AzureHealthEndpointWebExtension.class.getName(); private static final String LOGGER_NAME = AzureHealthEndpointWebExtension.class.getName();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment