...
Attribute | Description | Type | Default Value | Fixed Values | Mandatory/Optional | Notes |
---|---|---|---|---|---|---|
name | Transition Validators, Transition Executors, Transition User Interfaces and Transition Scripts are one of many well-defined extension points supported by the WSO2 Governance Registry. Read more on Supported Extension Points for a complete list of extension points supported by WSO2 Governance Registry. The user can define only one such element of each kind, since the underline implementation will ignore multiple elements and take only one into consideration. |
|
Sample Implementations
...
<item>
Anchor | ||||
---|---|---|---|---|
|
XML Syntax | <item name="" forEvent=""/> |
---|---|
Description |
|
Type | |
Default Value | |
Fixed Values | |
Mandatory/Optional |
...
Attribute | Description | Type | Default Value | Fixed Values | Mandatory/Optional | Notes |
---|---|---|---|---|---|---|
name | Defines the name of the check item. Governance Registry allows to define check items for each transition. | |||||
forEvent | Defines whether the check item is required for a specific transition. A check item can be required for more than one event, in which case, a user can give a comma (",") separated list for the forEvent attribute. | Null : Keeping the forEvent attribute empty means that a specific check item is not required for any transition event. |
Sample Implementations
...
<permissions>
Anchor | ||||
---|---|---|---|---|
|
...
This element doesn't have any attributes.
...
<permission>
Anchor | ||||
---|---|---|---|---|
|
...
Attribute | Description | Type | Default Value | Fixed Values | Mandatory/Optional | Notes |
---|---|---|---|---|---|---|
roles |
Sample Implementations
...
<validations>
Anchor | ||||
---|---|---|---|---|
|
...
This element doesn't have any attributes.
...
<validation>
Anchor | ||||
---|---|---|---|---|
|
...
Attribute | Description | Type | Default Value | Fixed Values | Mandatory/Optional | Notes |
---|---|---|---|---|---|---|
forEvent | Defines the event for which this validation should be performed. This gives user the flexibility to define validations for each event. The user has the ability to define validations for check items, which makes it easy to validate different things at different levels. | |||||
class | Defines the class that needs to be executed at runtime to perform the validation. A user must give the full, qualified name of a class that implements the CustomValidations interface, as the value of the attribute class . |
Sample Implementations
...
<parameter>
Anchor | ||||
---|---|---|---|---|
|
...
Attribute | Description | Type | Default Value | Fixed Values | Mandatory/Optional | Notes |
---|---|---|---|---|---|---|
name |
| |||||
value |
Sample Implementations
...
<js>
Anchor | ||||
---|---|---|---|---|
|
XML Syntax | |
---|---|
Description | Governance Registry lifeCycle configuration has the ability to allow JavaScript functions to execute on both the server side and the client side. The |
Type | |
Default Value | |
Fixed Values | |
Mandatory/Optional |
...
Attribute | Description | Type | Default Value | Fixed Values | Mandatory/Optional | Notes |
---|---|---|---|---|---|---|
forEvent | Defines the transition action where this JavaScript function needs to be executed. |
Sample Implementations
...
<console>
Anchor | ||||
---|---|---|---|---|
|
...
Attribute | Description | Type | Default Value | Fixed Values | Mandatory/Optional | Notes |
---|---|---|---|---|---|---|
function | Defines the name of the function which will be executed at a transition from one state to another. |
Sample Implementations
...
<script>
Anchor | ||||
---|---|---|---|---|
|
...
Attribute | Description | Type | Default Value | Fixed Values | Mandatory/Optional | Notes |
---|---|---|---|---|---|---|
type |
| Set to text/javascript because, at the time of this writing, Governance Registry only supports JavaScript as a scripting language. |
Sample Implementations
...
<server>
Anchor | ||||
---|---|---|---|---|
|
...
Attribute | Description | Type | Default Value | Fixed Values | Mandatory/Optional | Notes |
---|---|---|---|---|---|---|
function |
|
Sample Implementations
...
<Execution>
Anchor | ||||
---|---|---|---|---|
|
...
Attribute | Description | Type | Default Value | Fixed Values | Mandatory/Optional | Notes |
---|---|---|---|---|---|---|
forEvent | Defines the event for which this execution should be performed. This gives user the flexibility to define executions for each event. | |||||
class | Defines the class that needs to be executed at runtime. A user must give the full, qualified name of a class that implements the Execution interface, as the value of the attribute class . |
Sample Implementations
...
<Execution>
Anchor | ||||
---|---|---|---|---|
|
...
Attribute | Description | Type | Default Value | Fixed Values | Mandatory/Optional | Notes |
---|---|---|---|---|---|---|
forEvent | Defines the event for which this execution should be performed. This gives user the flexibility to define executions for each event. | |||||
class | Defines the class that needs to be executed at runtime. A user must give the full, qualified name of a class that implements the Execution interface, as the value of the attribute class . |
Sample Implementations
...
<ui>
Anchor | ||||
---|---|---|---|---|
|
XML Syntax | <ui forEvent="" href=""/> |
---|---|
Description | A UI element is a mechanism to associate a user interface with a particular event during a given transition. This provides a convenient way for a user to pass input that would be utilized when performing a transition. |
Type | |
Default Value | |
Fixed Values | |
Mandatory/Optional |
...
Attribute | Description | Type | Default Value | Fixed Values | Mandatory/Optional | Notes |
---|---|---|---|---|---|---|
forEvent | Defines the event for which this UI will be presented. | |||||
href | Defines the hyperlink that will be opened and presented to the user, when a lifecycle operation is performed from the Management Console. |
Sample Implementations
...
<transition>
Anchor | ||||
---|---|---|---|---|
|
...
Attribute | Description | Type | Default Value | Fixed Values | Mandatory/Optional | Notes |
---|---|---|---|---|---|---|
event | Defines the transition event name, for example, to "Promote" or "Demote" or any name that the user specifies. | |||||
target | Defines the target state of the transition. |
Sample Implementations
Excerpt | ||
---|---|---|
| ||
The description of lifeCycle configuration model and its elements. |