Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[4.3] acdc - PISTON-1112: fix validation of agent pause timeout/time-limit #6617

Conversation

danielfinke
Copy link
Member

  • schema validates system_config.acdc default_agent_pause_timeout for non-negative integers or the "infinity" special string
  • refactored out ?DEFAULT_AGENT_PAUSE_TIMEOUT into shared header
  • fixed acdc_maintenance expecting integer, despite possibility of <<"infinity">> value
  • moved Time-Limit validation in kapi_acdc_agent into PAUSE_* macros rather than AGENT_*

- schema validates system_config.acdc default_agent_pause_timeout for
  non-negative integers or the "infinity" special string
- refactored out ?DEFAULT_AGENT_PAUSE_TIMEOUT into shared header
- fixed acdc_maintenance expecting integer, despite possibility of
  <<"infinity">> value
- moved Time-Limit validation in kapi_acdc_agent into PAUSE_* macros
  rather than AGENT_*
- the rule *.log* in the root gitignore ignored these files :/
- remove Time-Limit from these schemas
- retain support for using default by omitting `"timeout"` from pause
  API reqs
jamesaimonetti pushed a commit that referenced this pull request Sep 22, 2020
- schema validates system_config.acdc default_agent_pause_timeout for
  non-negative integers or the "infinity" special string
- refactored out ?DEFAULT_AGENT_PAUSE_TIMEOUT into shared header
- fixed acdc_maintenance expecting integer, despite possibility of
  <<"infinity">> value
- moved Time-Limit validation in kapi_acdc_agent into PAUSE_* macros
  rather than AGENT_*

PISTON-1119: add incorrectly gitignored kapi.acdc_agent schemas

- the rule *.log* in the root gitignore ignored these files :/
- remove Time-Limit from these schemas

PISTON-1122: Time-Limit should be optional in agent.pause AMQP events

- retain support for using default by omitting `"timeout"` from pause
  API reqs
@jamesaimonetti
Copy link
Member

merged

@danielfinke danielfinke deleted the pr-PISTON-1112-fix-validation-of-agent-pause-timeout branch September 23, 2020 00:53
kageds pushed a commit to kageds/kazoo that referenced this pull request Sep 24, 2020
…#6617)

- schema validates system_config.acdc default_agent_pause_timeout for
  non-negative integers or the "infinity" special string
- refactored out ?DEFAULT_AGENT_PAUSE_TIMEOUT into shared header
- fixed acdc_maintenance expecting integer, despite possibility of
  <<"infinity">> value
- moved Time-Limit validation in kapi_acdc_agent into PAUSE_* macros
  rather than AGENT_*

PISTON-1119: add incorrectly gitignored kapi.acdc_agent schemas

- the rule *.log* in the root gitignore ignored these files :/
- remove Time-Limit from these schemas

PISTON-1122: Time-Limit should be optional in agent.pause AMQP events

- retain support for using default by omitting `"timeout"` from pause
  API reqs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants