Skip to content

Change over to map setters for entities endpoints#325

Merged
pathob merged 8 commits intomainfrom
map-endpoints
Feb 24, 2026
Merged

Change over to map setters for entities endpoints#325
pathob merged 8 commits intomainfrom
map-endpoints

Conversation

@pathob
Copy link
Contributor

@pathob pathob commented Jul 8, 2025

No description provided.

@pathob pathob force-pushed the map-endpoints branch 5 times, most recently from dcfca5b to 70d2740 Compare July 14, 2025 18:01
@pathob pathob force-pushed the map-endpoints branch 3 times, most recently from e67aed4 to c8f83b8 Compare February 22, 2026 10:17
@deftdevs deftdevs deleted a comment from sonarqubecloud bot Feb 22, 2026
pathob and others added 8 commits February 24, 2026 20:36
…fix parameter name typos

AbstractDirectoryExternalModel was missing @SuperBuilder, @NoArgsConstructor, and
@AllArgsConstructor, which broke compilation in all modules that use its subclasses.
Also fix copy-paste parameter name typos (linksModelModels, applicationsModelModels)
in ApplicationLinkResource and ApplicationResource interfaces.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Change groups and users fields in DirectoryInternalModel from
List<GroupModel>/List<UserModel> to Map<String, GroupModel>/Map<String, UserModel>,
keyed by group name and username respectively. This enables per-entity
updates via the directory structure, consistent with the map-based
endpoint pattern used throughout the branch.

- Remove List-based setUsers overload from UsersService interface
- Implement Map-based setUsers in Crowd UsersServiceImpl
- Convert GroupsService.setGroups from List to Map
- Update GroupsResource, DirectoriesServiceImpl.handleGroupsAndUsers,
  and all related tests

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)
17.7% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

@pathob pathob marked this pull request as ready for review February 24, 2026 12:43
@pathob pathob merged commit 79e31d5 into main Feb 24, 2026
8 of 9 checks passed
@pathob pathob deleted the map-endpoints branch February 24, 2026 12:50
@pathob pathob restored the map-endpoints branch February 24, 2026 12:51
@pathob pathob deleted the map-endpoints branch February 24, 2026 12:53
@pathob pathob restored the map-endpoints branch February 24, 2026 12:53
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