[OpenNMS/opennms] 718fe1: NMS-20268: Migrate the Scheduled Outages page to V...

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: 718fe1964854b202a26af178ecb8f31e7b876103
      https://github.com/OpenNMS/opennms/commit/718fe1964854b202a26af178ecb8f31e7b876103
  Author: Jose Anes <[email protected]>
  Date:   2026-08-26 (Wed, 26 Aug 2026)

  Changed paths:
    A 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/main/webapp/WEB-INF/menu/menu-template-alt.json
    M opennms-webapp-rest/src/main/webapp/WEB-INF/menu/menu-template-default.json
    M opennms-webapp-rest/src/main/webapp/WEB-INF/menu/menu-template.json
    M opennms-webapp-rest/src/test/java/org/opennms/web/rest/v1/ScheduledOutagesRestServiceIT.java
    M smoke-test/src/test/java/org/opennms/smoketest/MenuHeaderIT.java
    A ui/src/components/ScheduledOutages/AppliesToMatrix.vue
    A ui/src/components/ScheduledOutages/NodeInterfacePicker.vue
    A ui/src/components/ScheduledOutages/ScheduledOutagesAbout.vue
    A ui/src/components/ScheduledOutages/TimeSpanEditor.vue
    A ui/src/components/ScheduledOutages/outageTime.ts
    A ui/src/containers/ScheduledOutageEditor.vue
    A ui/src/containers/ScheduledOutages.vue
    M ui/src/main/router/index.ts
    A ui/src/services/scheduledOutagesService.ts
    A ui/src/types/scheduledOutage.ts
    A ui/tests/components/ScheduledOutages/outageTime.test.ts
    A ui/tests/services/scheduledOutagesService.test.ts

  Log Message:
  -----------
  NMS-20268: Migrate the Scheduled Outages page to Vue UI

Replace the legacy admin/sched-outages JSP form with a Vue list page and
editor backed by the existing /rest/sched-outages API. The list shows each
outage's type, selection, time-span count, and which subsystems reference it;
the editor manages node/interface selection, the outage type and its time
spans, and the notifications/polling/thresholds/data-collection matrix.

The editor writes begins/ends in the exact wire formats the parser keys on by
length ('dd-MMM-yyyy HH:mm:ss' for specific, 'HH:mm:ss' for the recurring
types), reusing the node and IP-interface REST endpoints for autocomplete.
Membership is saved through the existing per-subsystem PUT/DELETE sub-resources,
diffed against what was loaded so only changes are written.

Adds one read-only endpoint, GET /sched-outages[/{name}]/applies-to, that
returns the notifd flag and every poller/collectd/threshd package flagged
applied/not, so the matrix renders from a single call instead of four config
reads. The name-less variant lists packages unapplied for a new outage.



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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.