SOA Governance and API Management : Run-time Governance with CentraSite : Run-Time Governance Reference : Computed Runtime Actions : Writing Your Own Computed Runtime Action : Setting up the Computed Action Plug-in
Setting up the Computed Action Plug-in
The following list shows the main methods on each of the two Java source files MyComputedRuntimeActionWidget.java and MyComputedRuntimeActionParser.java and describes the type of functions that they serve.
*The getPolicyActionJson method returns the JavaScript Object (JSO) from the given JSON-formatted string.
*The getActionInstance method returns a CentraSitePolicyActionInstance object from the given JSON-formatted string.
*The String getJson method returns a JSON-formatted string from the existing policy action instance.
*The boolean isValid() method enforces a validation logic for the user-defined rendering of the runtime action.
Assuming that you have set up all the Java files correctly in the directories, you should be able to build with the command:
ant -f build.xml jar all
Copyright © 2015- 2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback