You can add new plugins that add additional checks that might affect the application's health. For example, you can create a plugin that interacts with an external integration, such as an ESB or payment gateway.
Spring does merge lists. To add new values you must override the existing list, including all of its default values. The default values are:
<util:list id="loadBalancerStatusCheckerTargetList" scope="prototype"> <ref bean="applicationStatusCheckerTarget"/commerce-legacy/> <ref bean="databaseStatusCheckerTarget"/commerce-legacy/></util:list> <util:list id="additionalInfoStatusCheckerTargetList" scope="prototype"> </util:list>
When a load balancer starts the status checker, using the URL /status/lb , only the status checker targets in loadBalancerStatusCheckerTargetList are examined. This list should therefore only contain status checker targets that can instruct a load balancer to stop sending traffic to a given node.
When any of the info URLs are invoked, such as /status/info.html or /status/info.json, the status checker targets in both lists are examined.
You can find the guides for Commerce 7.5 and later on the new Elastic Path Documentation site. This Developer Center contains the guides for Commerce 6.13.0 through 7.4.1.
Visit new site