Page MenuHomeDevCentral

Production environment tests for Notifications center
Closed, ResolvedPublic

Description

rNOTIF14bf578bd526 has introduced php artisan config:show.

We should evaluate if the configuration is stable enough to be included in rOPS tests.

If so we can run docker exec <notifications instance> php artisan config:show and compare the output with what we have saved.

Event Timeline

Plan:

  • refactor config:show command to be only a controller to output a CLI view:
    • create a class to query configuration information
    • consume this class from the config:show code
  • offer a web view from the configuration as a JSON document
  • consider if it's more simple to offer a POST route to submit an expected config payload to answer VALID/INVALID instead
  • ensure we can easily detect "projects map is not cached" issue