Skip to content

Conversation

@synqotik
Copy link
Contributor

@synqotik synqotik commented Jan 13, 2025

NMS-16582 may be caused by the fact that subAttribute and datsource are not correctly mapped in OPG v9 for Performance queries.

This fixes the mapping from the OPG query builder UI (Sub-Attribute) and also changes the name from subAttribute to datasource for the query to OpenNMS Measurements Rest API. It also fixes the dashboard converter to map it correctly.

Additionally, we use a Python script check_jsonschema to validate our src/plugins.json file during the Circle CI build process. The schema file we use has some Python-regex specific formulations like \\- and \\%. Needed to add --regex-variant python to account for this; apparently the default is not to use those Python-specific regex elements.

External References

@sonarqubecloud
Copy link

@synqotik synqotik merged commit 6d4f579 into release-9.x Jan 14, 2025
12 checks passed
@synqotik synqotik deleted the jira/OPG-493-fix-mapping-of-perfds-subattribute branch January 14, 2025 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants