Configuring WebSphere Enterprise Service Bus policy support

The WebSphere® Enterprise Service Bus policy support is available when using the governance enablement profile. In this case you do not have to configure the support.

Before you begin

You must have loaded and activated the governance enablement profile.

About this task

For an existing profile, perform these steps.

Procedure

  1. Update the Policy Classifications in WSRR.
    1. Select Configuration in the Perspective list.
    2. Click Active Profile > Classification Systems
    3. Select the check box next to Policy Classifications and click Export.
    4. Select a location to save the file, select Save file and click OK.
    5. Edit the file you have saved and insert the following before the closing </rdf:RDF> element at the end of the file:
      <owl:Class
        rdf:about="http://www.ibm.com/xmlns/prod/serviceregistry/6/2/policytaxonomy/PolicySchema">
        <rdfs:comment>This class defines a policy domain schema definition.</rdfs:comment>
        <rdfs:label>Policy Schema</rdfs:label>
      </owl:Class>
      <owl:Class
        rdf:about="http://www.ibm.com/xmlns/prod/serviceregistry/6/2/policytaxonomy/WESBMediationDomain">
        <rdfs:label>Websphere Enterprise Service Bus Mediation Policy Domain</rdfs:label>
        <rdfs:comment>Policy domain specifying WESB mediation policies.</rdfs:comment>
        <rdfs:subClassOf
          rdf:resource="http://www.ibm.com/xmlns/prod/serviceregistry/6/2/policytaxonomy/PolicyDomain"/>
      </owl:Class>
    6. Select the check box next to Policy Classifications and click Delete.
    7. Click Load Classifications System.
    8. Click Browse then select the file that you exported and edited, and click Open.
    9. Click OK.
  2. Enable the WebSphere Enterprise Service Bus policy support validator in WSRR.
    1. Select Configuration in the Perspective list.
    2. Click Active Profile > Validators
    3. Click the Validation properties plug-in (ValidationProperties) link in the main window.
    4. Add the following to the end of the line starting with validators= (separated with a comma)
      com.ibm.ws.wspolicy.dd.validator.DynamicDomainValidator
    5. Click OK.
  3. Enable the WebSphere Enterprise Service Bus policy support modifier in WSRR
    1. Select Configuration in the Perspective list.
    2. Click Active Profile > Validators.
    3. Click the Validation properties plug-in (ValidationProperties) link in the main window.
    4. Add the following to the end of the line starting with modifiers= (separated with a comma)
      com.ibm.ws.wspolicy.dd.modifier.DynamicDomainModifier
    5. Click OK.
  4. Update the ModuleDetailViewDefinition.xml view definition file.
    1. Select Configuration in the Perspective list.
    2. Click Active Profile > Web UI Configuration > Detail Views.
    3. Select the item ModuleDetailViewDefinition in the main window (this might be on another page other than the first).
    4. Insert the following before the closing </detail-view-definition> element at the end of the file
      <tab-definition tab-name="policy" tab-action="SCAModulePolicyDetail">
      	<tab-title-message message-key="detail.policy"/>
      	<general-properties>
      		<heading-message message-key="detail.view.policy"/>
      	</general-properties>
      </tab-definition>
    5. Click OK.