CAST automatically applies tags to certain structural rules via the Quality Standards Mapping extension, however, it is also possible to manually inject custom tags, apply them to specific structural rules and then exploit these custom tags in either the Engineering or Health Dashboard via a Custom Tile.
Dashboards ≥1.11.0 must be used.
When injecting into AED (i.e. Dashboard Service schema), the Quality Standards Mapping extension MUST be installed otherwise the required column in the aed_quality_tags_doc table does not exist. However, provided that the extension is installed, a schema from any release of AIP can be used.
When injecting into AAD (i.e. Measurement Service schema), all that is required is that a schema from AIP ≥ 8.3.15 MUST be used. The Quality Standards Mapping extension is not required.
Tags are injected using CURL with the following syntax:
|-X PUT||Use this to tell CURL to use a PUT instead of a GET (default action)|
|--header||This specifies that the uploaded content will be in CSV format.|
|--user username:password||You need to authenticate with the dashboard. Enter your dashboard credentials - i.e. username/password.|
Enter the path to the .CSV file containing your custom tags and corresponding rule IDs - avoid paths with white space in them. For example:
The .CSV file should be formatted with an initial header line containing the Rule ID;Tag pair and then each following line is a rule ID and your tag:
|URL to CAST dashboard|
Use the following URL format:
Change the following to your own environment:
The removal process involves running a CURL command with a DELETE request. The .CSV file contains the Rule ID;Tag pairing for the tags you want to remove.
Exploiting custom tags
Once the custom tags have been injected for the structural rules you require, you can then create a custom tile(s) in the Engineering or Health Dashboard to show the number of critical/non-critical violations for the rules that have been assigned the custom tag.
See the following documentation for more information: