irods / irods_rule_engine_plugin_python

BSD 3-Clause "New" or "Revised" License
10 stars 14 forks source link

Implement support for non-`core.py` Python rulebases #226

Open SwooshyCueb opened 4 weeks ago

SwooshyCueb commented 4 weeks ago

We should implement support for non-core.py rulebases in PREP. There are several TODOs in the code for this, but I don't see an open issue.

trel commented 4 weeks ago

core.py has proven enough of a jumping off point...

and with only one way to do things... it's fewer configuration options to hold poorly.

so yes, if nothing else, we can remove the TODOs.

trel commented 4 weeks ago

Ah, if there are multiple instances... each instance could load a separate .py module.

But I think we should limit the config to only allow one file per instance... and still core.py if empty/undefined so it remains backwards compatible.