[OpenNMS/opennms] fd524f: NMS-20126: fix status-list JSON keys and the map's...
joseanesONMS via opennms-cvs <[email protected]>
| Newsgroups | gmane.network.opennms.cvs |
|---|---|
| Message-ID | <OpenNMS/opennms/push/refs/heads/jira/NMS-20126-parity-panels/[email protected]> |
Branch: refs/heads/jira/NMS-20126-parity-panels
Home: https://github.com/OpenNMS/opennms
Commit: fd524f6e78af16b4a2c8389e2bd879e41a42cd97
https://github.com/OpenNMS/opennms/commit/fd524f6e78af16b4a2c8389e2bd879e41a42cd97
Author: Jose Anes <[email protected]>
Date: 2026-09-02 (Wed, 02 Sep 2026)
Changed paths:
M ui/src/components/Dashboard/filter.ts
M ui/src/components/Dashboard/panels/RegionalMapPanel.vue
M ui/src/services/statusService.ts
M ui/tests/components/Dashboard/filter.test.ts
M ui/tests/services/statusService.test.ts
Log Message:
-----------
NMS-20126: fix status-list JSON keys and the map's node filter clause !smoke
The business-service and application status lists read the singular keys
`businessservice`/`application`, but the DTO lists serialize their arrays
as `businessservices`/`applications` (the singular names are only the XML
element names), so both panels always showed all-clear. The service now
reads the plural keys and the test mocks the real shape.
The shared dashboard filter emitted `node.id==N` for every entity, which
is valid where the node is an alias (alarms, outages) but unmapped on
/api/v2/nodes, where the id is the root property; the regional map's node
query 500'd whenever a category was selected. The clause builder now takes
the node-id property, and the map queries nodes with `id` and alarms with
`node.id`.
To unsubscribe from these emails, change your notification settings at https://github.com/OpenNMS/opennms/settings/notifications
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/wiki/index.php?page=MailingListFaq
opennms-cvs mailing list
To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-cvs