Use the Module Administration widget,
or the Module Properties and Policies widget,
to list policies and policy attachments.
Before you begin
- Deploy and configure the administration widgets.
- If administrative security is enabled for Business Space, then
enable application security.
- If you are responsible for creating a module that can use policies,
see: Creating modules that can use policies.
About this task
You can control service requests dynamically, by using policies
that allow you to override module properties at run time. Such policies
are sometimes referred to as
mediation policies and are
stored in WebSphere Service
Registry and Repository (WSRR). Each module can have one or more policies,
and each policy can override one or more module properties. Optionally,
policies can have one or more gate conditions. All of the gate conditions
must be met before an associated policy can be used.
Procedure
- Log on to Business Space.
- Open a Module Administration page. When you
install the feature pack and select the Administration feature, the
Extended Solution Management template is added. The Extended Solution
Management template can be used to create a Module Administration
business space.
- From the Module Browser widget, select Module
Policies. The Module Administration widget
is refreshed; if there are existing policy attachments they are displayed.
- If you have more than one WSRR definition, then select
the definition used by your module. If you change
the WSRR definition, the list of policy attachments changes.
- Click the pencil icon of the policy attachment that you
want to work with. Each policy attachment row has a pencil icon, at
the end of the row, that you can click to view policy information.
Results
The widget displays the following information:
- Assertions: The module properties that the policy can override.
In WSRR, the module properties appear as policy assertions.
- Group Name: The group to which the property belongs. By default,
the group name is the name of the mediation flow component.
- Property Name: The alias name of the property. The alias name
identifies the property in the mediation flow.
- Value: The current value in the policy, rather than the current
value in the module. When available, the policy value takes precedence
at run time. If a policy is not found, or is unsuitable, the run time
uses the promoted property value.
- Gate Conditions (Optional): Conditions that must be met before
the policy can be used. In WSRR, gate conditions are user properties
on the policy attachment object.
- Name: The name of a gate condition is always prefixed with the
string medGate_.
- Value: The value of the gate condition, for example, country
= "France" or Age > 59.