[OpenNMS/opennms] bcaa96: NMS-20107: make the v2 groups API pure camelCase JSON

joseanesONMS via opennms-cvs <[email protected]>
Newsgroups gmane.network.opennms.cvs
Message-ID <OpenNMS/opennms/push/refs/heads/jira/NMS-20107-manage-groups-primevue/[email protected]>
  Branch: refs/heads/jira/NMS-20107-manage-groups-primevue
  Home:   https://github.com/OpenNMS/opennms
  Commit: bcaa96d942127c274edefa194a978d265fbc7f2a
      https://github.com/OpenNMS/opennms/commit/bcaa96d942127c274edefa194a978d265fbc7f2a
  Author: Jose Anes <[email protected]>
  Date:   2026-08-13 (Thu, 13 Aug 2026)

  Changed paths:
    M opennms-webapp-rest/src/main/java/org/opennms/web/rest/v2/GroupsRestService.java
    M opennms-webapp-rest/src/main/java/org/opennms/web/rest/v2/model/GroupDto.java
    M opennms-webapp-rest/src/main/java/org/opennms/web/rest/v2/model/GroupRenameRequest.java
    M opennms-webapp-rest/src/test/java/org/opennms/web/rest/v2/GroupsRestServiceIT.java
    M ui/src/components/ManageGroups/GroupEditorDialog.vue
    M ui/src/components/ManageGroups/GroupsTable.vue
    M ui/src/services/groupAdminService.ts
    M ui/src/types/groupAdmin.ts
    M ui/tests/components/AdminDialogs/GroupEditorDialog.test.ts
    M ui/tests/stores/groupAdminStore.test.ts

  Log Message:
  -----------
  NMS-20107: make the v2 groups API pure camelCase JSON

Drop the JAXB annotations from GroupDto and GroupRenameRequest so they
serialize as plain camelCase JSON (users, dutySchedules, newName) instead of
the hyphenated/singular XML element names, and carry that through the UI type,
service, dialogs, table, and tests. The groups.xml mapping already lives in the
REST service. Also swap the hand-rolled isBlank/trimToNull helpers for
org.apache.commons.lang3.StringUtils, matching the users service.



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.