Skip to content

main-2295

@lewischen-aot lewischen-aot tagged this 08 Apr 16:10
- Setting `is_active` to `false` on `sims.queue_configurations` allows
the queue-consumers application to start nicely.
- Changed the code for creating queues and ensured that 
  - the inactive, scheduler queues will not be loaded, and
  - the Bull Dashboard will no longer display it.
- Non-schedulers queues will not be affected by the `is_active` flag for
now.

Example:
- Disable queues with "part-time" prefix and
"start-application-assessment" queues
  - `part-time-e-cert-integration`
  - `part-time-feedback-integration`
  - `part-time-msfaa-process-integration`
  - `part-time-msfaa-process-response-integration`
- "start-application-assessment" queue should still be running because
it is a non-scheduler queue.
- All the queues with the "part-time" prefix will not be running as they
are scheduler queues.

Screenshot of having queues with "part-time" prefix and
"start-application-assessment" queues
 disabled:

![image](https://github.com/bcgov/SIMS/assets/148148914/f6f0cf36-bb4e-4747-bfc4-51f3d593b494)

Screenshot of the "start-application-assessment" queue is running on
Bull Dashboard:

![image](https://github.com/bcgov/SIMS/assets/148148914/490e90a8-6aad-4667-9f2c-31106eddb677)

Screenshot of the queues with "part-time" prefix not displaying on Bull
Dashboard:

![image](https://github.com/bcgov/SIMS/assets/148148914/0d8f2aba-a632-474e-a3d9-f9abbe3577af)

Screenshot of the queues with "part-time" prefix not running (is
inactive) on Docker Logs:
![Screenshot 2024-04-04
101614](https://github.com/bcgov/SIMS/assets/148148914/383e7f80-2ef2-426d-9733-659eaa4041e2)
Assets 2
Loading