yeti-web icon indicating copy to clipboard operation
yeti-web copied to clipboard

config to control the behavior of the CallsMonitoring job

Open Ivanov-Anton opened this issue 1 year ago • 2 comments

Description

add config to control the behavior of the CallsMonitoring job

introduces new configuration options in yeti_web.yml to control the behavior of the CallsMonitoring job when dealing with disabled customer authentication and both origination/termination gateways:

- calls_monitoring.teardown_on_disabled_customer_auth
- calls_monitoring.teardown_on_disabled_term_gw
- calls_monitoring.teardown_on_disabled_orig_gw

The CallsMonitoring class has been updated to use these configurations in the relevant methods. If the configs are not present, the current flow should not be changed.

Additional links

closes #1526

Ivanov-Anton avatar Aug 09 '24 14:08 Ivanov-Anton

@dmitry-sinina this PR is ready to code review

Ivanov-Anton avatar Aug 12 '24 18:08 Ivanov-Anton

@dmitry-sinina this PR is ready to code review

Ivanov-Anton avatar Aug 15 '24 05:08 Ivanov-Anton

@senid231 just appliyed your last suggestion.

Ivanov-Anton avatar Aug 19 '24 11:08 Ivanov-Anton

new config variables should be described there:

https://github.com/yeti-switch/yeti-web/blob/master/config/initializers/_config.rb#L25

dmitry-sinina avatar Aug 24 '24 11:08 dmitry-sinina

just appliyed your last suggestion

Ivanov-Anton avatar Sep 03 '24 15:09 Ivanov-Anton