Runtime Service Settings
Specifies the root element for the Rule Execution Service configuration section and contains configuration elements that control how the Rule Execution Service behaves.
inrule.runtime.service Config Section/AppSettings
Sub Section |
Setting Name |
AppSettings Key |
Description |
runtime |
catalogServiceUri |
inrule:runtime:service: catalog:catalogServiceUri |
(string) URI to the irCatalog Service. Default is empty string. |
userName |
inrule:runtime:service: catalog:userName |
(string) User name to be used when authenticating against irCatalog, if credentials were not passed to irServer Rule Execution Service. Only supported by the REST Endpoint. Default is empty string. |
|
password |
inrule:runtime:service: catalog:password |
(string) Password to be used when authenticating against irCatalog, if credentials were not passed to irServer Rule Execution Service. Only supported by the REST Endpoint. Default is empty string. |
1. Locate the config file in the root of your irServer Rule Execution Service installation.
2. Navigate to the appSettings section
3. Add the key value pairs for catalogServiceUri, userName and password.
Example:
<appSettings>
<add key="inrule:runtime:service:catalog:catalogServiceUri" value="http://localhost/InRuleCatalogService/Service.svc"/>
<add key="inrule:runtime:service:catalog:userName" value="userName"/>
<add key="inrule:runtime:service:catalog:password" value="password"/>
</appSettings>
OR
1. Locate the config file in the root of your irServer Rule Execution Service installation.
2. Navigate to the inrule.runtime.service configuration element.
3. Add the catalogServiceUri, userName and password attributes to the runtime element.
Example:
<configuration>
<configSections>
<section name="inrule.runtime.service" type="InRule.Runtime.Service.Configuration.RuntimeServiceConfigSectionHandler, InRule.Runtime.Service" />
...
</configSections>
...
<inrule.runtime.service>
<catalog catalogServiceUri="http://localhost/InRuleCatalogService/Service.svc"
userName="userName"
password="password" />
</inrule.runtime.service>
...
</configuration>
The irServer Rule Execution Service supports storing irCatalog credentials in the config file for use by irServer's REST endpoint. These credentials are used only when no credentials (Username / Password or Single Sign-On) are specified in the request. Note: This is supported only for the irServer Rule Execution Service REST Endpoint.
Comments
0 comments
Please sign in to leave a comment.