msiAdmAddAppRuleStruct ( msParam_t *  irbFilesParam,
msParam_t *  dvmFilesParam,
msParam_t *  fnmFilesParam,
ruleExecInfo_t *  rei 
)
Description:
This is a microservice that reads the given file in the configuration directory 'server/config/reConfigs' and adds them to the Rule list being used by the Rule Engine. These Rules are loaded at the beginning of the core.irb file, and hence can be used to override the core Rules from the core.irb file (i.e., it adds application level IRB Rules and DVM and FNM mappings to the Rule engine).
Module:
core
Since:
pre-2.1
Author:
Arcot Rajasekar
Date:
2007-09
Note:
This microservice requires iRODS administration privileges.
Adds the given rules (irb) file and $-variable mapping (dvm) and microService logical microService logical name mapping (fnm) files to the working memory of the rule engine. Any subsequent rule or microServices will also use the newly prepended rules and mappings
Example Usage:
See clients/icommands/test/rules3.0/
Parameters:
[in] irbFilesParam - a msParam of type STR_MS_T, which is an application Rules file name without the .irb extension.
[in] dvmFilesParam - a msParam of type STR_MS_T, which is a variable file name mapping without the .dvm extension.
[in] fnmFilesParam - a msParam of type STR_MS_T, which is an application microService mapping file name without the .fnm extension.
[in,out] rei - The RuleExecInfo structure that is automatically handled by the rule engine. The user does not include rei as a parameter in the rule invocation.
Session Variables Used:
none
Session Variables Modified:
none
iCAT Attributes Used:
none
iCAT Attributes Modified:
none
Side Effect:
The rule engine's application ruleset and mappings get modified.
Returns:
integer
Return values:
0 on success
Precondition:
none
Postcondition:
none
See also:
msiAdmClearAppRuleStruct, msiAdmShowIRB, msiAdmShowDVM, msiAdmShowFNM

Definition at line 508 of file ruleAdminMS.c.

Generated on Mon Jun 25 14:02:15 2012 for iRODS Documentation by  doxygen 1.6.3