Skip to content

Commit

Permalink
Merge pull request #414 from Backbase/hotfix/fix-user-comparison
Browse files Browse the repository at this point in the history
BatchProductIngestionSaga: updated the user comparison to ignore the …
  • Loading branch information
pssm authored May 16, 2024
2 parents d7bc814 + e052e8a commit cf714f2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Changelog
All notable changes to this project will be documented in this file.

## [3.72.4](https://github.com/Backbase/stream-services/compare/3.72.1...3.72.3)
### Added
- Update BatchProductIngestion saga to ignore the user external ID case when getting products for specified user.

## [3.72.3](https://github.com/Backbase/stream-services/compare/3.72.1...3.72.3)
### Added
- Update payments to be in line with latest Banking Services
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ protected List<BaseProductGroup> getUsersGroupWithFunction(BatchProductGroup bat
.filter(group ->
group.getUsers().stream()
// get only products for specified user.
.filter(u -> u.getUser().getExternalId().equals(user.getExternalId()))
.filter(u -> u.getUser().getExternalId().equalsIgnoreCase(user.getExternalId()))
.map(JobProfileUser::getBusinessFunctionGroups)
.flatMap(Collection::stream)
.anyMatch(bfg -> bfg.getName().equals(functionGroup.getName()))
Expand Down

0 comments on commit cf714f2

Please sign in to comment.