{"id":20358166,"url":"https://github.com/irods/irods_rule_engine_plugin_javascript","last_synced_at":"2026-05-29T21:31:18.043Z","repository":{"id":66171963,"uuid":"49745887","full_name":"irods/irods_rule_engine_plugin_javascript","owner":"irods","description":"Javascript iRODS Rule Engine Plugin","archived":false,"fork":false,"pushed_at":"2016-01-27T15:30:03.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-01-15T01:42:33.294Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/irods.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-01-15T21:28:18.000Z","updated_at":"2016-01-20T14:51:45.000Z","dependencies_parsed_at":"2023-04-21T18:02:05.853Z","dependency_job_id":null,"html_url":"https://github.com/irods/irods_rule_engine_plugin_javascript","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irods%2Firods_rule_engine_plugin_javascript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irods%2Firods_rule_engine_plugin_javascript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irods%2Firods_rule_engine_plugin_javascript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irods%2Firods_rule_engine_plugin_javascript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/irods","download_url":"https://codeload.github.com/irods/irods_rule_engine_plugin_javascript/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241895344,"owners_count":20038512,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T23:25:38.504Z","updated_at":"2025-12-02T00:02:54.628Z","avatar_url":"https://github.com/irods.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"Javascript iRODS Rule Engine Plugin\n===================================\n\nDependencies\n============\n\n- iRODS 4.2 or later\n- iRODS Development package (irods-dev)\n- iRODS Externals packages (Clang, Boost, etc.)\n\nBuild\n=====\n\n```\n$ make\n```\n\nThis will download and compile v8 from Google's Chrome project.\n\nThen it will build `libre-v8.so`.\n\nInstall\n=======\n\n```\n$ make install\n```\n\nThis will place the new `libre-v8.so` file into the correct location for\na standard iRODS installation (/var/lib/irods/plugins/re/) and update\nthe file ownership to match the iRODS server.\n\nTo activate the plugin, a stanza must be included in `/etc/irods/server_config.json`:\n\n```\n        {\n            \"instance_name\": \"re-v8-instance\",\n            \"plugin_name\": \"re-v8\"\n        },\n```\n\nNote that the ordering of the rule engine stanzas matters; the first rule engine\nplugin takes precedence.\n\nThe instance name can be changed; the namespace exists to allow for multiple\nidentical rule engine plugins to be installed concurrently (this conflicts with\nthe single rulebase limitation mentioned below).\n\nLimitation\n==========\n\nCurrently, this plugin only looks for a rulebase named `core.js`.\n\nExamples\n========\n\nIncluded are two files, `core.js` and `custom.re`.  Together, they demonstrate how\nto call across the rule engine plugins (and across languages).\n\n`acPostProcForPut` in `core.js` overloads the out-of-the-box iRODS policy enforcement\npoint of the same name and writes to the standard iRODS log file.  Then it calls\n`irodsFunc1` in `custom.re` which calls back to `jsFunc1` in `core.js` which\ndemonstrates some basic error handling after calling a function which has not\nbeen defined (`doesnotexist()`) in any rule base.\n\nContributors\n============\n\n- Hao Xu, @xu-hao - Initial code\n- Terrell Russell, @trel - Standardization, packaging, and documentation\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Firods%2Firods_rule_engine_plugin_javascript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Firods%2Firods_rule_engine_plugin_javascript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Firods%2Firods_rule_engine_plugin_javascript/lists"}