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

Mutator Hooks #701

Closed
12 tasks
nikkictl opened this issue Dec 7, 2017 · 1 comment
Closed
12 tasks

Mutator Hooks #701

nikkictl opened this issue Dec 7, 2017 · 1 comment
Labels

Comments

@nikkictl
Copy link

nikkictl commented Dec 7, 2017

Extend hook functionality to mutators! A mutator hook will respond to mutator results in the same way that a check hook responds to check results. Response codes (HookList type) can range from “1”-“255” or can fall under one of the following severities: "ok", "warning", "critical", "unknown", "non-zero”. The owner of this ticket can, and probably should, explode out the suggested subtasks.

  • add a HookList to mutator.proto repeated HookList mutator_hooks
  • regenerate protobufs with scripts/genproto.sh
  • AddMutatorHook function in mutator backend
  • add_hook command in mutator cli
  • addMutatorHook route in mutator router
  • RemoveMutatorHook function in mutator backend
  • remove_hook command in mutator cli
  • removeMutatorHook route in mutator router
  • retrieve and store all Hooks associated with a mutator
  • execute mutator hooks upon receiving mutator result
  • implement the hook stdin at execution
  • corresponding validators, tests, etc.
@grepory
Copy link
Contributor

grepory commented Nov 23, 2018

We can revisit this idea if it's asked for.

@grepory grepory closed this as completed Nov 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants