Use the Mediation Policy Administration widget
to delete policy attachments and associated mediation policies in WebSphere® Service Registry
and Repository (WSRR).
Before you begin
- Use IBM Integration Designer to create a module containing a Policy
Resolution mediation primitive.
- Deploy the module to WebSphere Enterprise
Service Bus (WebSphere ESB)
or IBM Business Process Manager.
- Ensure that WebSphere ESB
or IBM Business Process Manager have a definition for the WSRR that
you want to use.
- In WSRR, load the enterprise archive (EAR) file containing your
module. Also, load the WSDL documents for the services that you want
to attach mediation policies to.
- Create a business space that contains the administration widgets
you need, including the Service Browser and Mediation
Policy Administration widgets.
About this task
You can control service requests dynamically by using
mediation policies to override module properties at run time. Such
mediation policies are stored in WSRR. You can define one or more
mediation policies for services used by your module, and each mediation
policy can override one or more module properties. Optionally, you
can create one or more gate conditions on each policy attachment.
When service requests are processed, gate conditions are compared
to the condition values in the message. All the gate conditions must
be met before an associated mediation policy can be used.
Procedure
- Log on to your business space and navigate to the space
that you created for administering services.
- From the Service Browser widget, if
the correct WSRR definition is not displayed select the correct WSRR
definition. If your application server has definitions
for more than one instance of WSRR, you can display the services that
are defined on each WSRR. The list of services
is refreshed.
- Select the level at which you want to delete a policy attachment
and associated mediation policies. You can attach a mediation
policy at the level of the service, endpoint, or operation. The Mediation Policy Administration widget
is refreshed. The following information is displayed:
- The name of the service, endpoint, or operation that you selected.
- The WSRR definition that you selected.
- Any policy attachments that exist for the service, endpoint, or
operation that you selected.
- Click the delete icon of the policy attachment that you
want to delete. Each policy attachment row has a cross
icon, at the end of the row, that you can click to delete the policy
attachment. You are asked if you want to delete
the policy attachment.
- Click OK.
Results
In WSRR, the policy attachment is deleted. Any associated
mediation policies are also deleted, unless they are being used by
another policy attachment.