Per summary, provide a mechanism for administrators to inject code into the Automate sandbox.
This could be as simple as two text boxes, globally, for additional code to prepend and append code to ./lib/miq_automation_engine/engine/drb_remote_invoker.rb
Bare code may be a bad idea (and thus no reason for appending code, either), though I'm not sure if this could be validated.
Please offer feedback on the PR, it accommodates your request
Kinda curious how this will log e.g. line numbers from the combined sandbox script.
Core functionality seems what I want.
New commit detected on ManageIQ/manageiq-automation_engine/master:
Author: mkanoor <firstname.lastname@example.org>
AuthorDate: Fri May 5 12:12:04 2017 -0400
Commit: mkanoor <email@example.com>
CommitDate: Fri May 5 12:12:04 2017 -0400
Added support for embedded methods
.../engine/miq_ae_engine/drb_remote_invoker.rb | 27 ++++--
.../engine/miq_ae_engine/miq_ae_method.rb | 40 ++++++++-
spec/engine/miq_ae_method_spec.rb | 97 +++++++++++++++++++++-
3 files changed, 151 insertions(+), 13 deletions(-)