[OpenNMS/opennms] efe0d5: NMS-20106: make the v2 users API pure camelCase JSON
joseanesONMS via opennms-cvs <[email protected]>
| Newsgroups | gmane.network.opennms.cvs |
|---|---|
| Message-ID | <OpenNMS/opennms/push/refs/heads/jira/NMS-20106-manage-users-primevue/[email protected]> |
Branch: refs/heads/jira/NMS-20106-manage-users-primevue
Home: https://github.com/OpenNMS/opennms
Commit: efe0d571dc581b6dd56c0078d3eb0def5669806c
https://github.com/OpenNMS/opennms/commit/efe0d571dc581b6dd56c0078d3eb0def5669806c
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/UsersRestService.java
M opennms-webapp-rest/src/main/java/org/opennms/web/rest/v2/model/UserDto.java
M opennms-webapp-rest/src/main/java/org/opennms/web/rest/v2/model/UserPasswordRequest.java
M opennms-webapp-rest/src/main/java/org/opennms/web/rest/v2/model/UserRenameRequest.java
M opennms-webapp-rest/src/main/java/org/opennms/web/rest/v2/model/UserWriteRequest.java
M opennms-webapp-rest/src/test/java/org/opennms/web/rest/v2/UsersRestServiceIT.java
M ui/src/components/ManageUsers/UserEditorDialog.vue
M ui/src/components/ManageUsers/UsersTable.vue
M ui/src/services/userAdminService.ts
M ui/src/types/userAdmin.ts
M ui/tests/components/AdminDialogs/UserEditorDialog.test.ts
M ui/tests/stores/userAdminStore.test.ts
Log Message:
-----------
NMS-20106: make the v2 users API pure camelCase JSON
Drop the JAXB annotations from the v2 user model DTOs so they serialize as
plain camelCase JSON (userId, fullName, pagerEmail, userComments, dutySchedules,
roles, readOnly, newUserId) instead of the hyphenated XML element names, and
carry that through the UI types, service, dialogs, and table. The XML mapping
to/from users.xml already lives in the REST service. Also swap the hand-rolled
isBlank/trimToNull helpers for org.apache.commons.lang3.StringUtils and match
the request-field names in the validation messages.
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