CAST Engineering Dashboard - Quality Rule - Missing Quality Rule - Missing diag for Perl technology
Description
This page explains the cause of Perl rules not firing on dashboard and provides a solution for the same.
Observed in CAST AIP
| Release | Yes/No |
|---|---|
| 8.3.x | ✅ |
| 8.2.x | ✅ |
| 8.1.x | ✅ |
| 8.0.x | ✅ |
| 7.3.x | ✅ |
| 7.2.x | ✅ |
| 7.0.x | ✅ |
Observed on RDBMS
| RDBMS | Yes/No |
|---|---|
| Oracle Server | ✅ |
| Microsoft SQL Server | ✅ |
| CSS2 | ✅ |
| CSS1 | ✅ |
Step by Step Scenario
- Configure a Perl UA job
- Run analysis & generate snapshot
- Launch dashboard & check that none of the Perl rules have been triggered.
Action Plan
The reason for this problem is that the Perl Language Pack had references to procedure ADG_CENTRAL_RESULT_STD which does not exist in the KB/CB after 7.0.x, it has been replaced with ADG_CENTRAL_RESULT_DIAG .Hence, in custom language packs developed for CAST AIP 6.4.x, references to the stored procedure ADG_CENTRAL_RESULT_STD (in either the metric tree XML file injected by CAST Server Manager or in the Assessment Model PMX file) must be replaced by references to the stored procedure ADG_CENTRAL_RESULT_DIAG when adapting the language pack for use with CAST AIP 7.0.x (or higher) to solve the problem.
As a workaround you follow the below steps :
Run the below query on CB and KB
update DSS_METRIC_VALUE_TYPES set METRIC_VALUE_PROCEDURE_NAME_2 = ‘ADG_CENTRAL_RESULT_DIAG’ where METRIC_VALUE_PROCEDURE_NAME_2 = ‘ADG_CENTRAL_RESULT_STD’ and METRIC_ID in (select METRIC_ID from DSS_METRIC_TYPES where METRIC_GROUP = 1)
2. re-generate snapshot by skipping analysis.
**Impact on Analysis Results and Dashboard**
The Perl rules are visible on dashboard after applying the solution.
**Notes/comments**
The solution is planned to be documented in doc.castsofware.com in 7.2.5
**Related Pages**