irods-contrib / metalnx-web

Metalnx Web Application
https://metalnx.github.io/
BSD 3-Clause "New" or "Revised" License
36 stars 36 forks source link

[#175] Gallery view / thumbnail info retrieval (traditional and policy-composed rule invocation) #225

Closed korydraughn closed 3 years ago

korydraughn commented 3 years ago

gallery_view.rule_engine_plugin.instance_name must be defined in metalnx.properties for this code to work.

This property must be set to the name of the rule engine plugin instance that will be responsible for executing the rule.

korydraughn commented 3 years ago

This commits could be squashed.

trel commented 3 years ago

If they don't have gallery_view.rule_engine_plugin.instance_name defined... then... what happens?

Can it be set to irods_rule_engine_plugin-irods_rule_language-instance by default?

korydraughn commented 3 years ago

I will look into default values. Right now, I believe the thumbnail request fails and logs an exception.

trel commented 3 years ago

okay. we should also update the template/example to include this setting.

trel commented 3 years ago

i updated this to be atop the original PR (now just two commits)... so make sure you fetch this and rebase again.