irods / contrib

A pooled collection of community-contributed code that works alongside iRODS
BSD 3-Clause "New" or "Revised" License
13 stars 19 forks source link

[42] dashboard doesn't need to use audit_ namespace anymore #43

Closed trel closed 1 month ago

trel commented 2 months ago

confirmed dashboard works as before, but now without using the audit_ namespace - so... faster, less configuration, and easier to teach/understand.

trel commented 2 months ago

will do - thanks

trel commented 2 months ago

squashed and numbered. still to be confirmed hands-free...

alanking commented 2 months ago

I'll take a shot at confirmation, hopefully later today.

alanking commented 1 month ago

Just tried this out and everything seems to be working as expected. Here's my REP configuration:

        "rule_engines": [
            {
                "instance_name": "irods_rule_engine_plugin-irods_rule_language-instance",
                "plugin_name": "irods_rule_engine_plugin-irods_rule_language",
                "plugin_specific_configuration": {
                    "re_data_variable_mapping_set": [
                        "core"
                    ],
                    "re_function_name_mapping_set": [
                        "core"
                    ],
                    "re_rulebase_set": [
                        "data_to_compute",
                        "core"
                    ],
                    "regexes_for_supported_peps": [
                        "ac[^ ]*",
                        "msi[^ ]*",
                        "[^ ]*pep_[^ ]*_(pre|post|except|finally)"
                    ]
                },
                "shared_memory_instance": "irods_rule_language_rule_engine"
            },
            {
                "instance_name": "irods_rule_engine_plugin-audit_amqp-instance",
                "plugin_name": "irods_rule_engine_plugin-audit_amqp",
                "plugin_specific_configuration" : {
                     "amqp_location" : "ANONYMOUS@localhost:5672",
                     "amqp_topic" : "audit_messages",
                     "pep_regex_to_match" : "pep_(api|resource)_.*"
                 }
           },
            {
                "instance_name": "irods_rule_engine_plugin-cpp_default_policy-instance",
                "plugin_name": "irods_rule_engine_plugin-cpp_default_policy",
                "plugin_specific_configuration": {}
            }
        ]
    },
    "rule_engine_namespaces": [
        ""
    ],
trel commented 1 month ago

excellent. will # this one...

and make the slides do what you did there... and i think we're good. thanks.

trel commented 1 month ago

'd

alanking commented 1 month ago

Slides updated.