FroshTools icon indicating copy to clipboard operation
FroshTools copied to clipboard

Add frosh-tools:health-check-json command

Open shyim opened this issue 10 months ago • 2 comments

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 HealthCheckJsonCommand class in src/Command/HealthCheckJsonCommand.php
    • Implement the Command class from Symfony\Component\Console\Command\Command
    • Inject health checkers in the constructor
    • Implement the execute method to collect health check results and return as JSON
    • Register the command with the name frosh-tools:health-check-json
  • Modify src/Resources/config/services.xml
    • Register the new HealthCheckJsonCommand class as a service

For more details, open the Copilot Workspace session.

shyim avatar Feb 06 '25 15:02 shyim

@frosh-automation create-instance

shyim avatar Feb 06 '25 15:02 shyim

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.

frosh-automation[bot] avatar Feb 06 '25 15:02 frosh-automation[bot]