Software AG Products 10.7 | Integrating On-Premises and Cloud Applications | Administering CloudStreams | webMethods CloudStreams Documentation | webMethods CloudStreams Development | CloudStreams Governance Project | Policies | Create a New Policy Wizard
 
Create a New Policy Wizard
To open the New Policy wizard:
1. Open Designer and display the CloudStreams Development perspective.
2. In the CloudStreams Governance view, expand your CloudStreams Governance project folder, right-click the Policies folder and click New Policy.
Project
The CloudStreams Governance project in which you are creating the policy.
Name
Assign a name for the policy. A policy name can contain any character (including spaces).
Note:
If you want to change the policy name after it has been created, right-click the policy name in the Policies folder and select Rename.
Service Type
Specify whether the policy will be applied to a virtual service or to a connector virtual service.
Description
Optional. A description for the policy. This description appears when a user displays a list of policies in the user interface.
Criteria
Click “Next” to apply the policy to services that meet certain criteria.
In the next dialog box, specify the criteria as follows:
1. In the Criteria field, specify a value (SOAP or REST) for the Service Type attribute. That is, specify whether the policy should apply to all SOAP services or all REST services.
2. Click the plus button next to the Criteria field to add a new row, and choose another criteria attribute (Name or Description) and choose an operator and value for it. For example, specify whether the policy should apply to all SOAP services that equals, starts with or contains the prefix Abc_.
3. Repeat step 2 if desired to specify additional criteria.
4. If you specify multiple criteria, use the Condition field to connect the criteria by the AND or OR operator. The default operator is AND.
Note:
If you do not specify any criteria, the policy will apply to all virtual services.
CAUTION:
CloudStreams checks for policy conflicts when you deploy a virtual service. If the service has only one policy applied to it (e.g., the policy you are applying here), that policy is deployed to CloudStreams, and CloudStreams executes the policy's run-time actions in the order in which they are specified in the policy. However, if the service already has another policy applied to it, a policy conflict might occur. A policy conflict might have unintended consequences. CloudStreams will warn you of policy conflicts. For more information, see the section What Happens When You Deploy a Service? in the document Administering webMethods CloudStreams.