You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@aurora.apache.org by "Mark Chu-Carroll (JIRA)" <ji...@apache.org> on 2014/07/14 19:50:04 UTC

[jira] [Created] (AURORA-581) Add lightweight hooks for mutating clientv1 commands.

Mark Chu-Carroll created AURORA-581:
---------------------------------------

             Summary: Add lightweight hooks for mutating clientv1 commands.
                 Key: AURORA-581
                 URL: https://issues.apache.org/jira/browse/AURORA-581
             Project: Aurora
          Issue Type: Task
          Components: Client
            Reporter: Mark Chu-Carroll
            Assignee: Mark Chu-Carroll


Aurora clientv2 commands currently support very flexible hooks which get used for a variety of purposes. One of the most popular usecases is as a safety-check mechanism: hooks can add extra safety checks to commands that mutate or kill aurora jobs. 

Unfortunately, these hooks are clientv2 only. Once we've got users transitioned to clientv2, that will be fine, but for now, clientv1 is acting as a backdoor to allow users to bypass hooks.

Cluster administrators should have the ability to prevent this, by applying some kind of hooks to the aurora commands that mutate jobs. At the same time, we don't want to provide the same level of support for hooks that we have in v2, so the v1 hooks should be simpler and lighter-weight, since they're  just a temporary stopgap.





--
This message was sent by Atlassian JIRA
(v6.2#6252)