A gate is a mechanism in Parasoft for measuring compliance with one or more policies at a specific point in time. This DTP Workflow shows the policy compliance status for a project and gate so that development managers can decide whether to proceed to the next phase of the SDLC. You can add multiple instances of the widget to your dashboard and configure them to show the compliance status for each gate you may have configured in Policy Center. This provides an at-a-glance view of the overall policy compliance for the project.
Policy Center is deprecated
Policy Center, as well as extensions for Policy Center, is deprecated in 5.4.2 and will reach its end of life in a future release.
In this chapter:
Requirements
- Parasoft DTP and Enterprise Pack 5.4.2
- One or more Policy Center Practices installed, deployed, and configured. See the documentation for the following artifacts:
Installing and Deploying the Artifact
- Download and install the artifact as described in Downloading and Installing Artifacts.
- Click the Services tab and choose a category for importing the artifact. We recommend importing the Policy Center Gate Summary Widget to the DTP Workflows category.
- Choose an existing flow or create a new flow and choose Import> Library> Workflows> Policy Center Gate Summary Widget> Policy Center Gate Summary Widget from the actions menu.
- Click Deploy.
Widget Configuration
In DTP, add the Policy Center Gate Summary Widget to your dashboard as described in Adding Widgets. The widget is added to the Policies category by default.
You can configure the following settings:
Title | Click in the Title field to enter a new title for the widget. |
---|---|
Project | Choose a project from the drop-down menu that has policies and gates defined in Policy Center. The project list only shows projects that have gates. |
Gate | Choose a gate to point to from the drop-down menu. Gates are configured in Policy Center. See Defining Gates. |
Exploring the Results
The Policy Center Gate Summary Widget is a "donut-style" widget with each segment representing a policy.
If the project is in compliance with the defined policy for the selected gate, a green segment will be shown.
Some policies allow you specify an unstable status, which are shown in yellow.
If the project is not in compliance with the minimum threshold for the policy, a red segment is shown.
You can mouseover a segment to view the details.
Click on the widget to open the gate in Policy Center and view additional details.