https://github.com/hydroshare/hsrules
iRODS Python rulesbase for Hydroshare
https://github.com/hydroshare/hsrules
Last synced: about 1 year ago
JSON representation
iRODS Python rulesbase for Hydroshare
- Host: GitHub
- URL: https://github.com/hydroshare/hsrules
- Owner: hydroshare
- License: bsd-3-clause
- Created: 2023-12-15T21:22:34.000Z (over 2 years ago)
- Default Branch: develop
- Last Pushed: 2023-12-15T22:07:36.000Z (over 2 years ago)
- Last Synced: 2025-01-27T22:47:58.132Z (over 1 year ago)
- Size: 6.84 KB
- Stars: 0
- Watchers: 10
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hsrules
## iRODS Python rulesbase for Hydroshare
### Installation
1. For iRODS < 4.3, configure `"maximum_number_of_concurrent_rule_engine_server_processes": 1` in the `advanced_settings` stanza of `/etc/irods/server_config.json`.
1. For iRODS >= 4.3, configure `"number_of_concurrent_delay_rule_executors": 1` in `/etc/irods/server_config.json`.
1. Ensure that the `irods_rule_engine_plugin-cpp_default_policy-instance` instance is the last rule engine configured in `/etc/irods/server_congfig.json` if present.
1. Install the iRODS Python Rule Engine plug-in (PRE) to the iCAT server.
1. Configure the PRE in `/etc/irods/server_config.json` as the first rule engine.
1. Clone this repo to `/etc/irods` on the iCAT server.
1. Copy `core.py.hydroshare` to `/etc/irods/core.py` from either python2 (iRODS < 4.3) or python3 (iRODS >= 4.3) as appropriate.
1. Edit `/etc/irods/core.py` to provide real world values for `hsRestUser`, `hsRestPwd`, and `hsRestURL`.