Skip to content

NMS-20131: PrimeVue Manage Surveillance Categories page - #8729

Open
joseanesONMS wants to merge 1 commit into
developfrom
jira/NMS-20131-surveillance-categories
Open

NMS-20131: PrimeVue Manage Surveillance Categories page#8729
joseanesONMS wants to merge 1 commit into
developfrom
jira/NMS-20131-surveillance-categories

Conversation

@joseanesONMS

Copy link
Copy Markdown

Migrates the Manage Surveillance Categories admin page to a PrimeVue /ui screen. Reuses the existing /rest/categories CRUD and the granular node-membership endpoints unchanged — no backend change.

  • The menu entry is repointed; MenuHeaderIT is updated to assert the new page.
  • Node assignment is a server-paged, searchable node table (reusing the Node List's nodeService, so it scales to large inventories) with a per-row membership toggle applied immediately.
  • Requisitioned nodes are locked by default behind an opt-in override, with a warning that a provisioning sync overwrites their categories.
  • Category create/edit and description update are supported; delete shows a generic "may break references" warning (no surveillance-views.xml cross-check — that would require a backend endpoint that does not exist today).
  • Category names block URL- and FIQL-unsafe characters (client-side).
  • Empty, error, and loading states are handled throughout.
  • Component, service, store, and container tests are added.

Migrates the legacy surveillance-categories admin page to a PrimeVue /ui
page reusing existing REST — no backend change: category CRUD via the v1
/rest/categories service and node membership via its granular
/rest/categories/{name}/nodes/{nodeId} sub-resource. Table of categories
with create (name + description), description edit (the name is the
immutable identifier), delete, and a Manage Nodes dialog that assigns and
unassigns nodes with a PickList, applying only the diff against the
membership API. Member nodes are read with the node search that actually
filters by membership (category.name==NAME); 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