From 1ef9aa19cc13622f68fcf167955fe7b5cec6387c Mon Sep 17 00:00:00 2001 From: Pedro Mendes Date: Wed, 15 May 2024 10:57:10 -0700 Subject: [PATCH 1/2] BatchProductIngestionSaga: updated the user comparison to ignore the case on the `externalUserId` --- .../com/backbase/stream/product/BatchProductIngestionSaga.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stream-product/product-ingestion-saga/src/main/java/com/backbase/stream/product/BatchProductIngestionSaga.java b/stream-product/product-ingestion-saga/src/main/java/com/backbase/stream/product/BatchProductIngestionSaga.java index 385c9d3e3..22962478a 100644 --- a/stream-product/product-ingestion-saga/src/main/java/com/backbase/stream/product/BatchProductIngestionSaga.java +++ b/stream-product/product-ingestion-saga/src/main/java/com/backbase/stream/product/BatchProductIngestionSaga.java @@ -370,7 +370,7 @@ protected List 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())) From e052e8ab4439a33fb62eea04542d046ec6130334 Mon Sep 17 00:00:00 2001 From: Pedro Mendes Date: Thu, 16 May 2024 08:48:25 -0700 Subject: [PATCH 2/2] BatchProductIngestionSaga: updated the user comparison to ignore the case on the `externalUserId` --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index cffd00e6e..f1248e771 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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