[OpenNMS/opennms] 4b307f: NMS-20268: working interface picker, load-failure ...
joseanesONMS via opennms-cvs <[email protected]>
| Newsgroups | gmane.network.opennms.cvs |
|---|---|
| Message-ID | <OpenNMS/opennms/push/refs/heads/jira/NMS-20268-scheduled-outages/[email protected]> |
Branch: refs/heads/jira/NMS-20268-scheduled-outages
Home: https://github.com/OpenNMS/opennms
Commit: 4b307f8c2b1a15c527dc537122a78c1b52c27c16
https://github.com/OpenNMS/opennms/commit/4b307f8c2b1a15c527dc537122a78c1b52c27c16
Author: Jose Anes <[email protected]>
Date: 2026-08-28 (Fri, 28 Aug 2026)
Changed paths:
M opennms-base-assembly/src/main/filtered/etc/search-actions.xml
M opennms-webapp-rest/src/main/java/org/opennms/web/rest/v1/OutageApplicability.java
M opennms-webapp-rest/src/main/java/org/opennms/web/rest/v1/ScheduledOutagesRestService.java
M opennms-webapp-rest/src/test/java/org/opennms/web/rest/v1/ScheduledOutagesRestServiceIT.java
M opennms-webapp/src/main/webapp/admin/index.jsp
M ui/src/components/ScheduledOutages/NodeInterfacePicker.vue
M ui/src/components/ScheduledOutages/outageTime.ts
M ui/src/containers/ScheduledOutageEditor.vue
M ui/src/containers/ScheduledOutages.vue
M ui/src/services/scheduledOutagesService.ts
M ui/src/types/scheduledOutage.ts
A ui/tests/components/ScheduledOutages/AppliesToMatrix.test.ts
A ui/tests/components/ScheduledOutages/NodeInterfacePicker.test.ts
A ui/tests/components/ScheduledOutages/TimeSpanEditor.test.ts
A ui/tests/containers/ScheduledOutageEditor.test.ts
A ui/tests/containers/ScheduledOutages.test.ts
M ui/tests/services/scheduledOutagesService.test.ts
Log Message:
-----------
NMS-20268: working interface picker, load-failure guard, one-call list !smoke
Address the review blockers and findings:
The interface picker searched ipInterface.ipAddress with wildcards, which the
v2 API rejects (ipAddress is IP_ADDRESS-typed and root properties are bare),
so nothing was ever addable. Partial terms now search ipHostName==*term*, a
complete IP matches ipAddress exactly and is always offered itself, verified
against a running instance and pinned by service tests.
An unreadable existing outage no longer renders as an empty form whose Save
would whole-object-replace it: load failure is distinguished from "new" and
editing is disabled. The list derives all memberships from one name-less
applies-to call (the endpoint now exposes each package's outage calendars)
instead of one request per outage, shows node labels and addresses like the
legacy list, and surfaces delete/load failures. The confirms use
OnmsConfirmationDialog; the editor card content renders under OnmsCard's
content slot (it was silently dropped in the default slot); the admin page
and search-actions links point at the Vue page; test lint errors fixed and
container/component tests added.
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