This example configurable modifier actions file demonstrates the use of the all the action types.
<action-configuration
xmlns="http://www.ibm.com/xmlns/prod/serviceregistry/Actions"
name="example_action_configuration"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.ibm.com/xmlns/prod/serviceregistry/Actions ../schema/Actions.xsd">
<create-action>
<create-entity
model-type="http://www.ibm.com#EnterpriseApplication" />
<set-property name="Company" value="IBM" />
<set-classification uri="http://www.ibm.com/Commerce"/>
</create-action>
<delete-action target-query="/WSRR/PolicyDocument[@status='expired']" />
<transition-action
transition-uri="http://www.ibm.com/xmlns/prod/serviceregistry/6/0/Lifecycle#DeployToTest" />
<make-governable-action
uri="http://www.ibm.com/xmlns/prod/serviceregistry/6/1/Lifecycle#ApproveForUse"
target-query="/WSRR/WSDLService[@state='discovered'"] />
<remove-governance-action target-query="/WSRR/WSDLService[@version='0.9'"] />
<update-action
target-query="/WSRR/WSDLService[matches(@description,'.*inventory.*')]">
<set-relationship name="contains" target-query="//*[@name='StockControl']"/>
<remove-property name="status" />
<remove-relationship name="consumers">
<remove-type
target-match="all-of" target-query="/WSRR/GenericObject[@owner='test user']"/>
<remove-classification uri="http://www.ibm.com/Commerce" />
</remove-relationship>
</update-action>
</action-configuration>