FroshTools
FroshTools copied to clipboard
Add frosh-tools:health-check-json command
Add a new command frosh-tools:health-check-json to return a JSON with all health check checkers result merged like with /health/status route.
- Create
HealthCheckJsonCommandclass insrc/Command/HealthCheckJsonCommand.php- Implement the
Commandclass fromSymfony\Component\Console\Command\Command - Inject health checkers in the constructor
- Implement the
executemethod to collect health check results and return as JSON - Register the command with the name
frosh-tools:health-check-json
- Implement the
- Modify
src/Resources/config/services.xml- Register the new
HealthCheckJsonCommandclass as a service
- Register the new
For more details, open the Copilot Workspace session.
@frosh-automation create-instance
Hey :wave:,
I have created for you an Shopware Instalation with the current changes made here.
You can access the Shop here: https://t7ee118-gtnvu9gs3alg0.zrh1.namespaced.app
The URL is only for FriendsOfShopware members.