-
Notifications
You must be signed in to change notification settings - Fork 896
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
[WIP] Automate Expression Methods #6655
Conversation
7171f9d
to
d6e5f79
Compare
d4cbdc5
to
57be733
Compare
13d0174
to
13ebdc8
Compare
<pr_mergeability_checker />This pull request is not mergeable. Please rebase and repush. |
<pr_mergeability_checker />This pull request is not mergeable. Please rebase and repush. |
12b8208
to
aaa9b44
Compare
<pr_mergeability_checker />This pull request is not mergeable. Please rebase and repush. |
Adding support for Expression Methods
Provided default arguments
Changed to use Rbac::Filterer::CLASSES_THAT_PARTICIPATE_IN_RBAC
690117d
to
a01abdd
Compare
Checked commits mkanoor/manageiq@3cfdab4~...a01abdd with ruby 2.2.5, rubocop 0.37.2, and haml-lint 0.16.1 app/controllers/application_controller/filter.rb
app/controllers/miq_ae_class_controller.rb
lib/miq_automation_engine/engine/miq_ae_expression_method.rb
spec/lib/miq_automation_engine/miq_ae_expression_method_spec.rb
|
<pr_mergeability_checker />This pull request is not mergeable. Please rebase and repush. |
Replaced by: |
Adding support for Expression Methods
Expression Methods allow you to use Advance Search Filters as Automate Methods, substituting the user_input from Automate Objects. The advantages of this approach is that the methods run directly in the worker and don't have the overhead of forking a DRb process to run the Automate Methods.
Inputs Arguments
or
Optional arguments
warn | error | abort
After the method ends
$evm.root['ae_result'] = 'ok' | 'error' | 'warn'