Skip to content

NMS-20128: PrimeVue Manage Minions page - #8727

Open
joseanesONMS wants to merge 1 commit into
developfrom
jira/NMS-20128-minions
Open

NMS-20128: PrimeVue Manage Minions page#8727
joseanesONMS wants to merge 1 commit into
developfrom
jira/NMS-20128-minions

Conversation

@joseanesONMS

Copy link
Copy Markdown

Migrates the Manage Minions admin page from the legacy AngularJS list to a PrimeVue /ui screen. Reuses the existing /api/v2/minions REST unchanged — no backend, model, or schema change.

  • The menu entry is repointed to the new page and gated to ROLE_ADMIN; MenuHeaderIT is updated to assert the new page.
  • Edit is read-before-write (GET then PUT) so server-maintained status, version, and last-seen survive an edit, and unexposed minion properties round-trip.
  • The ID column links to the minion's auto-created requisition node via the same foreignId lookup the legacy page used.
  • The table adds column sort, a client-side global search, loading/empty/error states, and a refresh button.
  • The list fetch is bounded (2,000) with a "showing first N" note rather than an unbounded fetch; search and paging are client-side, which suits the small minion counts.
  • Delete treats an already-removed minion (404) as success.
  • Component, service, store, and container tests are added.

Migrates the legacy AngularJS minions page to a PrimeVue /ui page over the
existing v2 /api/v2/minions CRUD — no backend or JSON contract change, and
the v1 REST stays. Table of minions (id, label, location, type, status,
version, last updated, property count) with edit and delete; the editor
changes label, location and the key/value properties (with duplicate-key
validation) while the server-maintained fields round-trip via spread, and
delete confirms and warns about re-registration. The menu entry points at
the new page.
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.

1 participant