Extending the Readiness Check
There are several ways to extend the readiness check. The option described in this topic lets you extend the readiness check with an AddOn extension.
Prerequisites
- You ran ant extgen to generate an AddOn using the yaddon template with the following criteria:
- extension name is readinesscheckaddon
- package name is com.example.readinesscheck
- AddOn is installed in yacceleratorstorefront, which runs electronicsstore
- If you plan to test in a local environment, you set up the mock extension. For more information, see Preparing a Mock Extension to Deploy Locally.
Context
You can also leverage the out-of-the-box Spring event listener used by the node warmer to trigger your own readiness check, instead of using your own event listener. If you want to do this, declare a bean to implement the de.hybris.platform.modelt.readinesscheck.PerformableReadinessCheck interface.