Is your feature request related to a problem? Please describe.
I would like to be able to access functionality that I've created in a Microservice via the ScriptRunner.
Describe the solution you'd like
A Microservice can add functions to the API module's WHITELIST as follows:
I do believe this will have some issues with namespacing and need some additional logic in api.rb/script.rb to ensure the files are included and the methods added as proxies. However, I think this would be a pretty powerful addition to the ScriptRunner
We have the ability to add entirely new APIs running in microservices now. See: https://github.com/openc3/openc3-cosmos-cfdp for a great example. More documentation coming soon.
Is your feature request related to a problem? Please describe. I would like to be able to access functionality that I've created in a Microservice via the ScriptRunner.
Describe the solution you'd like A Microservice can add functions to the API module's WHITELIST as follows:
and this could be used in the ScriptRunner:
I do believe this will have some issues with namespacing and need some additional logic in
api.rb
/script.rb
to ensure the files are included and the methods added as proxies. However, I think this would be a pretty powerful addition to the ScriptRunner