Activating the Computed Action
After you define the computed action as a plug-in (extension point) with the above steps, enable the computed action in the Business UI configuration file centrasite.xml in order to display the action in the policy accordion.
Important: | Remember that the action parameters defined in the configuration file are editable and cannot be protected. |
To activate the plug-in
1. Open the centrasite.xml file.
The configuration file is located in the cast\cswebapps\BusinessUI\system\conf directory.
2. Navigate to the property lines <UIProperties> -> <Extensions> -> <PolicyActions>
3. Append the property statement for your custom computed runtime action (MyComputedRuntimeAction) as below:
<PolicyActions>
<PolicyAction id="uddi:44e3e2de-064c-432f-b67a-8fbca0fb04d6"
class="com.softwareag.centrasite.bui.extension.service.
MyComputedRuntimeActionParser" />
</PolicyActions>
wherein,
Parameter | Description |
id | A unique identifier for the computed action. It uniquely distinguishes an action in the CentraSite registry. If you wish to reconfigure the action at a later stage, you identify the action using this id. |
class | A parser implementation for the computed action. |
4. Save and close the configuration file.
5. Restart Software AG Runtime.