From f9da1515630444eb599e496aebf2342d682bbb70 Mon Sep 17 00:00:00 2001 From: modak-akshay Date: Wed, 20 Mar 2024 21:23:48 +0530 Subject: [PATCH 01/11] Done Following: 1. Fixed issue with payment order ingestion error, where it was not paging if the user had lots of objects in the same request. 2. Added changes to show error in case of error while payment order ingestion. 3. Fixed issue in down stream request where chaining was not being propogated in product-composition-service. --- .../PaymentOrderPostIngestionServiceImpl.java | 2 + .../core/mapper/ProductRestMapper.java | 2 + .../PaymentOrderUnitOfWorkExecutor.java | 82 +++++++++++++++---- 3 files changed, 72 insertions(+), 14 deletions(-) diff --git a/stream-compositions/services/payment-order-composition-service/src/main/java/com/backbase/stream/compositions/paymentorders/core/service/impl/PaymentOrderPostIngestionServiceImpl.java b/stream-compositions/services/payment-order-composition-service/src/main/java/com/backbase/stream/compositions/paymentorders/core/service/impl/PaymentOrderPostIngestionServiceImpl.java index 36fc5f3eb..64b4ccd5b 100644 --- a/stream-compositions/services/payment-order-composition-service/src/main/java/com/backbase/stream/compositions/paymentorders/core/service/impl/PaymentOrderPostIngestionServiceImpl.java +++ b/stream-compositions/services/payment-order-composition-service/src/main/java/com/backbase/stream/compositions/paymentorders/core/service/impl/PaymentOrderPostIngestionServiceImpl.java @@ -8,6 +8,7 @@ import lombok.extern.slf4j.Slf4j; import org.springframework.stereotype.Service; import reactor.core.publisher.Mono; +import reactor.core.scheduler.Schedulers; @Service @Slf4j @@ -25,6 +26,7 @@ public void handleSuccess(List paymentOrderIngest @Override public Mono> handleFailure(Throwable error) { // events can be handled here as part of a different ticket. + Schedulers.boundedElastic().schedule(()->log.error("error occurred with po ingestion",error)); return Mono.empty(); } } diff --git a/stream-compositions/services/product-composition-service/src/main/java/com/backbase/stream/compositions/product/core/mapper/ProductRestMapper.java b/stream-compositions/services/product-composition-service/src/main/java/com/backbase/stream/compositions/product/core/mapper/ProductRestMapper.java index f44cd839d..ac01c7e2d 100644 --- a/stream-compositions/services/product-composition-service/src/main/java/com/backbase/stream/compositions/product/core/mapper/ProductRestMapper.java +++ b/stream-compositions/services/product-composition-service/src/main/java/com/backbase/stream/compositions/product/core/mapper/ProductRestMapper.java @@ -36,6 +36,8 @@ public ProductIngestPullRequest mapPullRequest(ProductPullIngestionRequest reque .membershipAccounts(request.getMembershipAccounts()) .additions(request.getAdditions()) .referenceJobRoleNames(request.getReferenceJobRoleNames()) + .paymentOrderChainEnabled(request.getPaymentOrderChainEnabled()) + .transactionChainEnabled(request.getTransactionChainEnabled()) .source(request.getSource()) .build(); } diff --git a/stream-payment-order/payment-order-core/src/main/java/com/backbase/stream/paymentorder/PaymentOrderUnitOfWorkExecutor.java b/stream-payment-order/payment-order-core/src/main/java/com/backbase/stream/paymentorder/PaymentOrderUnitOfWorkExecutor.java index 01d854fbc..3690c55e2 100644 --- a/stream-payment-order/payment-order-core/src/main/java/com/backbase/stream/paymentorder/PaymentOrderUnitOfWorkExecutor.java +++ b/stream-payment-order/payment-order-core/src/main/java/com/backbase/stream/paymentorder/PaymentOrderUnitOfWorkExecutor.java @@ -6,11 +6,19 @@ import static com.backbase.dbs.paymentorder.api.service.v2.model.Status.PROCESSED; import static com.backbase.dbs.paymentorder.api.service.v2.model.Status.READY; import static com.backbase.dbs.paymentorder.api.service.v2.model.Status.REJECTED; +import static java.time.temporal.ChronoUnit.MILLIS; +import static java.util.Collections.emptyList; +import static reactor.core.publisher.Flux.defer; +import static reactor.core.publisher.Flux.empty; +import static reactor.util.retry.Retry.fixedDelay; import com.backbase.dbs.arrangement.api.service.v2.ArrangementsApi; import com.backbase.dbs.arrangement.api.service.v2.model.AccountArrangementItem; import com.backbase.dbs.arrangement.api.service.v2.model.AccountArrangementItems; import com.backbase.dbs.arrangement.api.service.v2.model.AccountArrangementsFilter; + +import java.math.BigDecimal; +import java.time.Duration; import java.util.ArrayList; import java.util.Collections; import java.util.List; @@ -38,12 +46,18 @@ import com.backbase.stream.worker.repository.UnitOfWorkRepository; import lombok.extern.slf4j.Slf4j; +import org.springframework.web.reactive.function.client.WebClientRequestException; +import org.springframework.web.reactive.function.client.WebClientResponseException; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @Slf4j public class PaymentOrderUnitOfWorkExecutor extends UnitOfWorkExecutor { + private static final PaymentOrderPostFilterRequest FILTER = new PaymentOrderPostFilterRequest().statuses(List.of(READY, ACCEPTED, PROCESSED, CANCELLED, REJECTED, CANCELLATION_PENDING)); + + private static final int PAGE_SIZE = 1000; + private final PaymentOrdersApi paymentOrdersApi; private final ArrangementsApi arrangementsApi; private final PaymentOrderTypeMapper paymentOrderTypeMapper; @@ -81,8 +95,8 @@ public Flux> prepareUnitOfWork(Flux paymentOrderPostRequests) { PaymentOrderIngestContext paymentOrderIngestContext = new PaymentOrderIngestContext(); - paymentOrderIngestContext.corePaymentOrder(paymentOrderPostRequests); - paymentOrderIngestContext.internalUserId(paymentOrderPostRequests.get(0).getInternalUserId()); + paymentOrderIngestContext.corePaymentOrder(paymentOrderPostRequests == null ? emptyList() : paymentOrderPostRequests); + paymentOrderIngestContext.internalUserId(paymentOrderPostRequests == null ? null : paymentOrderPostRequests.isEmpty() ? null : paymentOrderPostRequests.get(0).getInternalUserId()); return paymentOrderIngestContext; } @@ -130,23 +144,29 @@ private Mono getArrangement(PaymentOrderPostRequest pay */ private Mono getPayments(String internalUserId) { - var paymentOrderPostFilterRequest = new PaymentOrderPostFilterRequest(); - paymentOrderPostFilterRequest.setStatuses( - List.of(READY, ACCEPTED, PROCESSED, CANCELLED, REJECTED, CANCELLATION_PENDING)); - - return paymentOrdersApi.postFilterPaymentOrders( - null, null, null, null, null, null, null, null, null, null, null, - internalUserId, null, null, null, Integer.MAX_VALUE, - null, null, paymentOrderPostFilterRequest); + if (internalUserId == null || internalUserId.isBlank()) { + return Mono.just(new PaymentOrderPostFilterResponse().paymentOrders(emptyList()).totalElements(new BigDecimal(0))); + } + return pullFromDBS(internalUserId).map(result -> { + final var response = new PaymentOrderPostFilterResponse(); + response.setPaymentOrders(result); + response.setTotalElements(new BigDecimal(result.size())); + return response; + }); } private Flux getPaymentOrderIngestRequest(PaymentOrderIngestContext paymentOrderIngestContext) { List paymentOrderIngestRequests = new ArrayList<>(); + final var userId = paymentOrderIngestContext.internalUserId(); + if (userId == null || userId.isBlank()) { + return Flux.fromIterable(paymentOrderIngestRequests); + } + final List orders = paymentOrderIngestContext.corePaymentOrder() == null ? new ArrayList<>() : paymentOrderIngestContext.corePaymentOrder(); // list of all the bank ref ids in core List coreBankRefIds = new ArrayList<>(); - for (PaymentOrderPostRequest coreBankRefId : paymentOrderIngestContext.corePaymentOrder() ) { + for (PaymentOrderPostRequest coreBankRefId : orders) { coreBankRefIds.add(coreBankRefId.getBankReferenceId()); } @@ -156,8 +176,10 @@ private Flux getPaymentOrderIngestRequest(PaymentOrde existingBankRefIds.add(existingBankRefId.getBankReferenceId()); } + final List existing = paymentOrderIngestContext.existingPaymentOrder() == null ? new ArrayList<>() : paymentOrderIngestContext.existingPaymentOrder(); + // build new payment list (Bank ref is in core, but not in DBS) - paymentOrderIngestContext.corePaymentOrder().forEach(corePaymentOrder -> { + orders.forEach(corePaymentOrder -> { if(!existingBankRefIds.contains(corePaymentOrder.getBankReferenceId())) { AccountArrangementItem accountArrangementItem = getInternalArrangementId(paymentOrderIngestContext.arrangementIds(), corePaymentOrder.getOriginatorAccount().getExternalArrangementId()); @@ -169,7 +191,7 @@ private Flux getPaymentOrderIngestRequest(PaymentOrde }); // build update payment list (Bank ref is in core and DBS) - paymentOrderIngestContext.corePaymentOrder().forEach(corePaymentOrder -> { + orders.forEach(corePaymentOrder -> { if(existingBankRefIds.contains(corePaymentOrder.getBankReferenceId())) { UpdatePaymentOrderIngestRequest updatePaymentOrderIngestRequest = new UpdatePaymentOrderIngestRequest(paymentOrderTypeMapper.mapPaymentOrderPostRequest(corePaymentOrder)); paymentOrderIngestRequests.add(updatePaymentOrderIngestRequest); @@ -178,7 +200,7 @@ private Flux getPaymentOrderIngestRequest(PaymentOrde // build delete payment list (Bank ref is in DBS, but not in core) if (((PaymentOrderWorkerConfigurationProperties) streamWorkerConfiguration).isDeletePaymentOrder()) { - paymentOrderIngestContext.existingPaymentOrder().forEach(existingPaymentOrder -> { + existing.forEach(existingPaymentOrder -> { if(!coreBankRefIds.contains(existingPaymentOrder.getBankReferenceId())) { paymentOrderIngestRequests.add(new DeletePaymentOrderIngestRequest(existingPaymentOrder.getId(), existingPaymentOrder.getBankReferenceId())); } @@ -196,4 +218,36 @@ private AccountArrangementItem getInternalArrangementId(List requests) { + + } + + private Mono> pullFromDBS(final @NotNull String userid) { + return defer(() -> retrieveNextPage(0, userid) + .expand(page -> { + // If there are no more pages, return an empty flux. + if (page.next >= page.total || page.requests.isEmpty()) { + return empty(); + } else { + return retrieveNextPage(page.next, userid); + } + })) + .collectList() + .map(pages -> pages.stream().flatMap(page -> page.requests.stream()).toList()); + } + + private Mono retrieveNextPage(int currentCount, final @NotNull String userId) { + return paymentOrdersApi.postFilterPaymentOrders(null, null, null, null, null, null, null, null, + null, null, null, userId, null, null, currentCount / PAGE_SIZE, PAGE_SIZE, null, + null, FILTER) + .retryWhen(fixedDelay(3, Duration.of(2000, MILLIS)).filter( + t -> t instanceof WebClientRequestException + || t instanceof WebClientResponseException.ServiceUnavailable)) + .map(resp -> { + final List results = resp.getPaymentOrders() == null ? emptyList() : resp.getPaymentOrders(); + final var total = resp.getTotalElements() == null ? new BigDecimal(0).intValue() : resp.getTotalElements().intValue(); + return new DBSPaymentOrderPageResult(currentCount + results.size(), total, results); + }); + } } From d88898147869912e25445df109aaa101e7b439a5 Mon Sep 17 00:00:00 2001 From: modak-akshay Date: Tue, 2 Apr 2024 18:09:18 +0530 Subject: [PATCH 02/11] Added test for empty userId check. --- .../stream/common/PaymentOrderBaseTest.java | 60 +++++++++++++++++++ .../PaymentOrderUnitOfWorkExecutorTest.java | 40 ++++++++++++- 2 files changed, 97 insertions(+), 3 deletions(-) diff --git a/stream-payment-order/payment-order-core/src/test/java/com/backbase/stream/common/PaymentOrderBaseTest.java b/stream-payment-order/payment-order-core/src/test/java/com/backbase/stream/common/PaymentOrderBaseTest.java index 0ec8d1e44..5eb41d4f0 100644 --- a/stream-payment-order/payment-order-core/src/test/java/com/backbase/stream/common/PaymentOrderBaseTest.java +++ b/stream-payment-order/payment-order-core/src/test/java/com/backbase/stream/common/PaymentOrderBaseTest.java @@ -14,7 +14,9 @@ public abstract class PaymentOrderBaseTest { protected final PaymentOrderTypeMapper paymentOrderTypeMapper = Mappers.getMapper(PaymentOrderTypeMapper.class); protected final List getPaymentOrderResponse = buildGetPaymentOrderResponse(); + protected final List getPaymentOrderResponseWithEmptyUserId = buildGetPaymentOrderResponseWithEmptyUserId(); protected final List paymentOrderPostRequest = paymentOrderTypeMapper.mapPaymentOrderPostRequest(getPaymentOrderResponse); + protected final List paymentOrderPostRequestWithEmptyUserId = paymentOrderTypeMapper.mapPaymentOrderPostRequest(getPaymentOrderResponseWithEmptyUserId); protected PaymentOrderPutRequest buildPaymentOrderPutRequest(PaymentOrderPostRequest source) { return paymentOrderTypeMapper.mapPaymentOrderPostRequest(source); @@ -78,6 +80,64 @@ List buildGetPaymentOrderResponse() { return getPaymentOrderResponseList; } + List buildGetPaymentOrderResponseWithEmptyUserId() { + List getPaymentOrderResponseList = new ArrayList<>(); + for(int idx=1; idx<=2; idx++) { + SimpleInvolvedParty involvedParty = new SimpleInvolvedParty() + .name("name_" + idx) + .recipientId("recipientId_" + idx) + .role(InvolvedPartyRole.CREDITOR); + + SimpleOriginatorAccount originatorAccount = new SimpleOriginatorAccount() + .arrangementId("arrangementId_" + idx) + .externalArrangementId("externalArrangementId_" + idx) + .identification(new Identification().identification("identification_" + idx)); + + SimpleSchedule schedule = new SimpleSchedule() + .on(idx) + .startDate(LocalDate.of(2023, 3, idx)) + .endDate(LocalDate.of(2023, 3, idx)) + .nextExecutionDate(LocalDate.of(2023, 3, idx)) + .transferFrequency(SimpleSchedule.TransferFrequencyEnum.ONCE); + + GetPaymentOrderResponse getPaymentOrderResponse = new GetPaymentOrderResponse() + .id("id_" + idx) + .bankReferenceId("bankReferenceId_" + idx) + .bankReferenceId("bankReferenceId_" + idx) + .internalUserId(null) + .paymentSetupId("paymentSetupId_" + idx) + .approvalId("approvalId_" + idx) + .bankStatus("bankStatus_" + idx) + .reasonCode("reasonCode_" + idx) + .reasonText("reasonText_" + idx) + .errorDescription("errorDescription_" + idx) + .originator(involvedParty) + .originatorAccount(originatorAccount) + .totalAmount(new Currency().amount(String.valueOf(idx))) + .batchBooking(true) + .instructionPriority(InstructionPriority.NORM) + .status(Status.ACCEPTED) + .requestedExecutionDate(LocalDate.of(2023, 3, idx)) + .paymentMode(PaymentMode.SINGLE) + .paymentType("paymentType_" + idx) + .entryClass("entryClass_" + idx) + .schedule(schedule) + .transferTransactionInformation(new SimpleTransaction().transferFee(new Currency().amount(String.valueOf(idx)))) + .createdBy("createdBy_" + idx) + .createdAt("createdAt_" + idx) + .updatedBy("updatedBy_" + idx) + .updatedAt("updatedAt_" + idx) + .intraLegalEntity(true) + .serviceAgreementId("serviceAgreementId_" + idx) + .originatorAccountCurrency("originatorAccountCurrency_" + idx) + .confirmationId("confirmationId_" + idx) + .putAdditionsItem("key_" + idx, "value_" + idx); + + getPaymentOrderResponseList.add(getPaymentOrderResponse); + } + return getPaymentOrderResponseList; + } + protected static WebClientResponseException buildWebClientResponseException(HttpStatus httpStatus, String statusText) { return WebClientResponseException.create(httpStatus.value(), statusText, null, null, null); } diff --git a/stream-payment-order/payment-order-core/src/test/java/com/backbase/stream/task/PaymentOrderUnitOfWorkExecutorTest.java b/stream-payment-order/payment-order-core/src/test/java/com/backbase/stream/task/PaymentOrderUnitOfWorkExecutorTest.java index d3b3e7e1a..818c252c8 100644 --- a/stream-payment-order/payment-order-core/src/test/java/com/backbase/stream/task/PaymentOrderUnitOfWorkExecutorTest.java +++ b/stream-payment-order/payment-order-core/src/test/java/com/backbase/stream/task/PaymentOrderUnitOfWorkExecutorTest.java @@ -4,6 +4,7 @@ import static org.mockito.Mockito.atLeastOnce; import static org.mockito.Mockito.doReturn; import static org.mockito.Mockito.verify; +import static org.mockito.Mockito.lenient; import com.backbase.dbs.arrangement.api.service.v2.ArrangementsApi; import com.backbase.dbs.arrangement.api.service.v2.model.AccountArrangementItem; @@ -74,7 +75,7 @@ void test_prepareUnitOfWork_paymentOrderIngestRequestList() { .id("po_post_resp_id") .putAdditionsItem("key", "val"); - Mockito.lenient().when(paymentOrdersApi.postPaymentOrder(Mockito.any())) + lenient().when(paymentOrdersApi.postPaymentOrder(Mockito.any())) .thenReturn(Mono.just(paymentOrderPostResponse)); AccountArrangementItem accountArrangementItem = new AccountArrangementItem() @@ -84,7 +85,7 @@ void test_prepareUnitOfWork_paymentOrderIngestRequestList() { AccountArrangementItems accountArrangementItems = new AccountArrangementItems() .addArrangementElementsItem(accountArrangementItem); - Mockito.lenient().when(arrangementsApi.postFilter(Mockito.any())) + lenient().when(arrangementsApi.postFilter(Mockito.any())) .thenReturn(Mono.just(accountArrangementItems)); StepVerifier.create(paymentOrderUnitOfWorkExecutor.prepareUnitOfWork(paymentOrderIngestRequestList)) @@ -105,7 +106,7 @@ void test_prepareUnitOfWork_paymentOrderPostRequestFlux() { .id("po_post_resp_id") .putAdditionsItem("key", "val"); - Mockito.lenient().when(paymentOrdersApi.postPaymentOrder(any())) + lenient().when(paymentOrdersApi.postPaymentOrder(any())) .thenReturn(Mono.just(paymentOrderPostResponse)); GetPaymentOrderResponse getPaymentOrderResponse = new GetPaymentOrderResponse() @@ -135,4 +136,37 @@ void test_prepareUnitOfWork_paymentOrderPostRequestFlux() { .verifyComplete(); } + @Test + void test_prepareunitofwork_blankuserid() { + + paymentOrderUnitOfWorkExecutor = new PaymentOrderUnitOfWorkExecutor( + repository, streamTaskExecutor, streamWorkerConfiguration, + paymentOrdersApi, arrangementsApi, null); + + Flux paymentOrderPostRequestFlux = Flux.fromIterable(paymentOrderPostRequestWithEmptyUserId); + + AccountArrangementItem accountArrangementItem = new AccountArrangementItem() + .id("arrangementId_1") + .externalArrangementId("externalArrangementId_1"); + AccountArrangementItems accountArrangementItems = new AccountArrangementItems() + .addArrangementElementsItem(accountArrangementItem); + + lenient().when(arrangementsApi.postFilter(Mockito.any())) + .thenReturn(Mono.just(accountArrangementItems)); + + GetPaymentOrderResponse getPaymentOrderResponseWithEmptyUserId = new GetPaymentOrderResponse() + .id("arrangementId_1"); + + PaymentOrderPostFilterResponse paymentOrderPostFilterResponse = new PaymentOrderPostFilterResponse() + .addPaymentOrdersItem(getPaymentOrderResponseWithEmptyUserId) + .totalElements(new BigDecimal(1)); + + lenient().doReturn(Mono.just(paymentOrderPostFilterResponse)).when(paymentOrdersApi).postFilterPaymentOrders(any(), any(), any(), any(), any(), any(), any(), any(), any(), any(), any(), any(), any(), any(), any(), any(), any(), any(), any()); + + StepVerifier + .create(paymentOrderUnitOfWorkExecutor.prepareUnitOfWork(paymentOrderPostRequestFlux)) + .expectNextCount(0) + .verifyComplete(); + } + } From a9f5c03e58dbbb7fc5e9f6a127e2931a133dedde Mon Sep 17 00:00:00 2001 From: modak-akshay Date: Wed, 3 Apr 2024 16:03:00 +0530 Subject: [PATCH 03/11] Added bankReferenceId in GetPaymentOrderResponse in test_prepareUnitOfWork_paymentOrderPostRequestFlux unit test. --- .../stream/task/PaymentOrderUnitOfWorkExecutorTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stream-payment-order/payment-order-core/src/test/java/com/backbase/stream/task/PaymentOrderUnitOfWorkExecutorTest.java b/stream-payment-order/payment-order-core/src/test/java/com/backbase/stream/task/PaymentOrderUnitOfWorkExecutorTest.java index 818c252c8..d2b713af6 100644 --- a/stream-payment-order/payment-order-core/src/test/java/com/backbase/stream/task/PaymentOrderUnitOfWorkExecutorTest.java +++ b/stream-payment-order/payment-order-core/src/test/java/com/backbase/stream/task/PaymentOrderUnitOfWorkExecutorTest.java @@ -110,7 +110,8 @@ void test_prepareUnitOfWork_paymentOrderPostRequestFlux() { .thenReturn(Mono.just(paymentOrderPostResponse)); GetPaymentOrderResponse getPaymentOrderResponse = new GetPaymentOrderResponse() - .id("arrangementId_1"); + .id("arrangementId_1") + .bankReferenceId("bankReferenceId_1"); PaymentOrderPostFilterResponse paymentOrderPostFilterResponse = new PaymentOrderPostFilterResponse() .addPaymentOrdersItem(getPaymentOrderResponse) .totalElements(new BigDecimal(1)); From 7020a111c33236f73cf7efc75ed4a2413b5633c9 Mon Sep 17 00:00:00 2001 From: modak-akshay Date: Wed, 3 Apr 2024 16:18:27 +0530 Subject: [PATCH 04/11] Removed unwanted code and added tests for null and empty user ids. --- .../stream/common/PaymentOrderBaseTest.java | 60 ------------------- .../PaymentOrderUnitOfWorkExecutorTest.java | 7 ++- 2 files changed, 6 insertions(+), 61 deletions(-) diff --git a/stream-payment-order/payment-order-core/src/test/java/com/backbase/stream/common/PaymentOrderBaseTest.java b/stream-payment-order/payment-order-core/src/test/java/com/backbase/stream/common/PaymentOrderBaseTest.java index 5eb41d4f0..0ec8d1e44 100644 --- a/stream-payment-order/payment-order-core/src/test/java/com/backbase/stream/common/PaymentOrderBaseTest.java +++ b/stream-payment-order/payment-order-core/src/test/java/com/backbase/stream/common/PaymentOrderBaseTest.java @@ -14,9 +14,7 @@ public abstract class PaymentOrderBaseTest { protected final PaymentOrderTypeMapper paymentOrderTypeMapper = Mappers.getMapper(PaymentOrderTypeMapper.class); protected final List getPaymentOrderResponse = buildGetPaymentOrderResponse(); - protected final List getPaymentOrderResponseWithEmptyUserId = buildGetPaymentOrderResponseWithEmptyUserId(); protected final List paymentOrderPostRequest = paymentOrderTypeMapper.mapPaymentOrderPostRequest(getPaymentOrderResponse); - protected final List paymentOrderPostRequestWithEmptyUserId = paymentOrderTypeMapper.mapPaymentOrderPostRequest(getPaymentOrderResponseWithEmptyUserId); protected PaymentOrderPutRequest buildPaymentOrderPutRequest(PaymentOrderPostRequest source) { return paymentOrderTypeMapper.mapPaymentOrderPostRequest(source); @@ -80,64 +78,6 @@ List buildGetPaymentOrderResponse() { return getPaymentOrderResponseList; } - List buildGetPaymentOrderResponseWithEmptyUserId() { - List getPaymentOrderResponseList = new ArrayList<>(); - for(int idx=1; idx<=2; idx++) { - SimpleInvolvedParty involvedParty = new SimpleInvolvedParty() - .name("name_" + idx) - .recipientId("recipientId_" + idx) - .role(InvolvedPartyRole.CREDITOR); - - SimpleOriginatorAccount originatorAccount = new SimpleOriginatorAccount() - .arrangementId("arrangementId_" + idx) - .externalArrangementId("externalArrangementId_" + idx) - .identification(new Identification().identification("identification_" + idx)); - - SimpleSchedule schedule = new SimpleSchedule() - .on(idx) - .startDate(LocalDate.of(2023, 3, idx)) - .endDate(LocalDate.of(2023, 3, idx)) - .nextExecutionDate(LocalDate.of(2023, 3, idx)) - .transferFrequency(SimpleSchedule.TransferFrequencyEnum.ONCE); - - GetPaymentOrderResponse getPaymentOrderResponse = new GetPaymentOrderResponse() - .id("id_" + idx) - .bankReferenceId("bankReferenceId_" + idx) - .bankReferenceId("bankReferenceId_" + idx) - .internalUserId(null) - .paymentSetupId("paymentSetupId_" + idx) - .approvalId("approvalId_" + idx) - .bankStatus("bankStatus_" + idx) - .reasonCode("reasonCode_" + idx) - .reasonText("reasonText_" + idx) - .errorDescription("errorDescription_" + idx) - .originator(involvedParty) - .originatorAccount(originatorAccount) - .totalAmount(new Currency().amount(String.valueOf(idx))) - .batchBooking(true) - .instructionPriority(InstructionPriority.NORM) - .status(Status.ACCEPTED) - .requestedExecutionDate(LocalDate.of(2023, 3, idx)) - .paymentMode(PaymentMode.SINGLE) - .paymentType("paymentType_" + idx) - .entryClass("entryClass_" + idx) - .schedule(schedule) - .transferTransactionInformation(new SimpleTransaction().transferFee(new Currency().amount(String.valueOf(idx)))) - .createdBy("createdBy_" + idx) - .createdAt("createdAt_" + idx) - .updatedBy("updatedBy_" + idx) - .updatedAt("updatedAt_" + idx) - .intraLegalEntity(true) - .serviceAgreementId("serviceAgreementId_" + idx) - .originatorAccountCurrency("originatorAccountCurrency_" + idx) - .confirmationId("confirmationId_" + idx) - .putAdditionsItem("key_" + idx, "value_" + idx); - - getPaymentOrderResponseList.add(getPaymentOrderResponse); - } - return getPaymentOrderResponseList; - } - protected static WebClientResponseException buildWebClientResponseException(HttpStatus httpStatus, String statusText) { return WebClientResponseException.create(httpStatus.value(), statusText, null, null, null); } diff --git a/stream-payment-order/payment-order-core/src/test/java/com/backbase/stream/task/PaymentOrderUnitOfWorkExecutorTest.java b/stream-payment-order/payment-order-core/src/test/java/com/backbase/stream/task/PaymentOrderUnitOfWorkExecutorTest.java index d2b713af6..c6b3051db 100644 --- a/stream-payment-order/payment-order-core/src/test/java/com/backbase/stream/task/PaymentOrderUnitOfWorkExecutorTest.java +++ b/stream-payment-order/payment-order-core/src/test/java/com/backbase/stream/task/PaymentOrderUnitOfWorkExecutorTest.java @@ -24,6 +24,8 @@ import com.backbase.stream.worker.model.UnitOfWork; import com.backbase.stream.worker.repository.UnitOfWorkRepository; import java.math.BigDecimal; + +import org.apache.commons.lang3.StringUtils; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; @@ -144,7 +146,10 @@ void test_prepareunitofwork_blankuserid() { repository, streamTaskExecutor, streamWorkerConfiguration, paymentOrdersApi, arrangementsApi, null); - Flux paymentOrderPostRequestFlux = Flux.fromIterable(paymentOrderPostRequestWithEmptyUserId); + paymentOrderPostRequest.get(0).setInternalUserId(StringUtils.EMPTY); + paymentOrderPostRequest.get(1).setInternalUserId(null); + + Flux paymentOrderPostRequestFlux = Flux.fromIterable(paymentOrderPostRequest); AccountArrangementItem accountArrangementItem = new AccountArrangementItem() .id("arrangementId_1") From a891c266f97afd5ffc76962ae1e7a4fb007f0cf7 Mon Sep 17 00:00:00 2001 From: modak-akshay Date: Wed, 3 Apr 2024 16:48:21 +0530 Subject: [PATCH 05/11] Added separate isEmptyUserId to reduce Congnitive Complexity. --- .../stream/paymentorder/PaymentOrderUnitOfWorkExecutor.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/stream-payment-order/payment-order-core/src/main/java/com/backbase/stream/paymentorder/PaymentOrderUnitOfWorkExecutor.java b/stream-payment-order/payment-order-core/src/main/java/com/backbase/stream/paymentorder/PaymentOrderUnitOfWorkExecutor.java index 3690c55e2..5eb71857b 100644 --- a/stream-payment-order/payment-order-core/src/main/java/com/backbase/stream/paymentorder/PaymentOrderUnitOfWorkExecutor.java +++ b/stream-payment-order/payment-order-core/src/main/java/com/backbase/stream/paymentorder/PaymentOrderUnitOfWorkExecutor.java @@ -159,7 +159,7 @@ private Flux getPaymentOrderIngestRequest(PaymentOrde List paymentOrderIngestRequests = new ArrayList<>(); final var userId = paymentOrderIngestContext.internalUserId(); - if (userId == null || userId.isBlank()) { + if (isEmptyUserId(userId)) { return Flux.fromIterable(paymentOrderIngestRequests); } final List orders = paymentOrderIngestContext.corePaymentOrder() == null ? new ArrayList<>() : paymentOrderIngestContext.corePaymentOrder(); @@ -250,4 +250,8 @@ private Mono retrieveNextPage(int currentCount, final return new DBSPaymentOrderPageResult(currentCount + results.size(), total, results); }); } + + private Boolean isEmptyUserId(String userId) { + return userId == null || userId.isBlank(); + } } From d730acfcb59631ec81edecb31e488920bd2823a6 Mon Sep 17 00:00:00 2001 From: modak-akshay Date: Wed, 3 Apr 2024 17:28:16 +0530 Subject: [PATCH 06/11] Enhanced logic to reduce Cognitive Complexity. --- .../PaymentOrderUnitOfWorkExecutor.java | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/stream-payment-order/payment-order-core/src/main/java/com/backbase/stream/paymentorder/PaymentOrderUnitOfWorkExecutor.java b/stream-payment-order/payment-order-core/src/main/java/com/backbase/stream/paymentorder/PaymentOrderUnitOfWorkExecutor.java index 5eb71857b..565504e40 100644 --- a/stream-payment-order/payment-order-core/src/main/java/com/backbase/stream/paymentorder/PaymentOrderUnitOfWorkExecutor.java +++ b/stream-payment-order/payment-order-core/src/main/java/com/backbase/stream/paymentorder/PaymentOrderUnitOfWorkExecutor.java @@ -96,7 +96,7 @@ public Flux> prepareUnitOfWork(Flux paymentOrderPostRequests) { PaymentOrderIngestContext paymentOrderIngestContext = new PaymentOrderIngestContext(); paymentOrderIngestContext.corePaymentOrder(paymentOrderPostRequests == null ? emptyList() : paymentOrderPostRequests); - paymentOrderIngestContext.internalUserId(paymentOrderPostRequests == null ? null : paymentOrderPostRequests.isEmpty() ? null : paymentOrderPostRequests.get(0).getInternalUserId()); + paymentOrderIngestContext.internalUserId(getInternalUserId(paymentOrderPostRequests)); return paymentOrderIngestContext; } @@ -144,7 +144,7 @@ private Mono getArrangement(PaymentOrderPostRequest pay */ private Mono getPayments(String internalUserId) { - if (internalUserId == null || internalUserId.isBlank()) { + if (isEmptyUserId(internalUserId)) { return Mono.just(new PaymentOrderPostFilterResponse().paymentOrders(emptyList()).totalElements(new BigDecimal(0))); } return pullFromDBS(internalUserId).map(result -> { @@ -199,6 +199,12 @@ private Flux getPaymentOrderIngestRequest(PaymentOrde }); // build delete payment list (Bank ref is in DBS, but not in core) + buildDeletePaymentList(existing, coreBankRefIds, paymentOrderIngestRequests); + + return Flux.fromIterable(paymentOrderIngestRequests); + } + + private void buildDeletePaymentList(List existing, List coreBankRefIds, List paymentOrderIngestRequests) { if (((PaymentOrderWorkerConfigurationProperties) streamWorkerConfiguration).isDeletePaymentOrder()) { existing.forEach(existingPaymentOrder -> { if(!coreBankRefIds.contains(existingPaymentOrder.getBankReferenceId())) { @@ -206,8 +212,6 @@ private Flux getPaymentOrderIngestRequest(PaymentOrde } }); } - - return Flux.fromIterable(paymentOrderIngestRequests); } private AccountArrangementItem getInternalArrangementId(List accountArrangementItemsList, String externalArrangementId) { @@ -254,4 +258,8 @@ private Mono retrieveNextPage(int currentCount, final private Boolean isEmptyUserId(String userId) { return userId == null || userId.isBlank(); } + + private String getInternalUserId(List paymentOrderPostRequests) { + return paymentOrderPostRequests == null ? null : paymentOrderPostRequests.isEmpty() ? null : paymentOrderPostRequests.get(0).getInternalUserId(); + } } From 266aa50a496ef7cf470c9f7dfdf070126eec4017 Mon Sep 17 00:00:00 2001 From: modak-akshay Date: Wed, 3 Apr 2024 17:58:37 +0530 Subject: [PATCH 07/11] Enhanced logic to reduce Cognitive Complexity. --- .../paymentorder/PaymentOrderUnitOfWorkExecutor.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/stream-payment-order/payment-order-core/src/main/java/com/backbase/stream/paymentorder/PaymentOrderUnitOfWorkExecutor.java b/stream-payment-order/payment-order-core/src/main/java/com/backbase/stream/paymentorder/PaymentOrderUnitOfWorkExecutor.java index 565504e40..17f341aa3 100644 --- a/stream-payment-order/payment-order-core/src/main/java/com/backbase/stream/paymentorder/PaymentOrderUnitOfWorkExecutor.java +++ b/stream-payment-order/payment-order-core/src/main/java/com/backbase/stream/paymentorder/PaymentOrderUnitOfWorkExecutor.java @@ -255,11 +255,15 @@ private Mono retrieveNextPage(int currentCount, final }); } - private Boolean isEmptyUserId(String userId) { + private boolean isEmptyUserId(String userId) { return userId == null || userId.isBlank(); } private String getInternalUserId(List paymentOrderPostRequests) { - return paymentOrderPostRequests == null ? null : paymentOrderPostRequests.isEmpty() ? null : paymentOrderPostRequests.get(0).getInternalUserId(); + if (paymentOrderPostRequests == null || paymentOrderPostRequests.isEmpty()) { + return null; + } else { + return paymentOrderPostRequests.get(0).getInternalUserId(); + } } } From 4a8d7edd780c6fcebccd476db8768eb602544051 Mon Sep 17 00:00:00 2001 From: Jan-Nel Date: Mon, 8 Apr 2024 14:47:30 -0400 Subject: [PATCH 08/11] updating changelog docs --- CHANGELOG.md | 4 ++++ .../paymentorder/PaymentOrderUnitOfWorkExecutor.java | 7 ------- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 94f2e2dfe..e2ee73bdf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ # Changelog All notable changes to this project will be documented in this file. +## [4.1.1](https://github.com/Backbase/stream-services/compare/4.1.0...4.1.1) +### Changed +- Use pagination to query Payment Orders + ## [4.1.0](https://github.com/Backbase/stream-services/compare/4.1.0...4.0.0) ### Changed - Bumping Service SDK to **16.1.5** diff --git a/stream-payment-order/payment-order-core/src/main/java/com/backbase/stream/paymentorder/PaymentOrderUnitOfWorkExecutor.java b/stream-payment-order/payment-order-core/src/main/java/com/backbase/stream/paymentorder/PaymentOrderUnitOfWorkExecutor.java index 622e9b0c3..e769c40b8 100644 --- a/stream-payment-order/payment-order-core/src/main/java/com/backbase/stream/paymentorder/PaymentOrderUnitOfWorkExecutor.java +++ b/stream-payment-order/payment-order-core/src/main/java/com/backbase/stream/paymentorder/PaymentOrderUnitOfWorkExecutor.java @@ -24,9 +24,6 @@ import java.util.List; import java.util.stream.Stream; -import javax.validation.Valid; -import javax.validation.constraints.NotNull; - import com.backbase.dbs.paymentorder.api.service.v2.PaymentOrdersApi; import com.backbase.dbs.paymentorder.api.service.v2.model.GetPaymentOrderResponse; import com.backbase.dbs.paymentorder.api.service.v2.model.PaymentOrderPostFilterRequest; @@ -46,10 +43,6 @@ import com.backbase.stream.worker.repository.UnitOfWorkRepository; import jakarta.validation.Valid; import jakarta.validation.constraints.NotNull; -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; -import java.util.stream.Stream; import lombok.extern.slf4j.Slf4j; import org.springframework.web.reactive.function.client.WebClientRequestException; import org.springframework.web.reactive.function.client.WebClientResponseException; From d007908fba4cfda7021c693ba8cce60692873547 Mon Sep 17 00:00:00 2001 From: Mostafa Rastegar Date: Wed, 10 Apr 2024 16:17:03 +0200 Subject: [PATCH 09/11] Release/5.0.0 (#408) * migrate-ssdk-17 (#401) * Bumping Service SDK to 16.1.6 * Bumping Service SDK to 17.0.0-rc.7 * update GHA * update version to 15.0.0 * resolve master merge conflicts * rollback the pipeline * CORS-2393 - add customerCategory to ServiceAgreementV2 * update ssdk to 17.0.0 * update CHANGELOG.md * set the version to 5.0.0 * update backbase-bom version to `2024.04-preview-rc.6` * sync with 2024.04-preview-rc.15 * NOJIRA - add internalId for SA creatorLegalEntity field * sync with backbase-bom 2024.03.4-LTS * NOJIRA - add additional log * NOJIRA - add additional log * NOJIRA - fix the Mono issue that was failing the further execution * set ProductGroups, ReferenceJobRoles and JobProfileUsers in SA-V2 existing mod * NOJIRA - fix the existing SA missing product groups and jobprofileusers for subsequent runs * CORS-2433: required changes to not throw exception * CORS-2433: required changes to not throw exception * improve test coverage * improve test coverage --------- Co-authored-by: mostafar Co-authored-by: Olena Chubukina Co-authored-by: minas * release stream 5.0.0 * release stream 5.0.0 --------- Co-authored-by: mostafar Co-authored-by: Olena Chubukina Co-authored-by: minas --- .github/workflows/build.yml | 10 +-- CHANGELOG.md | 3 + README.md | 3 +- api/stream-legal-entity/openapi.yaml | 4 +- e2e-tests/.env | 4 +- pom.xml | 10 +-- .../access-control-core/pom.xml | 2 +- .../stream/service/AccessGroupService.java | 2 +- .../service/AccessGroupServiceTest.java | 6 +- stream-access-control/pom.xml | 2 +- .../approvals-bootstrap-task/pom.xml | 2 +- stream-approvals/approvals-core/pom.xml | 2 +- .../com/backbase/stream/ApprovalSaga.java | 34 +++----- .../com/backbase/stream/ApprovalSagaTest.java | 83 +++++++++++++++++++ stream-approvals/pom.xml | 2 +- stream-audiences/audiences-core/pom.xml | 2 +- stream-audiences/pom.xml | 2 +- stream-compositions/api/cursors-api/pom.xml | 2 +- .../transaction-cursor-api/pom.xml | 2 +- .../legal-entity-integration-api/pom.xml | 2 +- .../payment-order-integration-api/pom.xml | 2 +- .../api/integrations-api/pom.xml | 2 +- .../product-catalog-integration-api/pom.xml | 2 +- .../product-integration-api/pom.xml | 2 +- .../transaction-integration-api/pom.xml | 2 +- stream-compositions/api/pom.xml | 2 +- .../legal-entity-composition-api/pom.xml | 2 +- .../payment-order-composition-api/pom.xml | 2 +- stream-compositions/api/service-api/pom.xml | 2 +- .../product-catalog-composition-api/pom.xml | 2 +- .../product-composition-api/pom.xml | 2 +- .../transaction-composition-api/pom.xml | 2 +- stream-compositions/cursors/pom.xml | 2 +- .../cursors/transaction-cursor/pom.xml | 2 +- .../events/legal-entity-egress/pom.xml | 2 +- .../events/legal-entity-ingress/pom.xml | 2 +- stream-compositions/events/pom.xml | 2 +- .../events/product-catalog-egress/pom.xml | 2 +- .../events/product-catalog-ingress/pom.xml | 2 +- .../events/product-egress/pom.xml | 2 +- .../events/product-ingress/pom.xml | 2 +- .../events/transaction-egress/pom.xml | 2 +- .../events/transaction-ingress/pom.xml | 2 +- stream-compositions/pom.xml | 8 +- .../legal-entity-composition-service/pom.xml | 2 +- .../payment-order-composition-service/pom.xml | 2 +- .../core/mapper/PaymentOrderMapper.java | 7 +- .../model/PaymentOrderIngestPushRequest.java | 2 +- .../PaymentOrderIngestionServiceImpl.java | 2 +- .../PaymentOrderIngestionServiceImplTest.java | 4 +- .../http/PaymentOrderControllerIT.java | 2 +- .../http/PaymentOrderControllerTest.java | 6 +- stream-compositions/services/pom.xml | 2 +- .../pom.xml | 2 +- .../product-composition-service/pom.xml | 2 +- .../transaction-composition-service/pom.xml | 2 +- stream-compositions/test-utils/pom.xml | 2 +- stream-contacts/contacts-core/pom.xml | 2 +- stream-contacts/pom.xml | 2 +- stream-cursor/cursor-core/pom.xml | 2 +- stream-cursor/cursor-http/pom.xml | 2 +- stream-cursor/cursor-publishers/pom.xml | 2 +- stream-cursor/cursor-store/pom.xml | 2 +- stream-cursor/pom.xml | 2 +- stream-dbs-clients/pom.xml | 10 +-- .../config/PaymentOrderClientConfig.java | 2 +- .../legal-entity-bootstrap-task/pom.xml | 2 +- stream-legal-entity/legal-entity-core/pom.xml | 2 +- .../stream/ServiceAgreementSagaV2.java | 62 +++++++++----- .../stream/ServiceAgreementV2SagaTest.java | 14 ++++ stream-legal-entity/legal-entity-http/pom.xml | 2 +- stream-legal-entity/pom.xml | 2 +- stream-limits/limits-core/pom.xml | 2 +- stream-limits/pom.xml | 2 +- stream-loans/loans-core/pom.xml | 3 +- stream-loans/pom.xml | 2 +- stream-models/approval-model/pom.xml | 2 +- stream-models/legal-entity-model/pom.xml | 2 +- stream-models/pom.xml | 2 +- stream-models/portfolio-model/pom.xml | 2 +- stream-models/product-catalog-model/pom.xml | 2 +- .../payment-order-core/pom.xml | 2 +- .../backbase/stream/PaymentOrderService.java | 2 +- .../stream/PaymentOrderServiceImpl.java | 2 +- .../PaymentOrderServiceConfiguration.java | 2 +- .../mappers/PaymentOrderTypeMapper.java | 6 +- .../model/PaymentOrderIngestContext.java | 4 +- .../request/NewPaymentOrderIngestRequest.java | 2 +- .../UpdatePaymentOrderIngestRequest.java | 2 +- .../NewPaymentOrderIngestDbsResponse.java | 2 +- .../UpdatePaymentOrderIngestDbsResponse.java | 2 +- .../PaymentOrderTaskExecutor.java | 10 +-- .../PaymentOrderUnitOfWorkExecutor.java | 24 +++--- .../stream/common/PaymentOrderBaseTest.java | 3 +- .../mappers/PaymentOrderTypeMapperTest.java | 5 +- .../service/PaymentOrderServiceTest.java | 2 +- .../task/PaymentOrderTaskExecutorTest.java | 9 +- .../stream/task/PaymentOrderTaskTest.java | 2 +- .../PaymentOrderUnitOfWorkExecutorTest.java | 19 ++--- stream-payment-order/pom.xml | 2 +- stream-portfolio/pom.xml | 2 +- .../portfolio-bootstrap-task/pom.xml | 2 +- stream-portfolio/portfolio-core/pom.xml | 2 +- .../service/PortfolioIntegrationService.java | 28 ++++--- .../PortfolioIntegrationServiceTest.java | 12 ++- stream-portfolio/portfolio-http/pom.xml | 2 +- stream-product-catalog/pom.xml | 2 +- .../product-catalog-core/pom.xml | 2 +- .../product-catalog-http/pom.xml | 2 +- .../product-catalog-task/pom.xml | 2 +- stream-product/pom.xml | 2 +- stream-product/product-core/pom.xml | 2 +- stream-product/product-ingestion-saga/pom.xml | 2 +- stream-sdk/pom.xml | 2 +- stream-sdk/stream-parent/pom.xml | 8 +- .../stream-context-propagation/pom.xml | 2 +- .../stream-dbs-web-client/pom.xml | 2 +- .../stream-openapi-support/pom.xml | 2 +- .../stream-parent/stream-test-support/pom.xml | 2 +- .../stream-parent/stream-worker/pom.xml | 2 +- stream-sdk/stream-starter-parents/pom.xml | 2 +- .../stream-http-starter-parent/pom.xml | 6 +- .../stream-task-starter-parent/pom.xml | 6 +- stream-transactions/pom.xml | 2 +- stream-transactions/transactions-core/pom.xml | 2 +- .../transactions-item-writer/pom.xml | 2 +- 126 files changed, 361 insertions(+), 242 deletions(-) create mode 100644 stream-approvals/approvals-core/src/test/java/com/backbase/stream/ApprovalSagaTest.java diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 40fdc35e1..c436fecf7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,16 +12,16 @@ jobs: if: "!contains(github.event.head_commit.message, '[skip bump]') && !contains(github.event.head_commit.message, 'nobump/')" runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal access token. fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of sonar analysis - - name: Set up JDK 17 - uses: actions/setup-java@v3 + - name: Set up JDK 21 + uses: actions/setup-java@v4 with: - java-version: 17 - distribution: adopt + java-version: 21 + distribution: temurin cache: maven - name: Cache SonarCloud packages diff --git a/CHANGELOG.md b/CHANGELOG.md index 94f2e2dfe..b45843e2b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,9 @@ # Changelog All notable changes to this project will be documented in this file. +## [5.0.0](https://github.com/Backbase/stream-services/compare/5.0.0...4.0.0) +### Changed +- Bumping Service SDK to **17.0.0** ## [4.1.0](https://github.com/Backbase/stream-services/compare/4.1.0...4.0.0) ### Changed - Bumping Service SDK to **16.1.5** diff --git a/README.md b/README.md index 3250cea2d..34204ae42 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,8 @@ You can find listed here the API specification containing the opinionated model | Stream [version](https://github.com/Backbase/stream-services/releases) | Banking Services | Java | Spring Boot | |------------------------------------------------------------------------|--------------------|------|-------------| -| 4.0.0 to latest | 2023.12 | 17 | 3.1 | +| 5.0.0 to latest | 2024.04 | 21 | 3.2 | +| 4.0.0 to 4.x.x | 2023.12 | 17 | 3.1 | | 3.70.0 to 3.x.x | 2023.09-LTS | 17 | 2.7 | | 3.50.0 to 3.69.0 | 2023.06 | 17 | 2.7 | | 3.34.0 to 3.49.0 | 2023.02-LTS | 17 | 2.7 | diff --git a/api/stream-legal-entity/openapi.yaml b/api/stream-legal-entity/openapi.yaml index 309f4f956..ac5099dc1 100644 --- a/api/stream-legal-entity/openapi.yaml +++ b/api/stream-legal-entity/openapi.yaml @@ -2,7 +2,7 @@ openapi: 3.0.1 info: title: Ingest Legal Entity API description: Ingestion Saga for Legal Entities and their products - version: 2.4.0 + version: 2.5.0 x-logo: url: "http://www.backbase.com/wp-content/uploads/2017/04/backbase-logo-png.png" backgroundColor: "#FFFFFF" @@ -1721,6 +1721,8 @@ components: description: End time of the service agreement. status: $ref: '#/components/schemas/LegalEntityStatus' + customerCategory: + $ref: '#/components/schemas/CustomerCategory' isMaster: type: boolean description: Master flag diff --git a/e2e-tests/.env b/e2e-tests/.env index 6acc1bcb2..a8e85ea8e 100644 --- a/e2e-tests/.env +++ b/e2e-tests/.env @@ -1,3 +1,3 @@ -BB_VERSION=2024.03.3-LTS -STREAM_VERSION=4.0.0 +BB_VERSION=2024.04 +STREAM_VERSION=5.0.0 STREAM_REGISTRY=harbor.backbase.eu/development diff --git a/pom.xml b/pom.xml index 3f11db48e..986d99e2e 100644 --- a/pom.xml +++ b/pom.xml @@ -5,13 +5,13 @@ com.backbase.buildingblocks backbase-parent - 16.1.5 + 17.0.0 com.backbase.stream stream-services - 4.1.0 + 5.0.0-SNAPSHOT pom Stream :: Services @@ -37,9 +37,9 @@ - 17 - 16.1.5 - 2023.12 + 21 + 17.0.0 + 2024.04 0.17.26 true spring diff --git a/stream-access-control/access-control-core/pom.xml b/stream-access-control/access-control-core/pom.xml index d440cacae..749ed0cd7 100644 --- a/stream-access-control/access-control-core/pom.xml +++ b/stream-access-control/access-control-core/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-access-control - 4.1.0 + 5.0.0-SNAPSHOT access-control-core diff --git a/stream-access-control/access-control-core/src/main/java/com/backbase/stream/service/AccessGroupService.java b/stream-access-control/access-control-core/src/main/java/com/backbase/stream/service/AccessGroupService.java index 63569a5a1..f102c9895 100644 --- a/stream-access-control/access-control-core/src/main/java/com/backbase/stream/service/AccessGroupService.java +++ b/stream-access-control/access-control-core/src/main/java/com/backbase/stream/service/AccessGroupService.java @@ -385,7 +385,7 @@ public Mono>> upda public Flux getServiceAgreementParticipants( StreamTask streamTask, ServiceAgreement serviceAgreement) { - return serviceAgreementsApi.getServiceAgreementParticipants(serviceAgreement.getInternalId()) + return serviceAgreementsApi.getServiceAgreementParticipants(serviceAgreement.getInternalId(), false) .onErrorResume(WebClientResponseException.NotFound.class, e -> Flux.empty()) .onErrorResume(WebClientResponseException.class, e -> { streamTask.error("participant", "update-participant", "failed", diff --git a/stream-access-control/access-control-core/src/test/java/com/backbase/stream/service/AccessGroupServiceTest.java b/stream-access-control/access-control-core/src/test/java/com/backbase/stream/service/AccessGroupServiceTest.java index d1e877e2b..165c30b42 100644 --- a/stream-access-control/access-control-core/src/test/java/com/backbase/stream/service/AccessGroupServiceTest.java +++ b/stream-access-control/access-control-core/src/test/java/com/backbase/stream/service/AccessGroupServiceTest.java @@ -182,7 +182,7 @@ void updateServiceAgreement() { .collect(Collectors.toList())); when(serviceAgreementsApi.putPresentationServiceAgreementUsersBatchUpdate(any())).thenReturn(usersResponse); - when(serviceAgreementsApi.getServiceAgreementParticipants(eq(saInternalId))) + when(serviceAgreementsApi.getServiceAgreementParticipants(eq(saInternalId), eq(false))) .thenReturn(Flux.fromIterable(Collections.emptyList())); Mono emptyExistingUsersList = Mono.just(new ServiceAgreementUsersQuery()); @@ -245,7 +245,7 @@ void updateServiceAgreementWithExistingParticipants() { new ServiceAgreementParticipantsGetResponseBody().externalId("p1"); ServiceAgreementParticipantsGetResponseBody existingPar2 = new ServiceAgreementParticipantsGetResponseBody().externalId("p2"); - when(serviceAgreementsApi.getServiceAgreementParticipants(eq(saInternalId))) + when(serviceAgreementsApi.getServiceAgreementParticipants(eq(saInternalId), eq(false))) .thenReturn(Flux.fromIterable(asList(existingPar1, existingPar2))); // users @@ -306,7 +306,7 @@ void updateParticipantsLogsAllErrors() { .status(HTTP_STATUS_OK)) )); - when(serviceAgreementsApi.getServiceAgreementParticipants(eq(saInternalId))) + when(serviceAgreementsApi.getServiceAgreementParticipants(eq(saInternalId), eq(false))) .thenReturn(Flux.fromIterable(Collections.emptyList())); diff --git a/stream-access-control/pom.xml b/stream-access-control/pom.xml index 795627f5c..ee87215f8 100644 --- a/stream-access-control/pom.xml +++ b/stream-access-control/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-services - 4.1.0 + 5.0.0-SNAPSHOT stream-access-control diff --git a/stream-approvals/approvals-bootstrap-task/pom.xml b/stream-approvals/approvals-bootstrap-task/pom.xml index 0250c15ef..b4e6b3b74 100644 --- a/stream-approvals/approvals-bootstrap-task/pom.xml +++ b/stream-approvals/approvals-bootstrap-task/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-task-starter-parent - 4.1.0 + 5.0.0-SNAPSHOT ../../stream-sdk/stream-starter-parents/stream-task-starter-parent diff --git a/stream-approvals/approvals-core/pom.xml b/stream-approvals/approvals-core/pom.xml index e8f4e67e6..7ae4c3928 100644 --- a/stream-approvals/approvals-core/pom.xml +++ b/stream-approvals/approvals-core/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-approvals - 4.1.0 + 5.0.0-SNAPSHOT approvals-core diff --git a/stream-approvals/approvals-core/src/main/java/com/backbase/stream/ApprovalSaga.java b/stream-approvals/approvals-core/src/main/java/com/backbase/stream/ApprovalSaga.java index 6b5f189ad..f724a6211 100644 --- a/stream-approvals/approvals-core/src/main/java/com/backbase/stream/ApprovalSaga.java +++ b/stream-approvals/approvals-core/src/main/java/com/backbase/stream/ApprovalSaga.java @@ -8,13 +8,9 @@ import com.backbase.stream.approval.model.Policy; import com.backbase.stream.approval.model.PolicyAssignmentItem; import com.backbase.stream.approval.model.PolicyItem; -import com.backbase.stream.exceptions.ApprovalTypeException; -import com.backbase.stream.exceptions.PolicyAssignmentException; -import com.backbase.stream.exceptions.PolicyException; import com.backbase.stream.service.AccessGroupService; import com.backbase.stream.service.ApprovalsIntegrationService; import com.backbase.stream.worker.StreamTaskExecutor; -import com.backbase.stream.worker.exception.StreamTaskException; import io.micrometer.tracing.annotation.ContinueSpan; import io.micrometer.tracing.annotation.SpanTag; import java.util.Collection; @@ -75,12 +71,10 @@ private Mono upsertApprovalTypes(@SpanTag(value = "streamTask") Ap task.info(APPROVAL_TYPE_ENTITY, UPSERT, null, null, null, "Upsert Approval Types"); return Flux.fromStream(nullableCollectionToStream(task.getData().getApprovalTypes())) .flatMap(approvalsIntegrationService::createApprovalType) - .onErrorResume(ApprovalTypeException.class, approvalTypeException -> { + .onErrorContinue((throwable, o) -> task.error(APPROVAL_TYPE_ENTITY, UPSERT_APPROVAL_TYPE, FAILED, null, null, - approvalTypeException, approvalTypeException.getHttpResponse(), - approvalTypeException.getMessage()); - return Mono.error(new StreamTaskException(task, approvalTypeException)); - }) + throwable, throwable.getMessage(), + throwable.getMessage())) .collectList() .map(approvals -> { Map approvalTypeIdByName = @@ -105,12 +99,10 @@ private Mono upsertPolicy(@SpanTag(value = "streamTask") ApprovalT return p; }) .flatMap(approvalsIntegrationService::createPolicy) - .onErrorResume(PolicyException.class, policyException -> { + .onErrorContinue((throwable, o) -> task.error(POLICY_ENTITY, UPSERT_POLICY, FAILED, null, null, - policyException, policyException.getHttpResponse(), - policyException.getMessage()); - return Mono.error(new StreamTaskException(task, policyException)); - }) + throwable, throwable.getMessage(), + throwable.getMessage())) .collectList() .map(policies -> { Map policyIdByName = @@ -143,11 +135,9 @@ private Mono setupPolicyAssignment(@SpanTag(value = "streamTask") return pa; }) .flatMap(approvalsIntegrationService::assignPolicies) - .onErrorResume(PolicyAssignmentException.class, e -> { - task.error(ASSIGN_POLICY, UPSERT_POLICY_ASSIGNMENT, FAILED, null, null, e, - e.getHttpResponse(), e.getMessage()); - return Mono.error(new StreamTaskException(task, e)); - }) + .onErrorContinue((throwable, o) -> + task.error(ASSIGN_POLICY, UPSERT_POLICY_ASSIGNMENT, FAILED, null, null, throwable, + throwable.getMessage(), throwable.getMessage())) .collectList() .map(v -> task); } @@ -189,11 +179,7 @@ private Mono assignmentApprovalTypeLevels(@SpanTag(value = "stream }); }) .flatMap(approvalsIntegrationService::assignApprovalTypeLevels) - .onErrorResume(PolicyAssignmentException.class, e -> { - task.error(ASSIGN_POLICY, UPSERT_POLICY_ASSIGNMENT, FAILED, null, null, - e, e.getHttpResponse(), e.getMessage()); - return Mono.error(new StreamTaskException(task, e)); - }) + .onErrorContinue((throwable, o) -> Mono.just(task)) .collectList() .map(v -> task); } diff --git a/stream-approvals/approvals-core/src/test/java/com/backbase/stream/ApprovalSagaTest.java b/stream-approvals/approvals-core/src/test/java/com/backbase/stream/ApprovalSagaTest.java new file mode 100644 index 000000000..87e4c3f35 --- /dev/null +++ b/stream-approvals/approvals-core/src/test/java/com/backbase/stream/ApprovalSagaTest.java @@ -0,0 +1,83 @@ +package com.backbase.stream; + + +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertNotNull; +import static org.mockito.ArgumentMatchers.any; +import static org.mockito.Mockito.when; + +import com.backbase.dbs.accesscontrol.api.service.v3.model.FunctionGroupItem; +import com.backbase.stream.approval.model.Approval; +import com.backbase.stream.approval.model.ApprovalType; +import com.backbase.stream.approval.model.ApprovalTypeAssignmentItem; +import com.backbase.stream.approval.model.IntegrationPolicyAssignmentRequestBounds; +import com.backbase.stream.approval.model.Policy; +import com.backbase.stream.approval.model.PolicyAssignment; +import com.backbase.stream.approval.model.PolicyAssignmentItem; +import com.backbase.stream.approval.model.PolicyItem; +import com.backbase.stream.approval.model.PolicyLogicalItem; +import com.backbase.stream.legalentity.model.ServiceAgreement; +import com.backbase.stream.service.AccessGroupService; +import com.backbase.stream.service.ApprovalsIntegrationService; +import java.math.BigDecimal; +import java.util.List; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.extension.ExtendWith; +import org.mockito.InjectMocks; +import org.mockito.Mock; +import org.mockito.Mockito; +import org.mockito.junit.jupiter.MockitoExtension; +import reactor.core.publisher.Mono; + +@ExtendWith(MockitoExtension.class) +class ApprovalSagaTest { + + @Mock + private AccessGroupService accessGroupService; + + @Mock + private ApprovalsIntegrationService approvalsIntegrationService; + + @InjectMocks + ApprovalSaga approvalSaga; + + @Test + void executeTask() { + String approvalName = "high level approvals"; + Approval approval = new Approval() + .name(approvalName) + .addPoliciesItem(new Policy(List.of(new PolicyLogicalItem().rank(BigDecimal.ONE) + .addItemsItem(new PolicyItem().approvalTypeName("Level A").numberOfApprovals(BigDecimal.ONE))), + List.of())) + .addApprovalTypesItem( + new ApprovalType().rank(BigDecimal.ONE).name("Level A").description("Level A Approvals")) + .addPolicyAssignmentsItem(new PolicyAssignment().externalServiceAgreementId("externalId") + .addApprovalTypeAssignmentsItem( + new ApprovalTypeAssignmentItem().approvalTypeName("Level A").jobProfileName("All")) + .addPolicyAssignmentItemsItem(new PolicyAssignmentItem().externalServiceAgreementId("externalId") + .addFunctionsItem("Assign Users") + .addBoundsItem(new IntegrationPolicyAssignmentRequestBounds("id").policyName("Dual Control")) + .addBoundsItem(new IntegrationPolicyAssignmentRequestBounds(null).policyName("Control")))); + ApprovalTask approvalTask = new ApprovalTask(approval); + + when(accessGroupService.getFunctionGroupsForServiceAgreement(any())).thenReturn( + Mono.just(List.of(new FunctionGroupItem().name("name").id("id")))); + when(accessGroupService.getServiceAgreementByExternalId(any())).thenReturn( + Mono.just(new ServiceAgreement().internalId("id"))); + var value = approvalSaga.executeTask(approvalTask).block(); + assertEquals(approvalName, value.getApproval().getName()); + } + + @Test + void rollBack() { + ApprovalTask streamTask = Mockito.spy(new ApprovalTask()); + Mono approvalTaskMono = approvalSaga.rollBack(streamTask); + + assertNotNull(approvalTaskMono); + + approvalTaskMono.block(); + + Mockito.verify(streamTask, Mockito.never()).getData(); + } + +} \ No newline at end of file diff --git a/stream-approvals/pom.xml b/stream-approvals/pom.xml index 767cc14d5..4a4afcd5a 100644 --- a/stream-approvals/pom.xml +++ b/stream-approvals/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-services - 4.1.0 + 5.0.0-SNAPSHOT stream-approvals diff --git a/stream-audiences/audiences-core/pom.xml b/stream-audiences/audiences-core/pom.xml index 9a18093fa..b51b482d1 100644 --- a/stream-audiences/audiences-core/pom.xml +++ b/stream-audiences/audiences-core/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-audiences - 4.1.0 + 5.0.0-SNAPSHOT audiences-core diff --git a/stream-audiences/pom.xml b/stream-audiences/pom.xml index 8f6446e8a..137f1cc63 100644 --- a/stream-audiences/pom.xml +++ b/stream-audiences/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-services - 4.1.0 + 5.0.0-SNAPSHOT stream-audiences diff --git a/stream-compositions/api/cursors-api/pom.xml b/stream-compositions/api/cursors-api/pom.xml index 7ec07f690..ab896901b 100644 --- a/stream-compositions/api/cursors-api/pom.xml +++ b/stream-compositions/api/cursors-api/pom.xml @@ -5,7 +5,7 @@ api com.backbase.stream.compositions - 4.1.0 + 5.0.0-SNAPSHOT cursors-api diff --git a/stream-compositions/api/cursors-api/transaction-cursor-api/pom.xml b/stream-compositions/api/cursors-api/transaction-cursor-api/pom.xml index 34118d94f..8f949b240 100644 --- a/stream-compositions/api/cursors-api/transaction-cursor-api/pom.xml +++ b/stream-compositions/api/cursors-api/transaction-cursor-api/pom.xml @@ -5,7 +5,7 @@ cursors-api com.backbase.stream.compositions - 4.1.0 + 5.0.0-SNAPSHOT 4.0.0 diff --git a/stream-compositions/api/integrations-api/legal-entity-integration-api/pom.xml b/stream-compositions/api/integrations-api/legal-entity-integration-api/pom.xml index 55adc0d55..7ad356662 100644 --- a/stream-compositions/api/integrations-api/legal-entity-integration-api/pom.xml +++ b/stream-compositions/api/integrations-api/legal-entity-integration-api/pom.xml @@ -6,7 +6,7 @@ integrations-api com.backbase.stream.compositions - 4.1.0 + 5.0.0-SNAPSHOT com.backbase.stream.compositions.api diff --git a/stream-compositions/api/integrations-api/payment-order-integration-api/pom.xml b/stream-compositions/api/integrations-api/payment-order-integration-api/pom.xml index 1a3165eb1..e2ac18eca 100644 --- a/stream-compositions/api/integrations-api/payment-order-integration-api/pom.xml +++ b/stream-compositions/api/integrations-api/payment-order-integration-api/pom.xml @@ -6,7 +6,7 @@ integrations-api com.backbase.stream.compositions - 4.1.0 + 5.0.0-SNAPSHOT com.backbase.stream.compositions.api diff --git a/stream-compositions/api/integrations-api/pom.xml b/stream-compositions/api/integrations-api/pom.xml index e3a28dda6..1c71a13c1 100644 --- a/stream-compositions/api/integrations-api/pom.xml +++ b/stream-compositions/api/integrations-api/pom.xml @@ -6,7 +6,7 @@ api com.backbase.stream.compositions - 4.1.0 + 5.0.0-SNAPSHOT integrations-api diff --git a/stream-compositions/api/integrations-api/product-catalog-integration-api/pom.xml b/stream-compositions/api/integrations-api/product-catalog-integration-api/pom.xml index 924b6c34e..60cf3d085 100644 --- a/stream-compositions/api/integrations-api/product-catalog-integration-api/pom.xml +++ b/stream-compositions/api/integrations-api/product-catalog-integration-api/pom.xml @@ -6,7 +6,7 @@ integrations-api com.backbase.stream.compositions - 4.1.0 + 5.0.0-SNAPSHOT com.backbase.stream.compositions.api diff --git a/stream-compositions/api/integrations-api/product-integration-api/pom.xml b/stream-compositions/api/integrations-api/product-integration-api/pom.xml index fff3ce959..0413d885f 100644 --- a/stream-compositions/api/integrations-api/product-integration-api/pom.xml +++ b/stream-compositions/api/integrations-api/product-integration-api/pom.xml @@ -6,7 +6,7 @@ integrations-api com.backbase.stream.compositions - 4.1.0 + 5.0.0-SNAPSHOT com.backbase.stream.compositions.api diff --git a/stream-compositions/api/integrations-api/transaction-integration-api/pom.xml b/stream-compositions/api/integrations-api/transaction-integration-api/pom.xml index aa1a35a6e..539676621 100644 --- a/stream-compositions/api/integrations-api/transaction-integration-api/pom.xml +++ b/stream-compositions/api/integrations-api/transaction-integration-api/pom.xml @@ -6,7 +6,7 @@ integrations-api com.backbase.stream.compositions - 4.1.0 + 5.0.0-SNAPSHOT com.backbase.stream.compositions.api diff --git a/stream-compositions/api/pom.xml b/stream-compositions/api/pom.xml index b4319a9a4..3242a141e 100644 --- a/stream-compositions/api/pom.xml +++ b/stream-compositions/api/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-compositions - 4.1.0 + 5.0.0-SNAPSHOT com.backbase.stream.compositions diff --git a/stream-compositions/api/service-api/legal-entity-composition-api/pom.xml b/stream-compositions/api/service-api/legal-entity-composition-api/pom.xml index 3b8770b72..7460b0683 100644 --- a/stream-compositions/api/service-api/legal-entity-composition-api/pom.xml +++ b/stream-compositions/api/service-api/legal-entity-composition-api/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream.compositions service-api - 4.1.0 + 5.0.0-SNAPSHOT com.backbase.stream.compositions.api diff --git a/stream-compositions/api/service-api/payment-order-composition-api/pom.xml b/stream-compositions/api/service-api/payment-order-composition-api/pom.xml index cfa5f82c0..efbd884ea 100644 --- a/stream-compositions/api/service-api/payment-order-composition-api/pom.xml +++ b/stream-compositions/api/service-api/payment-order-composition-api/pom.xml @@ -6,7 +6,7 @@ service-api com.backbase.stream.compositions - 4.1.0 + 5.0.0-SNAPSHOT com.backbase.stream.compositions.api diff --git a/stream-compositions/api/service-api/pom.xml b/stream-compositions/api/service-api/pom.xml index a10b40411..575cd75fc 100644 --- a/stream-compositions/api/service-api/pom.xml +++ b/stream-compositions/api/service-api/pom.xml @@ -6,7 +6,7 @@ com.backbase.stream.compositions api - 4.1.0 + 5.0.0-SNAPSHOT service-api diff --git a/stream-compositions/api/service-api/product-catalog-composition-api/pom.xml b/stream-compositions/api/service-api/product-catalog-composition-api/pom.xml index e5c194024..aca28972c 100644 --- a/stream-compositions/api/service-api/product-catalog-composition-api/pom.xml +++ b/stream-compositions/api/service-api/product-catalog-composition-api/pom.xml @@ -6,7 +6,7 @@ service-api com.backbase.stream.compositions - 4.1.0 + 5.0.0-SNAPSHOT com.backbase.stream.compositions.api diff --git a/stream-compositions/api/service-api/product-composition-api/pom.xml b/stream-compositions/api/service-api/product-composition-api/pom.xml index bd9d55aea..a243c4e3f 100644 --- a/stream-compositions/api/service-api/product-composition-api/pom.xml +++ b/stream-compositions/api/service-api/product-composition-api/pom.xml @@ -6,7 +6,7 @@ service-api com.backbase.stream.compositions - 4.1.0 + 5.0.0-SNAPSHOT com.backbase.stream.compositions.api diff --git a/stream-compositions/api/service-api/transaction-composition-api/pom.xml b/stream-compositions/api/service-api/transaction-composition-api/pom.xml index 49087878b..2114cef0f 100644 --- a/stream-compositions/api/service-api/transaction-composition-api/pom.xml +++ b/stream-compositions/api/service-api/transaction-composition-api/pom.xml @@ -6,7 +6,7 @@ service-api com.backbase.stream.compositions - 4.1.0 + 5.0.0-SNAPSHOT com.backbase.stream.compositions.api diff --git a/stream-compositions/cursors/pom.xml b/stream-compositions/cursors/pom.xml index 438390c8b..250d9a50a 100644 --- a/stream-compositions/cursors/pom.xml +++ b/stream-compositions/cursors/pom.xml @@ -5,7 +5,7 @@ stream-compositions com.backbase.stream - 4.1.0 + 5.0.0-SNAPSHOT 4.0.0 diff --git a/stream-compositions/cursors/transaction-cursor/pom.xml b/stream-compositions/cursors/transaction-cursor/pom.xml index 23da0247c..040dfe2d4 100644 --- a/stream-compositions/cursors/transaction-cursor/pom.xml +++ b/stream-compositions/cursors/transaction-cursor/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream.compositions cursors - 4.1.0 + 5.0.0-SNAPSHOT 4.0.0 diff --git a/stream-compositions/events/legal-entity-egress/pom.xml b/stream-compositions/events/legal-entity-egress/pom.xml index 2b8c99dcc..687d50f71 100644 --- a/stream-compositions/events/legal-entity-egress/pom.xml +++ b/stream-compositions/events/legal-entity-egress/pom.xml @@ -5,7 +5,7 @@ events com.backbase.stream.compositions - 4.1.0 + 5.0.0-SNAPSHOT com.backbase.stream.compositions.events diff --git a/stream-compositions/events/legal-entity-ingress/pom.xml b/stream-compositions/events/legal-entity-ingress/pom.xml index b13ac4442..2bf3508c6 100644 --- a/stream-compositions/events/legal-entity-ingress/pom.xml +++ b/stream-compositions/events/legal-entity-ingress/pom.xml @@ -5,7 +5,7 @@ events com.backbase.stream.compositions - 4.1.0 + 5.0.0-SNAPSHOT com.backbase.stream.compositions.events diff --git a/stream-compositions/events/pom.xml b/stream-compositions/events/pom.xml index 92baeb84c..1ca50d949 100644 --- a/stream-compositions/events/pom.xml +++ b/stream-compositions/events/pom.xml @@ -6,7 +6,7 @@ com.backbase.stream stream-compositions - 4.1.0 + 5.0.0-SNAPSHOT com.backbase.stream.compositions diff --git a/stream-compositions/events/product-catalog-egress/pom.xml b/stream-compositions/events/product-catalog-egress/pom.xml index 9b315cf5a..18ac56aa3 100644 --- a/stream-compositions/events/product-catalog-egress/pom.xml +++ b/stream-compositions/events/product-catalog-egress/pom.xml @@ -5,7 +5,7 @@ events com.backbase.stream.compositions - 4.1.0 + 5.0.0-SNAPSHOT com.backbase.stream.compositions.events diff --git a/stream-compositions/events/product-catalog-ingress/pom.xml b/stream-compositions/events/product-catalog-ingress/pom.xml index 7cb8f6c69..80bf83558 100644 --- a/stream-compositions/events/product-catalog-ingress/pom.xml +++ b/stream-compositions/events/product-catalog-ingress/pom.xml @@ -5,7 +5,7 @@ events com.backbase.stream.compositions - 4.1.0 + 5.0.0-SNAPSHOT com.backbase.stream.compositions.events diff --git a/stream-compositions/events/product-egress/pom.xml b/stream-compositions/events/product-egress/pom.xml index 5fc6fec7d..867a46790 100644 --- a/stream-compositions/events/product-egress/pom.xml +++ b/stream-compositions/events/product-egress/pom.xml @@ -5,7 +5,7 @@ events com.backbase.stream.compositions - 4.1.0 + 5.0.0-SNAPSHOT com.backbase.stream.compositions.events diff --git a/stream-compositions/events/product-ingress/pom.xml b/stream-compositions/events/product-ingress/pom.xml index 0e163ada1..8d82caa43 100644 --- a/stream-compositions/events/product-ingress/pom.xml +++ b/stream-compositions/events/product-ingress/pom.xml @@ -5,7 +5,7 @@ events com.backbase.stream.compositions - 4.1.0 + 5.0.0-SNAPSHOT com.backbase.stream.compositions.events diff --git a/stream-compositions/events/transaction-egress/pom.xml b/stream-compositions/events/transaction-egress/pom.xml index b09d3097b..ce3deb4b0 100644 --- a/stream-compositions/events/transaction-egress/pom.xml +++ b/stream-compositions/events/transaction-egress/pom.xml @@ -5,7 +5,7 @@ events com.backbase.stream.compositions - 4.1.0 + 5.0.0-SNAPSHOT com.backbase.stream.compositions.events diff --git a/stream-compositions/events/transaction-ingress/pom.xml b/stream-compositions/events/transaction-ingress/pom.xml index ecd01c94e..2383be19a 100644 --- a/stream-compositions/events/transaction-ingress/pom.xml +++ b/stream-compositions/events/transaction-ingress/pom.xml @@ -5,7 +5,7 @@ events com.backbase.stream.compositions - 4.1.0 + 5.0.0-SNAPSHOT com.backbase.stream.compositions.events diff --git a/stream-compositions/pom.xml b/stream-compositions/pom.xml index da7c6640c..b9f5257ea 100644 --- a/stream-compositions/pom.xml +++ b/stream-compositions/pom.xml @@ -7,13 +7,13 @@ com.backbase.buildingblocks service-sdk-starter-reactive - 16.1.5 + 17.0.0 com.backbase.stream stream-compositions - 4.1.0 + 5.0.0-SNAPSHOT pom Stream :: Compositions @@ -33,8 +33,8 @@ 5.15.0 false **/test/**/* - 2022.0.4 - 16.1.5 + 2023.0.1 + 17.0.0 3.0.2 /tmp true diff --git a/stream-compositions/services/legal-entity-composition-service/pom.xml b/stream-compositions/services/legal-entity-composition-service/pom.xml index e08b5a387..6b84fd430 100644 --- a/stream-compositions/services/legal-entity-composition-service/pom.xml +++ b/stream-compositions/services/legal-entity-composition-service/pom.xml @@ -7,7 +7,7 @@ com.backbase.stream.compositions services - 4.1.0 + 5.0.0-SNAPSHOT legal-entity-composition-service diff --git a/stream-compositions/services/payment-order-composition-service/pom.xml b/stream-compositions/services/payment-order-composition-service/pom.xml index 7f11e8cc8..3d6547d0d 100644 --- a/stream-compositions/services/payment-order-composition-service/pom.xml +++ b/stream-compositions/services/payment-order-composition-service/pom.xml @@ -6,7 +6,7 @@ com.backbase.stream.compositions services - 4.1.0 + 5.0.0-SNAPSHOT payment-order-composition-service diff --git a/stream-compositions/services/payment-order-composition-service/src/main/java/com/backbase/stream/compositions/paymentorders/core/mapper/PaymentOrderMapper.java b/stream-compositions/services/payment-order-composition-service/src/main/java/com/backbase/stream/compositions/paymentorders/core/mapper/PaymentOrderMapper.java index acc56b7eb..f09799677 100644 --- a/stream-compositions/services/payment-order-composition-service/src/main/java/com/backbase/stream/compositions/paymentorders/core/mapper/PaymentOrderMapper.java +++ b/stream-compositions/services/payment-order-composition-service/src/main/java/com/backbase/stream/compositions/paymentorders/core/mapper/PaymentOrderMapper.java @@ -2,15 +2,14 @@ import java.util.List; -import com.backbase.dbs.paymentorder.api.service.v2.model.PaymentOrderPutResponse; +import com.backbase.dbs.paymentorder.api.service.v3.model.PaymentOrderPutResponse; import org.mapstruct.InjectionStrategy; import org.mapstruct.Mapper; import org.mapstruct.Mapping; import org.springframework.stereotype.Component; -import com.backbase.dbs.paymentorder.api.service.v2.model.PaymentOrderPostRequest; -import com.backbase.dbs.paymentorder.api.service.v2.model.PaymentOrderPostResponse; -import com.backbase.dbs.paymentorder.api.service.v2.model.UpdateStatusPut; +import com.backbase.dbs.paymentorder.api.service.v3.model.PaymentOrderPostRequest; +import com.backbase.dbs.paymentorder.api.service.v3.model.PaymentOrderPostResponse; import com.backbase.stream.compositions.paymentorder.api.model.PaymentOrderIngestionResponse; import com.backbase.stream.compositions.paymentorder.api.model.PaymentOrderPullIngestionRequest; import com.backbase.stream.compositions.paymentorder.api.model.PaymentOrderPushIngestionRequest; diff --git a/stream-compositions/services/payment-order-composition-service/src/main/java/com/backbase/stream/compositions/paymentorders/core/model/PaymentOrderIngestPushRequest.java b/stream-compositions/services/payment-order-composition-service/src/main/java/com/backbase/stream/compositions/paymentorders/core/model/PaymentOrderIngestPushRequest.java index 105853f5b..8ada8ae4b 100644 --- a/stream-compositions/services/payment-order-composition-service/src/main/java/com/backbase/stream/compositions/paymentorders/core/model/PaymentOrderIngestPushRequest.java +++ b/stream-compositions/services/payment-order-composition-service/src/main/java/com/backbase/stream/compositions/paymentorders/core/model/PaymentOrderIngestPushRequest.java @@ -1,6 +1,6 @@ package com.backbase.stream.compositions.paymentorders.core.model; -import com.backbase.dbs.paymentorder.api.service.v2.model.PaymentOrderPostRequest; +import com.backbase.dbs.paymentorder.api.service.v3.model.PaymentOrderPostRequest; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; diff --git a/stream-compositions/services/payment-order-composition-service/src/main/java/com/backbase/stream/compositions/paymentorders/core/service/impl/PaymentOrderIngestionServiceImpl.java b/stream-compositions/services/payment-order-composition-service/src/main/java/com/backbase/stream/compositions/paymentorders/core/service/impl/PaymentOrderIngestionServiceImpl.java index 934a07033..85345bca0 100644 --- a/stream-compositions/services/payment-order-composition-service/src/main/java/com/backbase/stream/compositions/paymentorders/core/service/impl/PaymentOrderIngestionServiceImpl.java +++ b/stream-compositions/services/payment-order-composition-service/src/main/java/com/backbase/stream/compositions/paymentorders/core/service/impl/PaymentOrderIngestionServiceImpl.java @@ -5,7 +5,7 @@ import org.springframework.stereotype.Service; -import com.backbase.dbs.paymentorder.api.service.v2.model.PaymentOrderPostRequest; +import com.backbase.dbs.paymentorder.api.service.v3.model.PaymentOrderPostRequest; import com.backbase.stream.PaymentOrderService; import com.backbase.stream.compositions.paymentorders.core.mapper.PaymentOrderMapper; import com.backbase.stream.compositions.paymentorders.core.model.PaymentOrderIngestPullRequest; diff --git a/stream-compositions/services/payment-order-composition-service/src/test/java/com/backbase/stream/compositions/paymentorders/core/service/impl/PaymentOrderIngestionServiceImplTest.java b/stream-compositions/services/payment-order-composition-service/src/test/java/com/backbase/stream/compositions/paymentorders/core/service/impl/PaymentOrderIngestionServiceImplTest.java index 7fb312946..898cf90c2 100644 --- a/stream-compositions/services/payment-order-composition-service/src/test/java/com/backbase/stream/compositions/paymentorders/core/service/impl/PaymentOrderIngestionServiceImplTest.java +++ b/stream-compositions/services/payment-order-composition-service/src/test/java/com/backbase/stream/compositions/paymentorders/core/service/impl/PaymentOrderIngestionServiceImplTest.java @@ -4,8 +4,8 @@ import static org.mockito.Mockito.when; import com.backbase.buildingblocks.backend.communication.event.proxy.EventBus; -import com.backbase.dbs.paymentorder.api.service.v2.model.PaymentOrderPostRequest; -import com.backbase.dbs.paymentorder.api.service.v2.model.PaymentOrderPutRequest; +import com.backbase.dbs.paymentorder.api.service.v3.model.PaymentOrderPostRequest; +import com.backbase.dbs.paymentorder.api.service.v3.model.PaymentOrderPutRequest; import com.backbase.stream.PaymentOrderService; import com.backbase.stream.compositions.paymentorders.core.mapper.PaymentOrderMapper; import com.backbase.stream.compositions.paymentorders.core.model.PaymentOrderIngestPullRequest; diff --git a/stream-compositions/services/payment-order-composition-service/src/test/java/com/backbase/stream/compositions/paymentorders/http/PaymentOrderControllerIT.java b/stream-compositions/services/payment-order-composition-service/src/test/java/com/backbase/stream/compositions/paymentorders/http/PaymentOrderControllerIT.java index 2ca528bc5..a41e56154 100644 --- a/stream-compositions/services/payment-order-composition-service/src/test/java/com/backbase/stream/compositions/paymentorders/http/PaymentOrderControllerIT.java +++ b/stream-compositions/services/payment-order-composition-service/src/test/java/com/backbase/stream/compositions/paymentorders/http/PaymentOrderControllerIT.java @@ -1,6 +1,6 @@ package com.backbase.stream.compositions.paymentorders.http; -import com.backbase.dbs.paymentorder.api.service.v2.model.PaymentOrderPostResponse; +import com.backbase.dbs.paymentorder.api.service.v3.model.PaymentOrderPostResponse; import com.backbase.stream.PaymentOrderService; import com.backbase.stream.compositions.paymentorder.api.model.PaymentOrderPostRequest; import com.backbase.stream.compositions.paymentorder.api.model.PaymentOrderPullIngestionRequest; diff --git a/stream-compositions/services/payment-order-composition-service/src/test/java/com/backbase/stream/compositions/paymentorders/http/PaymentOrderControllerTest.java b/stream-compositions/services/payment-order-composition-service/src/test/java/com/backbase/stream/compositions/paymentorders/http/PaymentOrderControllerTest.java index f98497940..533460e56 100644 --- a/stream-compositions/services/payment-order-composition-service/src/test/java/com/backbase/stream/compositions/paymentorders/http/PaymentOrderControllerTest.java +++ b/stream-compositions/services/payment-order-composition-service/src/test/java/com/backbase/stream/compositions/paymentorders/http/PaymentOrderControllerTest.java @@ -1,8 +1,8 @@ package com.backbase.stream.compositions.paymentorders.http; -import com.backbase.dbs.paymentorder.api.service.v2.model.PaymentOrderPostResponse; -import com.backbase.dbs.paymentorder.api.service.v2.model.PaymentOrderPutResponse; -import com.backbase.dbs.paymentorder.api.service.v2.model.UpdateStatusPut; +import com.backbase.dbs.paymentorder.api.service.v3.model.PaymentOrderPostResponse; +import com.backbase.dbs.paymentorder.api.service.v3.model.PaymentOrderPutResponse; +import com.backbase.dbs.paymentorder.api.service.v3.model.UpdateStatusPut; import com.backbase.stream.PaymentOrderService; import com.backbase.stream.compositions.paymentorder.api.model.PaymentOrderIngestionResponse; import com.backbase.stream.compositions.paymentorder.api.model.PaymentOrderPullIngestionRequest; diff --git a/stream-compositions/services/pom.xml b/stream-compositions/services/pom.xml index dcf56ea00..4cc64de21 100644 --- a/stream-compositions/services/pom.xml +++ b/stream-compositions/services/pom.xml @@ -6,7 +6,7 @@ com.backbase.stream stream-compositions - 4.1.0 + 5.0.0-SNAPSHOT com.backbase.stream.compositions diff --git a/stream-compositions/services/product-catalog-composition-service/pom.xml b/stream-compositions/services/product-catalog-composition-service/pom.xml index 52f09f1c7..07cd7d398 100644 --- a/stream-compositions/services/product-catalog-composition-service/pom.xml +++ b/stream-compositions/services/product-catalog-composition-service/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream.compositions services - 4.1.0 + 5.0.0-SNAPSHOT product-catalog-composition-service diff --git a/stream-compositions/services/product-composition-service/pom.xml b/stream-compositions/services/product-composition-service/pom.xml index 4cb00b796..d696c0aab 100644 --- a/stream-compositions/services/product-composition-service/pom.xml +++ b/stream-compositions/services/product-composition-service/pom.xml @@ -7,7 +7,7 @@ com.backbase.stream.compositions services - 4.1.0 + 5.0.0-SNAPSHOT product-composition-service diff --git a/stream-compositions/services/transaction-composition-service/pom.xml b/stream-compositions/services/transaction-composition-service/pom.xml index 5c79e3267..f554c0d23 100644 --- a/stream-compositions/services/transaction-composition-service/pom.xml +++ b/stream-compositions/services/transaction-composition-service/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream.compositions services - 4.1.0 + 5.0.0-SNAPSHOT transaction-composition-service diff --git a/stream-compositions/test-utils/pom.xml b/stream-compositions/test-utils/pom.xml index ff6088589..97d5233d9 100644 --- a/stream-compositions/test-utils/pom.xml +++ b/stream-compositions/test-utils/pom.xml @@ -6,7 +6,7 @@ stream-compositions com.backbase.stream - 4.1.0 + 5.0.0-SNAPSHOT com.backbase.stream.compositions diff --git a/stream-contacts/contacts-core/pom.xml b/stream-contacts/contacts-core/pom.xml index 07e568f1f..09cc5e831 100644 --- a/stream-contacts/contacts-core/pom.xml +++ b/stream-contacts/contacts-core/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-contacts - 4.1.0 + 5.0.0-SNAPSHOT contacts-core diff --git a/stream-contacts/pom.xml b/stream-contacts/pom.xml index 9d59b6603..7a59e926b 100644 --- a/stream-contacts/pom.xml +++ b/stream-contacts/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-services - 4.1.0 + 5.0.0-SNAPSHOT stream-contacts diff --git a/stream-cursor/cursor-core/pom.xml b/stream-cursor/cursor-core/pom.xml index c839d0132..540517ccb 100644 --- a/stream-cursor/cursor-core/pom.xml +++ b/stream-cursor/cursor-core/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-cursor - 4.1.0 + 5.0.0-SNAPSHOT cursor-core diff --git a/stream-cursor/cursor-http/pom.xml b/stream-cursor/cursor-http/pom.xml index d3156abcd..1a1bc66f5 100644 --- a/stream-cursor/cursor-http/pom.xml +++ b/stream-cursor/cursor-http/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-http-starter-parent - 4.1.0 + 5.0.0-SNAPSHOT ../../stream-sdk/stream-starter-parents/stream-http-starter-parent diff --git a/stream-cursor/cursor-publishers/pom.xml b/stream-cursor/cursor-publishers/pom.xml index 72157a930..5753f6d4b 100644 --- a/stream-cursor/cursor-publishers/pom.xml +++ b/stream-cursor/cursor-publishers/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-cursor - 4.1.0 + 5.0.0-SNAPSHOT cursor-publishers diff --git a/stream-cursor/cursor-store/pom.xml b/stream-cursor/cursor-store/pom.xml index e370904dc..74ca3e824 100644 --- a/stream-cursor/cursor-store/pom.xml +++ b/stream-cursor/cursor-store/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-cursor - 4.1.0 + 5.0.0-SNAPSHOT cursor-store diff --git a/stream-cursor/pom.xml b/stream-cursor/pom.xml index aa49f390c..82eb7369c 100644 --- a/stream-cursor/pom.xml +++ b/stream-cursor/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-services - 4.1.0 + 5.0.0-SNAPSHOT stream-cursor diff --git a/stream-dbs-clients/pom.xml b/stream-dbs-clients/pom.xml index 1a5272318..a8f7c2336 100644 --- a/stream-dbs-clients/pom.xml +++ b/stream-dbs-clients/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-services - 4.1.0 + 5.0.0-SNAPSHOT stream-dbs-clients @@ -257,7 +257,7 @@ generate-sources REFACTOR_ALLOF_WITH_PROPERTIES_ONLY=true - ${project.build.directory}/yaml/arrangement-manager/arrangement-service-api-v*.yaml + ${project.build.directory}/yaml/arrangement-manager/arrangement-service-api-v2*.yaml com.backbase.dbs.arrangement.api.service.v2 com.backbase.dbs.arrangement.api.service.v2.model @@ -328,9 +328,9 @@ java.time.OffsetDateTime=java.lang.String REFACTOR_ALLOF_WITH_PROPERTIES_ONLY=true - ${project.build.directory}/yaml/payment/payment-order-service-api-v2*.yaml - com.backbase.dbs.paymentorder.api.service.v2 - com.backbase.dbs.paymentorder.api.service.v2.model + ${project.build.directory}/yaml/payment/payment-order-service-api-v3*.yaml + com.backbase.dbs.paymentorder.api.service.v3 + com.backbase.dbs.paymentorder.api.service.v3.model diff --git a/stream-dbs-clients/src/main/java/com/backbase/stream/clients/config/PaymentOrderClientConfig.java b/stream-dbs-clients/src/main/java/com/backbase/stream/clients/config/PaymentOrderClientConfig.java index 130081545..33ed229c0 100644 --- a/stream-dbs-clients/src/main/java/com/backbase/stream/clients/config/PaymentOrderClientConfig.java +++ b/stream-dbs-clients/src/main/java/com/backbase/stream/clients/config/PaymentOrderClientConfig.java @@ -1,7 +1,7 @@ package com.backbase.stream.clients.config; import com.backbase.dbs.paymentorder.api.service.ApiClient; -import com.backbase.dbs.paymentorder.api.service.v2.PaymentOrdersApi; +import com.backbase.dbs.paymentorder.api.service.v3.PaymentOrdersApi; import com.fasterxml.jackson.databind.ObjectMapper; import java.text.DateFormat; import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; diff --git a/stream-legal-entity/legal-entity-bootstrap-task/pom.xml b/stream-legal-entity/legal-entity-bootstrap-task/pom.xml index 5cdddbe17..fca4f9a2c 100644 --- a/stream-legal-entity/legal-entity-bootstrap-task/pom.xml +++ b/stream-legal-entity/legal-entity-bootstrap-task/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-task-starter-parent - 4.1.0 + 5.0.0-SNAPSHOT ../../stream-sdk/stream-starter-parents/stream-task-starter-parent diff --git a/stream-legal-entity/legal-entity-core/pom.xml b/stream-legal-entity/legal-entity-core/pom.xml index 4609a7e78..d7049925f 100644 --- a/stream-legal-entity/legal-entity-core/pom.xml +++ b/stream-legal-entity/legal-entity-core/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-legal-entity - 4.1.0 + 5.0.0-SNAPSHOT legal-entity-core diff --git a/stream-legal-entity/legal-entity-core/src/main/java/com/backbase/stream/ServiceAgreementSagaV2.java b/stream-legal-entity/legal-entity-core/src/main/java/com/backbase/stream/ServiceAgreementSagaV2.java index 6d4ace9a3..a31c57a3a 100644 --- a/stream-legal-entity/legal-entity-core/src/main/java/com/backbase/stream/ServiceAgreementSagaV2.java +++ b/stream-legal-entity/legal-entity-core/src/main/java/com/backbase/stream/ServiceAgreementSagaV2.java @@ -30,6 +30,7 @@ import com.backbase.stream.legalentity.model.ExternalContact; import com.backbase.stream.legalentity.model.JobProfileUser; import com.backbase.stream.legalentity.model.JobRole; +import com.backbase.stream.legalentity.model.LegalEntity; import com.backbase.stream.legalentity.model.LegalEntityParticipant; import com.backbase.stream.legalentity.model.Limit; import com.backbase.stream.legalentity.model.Privilege; @@ -149,8 +150,7 @@ public Mono executeTask(@SpanTag(value = "streamTask") S } private Mono postContacts(ServiceAgreementTaskV2 streamTask) { - return Mono.just(streamTask) - .flatMap(this::postServiceAgreementContacts) + return postServiceAgreementContacts(streamTask) .flatMap(this::postUserContacts); } @@ -246,6 +246,7 @@ private Mono processProducts(ServiceAgreementTaskV2 stre "Service agreement: %s does not have any products defied", serviceAgreement.getExternalId()); return Mono.just(streamTask); } + log.info("Creating Arrangements for Service Agreement Id {}", serviceAgreement.getExternalId()); return Flux.fromIterable(serviceAgreement.getProductGroups()) .mapNotNull(actual -> createProductGroupTask(streamTask, actual)) @@ -492,6 +493,7 @@ public Mono setupAdministratorPermissions(ServiceAgreeme private Mono setupServiceAgreement(ServiceAgreementTaskV2 streamTask) { ServiceAgreementV2 sa = streamTask.getServiceAgreement(); + log.info("Starting setup of Service Agreement with id {}", sa.getExternalId()); if (sa.getIsMaster() == null || !sa.getIsMaster()) { return setupCustomServiceAgreement(streamTask); } else { @@ -516,7 +518,11 @@ private Mono setupServiceAgreement(ServiceAgreementTaskV serviceAgreement.getExternalId(), serviceAgreement.getInternalId(), "Existing Master Service Agreement: %s found for Legal Entity: %s", serviceAgreement.getExternalId(), legalEntityParticipant.get().getExternalId()); - streamTask.setServiceAgreement(saMapper.mapV2(serviceAgreement)); + ServiceAgreementV2 serviceAgreementV2 = saMapper.mapV2(serviceAgreement); + serviceAgreementV2.setProductGroups(sa.getProductGroups()); + serviceAgreementV2.setReferenceJobRoles(sa.getReferenceJobRoles()); + serviceAgreementV2.setJobProfileUsers(sa.getJobProfileUsers()); + streamTask.setServiceAgreement(serviceAgreementV2); return Mono.just(streamTask); }); @@ -543,59 +549,68 @@ private Mono setupServiceAgreement(ServiceAgreementTaskV } private Mono setupCustomServiceAgreement(ServiceAgreementTaskV2 streamTask) { - ServiceAgreementV2 serviceAgreement = streamTask.getServiceAgreement(); - if (serviceAgreement.getExternalId() == null) { + ServiceAgreementV2 serviceAgreementV2 = streamTask.getServiceAgreement(); + if (serviceAgreementV2.getExternalId() == null) { log.error("Defined service agreement contains no external Id"); return Mono.error(new StreamTaskException(streamTask, "Defined service agreement contains no external Id")); } - List userActions = nullableCollectionToStream(serviceAgreement + List userActions = nullableCollectionToStream(serviceAgreementV2 .getJobProfileUsers()) .map(JobProfileUser::getUser).map(User::getExternalId) .map(id -> new ServiceAgreementUserAction().action(ServiceAgreementUserAction.ActionEnum.ADD) .userProfile(new JobProfileUser().user(new User().externalId(id)))).toList(); Mono existingServiceAgreement = accessGroupService - .getServiceAgreementByExternalId(serviceAgreement.getExternalId()) + .getServiceAgreementByExternalId(serviceAgreementV2.getExternalId()) .flatMap(sa -> { - serviceAgreement.setInternalId(sa.getInternalId()); + serviceAgreementV2.setInternalId(sa.getInternalId()); streamTask.info(SERVICE_AGREEMENT, SETUP_SERVICE_AGREEMENT, EXISTS, sa.getExternalId(), sa.getInternalId(), "Existing Service Agreement: %s found for Legal Entities: %s", sa.getExternalId(), - serviceAgreement.getParticipants().stream() + serviceAgreementV2.getParticipants().stream() .map(LegalEntityParticipant::getExternalId) .collect(Collectors.joining(", "))); + setLECreator4SA(serviceAgreementV2); if (legalEntitySagaConfigurationProperties.isServiceAgreementUpdateEnabled()) { - return accessGroupService.updateServiceAgreementItem(streamTask, saMapper.map(serviceAgreement)) + return accessGroupService.updateServiceAgreementItem(streamTask, saMapper.map(serviceAgreementV2)) .then(accessGroupService.updateServiceAgreementAssociations(streamTask, - saMapper.map(serviceAgreement), userActions)) + saMapper.map(serviceAgreementV2), userActions)) .thenReturn(streamTask); } else { return accessGroupService.updateServiceAgreementAssociations(streamTask, - saMapper.map(serviceAgreement), userActions) + saMapper.map(serviceAgreementV2), userActions) .thenReturn(streamTask); } }); + return createServiceAgreementTaskV2(streamTask, serviceAgreementV2, userActions, existingServiceAgreement); + } + + @NotNull + private Mono createServiceAgreementTaskV2(ServiceAgreementTaskV2 streamTask, + ServiceAgreementV2 serviceAgreementV2, List userActions, + Mono existingServiceAgreement) { Mono createServiceAgreement = accessGroupService.createServiceAgreement(streamTask, - saMapper.map(serviceAgreement)) + saMapper.map(serviceAgreementV2)) .onErrorMap(AccessGroupException.class, accessGroupException -> { - streamTask.error(SERVICE_AGREEMENT, SETUP_SERVICE_AGREEMENT, FAILED, serviceAgreement.getExternalId(), null, + streamTask.error(SERVICE_AGREEMENT, SETUP_SERVICE_AGREEMENT, FAILED, serviceAgreementV2.getExternalId(), null, accessGroupException, accessGroupException.getMessage(), accessGroupException.getHttpResponse()); return new StreamTaskException(streamTask, accessGroupException); }) .flatMap(createdSa -> { - serviceAgreement.setInternalId(createdSa.getInternalId()); + serviceAgreementV2.setInternalId(createdSa.getInternalId()); streamTask.info(SERVICE_AGREEMENT, SETUP_SERVICE_AGREEMENT, CREATED, createdSa.getExternalId(), createdSa.getInternalId(), "Created new Service Agreement: %s", createdSa.getExternalId(), - serviceAgreement.getParticipants().stream() + serviceAgreementV2.getParticipants().stream() .map(LegalEntityParticipant::getExternalId) .collect(Collectors.joining(", "))); + setLECreator4SA(serviceAgreementV2); return accessGroupService.updateServiceAgreementRegularUsers(streamTask, - saMapper.map(serviceAgreement), userActions) + saMapper.map(serviceAgreementV2), userActions) .doOnError(throwable -> log.error("error updating service agreement regular users {}", throwable.getMessage())) .thenReturn(streamTask); }); @@ -603,6 +618,16 @@ private Mono setupCustomServiceAgreement(ServiceAgreemen return existingServiceAgreement.switchIfEmpty(createServiceAgreement); } + + private void setLECreator4SA(ServiceAgreementV2 serviceAgreementV2) { + //unlike LegalEntitySaga, we simply check if there is a creatorLegalEntity specified, and if it is + //external Id, we change it to relevant internal id + if (StringUtils.isNotEmpty(serviceAgreementV2.getCreatorLegalEntity())) { + legalEntityService.getLegalEntityByExternalId(serviceAgreementV2.getCreatorLegalEntity()) + .subscribe(le -> serviceAgreementV2.setCreatorLegalEntity(le.getInternalId())); + } + } + private ServiceAgreement createMasterServiceAgreement(ServiceAgreement serviceAgreement) { serviceAgreement.getParticipants().get(0).setSharingAccounts(true); @@ -612,8 +637,7 @@ private ServiceAgreement createMasterServiceAgreement(ServiceAgreement serviceAg } private Mono setupLimits(ServiceAgreementTaskV2 streamTask) { - return Mono.just(streamTask) - .flatMap(this::setupServiceAgreementLimits) + return setupServiceAgreementLimits(streamTask) .flatMap(this::setupServiceAgreementParticipantLimits) .flatMap(this::retrieveUsersInternalIds) .flatMap(this::setupJobRoleLimits); diff --git a/stream-legal-entity/legal-entity-core/src/test/java/com/backbase/stream/ServiceAgreementV2SagaTest.java b/stream-legal-entity/legal-entity-core/src/test/java/com/backbase/stream/ServiceAgreementV2SagaTest.java index 9a68e2f80..f56461905 100644 --- a/stream-legal-entity/legal-entity-core/src/test/java/com/backbase/stream/ServiceAgreementV2SagaTest.java +++ b/stream-legal-entity/legal-entity-core/src/test/java/com/backbase/stream/ServiceAgreementV2SagaTest.java @@ -43,6 +43,7 @@ import com.backbase.stream.legalentity.model.User; import com.backbase.stream.limit.LimitsSaga; import com.backbase.stream.limit.LimitsTask; +import com.backbase.stream.mapper.ServiceAgreementV2ToV1Mapper; import com.backbase.stream.product.BatchProductIngestionSaga; import com.backbase.stream.product.task.BatchProductGroupTask; import com.backbase.stream.product.task.ProductGroupTask; @@ -72,6 +73,7 @@ @ExtendWith(MockitoExtension.class) @MockitoSettings(strictness = Strictness.LENIENT) class ServiceAgreementV2SagaTest { + private static final ServiceAgreementV2ToV1Mapper saMapper = ServiceAgreementV2ToV1Mapper.INSTANCE; @InjectMocks private ServiceAgreementSagaV2 serviceAgreementSaga; @@ -216,6 +218,8 @@ void customServiceAgreementCreationNoUsersOrAdministrators() { when(accessGroupService.getUserByExternalId(any(), anyBoolean())).thenReturn(Mono.just(new GetUser() .externalId(regularUser.getUser().getExternalId()) .id(regularUser.getUser().getInternalId()))); + when(legalEntityService.getLegalEntityByExternalId(eq(leExternalId))) + .thenReturn(Mono.just(new LegalEntity().internalId("id"))); when(limitsSaga.executeTask(any(LimitsTask.class))) .thenReturn(Mono.just(new LimitsTask("1", new CreateLimitRequestBody()))); @@ -369,12 +373,18 @@ void productGroupsProcessedSequentially() { @Test void test_PostSAContacts() { getMockServiceAgreement(); + customSa.setIsMaster(true); ServiceAgreementTaskV2 task = mockServiceAgreementTask(customSa); when(contactsSaga.executeTask(any(ContactsTask.class))).thenReturn(getContactsTask(AccessContextScope.SA)); when(accessGroupService.createServiceAgreement(any(), any())) .thenReturn(Mono.just(transformServiceAgreement(customSa))); when(accessGroupService.updateServiceAgreementRegularUsers(any(), any(), any())).thenReturn(Mono.just(transformServiceAgreement(customSa))); + when(legalEntityService.getLegalEntityByExternalId(any())) + .thenReturn(Mono.just(new LegalEntity().internalId("id"))); + when(legalEntityService.getLegalEntityByExternalId(any())).thenReturn(Mono.empty()); + when(legalEntityService.getMasterServiceAgreementForExternalLegalEntityId(any())).thenReturn( + Mono.just(saMapper.map(customSa))); ServiceAgreementTaskV2 result = serviceAgreementSaga.executeTask(task).block(); @@ -409,6 +419,10 @@ void test_PostUserContacts() { ServiceAgreementTaskV2 task = mockServiceAgreementTask(customSa); when(contactsSaga.executeTask(any(ContactsTask.class))).thenReturn(getContactsTask(AccessContextScope.USER)); + when(legalEntityService.getLegalEntityByExternalId(any())) + .thenReturn(Mono.just(new LegalEntity().internalId("id"))); + when(accessGroupService.updateServiceAgreementRegularUsers(any(), any(), + any())).thenReturn(Mono.just(transformServiceAgreement(customSa))); ServiceAgreementTaskV2 result = serviceAgreementSaga.executeTask(task).block(); diff --git a/stream-legal-entity/legal-entity-http/pom.xml b/stream-legal-entity/legal-entity-http/pom.xml index 399cf490f..7d9b48c59 100644 --- a/stream-legal-entity/legal-entity-http/pom.xml +++ b/stream-legal-entity/legal-entity-http/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-http-starter-parent - 4.1.0 + 5.0.0-SNAPSHOT ../../stream-sdk/stream-starter-parents/stream-http-starter-parent diff --git a/stream-legal-entity/pom.xml b/stream-legal-entity/pom.xml index c6780e01e..3af13145b 100644 --- a/stream-legal-entity/pom.xml +++ b/stream-legal-entity/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-services - 4.1.0 + 5.0.0-SNAPSHOT stream-legal-entity diff --git a/stream-limits/limits-core/pom.xml b/stream-limits/limits-core/pom.xml index 4ee58d78c..c46e8c4fd 100644 --- a/stream-limits/limits-core/pom.xml +++ b/stream-limits/limits-core/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-limits - 4.1.0 + 5.0.0-SNAPSHOT limits-core diff --git a/stream-limits/pom.xml b/stream-limits/pom.xml index 7ffe0380b..f82911a09 100644 --- a/stream-limits/pom.xml +++ b/stream-limits/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-services - 4.1.0 + 5.0.0-SNAPSHOT stream-limits diff --git a/stream-loans/loans-core/pom.xml b/stream-loans/loans-core/pom.xml index 7cdba3cee..70b5c33a0 100644 --- a/stream-loans/loans-core/pom.xml +++ b/stream-loans/loans-core/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-loans - 4.1.0 + 5.0.0-SNAPSHOT loans-core @@ -20,6 +20,7 @@ com.backbase.buildingblocks backbase-building-blocks-release + ${ssdk.version} compile diff --git a/stream-loans/pom.xml b/stream-loans/pom.xml index a7d834888..462cd1496 100644 --- a/stream-loans/pom.xml +++ b/stream-loans/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-services - 4.1.0 + 5.0.0-SNAPSHOT stream-loans diff --git a/stream-models/approval-model/pom.xml b/stream-models/approval-model/pom.xml index 867523fab..7a389918a 100644 --- a/stream-models/approval-model/pom.xml +++ b/stream-models/approval-model/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-models - 4.1.0 + 5.0.0-SNAPSHOT approval-model diff --git a/stream-models/legal-entity-model/pom.xml b/stream-models/legal-entity-model/pom.xml index 79c86bea8..ae2557e06 100644 --- a/stream-models/legal-entity-model/pom.xml +++ b/stream-models/legal-entity-model/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-models - 4.1.0 + 5.0.0-SNAPSHOT legal-entity-model diff --git a/stream-models/pom.xml b/stream-models/pom.xml index a8a9db6ca..34189970e 100644 --- a/stream-models/pom.xml +++ b/stream-models/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-services - 4.1.0 + 5.0.0-SNAPSHOT stream-models diff --git a/stream-models/portfolio-model/pom.xml b/stream-models/portfolio-model/pom.xml index b081a2963..ef04e2c96 100644 --- a/stream-models/portfolio-model/pom.xml +++ b/stream-models/portfolio-model/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-models - 4.1.0 + 5.0.0-SNAPSHOT portfolio-model diff --git a/stream-models/product-catalog-model/pom.xml b/stream-models/product-catalog-model/pom.xml index 6942b5dd5..f5f6b891e 100644 --- a/stream-models/product-catalog-model/pom.xml +++ b/stream-models/product-catalog-model/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-models - 4.1.0 + 5.0.0-SNAPSHOT product-catalog-model diff --git a/stream-payment-order/payment-order-core/pom.xml b/stream-payment-order/payment-order-core/pom.xml index 98d34c7c9..7d408da65 100644 --- a/stream-payment-order/payment-order-core/pom.xml +++ b/stream-payment-order/payment-order-core/pom.xml @@ -6,7 +6,7 @@ com.backbase.stream stream-payment-order - 4.1.0 + 5.0.0-SNAPSHOT payment-order-core diff --git a/stream-payment-order/payment-order-core/src/main/java/com/backbase/stream/PaymentOrderService.java b/stream-payment-order/payment-order-core/src/main/java/com/backbase/stream/PaymentOrderService.java index 9d4809786..229567b89 100644 --- a/stream-payment-order/payment-order-core/src/main/java/com/backbase/stream/PaymentOrderService.java +++ b/stream-payment-order/payment-order-core/src/main/java/com/backbase/stream/PaymentOrderService.java @@ -1,6 +1,6 @@ package com.backbase.stream; -import com.backbase.dbs.paymentorder.api.service.v2.model.PaymentOrderPostRequest; +import com.backbase.dbs.paymentorder.api.service.v3.model.PaymentOrderPostRequest; import com.backbase.stream.paymentorder.PaymentOrderTask; import com.backbase.stream.worker.model.UnitOfWork; import reactor.core.publisher.Flux; diff --git a/stream-payment-order/payment-order-core/src/main/java/com/backbase/stream/PaymentOrderServiceImpl.java b/stream-payment-order/payment-order-core/src/main/java/com/backbase/stream/PaymentOrderServiceImpl.java index 1848ec6f1..3447172a6 100644 --- a/stream-payment-order/payment-order-core/src/main/java/com/backbase/stream/PaymentOrderServiceImpl.java +++ b/stream-payment-order/payment-order-core/src/main/java/com/backbase/stream/PaymentOrderServiceImpl.java @@ -1,6 +1,6 @@ package com.backbase.stream; -import com.backbase.dbs.paymentorder.api.service.v2.model.PaymentOrderPostRequest; +import com.backbase.dbs.paymentorder.api.service.v3.model.PaymentOrderPostRequest; import com.backbase.stream.paymentorder.PaymentOrderTask; import com.backbase.stream.paymentorder.PaymentOrderUnitOfWorkExecutor; import com.backbase.stream.worker.model.UnitOfWork; diff --git a/stream-payment-order/payment-order-core/src/main/java/com/backbase/stream/config/PaymentOrderServiceConfiguration.java b/stream-payment-order/payment-order-core/src/main/java/com/backbase/stream/config/PaymentOrderServiceConfiguration.java index ae50acc70..15b51f3bc 100644 --- a/stream-payment-order/payment-order-core/src/main/java/com/backbase/stream/config/PaymentOrderServiceConfiguration.java +++ b/stream-payment-order/payment-order-core/src/main/java/com/backbase/stream/config/PaymentOrderServiceConfiguration.java @@ -1,7 +1,7 @@ package com.backbase.stream.config; import com.backbase.dbs.arrangement.api.service.v2.ArrangementsApi; -import com.backbase.dbs.paymentorder.api.service.v2.PaymentOrdersApi; +import com.backbase.dbs.paymentorder.api.service.v3.PaymentOrdersApi; import com.backbase.stream.PaymentOrderService; import com.backbase.stream.PaymentOrderServiceImpl; import com.backbase.stream.mappers.PaymentOrderTypeMapper; diff --git a/stream-payment-order/payment-order-core/src/main/java/com/backbase/stream/mappers/PaymentOrderTypeMapper.java b/stream-payment-order/payment-order-core/src/main/java/com/backbase/stream/mappers/PaymentOrderTypeMapper.java index 7fe43575a..389a5ff20 100644 --- a/stream-payment-order/payment-order-core/src/main/java/com/backbase/stream/mappers/PaymentOrderTypeMapper.java +++ b/stream-payment-order/payment-order-core/src/main/java/com/backbase/stream/mappers/PaymentOrderTypeMapper.java @@ -1,8 +1,8 @@ package com.backbase.stream.mappers; -import com.backbase.dbs.paymentorder.api.service.v2.model.GetPaymentOrderResponse; -import com.backbase.dbs.paymentorder.api.service.v2.model.PaymentOrderPostRequest; -import com.backbase.dbs.paymentorder.api.service.v2.model.PaymentOrderPutRequest; +import com.backbase.dbs.paymentorder.api.service.v3.model.GetPaymentOrderResponse; +import com.backbase.dbs.paymentorder.api.service.v3.model.PaymentOrderPostRequest; +import com.backbase.dbs.paymentorder.api.service.v3.model.PaymentOrderPutRequest; import org.mapstruct.Mapper; import org.mapstruct.Mapping; diff --git a/stream-payment-order/payment-order-core/src/main/java/com/backbase/stream/model/PaymentOrderIngestContext.java b/stream-payment-order/payment-order-core/src/main/java/com/backbase/stream/model/PaymentOrderIngestContext.java index a8c847ab3..1e2beadcb 100644 --- a/stream-payment-order/payment-order-core/src/main/java/com/backbase/stream/model/PaymentOrderIngestContext.java +++ b/stream-payment-order/payment-order-core/src/main/java/com/backbase/stream/model/PaymentOrderIngestContext.java @@ -4,8 +4,8 @@ import java.util.ArrayList; import java.util.List; -import com.backbase.dbs.paymentorder.api.service.v2.model.GetPaymentOrderResponse; -import com.backbase.dbs.paymentorder.api.service.v2.model.PaymentOrderPostRequest; +import com.backbase.dbs.paymentorder.api.service.v3.model.GetPaymentOrderResponse; +import com.backbase.dbs.paymentorder.api.service.v3.model.PaymentOrderPostRequest; import lombok.Data; import lombok.experimental.Accessors; diff --git a/stream-payment-order/payment-order-core/src/main/java/com/backbase/stream/model/request/NewPaymentOrderIngestRequest.java b/stream-payment-order/payment-order-core/src/main/java/com/backbase/stream/model/request/NewPaymentOrderIngestRequest.java index 26d8fe72a..2517ea8de 100644 --- a/stream-payment-order/payment-order-core/src/main/java/com/backbase/stream/model/request/NewPaymentOrderIngestRequest.java +++ b/stream-payment-order/payment-order-core/src/main/java/com/backbase/stream/model/request/NewPaymentOrderIngestRequest.java @@ -1,6 +1,6 @@ package com.backbase.stream.model.request; -import com.backbase.dbs.paymentorder.api.service.v2.model.PaymentOrderPostRequest; +import com.backbase.dbs.paymentorder.api.service.v3.model.PaymentOrderPostRequest; import lombok.AllArgsConstructor; import lombok.Getter; diff --git a/stream-payment-order/payment-order-core/src/main/java/com/backbase/stream/model/request/UpdatePaymentOrderIngestRequest.java b/stream-payment-order/payment-order-core/src/main/java/com/backbase/stream/model/request/UpdatePaymentOrderIngestRequest.java index 82278e526..7bde4ba42 100644 --- a/stream-payment-order/payment-order-core/src/main/java/com/backbase/stream/model/request/UpdatePaymentOrderIngestRequest.java +++ b/stream-payment-order/payment-order-core/src/main/java/com/backbase/stream/model/request/UpdatePaymentOrderIngestRequest.java @@ -1,6 +1,6 @@ package com.backbase.stream.model.request; -import com.backbase.dbs.paymentorder.api.service.v2.model.PaymentOrderPutRequest; +import com.backbase.dbs.paymentorder.api.service.v3.model.PaymentOrderPutRequest; import lombok.AllArgsConstructor; import lombok.Getter; diff --git a/stream-payment-order/payment-order-core/src/main/java/com/backbase/stream/model/response/NewPaymentOrderIngestDbsResponse.java b/stream-payment-order/payment-order-core/src/main/java/com/backbase/stream/model/response/NewPaymentOrderIngestDbsResponse.java index 72dea2eba..fb90d8db4 100644 --- a/stream-payment-order/payment-order-core/src/main/java/com/backbase/stream/model/response/NewPaymentOrderIngestDbsResponse.java +++ b/stream-payment-order/payment-order-core/src/main/java/com/backbase/stream/model/response/NewPaymentOrderIngestDbsResponse.java @@ -1,6 +1,6 @@ package com.backbase.stream.model.response; -import com.backbase.dbs.paymentorder.api.service.v2.model.PaymentOrderPostResponse; +import com.backbase.dbs.paymentorder.api.service.v3.model.PaymentOrderPostResponse; import lombok.AllArgsConstructor; import lombok.Getter; diff --git a/stream-payment-order/payment-order-core/src/main/java/com/backbase/stream/model/response/UpdatePaymentOrderIngestDbsResponse.java b/stream-payment-order/payment-order-core/src/main/java/com/backbase/stream/model/response/UpdatePaymentOrderIngestDbsResponse.java index dd8303f95..939e09699 100644 --- a/stream-payment-order/payment-order-core/src/main/java/com/backbase/stream/model/response/UpdatePaymentOrderIngestDbsResponse.java +++ b/stream-payment-order/payment-order-core/src/main/java/com/backbase/stream/model/response/UpdatePaymentOrderIngestDbsResponse.java @@ -1,6 +1,6 @@ package com.backbase.stream.model.response; -import com.backbase.dbs.paymentorder.api.service.v2.model.PaymentOrderPutResponse; +import com.backbase.dbs.paymentorder.api.service.v3.model.PaymentOrderPutResponse; import lombok.AllArgsConstructor; import lombok.Getter; diff --git a/stream-payment-order/payment-order-core/src/main/java/com/backbase/stream/paymentorder/PaymentOrderTaskExecutor.java b/stream-payment-order/payment-order-core/src/main/java/com/backbase/stream/paymentorder/PaymentOrderTaskExecutor.java index fe43edfee..63e308bdc 100644 --- a/stream-payment-order/payment-order-core/src/main/java/com/backbase/stream/paymentorder/PaymentOrderTaskExecutor.java +++ b/stream-payment-order/payment-order-core/src/main/java/com/backbase/stream/paymentorder/PaymentOrderTaskExecutor.java @@ -4,13 +4,13 @@ import java.util.regex.Pattern; import java.util.stream.Collectors; -import com.backbase.dbs.paymentorder.api.service.v2.model.PaymentOrderPutResponse; +import com.backbase.dbs.paymentorder.api.service.v3.model.PaymentOrderPutResponse; import org.springframework.web.reactive.function.client.WebClientResponseException; -import com.backbase.dbs.paymentorder.api.service.v2.PaymentOrdersApi; -import com.backbase.dbs.paymentorder.api.service.v2.model.PaymentOrderPostRequest; -import com.backbase.dbs.paymentorder.api.service.v2.model.PaymentOrderPostResponse; -import com.backbase.dbs.paymentorder.api.service.v2.model.PaymentOrderPutRequest; +import com.backbase.dbs.paymentorder.api.service.v3.PaymentOrdersApi; +import com.backbase.dbs.paymentorder.api.service.v3.model.PaymentOrderPostRequest; +import com.backbase.dbs.paymentorder.api.service.v3.model.PaymentOrderPostResponse; +import com.backbase.dbs.paymentorder.api.service.v3.model.PaymentOrderPutRequest; import com.backbase.stream.model.request.DeletePaymentOrderIngestRequest; import com.backbase.stream.model.request.NewPaymentOrderIngestRequest; import com.backbase.stream.model.request.PaymentOrderIngestRequest; diff --git a/stream-payment-order/payment-order-core/src/main/java/com/backbase/stream/paymentorder/PaymentOrderUnitOfWorkExecutor.java b/stream-payment-order/payment-order-core/src/main/java/com/backbase/stream/paymentorder/PaymentOrderUnitOfWorkExecutor.java index 37290a54e..770047c51 100644 --- a/stream-payment-order/payment-order-core/src/main/java/com/backbase/stream/paymentorder/PaymentOrderUnitOfWorkExecutor.java +++ b/stream-payment-order/payment-order-core/src/main/java/com/backbase/stream/paymentorder/PaymentOrderUnitOfWorkExecutor.java @@ -1,21 +1,21 @@ package com.backbase.stream.paymentorder; -import static com.backbase.dbs.paymentorder.api.service.v2.model.Status.ACCEPTED; -import static com.backbase.dbs.paymentorder.api.service.v2.model.Status.CANCELLATION_PENDING; -import static com.backbase.dbs.paymentorder.api.service.v2.model.Status.CANCELLED; -import static com.backbase.dbs.paymentorder.api.service.v2.model.Status.PROCESSED; -import static com.backbase.dbs.paymentorder.api.service.v2.model.Status.READY; -import static com.backbase.dbs.paymentorder.api.service.v2.model.Status.REJECTED; +import static com.backbase.dbs.paymentorder.api.service.v3.model.Status.ACCEPTED; +import static com.backbase.dbs.paymentorder.api.service.v3.model.Status.CANCELLATION_PENDING; +import static com.backbase.dbs.paymentorder.api.service.v3.model.Status.CANCELLED; +import static com.backbase.dbs.paymentorder.api.service.v3.model.Status.PROCESSED; +import static com.backbase.dbs.paymentorder.api.service.v3.model.Status.READY; +import static com.backbase.dbs.paymentorder.api.service.v3.model.Status.REJECTED; import com.backbase.dbs.arrangement.api.service.v2.ArrangementsApi; import com.backbase.dbs.arrangement.api.service.v2.model.AccountArrangementItem; import com.backbase.dbs.arrangement.api.service.v2.model.AccountArrangementItems; import com.backbase.dbs.arrangement.api.service.v2.model.AccountArrangementsFilter; -import com.backbase.dbs.paymentorder.api.service.v2.PaymentOrdersApi; -import com.backbase.dbs.paymentorder.api.service.v2.model.GetPaymentOrderResponse; -import com.backbase.dbs.paymentorder.api.service.v2.model.PaymentOrderPostFilterRequest; -import com.backbase.dbs.paymentorder.api.service.v2.model.PaymentOrderPostFilterResponse; -import com.backbase.dbs.paymentorder.api.service.v2.model.PaymentOrderPostRequest; +import com.backbase.dbs.paymentorder.api.service.v3.PaymentOrdersApi; +import com.backbase.dbs.paymentorder.api.service.v3.model.GetPaymentOrderResponse; +import com.backbase.dbs.paymentorder.api.service.v3.model.PaymentOrderPostFilterRequest; +import com.backbase.dbs.paymentorder.api.service.v3.model.PaymentOrderPostFilterResponse; +import com.backbase.dbs.paymentorder.api.service.v3.model.PaymentOrderPostRequest; import com.backbase.stream.config.PaymentOrderWorkerConfigurationProperties; import com.backbase.stream.mappers.PaymentOrderTypeMapper; import com.backbase.stream.model.PaymentOrderIngestContext; @@ -134,7 +134,7 @@ private Mono getPayments(String internalUserId) return paymentOrdersApi.postFilterPaymentOrders( null, null, null, null, null, null, null, null, null, null, null, internalUserId, null, null, null, Integer.MAX_VALUE, - null, null, paymentOrderPostFilterRequest); + null, null, null, paymentOrderPostFilterRequest); } private Flux getPaymentOrderIngestRequest(PaymentOrderIngestContext paymentOrderIngestContext) { diff --git a/stream-payment-order/payment-order-core/src/test/java/com/backbase/stream/common/PaymentOrderBaseTest.java b/stream-payment-order/payment-order-core/src/test/java/com/backbase/stream/common/PaymentOrderBaseTest.java index 530b833fa..384a5bb34 100644 --- a/stream-payment-order/payment-order-core/src/test/java/com/backbase/stream/common/PaymentOrderBaseTest.java +++ b/stream-payment-order/payment-order-core/src/test/java/com/backbase/stream/common/PaymentOrderBaseTest.java @@ -1,6 +1,6 @@ package com.backbase.stream.common; -import com.backbase.dbs.paymentorder.api.service.v2.model.*; +import com.backbase.dbs.paymentorder.api.service.v3.model.*; import com.backbase.stream.mappers.PaymentOrderTypeMapper; import java.math.BigDecimal; import org.mapstruct.factory.Mappers; @@ -55,7 +55,6 @@ List buildGetPaymentOrderResponse() { .originator(involvedParty) .originatorAccount(originatorAccount) .totalAmount(new Currency().amount(BigDecimal.valueOf(idx))) - .batchBooking(true) .instructionPriority(InstructionPriority.NORM) .status(Status.ACCEPTED) .requestedExecutionDate(LocalDate.of(2023, 3, idx)) diff --git a/stream-payment-order/payment-order-core/src/test/java/com/backbase/stream/mappers/PaymentOrderTypeMapperTest.java b/stream-payment-order/payment-order-core/src/test/java/com/backbase/stream/mappers/PaymentOrderTypeMapperTest.java index b827e8480..0c723f120 100644 --- a/stream-payment-order/payment-order-core/src/test/java/com/backbase/stream/mappers/PaymentOrderTypeMapperTest.java +++ b/stream-payment-order/payment-order-core/src/test/java/com/backbase/stream/mappers/PaymentOrderTypeMapperTest.java @@ -1,7 +1,7 @@ package com.backbase.stream.mappers; -import com.backbase.dbs.paymentorder.api.service.v2.model.PaymentOrderPostRequest; -import com.backbase.dbs.paymentorder.api.service.v2.model.PaymentOrderPutRequest; +import com.backbase.dbs.paymentorder.api.service.v3.model.PaymentOrderPostRequest; +import com.backbase.dbs.paymentorder.api.service.v3.model.PaymentOrderPutRequest; import com.backbase.stream.common.PaymentOrderBaseTest; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; @@ -56,7 +56,6 @@ public void map_GetPaymentOrderResponse_To_PaymentOrderPostRequest() { Assertions.assertNotNull(target.getOriginatorAccount()); Assertions.assertEquals(source.getOriginatorAccount().getArrangementId(), target.getOriginatorAccount().getArrangementId()); Assertions.assertEquals(source.getTotalAmount(), target.getTotalAmount()); - Assertions.assertEquals(source.getBatchBooking(), target.getBatchBooking()); Assertions.assertEquals(source.getInstructionPriority(), target.getInstructionPriority()); Assertions.assertEquals(source.getStatus(), target.getStatus()); Assertions.assertEquals(source.getRequestedExecutionDate(), target.getRequestedExecutionDate()); diff --git a/stream-payment-order/payment-order-core/src/test/java/com/backbase/stream/service/PaymentOrderServiceTest.java b/stream-payment-order/payment-order-core/src/test/java/com/backbase/stream/service/PaymentOrderServiceTest.java index ac5a9a345..3f5e28139 100644 --- a/stream-payment-order/payment-order-core/src/test/java/com/backbase/stream/service/PaymentOrderServiceTest.java +++ b/stream-payment-order/payment-order-core/src/test/java/com/backbase/stream/service/PaymentOrderServiceTest.java @@ -1,6 +1,6 @@ package com.backbase.stream.service; -import com.backbase.dbs.paymentorder.api.service.v2.model.PaymentOrderPostRequest; +import com.backbase.dbs.paymentorder.api.service.v3.model.PaymentOrderPostRequest; import com.backbase.stream.PaymentOrderServiceImpl; import com.backbase.stream.common.PaymentOrderBaseTest; import com.backbase.stream.model.request.NewPaymentOrderIngestRequest; diff --git a/stream-payment-order/payment-order-core/src/test/java/com/backbase/stream/task/PaymentOrderTaskExecutorTest.java b/stream-payment-order/payment-order-core/src/test/java/com/backbase/stream/task/PaymentOrderTaskExecutorTest.java index 9d4345ed7..16227bb24 100644 --- a/stream-payment-order/payment-order-core/src/test/java/com/backbase/stream/task/PaymentOrderTaskExecutorTest.java +++ b/stream-payment-order/payment-order-core/src/test/java/com/backbase/stream/task/PaymentOrderTaskExecutorTest.java @@ -1,8 +1,8 @@ package com.backbase.stream.task; -import com.backbase.dbs.paymentorder.api.service.v2.PaymentOrdersApi; -import com.backbase.dbs.paymentorder.api.service.v2.model.PaymentOrderPostResponse; -import com.backbase.dbs.paymentorder.api.service.v2.model.PaymentOrderPutResponse; +import com.backbase.dbs.paymentorder.api.service.v3.PaymentOrdersApi; +import com.backbase.dbs.paymentorder.api.service.v3.model.PaymentOrderPostResponse; +import com.backbase.dbs.paymentorder.api.service.v3.model.PaymentOrderPutResponse; import com.backbase.stream.common.PaymentOrderBaseTest; import com.backbase.stream.model.request.DeletePaymentOrderIngestRequest; import com.backbase.stream.model.request.NewPaymentOrderIngestRequest; @@ -43,8 +43,7 @@ void executeTask_NewPaymentOrderIngestRequest_Success() { PaymentOrderTask paymentOrderTask = new PaymentOrderTask("po_task_id", paymentOrderIngestRequestList); PaymentOrderPostResponse paymentOrderPostResponse = new PaymentOrderPostResponse() - .id("po_post_resp_id") - .putAdditionsItem("key", "val"); + .id("po_post_resp_id"); Mockito.lenient().when(paymentOrdersApi.postPaymentOrder(Mockito.any())) .thenReturn(Mono.just(paymentOrderPostResponse)); diff --git a/stream-payment-order/payment-order-core/src/test/java/com/backbase/stream/task/PaymentOrderTaskTest.java b/stream-payment-order/payment-order-core/src/test/java/com/backbase/stream/task/PaymentOrderTaskTest.java index d21c6d22f..80a7b0039 100644 --- a/stream-payment-order/payment-order-core/src/test/java/com/backbase/stream/task/PaymentOrderTaskTest.java +++ b/stream-payment-order/payment-order-core/src/test/java/com/backbase/stream/task/PaymentOrderTaskTest.java @@ -1,6 +1,6 @@ package com.backbase.stream.task; -import com.backbase.dbs.paymentorder.api.service.v2.model.PaymentOrderPostRequest; +import com.backbase.dbs.paymentorder.api.service.v3.model.PaymentOrderPostRequest; import com.backbase.stream.common.PaymentOrderBaseTest; import com.backbase.stream.model.request.NewPaymentOrderIngestRequest; import com.backbase.stream.model.request.PaymentOrderIngestRequest; diff --git a/stream-payment-order/payment-order-core/src/test/java/com/backbase/stream/task/PaymentOrderUnitOfWorkExecutorTest.java b/stream-payment-order/payment-order-core/src/test/java/com/backbase/stream/task/PaymentOrderUnitOfWorkExecutorTest.java index d3b3e7e1a..032a35479 100644 --- a/stream-payment-order/payment-order-core/src/test/java/com/backbase/stream/task/PaymentOrderUnitOfWorkExecutorTest.java +++ b/stream-payment-order/payment-order-core/src/test/java/com/backbase/stream/task/PaymentOrderUnitOfWorkExecutorTest.java @@ -8,11 +8,11 @@ import com.backbase.dbs.arrangement.api.service.v2.ArrangementsApi; import com.backbase.dbs.arrangement.api.service.v2.model.AccountArrangementItem; import com.backbase.dbs.arrangement.api.service.v2.model.AccountArrangementItems; -import com.backbase.dbs.paymentorder.api.service.v2.PaymentOrdersApi; -import com.backbase.dbs.paymentorder.api.service.v2.model.GetPaymentOrderResponse; -import com.backbase.dbs.paymentorder.api.service.v2.model.PaymentOrderPostFilterResponse; -import com.backbase.dbs.paymentorder.api.service.v2.model.PaymentOrderPostRequest; -import com.backbase.dbs.paymentorder.api.service.v2.model.PaymentOrderPostResponse; +import com.backbase.dbs.paymentorder.api.service.v3.PaymentOrdersApi; +import com.backbase.dbs.paymentorder.api.service.v3.model.GetPaymentOrderResponse; +import com.backbase.dbs.paymentorder.api.service.v3.model.PaymentOrderPostFilterResponse; +import com.backbase.dbs.paymentorder.api.service.v3.model.PaymentOrderPostRequest; +import com.backbase.dbs.paymentorder.api.service.v3.model.PaymentOrderPostResponse; import com.backbase.stream.common.PaymentOrderBaseTest; import com.backbase.stream.config.PaymentOrderWorkerConfigurationProperties; import com.backbase.stream.model.request.NewPaymentOrderIngestRequest; @@ -71,9 +71,7 @@ void test_prepareUnitOfWork_paymentOrderIngestRequestList() { ); PaymentOrderPostResponse paymentOrderPostResponse = new PaymentOrderPostResponse() - .id("po_post_resp_id") - .putAdditionsItem("key", "val"); - + .id("po_post_resp_id"); Mockito.lenient().when(paymentOrdersApi.postPaymentOrder(Mockito.any())) .thenReturn(Mono.just(paymentOrderPostResponse)); @@ -102,8 +100,7 @@ void test_prepareUnitOfWork_paymentOrderPostRequestFlux() { Flux paymentOrderPostRequestFlux = Flux.fromIterable(paymentOrderPostRequest); PaymentOrderPostResponse paymentOrderPostResponse = new PaymentOrderPostResponse() - .id("po_post_resp_id") - .putAdditionsItem("key", "val"); + .id("po_post_resp_id"); Mockito.lenient().when(paymentOrdersApi.postPaymentOrder(any())) .thenReturn(Mono.just(paymentOrderPostResponse)); @@ -114,7 +111,7 @@ void test_prepareUnitOfWork_paymentOrderPostRequestFlux() { .addPaymentOrdersItem(getPaymentOrderResponse) .totalElements(new BigDecimal(1)); - doReturn(Mono.just(paymentOrderPostFilterResponse)).when(paymentOrdersApi).postFilterPaymentOrders(any(), any(), any(), any(), any(), any(), any(), any(), any(), any(), any(), any(), any(), any(), any(), any(), any(), any(), any()); + doReturn(Mono.just(paymentOrderPostFilterResponse)).when(paymentOrdersApi).postFilterPaymentOrders(any(), any(), any(), any(), any(), any(), any(), any(), any(), any(), any(), any(), any(), any(), any(), any(), any(), any(), any(), any()); AccountArrangementItem accountArrangementItem = new AccountArrangementItem() .id("arrangementId_1") diff --git a/stream-payment-order/pom.xml b/stream-payment-order/pom.xml index 7993d3aad..1bfacefb9 100644 --- a/stream-payment-order/pom.xml +++ b/stream-payment-order/pom.xml @@ -6,7 +6,7 @@ com.backbase.stream stream-services - 4.1.0 + 5.0.0-SNAPSHOT stream-payment-order diff --git a/stream-portfolio/pom.xml b/stream-portfolio/pom.xml index 8381ab56b..6ee637f39 100644 --- a/stream-portfolio/pom.xml +++ b/stream-portfolio/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-services - 4.1.0 + 5.0.0-SNAPSHOT stream-portfolio diff --git a/stream-portfolio/portfolio-bootstrap-task/pom.xml b/stream-portfolio/portfolio-bootstrap-task/pom.xml index 1cf217432..303c124bd 100644 --- a/stream-portfolio/portfolio-bootstrap-task/pom.xml +++ b/stream-portfolio/portfolio-bootstrap-task/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-task-starter-parent - 4.1.0 + 5.0.0-SNAPSHOT ../../stream-sdk/stream-starter-parents/stream-task-starter-parent diff --git a/stream-portfolio/portfolio-core/pom.xml b/stream-portfolio/portfolio-core/pom.xml index 04a56f42a..1b06c9bb4 100644 --- a/stream-portfolio/portfolio-core/pom.xml +++ b/stream-portfolio/portfolio-core/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-portfolio - 4.1.0 + 5.0.0-SNAPSHOT portfolio-core diff --git a/stream-portfolio/portfolio-core/src/main/java/com/backbase/stream/portfolio/service/PortfolioIntegrationService.java b/stream-portfolio/portfolio-core/src/main/java/com/backbase/stream/portfolio/service/PortfolioIntegrationService.java index 44959f6a6..8c0f328a9 100644 --- a/stream-portfolio/portfolio-core/src/main/java/com/backbase/stream/portfolio/service/PortfolioIntegrationService.java +++ b/stream-portfolio/portfolio-core/src/main/java/com/backbase/stream/portfolio/service/PortfolioIntegrationService.java @@ -345,25 +345,29 @@ private Mono upsertPerformance(PortfolioBundle portfolioBundle, Portfolio @NotNull private Mono upsertBenchmark(PortfolioBundle portfolioBundle, Portfolio portfolio) { - return portfolioBenchmarksManagementApi.getPortfolioBenchmarks(0, Integer.MAX_VALUE) + if(portfolioBundle.getBenchmark() != null) { + return portfolioBenchmarksManagementApi.getPortfolioBenchmarks(0, Integer.MAX_VALUE) .map(PortfolioBenchmarksGetResponse::getBenchmarks) .switchIfEmpty(Mono.defer(() -> Mono.just(Collections.emptyList()))) .flatMap(existBenchmarks -> { String name = portfolioBundle.getBenchmark().getName(); return existBenchmarks.stream() - .filter(b -> b.getName().equalsIgnoreCase(name)) - .findAny() - .map(existBenchmark -> portfolioBenchmarksManagementApi - .putPortfolioBenchmark(existBenchmark.getId(), portfolioMapper.mapBenchmark(name))) - .or(() -> Optional.of(portfolioBenchmarksManagementApi - .postPortfolioBenchmark(portfolioMapper.mapBenchmark(portfolio.getCode(), name)))) - .orElse(Mono.empty()) - .doOnError(WebClientResponseException.class, - ReactiveStreamHandler::handleWebClientResponseException) - .onErrorResume(WebClientResponseException.class, - ReactiveStreamHandler.error(name, "Failed to create Portfolio Benchmark")); + .filter(b -> b.getName().equalsIgnoreCase(name)) + .findAny() + .map(existBenchmark -> portfolioBenchmarksManagementApi + .putPortfolioBenchmark(existBenchmark.getId(), portfolioMapper.mapBenchmark(name))) + .or(() -> Optional.of(portfolioBenchmarksManagementApi + .postPortfolioBenchmark(portfolioMapper.mapBenchmark(portfolio.getCode(), name)))) + .orElse(Mono.empty()) + .doOnError(WebClientResponseException.class, + ReactiveStreamHandler::handleWebClientResponseException) + .onErrorResume(WebClientResponseException.class, + ReactiveStreamHandler.error(name, "Failed to create Portfolio Benchmark")); }); + } else { + return Mono.empty(); + } } @NotNull diff --git a/stream-portfolio/portfolio-core/src/test/java/com/backbase/stream/portfolio/service/PortfolioIntegrationServiceTest.java b/stream-portfolio/portfolio-core/src/test/java/com/backbase/stream/portfolio/service/PortfolioIntegrationServiceTest.java index 42bb3d195..e3c93ed87 100644 --- a/stream-portfolio/portfolio-core/src/test/java/com/backbase/stream/portfolio/service/PortfolioIntegrationServiceTest.java +++ b/stream-portfolio/portfolio-core/src/test/java/com/backbase/stream/portfolio/service/PortfolioIntegrationServiceTest.java @@ -1,6 +1,7 @@ package com.backbase.stream.portfolio.service; import static com.backbase.stream.portfolio.util.PortfolioTestUtil.EUR_CURRENCY_CODE; +import static org.junit.jupiter.api.Assertions.assertNull; import static org.mockito.ArgumentMatchers.any; import static org.mockito.ArgumentMatchers.anyString; import static org.mockito.Mockito.times; @@ -16,7 +17,6 @@ import com.backbase.portfolio.api.service.integration.v1.model.PortfolioBenchmarkPostRequest; import com.backbase.portfolio.api.service.integration.v1.model.PortfolioCumulativePerformancesItem; import com.backbase.portfolio.api.service.integration.v1.model.PortfolioCumulativePerformancesPutRequest; -import com.backbase.portfolio.api.service.integration.v1.model.PortfolioGetResponse; import com.backbase.portfolio.api.service.integration.v1.model.PortfolioPositionTransactionsPostItem; import com.backbase.portfolio.api.service.integration.v1.model.PortfolioPositionsHierarchyItem; import com.backbase.portfolio.api.service.integration.v1.model.PortfolioPositionsHierarchyPutRequest; @@ -24,6 +24,8 @@ import com.backbase.portfolio.api.service.integration.v1.model.PortfolioTransactionsPostRequest; import com.backbase.portfolio.api.service.integration.v1.model.PortfolioValuationsItem; import com.backbase.portfolio.api.service.integration.v1.model.PortfolioValuationsPutRequest; +import com.backbase.portfolio.api.service.integration.v1.model.PortfoliosGetItem; +import com.backbase.portfolio.api.service.integration.v1.model.PortfoliosGetResponse; import com.backbase.portfolio.api.service.integration.v1.model.PortfoliosPostRequest; import com.backbase.portfolio.api.service.integration.v1.model.PortfoliosPutRequest; import com.backbase.portfolio.api.service.integration.v1.model.PositionTransactionPutRequest; @@ -446,6 +448,10 @@ void shouldCreatePortfolio_PortfolioBundle() { verify(portfolioValuationManagementApi).putPortfolioValuations(portfolioId, new PortfolioValuationsPutRequest() .addValuationsItem(new PortfolioValuationsItem().valuePct(BigDecimal.ONE))); + portfolioBundle.setBenchmark(null); + var bundle = portfolioIntegrationService.upsertPortfolio(portfolioBundle).blockLast(); + assertNull(bundle); + } @Test @@ -494,7 +500,9 @@ void shouldUpdatePortfolio_Portfolio() throws Exception { String portfolioCode = "ARRANGEMENT_SARA"; when(portfolioManagementApi.getPortfolio(anyString())) - .thenReturn(Mono.just(new PortfolioGetResponse().code(portfolioCode))); + .thenReturn(Mono.just( + new PortfoliosGetResponse().addPortfoliosItem(new PortfoliosGetItem().code(portfolioCode)) + .getPortfolios().get(0))); when(portfolioManagementApi.putPortfolio(anyString(), any(PortfoliosPutRequest.class))) .thenReturn(Mono.empty()); diff --git a/stream-portfolio/portfolio-http/pom.xml b/stream-portfolio/portfolio-http/pom.xml index 0b379086b..505524b9d 100644 --- a/stream-portfolio/portfolio-http/pom.xml +++ b/stream-portfolio/portfolio-http/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-http-starter-parent - 4.1.0 + 5.0.0-SNAPSHOT ../../stream-sdk/stream-starter-parents/stream-http-starter-parent diff --git a/stream-product-catalog/pom.xml b/stream-product-catalog/pom.xml index 788cb6dd0..5cd83490b 100644 --- a/stream-product-catalog/pom.xml +++ b/stream-product-catalog/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-services - 4.1.0 + 5.0.0-SNAPSHOT stream-product-catalog diff --git a/stream-product-catalog/product-catalog-core/pom.xml b/stream-product-catalog/product-catalog-core/pom.xml index 8c08a8592..f8bdbb859 100644 --- a/stream-product-catalog/product-catalog-core/pom.xml +++ b/stream-product-catalog/product-catalog-core/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-product-catalog - 4.1.0 + 5.0.0-SNAPSHOT product-catalog-core diff --git a/stream-product-catalog/product-catalog-http/pom.xml b/stream-product-catalog/product-catalog-http/pom.xml index d55d13ca8..d5d7eb710 100644 --- a/stream-product-catalog/product-catalog-http/pom.xml +++ b/stream-product-catalog/product-catalog-http/pom.xml @@ -6,7 +6,7 @@ com.backbase.stream stream-http-starter-parent - 4.1.0 + 5.0.0-SNAPSHOT ../../stream-sdk/stream-starter-parents/stream-http-starter-parent diff --git a/stream-product-catalog/product-catalog-task/pom.xml b/stream-product-catalog/product-catalog-task/pom.xml index adff8b677..b0e25703b 100644 --- a/stream-product-catalog/product-catalog-task/pom.xml +++ b/stream-product-catalog/product-catalog-task/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-task-starter-parent - 4.1.0 + 5.0.0-SNAPSHOT ../../stream-sdk/stream-starter-parents/stream-task-starter-parent diff --git a/stream-product/pom.xml b/stream-product/pom.xml index 8574983d4..cca955d3a 100644 --- a/stream-product/pom.xml +++ b/stream-product/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-services - 4.1.0 + 5.0.0-SNAPSHOT stream-product diff --git a/stream-product/product-core/pom.xml b/stream-product/product-core/pom.xml index 97130f47b..95aa83974 100644 --- a/stream-product/product-core/pom.xml +++ b/stream-product/product-core/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-product - 4.1.0 + 5.0.0-SNAPSHOT product-core diff --git a/stream-product/product-ingestion-saga/pom.xml b/stream-product/product-ingestion-saga/pom.xml index 125385c63..17a338b84 100644 --- a/stream-product/product-ingestion-saga/pom.xml +++ b/stream-product/product-ingestion-saga/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-product - 4.1.0 + 5.0.0-SNAPSHOT product-ingestion-saga diff --git a/stream-sdk/pom.xml b/stream-sdk/pom.xml index 8a9b2766e..579f31479 100644 --- a/stream-sdk/pom.xml +++ b/stream-sdk/pom.xml @@ -4,7 +4,7 @@ com.backbase.stream stream-sdk - 4.1.0 + 5.0.0-SNAPSHOT pom Stream :: SDK diff --git a/stream-sdk/stream-parent/pom.xml b/stream-sdk/stream-parent/pom.xml index 3e51c2c6b..92908cd4d 100644 --- a/stream-sdk/stream-parent/pom.xml +++ b/stream-sdk/stream-parent/pom.xml @@ -5,13 +5,13 @@ com.backbase.buildingblocks backbase-parent - 16.1.5 + 17.0.0 com.backbase.stream stream-parent - 4.1.0 + 5.0.0-SNAPSHOT pom Stream :: SDK :: Parent Parent for all Stream SDK modules @@ -37,8 +37,8 @@ - 17 - 16.1.5 + 21 + 17.0.0 true diff --git a/stream-sdk/stream-parent/stream-context-propagation/pom.xml b/stream-sdk/stream-parent/stream-context-propagation/pom.xml index 5a4e9b9e8..c38e8f2fa 100644 --- a/stream-sdk/stream-parent/stream-context-propagation/pom.xml +++ b/stream-sdk/stream-parent/stream-context-propagation/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-parent - 4.1.0 + 5.0.0-SNAPSHOT stream-context-propagation diff --git a/stream-sdk/stream-parent/stream-dbs-web-client/pom.xml b/stream-sdk/stream-parent/stream-dbs-web-client/pom.xml index ae11c12e1..58bf83b0a 100644 --- a/stream-sdk/stream-parent/stream-dbs-web-client/pom.xml +++ b/stream-sdk/stream-parent/stream-dbs-web-client/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-parent - 4.1.0 + 5.0.0-SNAPSHOT stream-dbs-web-client diff --git a/stream-sdk/stream-parent/stream-openapi-support/pom.xml b/stream-sdk/stream-parent/stream-openapi-support/pom.xml index 486b87b54..656654963 100644 --- a/stream-sdk/stream-parent/stream-openapi-support/pom.xml +++ b/stream-sdk/stream-parent/stream-openapi-support/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-parent - 4.1.0 + 5.0.0-SNAPSHOT stream-openapi-support diff --git a/stream-sdk/stream-parent/stream-test-support/pom.xml b/stream-sdk/stream-parent/stream-test-support/pom.xml index 7a85c1a77..22a36332c 100644 --- a/stream-sdk/stream-parent/stream-test-support/pom.xml +++ b/stream-sdk/stream-parent/stream-test-support/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-parent - 4.1.0 + 5.0.0-SNAPSHOT stream-test-support diff --git a/stream-sdk/stream-parent/stream-worker/pom.xml b/stream-sdk/stream-parent/stream-worker/pom.xml index b9538d39c..aaff1e5c8 100644 --- a/stream-sdk/stream-parent/stream-worker/pom.xml +++ b/stream-sdk/stream-parent/stream-worker/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-parent - 4.1.0 + 5.0.0-SNAPSHOT stream-worker diff --git a/stream-sdk/stream-starter-parents/pom.xml b/stream-sdk/stream-starter-parents/pom.xml index 32fdee5b7..c25a0430d 100644 --- a/stream-sdk/stream-starter-parents/pom.xml +++ b/stream-sdk/stream-starter-parents/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-parent - 4.1.0 + 5.0.0-SNAPSHOT ../stream-parent diff --git a/stream-sdk/stream-starter-parents/stream-http-starter-parent/pom.xml b/stream-sdk/stream-starter-parents/stream-http-starter-parent/pom.xml index c91730666..de34a9c7c 100644 --- a/stream-sdk/stream-starter-parents/stream-http-starter-parent/pom.xml +++ b/stream-sdk/stream-starter-parents/stream-http-starter-parent/pom.xml @@ -6,13 +6,13 @@ com.backbase.buildingblocks service-sdk-starter-reactive - 16.1.5 + 17.0.0 com.backbase.stream stream-http-starter-parent - 4.1.0 + 5.0.0-SNAPSHOT pom Stream :: SDK :: HTTP Services Starter Parent for Stream HTTP Services @@ -28,7 +28,7 @@ ${project.build.directory}/generated-sources ${codegen.generated-sources-dir}/annotations ${codegen.generated-sources-dir}/openapi - 2022.0.4 + 2023.0.1 diff --git a/stream-sdk/stream-starter-parents/stream-task-starter-parent/pom.xml b/stream-sdk/stream-starter-parents/stream-task-starter-parent/pom.xml index 4677cc983..ce20d33a0 100644 --- a/stream-sdk/stream-starter-parents/stream-task-starter-parent/pom.xml +++ b/stream-sdk/stream-starter-parents/stream-task-starter-parent/pom.xml @@ -5,13 +5,13 @@ com.backbase.buildingblocks service-sdk-starter-reactive - 16.1.5 + 17.0.0 com.backbase.stream stream-task-starter-parent - 4.1.0 + 5.0.0-SNAPSHOT pom Stream :: SDK :: Task Starter Parent for Stream Executable Tasks @@ -24,7 +24,7 @@ provided provided - 2022.0.4 + 2023.0.1 diff --git a/stream-transactions/pom.xml b/stream-transactions/pom.xml index 0ebe25e6a..840f6e5e8 100644 --- a/stream-transactions/pom.xml +++ b/stream-transactions/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-services - 4.1.0 + 5.0.0-SNAPSHOT stream-transactions diff --git a/stream-transactions/transactions-core/pom.xml b/stream-transactions/transactions-core/pom.xml index 65e1f08e8..d3c2630bc 100644 --- a/stream-transactions/transactions-core/pom.xml +++ b/stream-transactions/transactions-core/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-transactions - 4.1.0 + 5.0.0-SNAPSHOT transactions-core diff --git a/stream-transactions/transactions-item-writer/pom.xml b/stream-transactions/transactions-item-writer/pom.xml index ca1e0d7e9..7e2870876 100644 --- a/stream-transactions/transactions-item-writer/pom.xml +++ b/stream-transactions/transactions-item-writer/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-parent - 4.1.0 + 5.0.0-SNAPSHOT ../../stream-sdk/stream-parent From e6b43d1095e8f18ca114ac03225a49bc48e381e6 Mon Sep 17 00:00:00 2001 From: backbaseoss Date: Wed, 10 Apr 2024 14:40:16 +0000 Subject: [PATCH 10/11] [skip bump] version bump --- pom.xml | 2 +- stream-access-control/access-control-core/pom.xml | 2 +- stream-access-control/pom.xml | 2 +- stream-approvals/approvals-bootstrap-task/pom.xml | 2 +- stream-approvals/approvals-core/pom.xml | 2 +- stream-approvals/pom.xml | 2 +- stream-audiences/audiences-core/pom.xml | 2 +- stream-audiences/pom.xml | 2 +- stream-compositions/api/cursors-api/pom.xml | 2 +- .../api/cursors-api/transaction-cursor-api/pom.xml | 2 +- .../api/integrations-api/legal-entity-integration-api/pom.xml | 2 +- .../api/integrations-api/payment-order-integration-api/pom.xml | 2 +- stream-compositions/api/integrations-api/pom.xml | 2 +- .../integrations-api/product-catalog-integration-api/pom.xml | 2 +- .../api/integrations-api/product-integration-api/pom.xml | 2 +- .../api/integrations-api/transaction-integration-api/pom.xml | 2 +- stream-compositions/api/pom.xml | 2 +- .../api/service-api/legal-entity-composition-api/pom.xml | 2 +- .../api/service-api/payment-order-composition-api/pom.xml | 2 +- stream-compositions/api/service-api/pom.xml | 2 +- .../api/service-api/product-catalog-composition-api/pom.xml | 2 +- .../api/service-api/product-composition-api/pom.xml | 2 +- .../api/service-api/transaction-composition-api/pom.xml | 2 +- stream-compositions/cursors/pom.xml | 2 +- stream-compositions/cursors/transaction-cursor/pom.xml | 2 +- stream-compositions/events/legal-entity-egress/pom.xml | 2 +- stream-compositions/events/legal-entity-ingress/pom.xml | 2 +- stream-compositions/events/pom.xml | 2 +- stream-compositions/events/product-catalog-egress/pom.xml | 2 +- stream-compositions/events/product-catalog-ingress/pom.xml | 2 +- stream-compositions/events/product-egress/pom.xml | 2 +- stream-compositions/events/product-ingress/pom.xml | 2 +- stream-compositions/events/transaction-egress/pom.xml | 2 +- stream-compositions/events/transaction-ingress/pom.xml | 2 +- stream-compositions/pom.xml | 2 +- .../services/legal-entity-composition-service/pom.xml | 2 +- .../services/payment-order-composition-service/pom.xml | 2 +- stream-compositions/services/pom.xml | 2 +- .../services/product-catalog-composition-service/pom.xml | 2 +- .../services/product-composition-service/pom.xml | 2 +- .../services/transaction-composition-service/pom.xml | 2 +- stream-compositions/test-utils/pom.xml | 2 +- stream-contacts/contacts-core/pom.xml | 2 +- stream-contacts/pom.xml | 2 +- stream-cursor/cursor-core/pom.xml | 2 +- stream-cursor/cursor-http/pom.xml | 2 +- stream-cursor/cursor-publishers/pom.xml | 2 +- stream-cursor/cursor-store/pom.xml | 2 +- stream-cursor/pom.xml | 2 +- stream-dbs-clients/pom.xml | 2 +- stream-legal-entity/legal-entity-bootstrap-task/pom.xml | 2 +- stream-legal-entity/legal-entity-core/pom.xml | 2 +- stream-legal-entity/legal-entity-http/pom.xml | 2 +- stream-legal-entity/pom.xml | 2 +- stream-limits/limits-core/pom.xml | 2 +- stream-limits/pom.xml | 2 +- stream-loans/loans-core/pom.xml | 2 +- stream-loans/pom.xml | 2 +- stream-models/approval-model/pom.xml | 2 +- stream-models/legal-entity-model/pom.xml | 2 +- stream-models/pom.xml | 2 +- stream-models/portfolio-model/pom.xml | 2 +- stream-models/product-catalog-model/pom.xml | 2 +- stream-payment-order/payment-order-core/pom.xml | 2 +- stream-payment-order/pom.xml | 2 +- stream-portfolio/pom.xml | 2 +- stream-portfolio/portfolio-bootstrap-task/pom.xml | 2 +- stream-portfolio/portfolio-core/pom.xml | 2 +- stream-portfolio/portfolio-http/pom.xml | 2 +- stream-product-catalog/pom.xml | 2 +- stream-product-catalog/product-catalog-core/pom.xml | 2 +- stream-product-catalog/product-catalog-http/pom.xml | 2 +- stream-product-catalog/product-catalog-task/pom.xml | 2 +- stream-product/pom.xml | 2 +- stream-product/product-core/pom.xml | 2 +- stream-product/product-ingestion-saga/pom.xml | 2 +- stream-sdk/pom.xml | 2 +- stream-sdk/stream-parent/pom.xml | 2 +- stream-sdk/stream-parent/stream-context-propagation/pom.xml | 2 +- stream-sdk/stream-parent/stream-dbs-web-client/pom.xml | 2 +- stream-sdk/stream-parent/stream-openapi-support/pom.xml | 2 +- stream-sdk/stream-parent/stream-test-support/pom.xml | 2 +- stream-sdk/stream-parent/stream-worker/pom.xml | 2 +- stream-sdk/stream-starter-parents/pom.xml | 2 +- .../stream-starter-parents/stream-http-starter-parent/pom.xml | 2 +- .../stream-starter-parents/stream-task-starter-parent/pom.xml | 2 +- stream-transactions/pom.xml | 2 +- stream-transactions/transactions-core/pom.xml | 2 +- stream-transactions/transactions-item-writer/pom.xml | 2 +- 89 files changed, 89 insertions(+), 89 deletions(-) diff --git a/pom.xml b/pom.xml index 986d99e2e..dc688a64c 100644 --- a/pom.xml +++ b/pom.xml @@ -11,7 +11,7 @@ com.backbase.stream stream-services - 5.0.0-SNAPSHOT + 5.0.0 pom Stream :: Services diff --git a/stream-access-control/access-control-core/pom.xml b/stream-access-control/access-control-core/pom.xml index 749ed0cd7..e9f8de390 100644 --- a/stream-access-control/access-control-core/pom.xml +++ b/stream-access-control/access-control-core/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-access-control - 5.0.0-SNAPSHOT + 5.0.0 access-control-core diff --git a/stream-access-control/pom.xml b/stream-access-control/pom.xml index ee87215f8..94fb204a1 100644 --- a/stream-access-control/pom.xml +++ b/stream-access-control/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-services - 5.0.0-SNAPSHOT + 5.0.0 stream-access-control diff --git a/stream-approvals/approvals-bootstrap-task/pom.xml b/stream-approvals/approvals-bootstrap-task/pom.xml index b4e6b3b74..1291bd9d9 100644 --- a/stream-approvals/approvals-bootstrap-task/pom.xml +++ b/stream-approvals/approvals-bootstrap-task/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-task-starter-parent - 5.0.0-SNAPSHOT + 5.0.0 ../../stream-sdk/stream-starter-parents/stream-task-starter-parent diff --git a/stream-approvals/approvals-core/pom.xml b/stream-approvals/approvals-core/pom.xml index 7ae4c3928..883d96b64 100644 --- a/stream-approvals/approvals-core/pom.xml +++ b/stream-approvals/approvals-core/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-approvals - 5.0.0-SNAPSHOT + 5.0.0 approvals-core diff --git a/stream-approvals/pom.xml b/stream-approvals/pom.xml index 4a4afcd5a..34a70f34a 100644 --- a/stream-approvals/pom.xml +++ b/stream-approvals/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-services - 5.0.0-SNAPSHOT + 5.0.0 stream-approvals diff --git a/stream-audiences/audiences-core/pom.xml b/stream-audiences/audiences-core/pom.xml index b51b482d1..bbd9348bd 100644 --- a/stream-audiences/audiences-core/pom.xml +++ b/stream-audiences/audiences-core/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-audiences - 5.0.0-SNAPSHOT + 5.0.0 audiences-core diff --git a/stream-audiences/pom.xml b/stream-audiences/pom.xml index 137f1cc63..430fb15f8 100644 --- a/stream-audiences/pom.xml +++ b/stream-audiences/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-services - 5.0.0-SNAPSHOT + 5.0.0 stream-audiences diff --git a/stream-compositions/api/cursors-api/pom.xml b/stream-compositions/api/cursors-api/pom.xml index ab896901b..ed5de0ad1 100644 --- a/stream-compositions/api/cursors-api/pom.xml +++ b/stream-compositions/api/cursors-api/pom.xml @@ -5,7 +5,7 @@ api com.backbase.stream.compositions - 5.0.0-SNAPSHOT + 5.0.0 cursors-api diff --git a/stream-compositions/api/cursors-api/transaction-cursor-api/pom.xml b/stream-compositions/api/cursors-api/transaction-cursor-api/pom.xml index 8f949b240..9d4e22437 100644 --- a/stream-compositions/api/cursors-api/transaction-cursor-api/pom.xml +++ b/stream-compositions/api/cursors-api/transaction-cursor-api/pom.xml @@ -5,7 +5,7 @@ cursors-api com.backbase.stream.compositions - 5.0.0-SNAPSHOT + 5.0.0 4.0.0 diff --git a/stream-compositions/api/integrations-api/legal-entity-integration-api/pom.xml b/stream-compositions/api/integrations-api/legal-entity-integration-api/pom.xml index 7ad356662..025a266d7 100644 --- a/stream-compositions/api/integrations-api/legal-entity-integration-api/pom.xml +++ b/stream-compositions/api/integrations-api/legal-entity-integration-api/pom.xml @@ -6,7 +6,7 @@ integrations-api com.backbase.stream.compositions - 5.0.0-SNAPSHOT + 5.0.0 com.backbase.stream.compositions.api diff --git a/stream-compositions/api/integrations-api/payment-order-integration-api/pom.xml b/stream-compositions/api/integrations-api/payment-order-integration-api/pom.xml index e2ac18eca..4b82d8114 100644 --- a/stream-compositions/api/integrations-api/payment-order-integration-api/pom.xml +++ b/stream-compositions/api/integrations-api/payment-order-integration-api/pom.xml @@ -6,7 +6,7 @@ integrations-api com.backbase.stream.compositions - 5.0.0-SNAPSHOT + 5.0.0 com.backbase.stream.compositions.api diff --git a/stream-compositions/api/integrations-api/pom.xml b/stream-compositions/api/integrations-api/pom.xml index 1c71a13c1..93e1280de 100644 --- a/stream-compositions/api/integrations-api/pom.xml +++ b/stream-compositions/api/integrations-api/pom.xml @@ -6,7 +6,7 @@ api com.backbase.stream.compositions - 5.0.0-SNAPSHOT + 5.0.0 integrations-api diff --git a/stream-compositions/api/integrations-api/product-catalog-integration-api/pom.xml b/stream-compositions/api/integrations-api/product-catalog-integration-api/pom.xml index 60cf3d085..7d52a5daf 100644 --- a/stream-compositions/api/integrations-api/product-catalog-integration-api/pom.xml +++ b/stream-compositions/api/integrations-api/product-catalog-integration-api/pom.xml @@ -6,7 +6,7 @@ integrations-api com.backbase.stream.compositions - 5.0.0-SNAPSHOT + 5.0.0 com.backbase.stream.compositions.api diff --git a/stream-compositions/api/integrations-api/product-integration-api/pom.xml b/stream-compositions/api/integrations-api/product-integration-api/pom.xml index 0413d885f..29ae8c7aa 100644 --- a/stream-compositions/api/integrations-api/product-integration-api/pom.xml +++ b/stream-compositions/api/integrations-api/product-integration-api/pom.xml @@ -6,7 +6,7 @@ integrations-api com.backbase.stream.compositions - 5.0.0-SNAPSHOT + 5.0.0 com.backbase.stream.compositions.api diff --git a/stream-compositions/api/integrations-api/transaction-integration-api/pom.xml b/stream-compositions/api/integrations-api/transaction-integration-api/pom.xml index 539676621..646ca9c44 100644 --- a/stream-compositions/api/integrations-api/transaction-integration-api/pom.xml +++ b/stream-compositions/api/integrations-api/transaction-integration-api/pom.xml @@ -6,7 +6,7 @@ integrations-api com.backbase.stream.compositions - 5.0.0-SNAPSHOT + 5.0.0 com.backbase.stream.compositions.api diff --git a/stream-compositions/api/pom.xml b/stream-compositions/api/pom.xml index 3242a141e..83f9d9963 100644 --- a/stream-compositions/api/pom.xml +++ b/stream-compositions/api/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-compositions - 5.0.0-SNAPSHOT + 5.0.0 com.backbase.stream.compositions diff --git a/stream-compositions/api/service-api/legal-entity-composition-api/pom.xml b/stream-compositions/api/service-api/legal-entity-composition-api/pom.xml index 7460b0683..c264bbdb3 100644 --- a/stream-compositions/api/service-api/legal-entity-composition-api/pom.xml +++ b/stream-compositions/api/service-api/legal-entity-composition-api/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream.compositions service-api - 5.0.0-SNAPSHOT + 5.0.0 com.backbase.stream.compositions.api diff --git a/stream-compositions/api/service-api/payment-order-composition-api/pom.xml b/stream-compositions/api/service-api/payment-order-composition-api/pom.xml index efbd884ea..488fc085c 100644 --- a/stream-compositions/api/service-api/payment-order-composition-api/pom.xml +++ b/stream-compositions/api/service-api/payment-order-composition-api/pom.xml @@ -6,7 +6,7 @@ service-api com.backbase.stream.compositions - 5.0.0-SNAPSHOT + 5.0.0 com.backbase.stream.compositions.api diff --git a/stream-compositions/api/service-api/pom.xml b/stream-compositions/api/service-api/pom.xml index 575cd75fc..b77da4158 100644 --- a/stream-compositions/api/service-api/pom.xml +++ b/stream-compositions/api/service-api/pom.xml @@ -6,7 +6,7 @@ com.backbase.stream.compositions api - 5.0.0-SNAPSHOT + 5.0.0 service-api diff --git a/stream-compositions/api/service-api/product-catalog-composition-api/pom.xml b/stream-compositions/api/service-api/product-catalog-composition-api/pom.xml index aca28972c..7fb0121d1 100644 --- a/stream-compositions/api/service-api/product-catalog-composition-api/pom.xml +++ b/stream-compositions/api/service-api/product-catalog-composition-api/pom.xml @@ -6,7 +6,7 @@ service-api com.backbase.stream.compositions - 5.0.0-SNAPSHOT + 5.0.0 com.backbase.stream.compositions.api diff --git a/stream-compositions/api/service-api/product-composition-api/pom.xml b/stream-compositions/api/service-api/product-composition-api/pom.xml index a243c4e3f..d4c3980b5 100644 --- a/stream-compositions/api/service-api/product-composition-api/pom.xml +++ b/stream-compositions/api/service-api/product-composition-api/pom.xml @@ -6,7 +6,7 @@ service-api com.backbase.stream.compositions - 5.0.0-SNAPSHOT + 5.0.0 com.backbase.stream.compositions.api diff --git a/stream-compositions/api/service-api/transaction-composition-api/pom.xml b/stream-compositions/api/service-api/transaction-composition-api/pom.xml index 2114cef0f..f6e805049 100644 --- a/stream-compositions/api/service-api/transaction-composition-api/pom.xml +++ b/stream-compositions/api/service-api/transaction-composition-api/pom.xml @@ -6,7 +6,7 @@ service-api com.backbase.stream.compositions - 5.0.0-SNAPSHOT + 5.0.0 com.backbase.stream.compositions.api diff --git a/stream-compositions/cursors/pom.xml b/stream-compositions/cursors/pom.xml index 250d9a50a..ffc07775a 100644 --- a/stream-compositions/cursors/pom.xml +++ b/stream-compositions/cursors/pom.xml @@ -5,7 +5,7 @@ stream-compositions com.backbase.stream - 5.0.0-SNAPSHOT + 5.0.0 4.0.0 diff --git a/stream-compositions/cursors/transaction-cursor/pom.xml b/stream-compositions/cursors/transaction-cursor/pom.xml index 040dfe2d4..64fea8cdc 100644 --- a/stream-compositions/cursors/transaction-cursor/pom.xml +++ b/stream-compositions/cursors/transaction-cursor/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream.compositions cursors - 5.0.0-SNAPSHOT + 5.0.0 4.0.0 diff --git a/stream-compositions/events/legal-entity-egress/pom.xml b/stream-compositions/events/legal-entity-egress/pom.xml index 687d50f71..3b3ad7c47 100644 --- a/stream-compositions/events/legal-entity-egress/pom.xml +++ b/stream-compositions/events/legal-entity-egress/pom.xml @@ -5,7 +5,7 @@ events com.backbase.stream.compositions - 5.0.0-SNAPSHOT + 5.0.0 com.backbase.stream.compositions.events diff --git a/stream-compositions/events/legal-entity-ingress/pom.xml b/stream-compositions/events/legal-entity-ingress/pom.xml index 2bf3508c6..4c8bfb247 100644 --- a/stream-compositions/events/legal-entity-ingress/pom.xml +++ b/stream-compositions/events/legal-entity-ingress/pom.xml @@ -5,7 +5,7 @@ events com.backbase.stream.compositions - 5.0.0-SNAPSHOT + 5.0.0 com.backbase.stream.compositions.events diff --git a/stream-compositions/events/pom.xml b/stream-compositions/events/pom.xml index 1ca50d949..cd43cefd1 100644 --- a/stream-compositions/events/pom.xml +++ b/stream-compositions/events/pom.xml @@ -6,7 +6,7 @@ com.backbase.stream stream-compositions - 5.0.0-SNAPSHOT + 5.0.0 com.backbase.stream.compositions diff --git a/stream-compositions/events/product-catalog-egress/pom.xml b/stream-compositions/events/product-catalog-egress/pom.xml index 18ac56aa3..02a0d0a25 100644 --- a/stream-compositions/events/product-catalog-egress/pom.xml +++ b/stream-compositions/events/product-catalog-egress/pom.xml @@ -5,7 +5,7 @@ events com.backbase.stream.compositions - 5.0.0-SNAPSHOT + 5.0.0 com.backbase.stream.compositions.events diff --git a/stream-compositions/events/product-catalog-ingress/pom.xml b/stream-compositions/events/product-catalog-ingress/pom.xml index 80bf83558..ac8027b34 100644 --- a/stream-compositions/events/product-catalog-ingress/pom.xml +++ b/stream-compositions/events/product-catalog-ingress/pom.xml @@ -5,7 +5,7 @@ events com.backbase.stream.compositions - 5.0.0-SNAPSHOT + 5.0.0 com.backbase.stream.compositions.events diff --git a/stream-compositions/events/product-egress/pom.xml b/stream-compositions/events/product-egress/pom.xml index 867a46790..f747132ad 100644 --- a/stream-compositions/events/product-egress/pom.xml +++ b/stream-compositions/events/product-egress/pom.xml @@ -5,7 +5,7 @@ events com.backbase.stream.compositions - 5.0.0-SNAPSHOT + 5.0.0 com.backbase.stream.compositions.events diff --git a/stream-compositions/events/product-ingress/pom.xml b/stream-compositions/events/product-ingress/pom.xml index 8d82caa43..7b3c7a909 100644 --- a/stream-compositions/events/product-ingress/pom.xml +++ b/stream-compositions/events/product-ingress/pom.xml @@ -5,7 +5,7 @@ events com.backbase.stream.compositions - 5.0.0-SNAPSHOT + 5.0.0 com.backbase.stream.compositions.events diff --git a/stream-compositions/events/transaction-egress/pom.xml b/stream-compositions/events/transaction-egress/pom.xml index ce3deb4b0..5b4a041e0 100644 --- a/stream-compositions/events/transaction-egress/pom.xml +++ b/stream-compositions/events/transaction-egress/pom.xml @@ -5,7 +5,7 @@ events com.backbase.stream.compositions - 5.0.0-SNAPSHOT + 5.0.0 com.backbase.stream.compositions.events diff --git a/stream-compositions/events/transaction-ingress/pom.xml b/stream-compositions/events/transaction-ingress/pom.xml index 2383be19a..e78b8ebfd 100644 --- a/stream-compositions/events/transaction-ingress/pom.xml +++ b/stream-compositions/events/transaction-ingress/pom.xml @@ -5,7 +5,7 @@ events com.backbase.stream.compositions - 5.0.0-SNAPSHOT + 5.0.0 com.backbase.stream.compositions.events diff --git a/stream-compositions/pom.xml b/stream-compositions/pom.xml index b9f5257ea..2eca0c2ca 100644 --- a/stream-compositions/pom.xml +++ b/stream-compositions/pom.xml @@ -13,7 +13,7 @@ com.backbase.stream stream-compositions - 5.0.0-SNAPSHOT + 5.0.0 pom Stream :: Compositions diff --git a/stream-compositions/services/legal-entity-composition-service/pom.xml b/stream-compositions/services/legal-entity-composition-service/pom.xml index 6b84fd430..7d5b3e500 100644 --- a/stream-compositions/services/legal-entity-composition-service/pom.xml +++ b/stream-compositions/services/legal-entity-composition-service/pom.xml @@ -7,7 +7,7 @@ com.backbase.stream.compositions services - 5.0.0-SNAPSHOT + 5.0.0 legal-entity-composition-service diff --git a/stream-compositions/services/payment-order-composition-service/pom.xml b/stream-compositions/services/payment-order-composition-service/pom.xml index 3d6547d0d..ae02757f6 100644 --- a/stream-compositions/services/payment-order-composition-service/pom.xml +++ b/stream-compositions/services/payment-order-composition-service/pom.xml @@ -6,7 +6,7 @@ com.backbase.stream.compositions services - 5.0.0-SNAPSHOT + 5.0.0 payment-order-composition-service diff --git a/stream-compositions/services/pom.xml b/stream-compositions/services/pom.xml index 4cc64de21..960b2d2ca 100644 --- a/stream-compositions/services/pom.xml +++ b/stream-compositions/services/pom.xml @@ -6,7 +6,7 @@ com.backbase.stream stream-compositions - 5.0.0-SNAPSHOT + 5.0.0 com.backbase.stream.compositions diff --git a/stream-compositions/services/product-catalog-composition-service/pom.xml b/stream-compositions/services/product-catalog-composition-service/pom.xml index 07cd7d398..5bdf5b730 100644 --- a/stream-compositions/services/product-catalog-composition-service/pom.xml +++ b/stream-compositions/services/product-catalog-composition-service/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream.compositions services - 5.0.0-SNAPSHOT + 5.0.0 product-catalog-composition-service diff --git a/stream-compositions/services/product-composition-service/pom.xml b/stream-compositions/services/product-composition-service/pom.xml index d696c0aab..937417b19 100644 --- a/stream-compositions/services/product-composition-service/pom.xml +++ b/stream-compositions/services/product-composition-service/pom.xml @@ -7,7 +7,7 @@ com.backbase.stream.compositions services - 5.0.0-SNAPSHOT + 5.0.0 product-composition-service diff --git a/stream-compositions/services/transaction-composition-service/pom.xml b/stream-compositions/services/transaction-composition-service/pom.xml index f554c0d23..1d2a05e9a 100644 --- a/stream-compositions/services/transaction-composition-service/pom.xml +++ b/stream-compositions/services/transaction-composition-service/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream.compositions services - 5.0.0-SNAPSHOT + 5.0.0 transaction-composition-service diff --git a/stream-compositions/test-utils/pom.xml b/stream-compositions/test-utils/pom.xml index 97d5233d9..97ea4eaa7 100644 --- a/stream-compositions/test-utils/pom.xml +++ b/stream-compositions/test-utils/pom.xml @@ -6,7 +6,7 @@ stream-compositions com.backbase.stream - 5.0.0-SNAPSHOT + 5.0.0 com.backbase.stream.compositions diff --git a/stream-contacts/contacts-core/pom.xml b/stream-contacts/contacts-core/pom.xml index 09cc5e831..30a1ff8ef 100644 --- a/stream-contacts/contacts-core/pom.xml +++ b/stream-contacts/contacts-core/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-contacts - 5.0.0-SNAPSHOT + 5.0.0 contacts-core diff --git a/stream-contacts/pom.xml b/stream-contacts/pom.xml index 7a59e926b..059ccda4a 100644 --- a/stream-contacts/pom.xml +++ b/stream-contacts/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-services - 5.0.0-SNAPSHOT + 5.0.0 stream-contacts diff --git a/stream-cursor/cursor-core/pom.xml b/stream-cursor/cursor-core/pom.xml index 540517ccb..7a055365f 100644 --- a/stream-cursor/cursor-core/pom.xml +++ b/stream-cursor/cursor-core/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-cursor - 5.0.0-SNAPSHOT + 5.0.0 cursor-core diff --git a/stream-cursor/cursor-http/pom.xml b/stream-cursor/cursor-http/pom.xml index 1a1bc66f5..480a2a464 100644 --- a/stream-cursor/cursor-http/pom.xml +++ b/stream-cursor/cursor-http/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-http-starter-parent - 5.0.0-SNAPSHOT + 5.0.0 ../../stream-sdk/stream-starter-parents/stream-http-starter-parent diff --git a/stream-cursor/cursor-publishers/pom.xml b/stream-cursor/cursor-publishers/pom.xml index 5753f6d4b..52bd3cd00 100644 --- a/stream-cursor/cursor-publishers/pom.xml +++ b/stream-cursor/cursor-publishers/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-cursor - 5.0.0-SNAPSHOT + 5.0.0 cursor-publishers diff --git a/stream-cursor/cursor-store/pom.xml b/stream-cursor/cursor-store/pom.xml index 74ca3e824..738b1df57 100644 --- a/stream-cursor/cursor-store/pom.xml +++ b/stream-cursor/cursor-store/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-cursor - 5.0.0-SNAPSHOT + 5.0.0 cursor-store diff --git a/stream-cursor/pom.xml b/stream-cursor/pom.xml index 82eb7369c..006a257e7 100644 --- a/stream-cursor/pom.xml +++ b/stream-cursor/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-services - 5.0.0-SNAPSHOT + 5.0.0 stream-cursor diff --git a/stream-dbs-clients/pom.xml b/stream-dbs-clients/pom.xml index a8f7c2336..ed10cf28e 100644 --- a/stream-dbs-clients/pom.xml +++ b/stream-dbs-clients/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-services - 5.0.0-SNAPSHOT + 5.0.0 stream-dbs-clients diff --git a/stream-legal-entity/legal-entity-bootstrap-task/pom.xml b/stream-legal-entity/legal-entity-bootstrap-task/pom.xml index fca4f9a2c..3d2dfc564 100644 --- a/stream-legal-entity/legal-entity-bootstrap-task/pom.xml +++ b/stream-legal-entity/legal-entity-bootstrap-task/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-task-starter-parent - 5.0.0-SNAPSHOT + 5.0.0 ../../stream-sdk/stream-starter-parents/stream-task-starter-parent diff --git a/stream-legal-entity/legal-entity-core/pom.xml b/stream-legal-entity/legal-entity-core/pom.xml index d7049925f..f0744f223 100644 --- a/stream-legal-entity/legal-entity-core/pom.xml +++ b/stream-legal-entity/legal-entity-core/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-legal-entity - 5.0.0-SNAPSHOT + 5.0.0 legal-entity-core diff --git a/stream-legal-entity/legal-entity-http/pom.xml b/stream-legal-entity/legal-entity-http/pom.xml index 7d9b48c59..eb533ff85 100644 --- a/stream-legal-entity/legal-entity-http/pom.xml +++ b/stream-legal-entity/legal-entity-http/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-http-starter-parent - 5.0.0-SNAPSHOT + 5.0.0 ../../stream-sdk/stream-starter-parents/stream-http-starter-parent diff --git a/stream-legal-entity/pom.xml b/stream-legal-entity/pom.xml index 3af13145b..eb376e08a 100644 --- a/stream-legal-entity/pom.xml +++ b/stream-legal-entity/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-services - 5.0.0-SNAPSHOT + 5.0.0 stream-legal-entity diff --git a/stream-limits/limits-core/pom.xml b/stream-limits/limits-core/pom.xml index c46e8c4fd..986813291 100644 --- a/stream-limits/limits-core/pom.xml +++ b/stream-limits/limits-core/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-limits - 5.0.0-SNAPSHOT + 5.0.0 limits-core diff --git a/stream-limits/pom.xml b/stream-limits/pom.xml index f82911a09..4370802c0 100644 --- a/stream-limits/pom.xml +++ b/stream-limits/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-services - 5.0.0-SNAPSHOT + 5.0.0 stream-limits diff --git a/stream-loans/loans-core/pom.xml b/stream-loans/loans-core/pom.xml index 70b5c33a0..506cac5d1 100644 --- a/stream-loans/loans-core/pom.xml +++ b/stream-loans/loans-core/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-loans - 5.0.0-SNAPSHOT + 5.0.0 loans-core diff --git a/stream-loans/pom.xml b/stream-loans/pom.xml index 462cd1496..4c5405ed8 100644 --- a/stream-loans/pom.xml +++ b/stream-loans/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-services - 5.0.0-SNAPSHOT + 5.0.0 stream-loans diff --git a/stream-models/approval-model/pom.xml b/stream-models/approval-model/pom.xml index 7a389918a..2bb2a87cd 100644 --- a/stream-models/approval-model/pom.xml +++ b/stream-models/approval-model/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-models - 5.0.0-SNAPSHOT + 5.0.0 approval-model diff --git a/stream-models/legal-entity-model/pom.xml b/stream-models/legal-entity-model/pom.xml index ae2557e06..f3a801e3b 100644 --- a/stream-models/legal-entity-model/pom.xml +++ b/stream-models/legal-entity-model/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-models - 5.0.0-SNAPSHOT + 5.0.0 legal-entity-model diff --git a/stream-models/pom.xml b/stream-models/pom.xml index 34189970e..c8ad44891 100644 --- a/stream-models/pom.xml +++ b/stream-models/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-services - 5.0.0-SNAPSHOT + 5.0.0 stream-models diff --git a/stream-models/portfolio-model/pom.xml b/stream-models/portfolio-model/pom.xml index ef04e2c96..d61a3ceb1 100644 --- a/stream-models/portfolio-model/pom.xml +++ b/stream-models/portfolio-model/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-models - 5.0.0-SNAPSHOT + 5.0.0 portfolio-model diff --git a/stream-models/product-catalog-model/pom.xml b/stream-models/product-catalog-model/pom.xml index f5f6b891e..f0047c99b 100644 --- a/stream-models/product-catalog-model/pom.xml +++ b/stream-models/product-catalog-model/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-models - 5.0.0-SNAPSHOT + 5.0.0 product-catalog-model diff --git a/stream-payment-order/payment-order-core/pom.xml b/stream-payment-order/payment-order-core/pom.xml index 7d408da65..52f322e90 100644 --- a/stream-payment-order/payment-order-core/pom.xml +++ b/stream-payment-order/payment-order-core/pom.xml @@ -6,7 +6,7 @@ com.backbase.stream stream-payment-order - 5.0.0-SNAPSHOT + 5.0.0 payment-order-core diff --git a/stream-payment-order/pom.xml b/stream-payment-order/pom.xml index 1bfacefb9..7ca559e4a 100644 --- a/stream-payment-order/pom.xml +++ b/stream-payment-order/pom.xml @@ -6,7 +6,7 @@ com.backbase.stream stream-services - 5.0.0-SNAPSHOT + 5.0.0 stream-payment-order diff --git a/stream-portfolio/pom.xml b/stream-portfolio/pom.xml index 6ee637f39..711dd02d2 100644 --- a/stream-portfolio/pom.xml +++ b/stream-portfolio/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-services - 5.0.0-SNAPSHOT + 5.0.0 stream-portfolio diff --git a/stream-portfolio/portfolio-bootstrap-task/pom.xml b/stream-portfolio/portfolio-bootstrap-task/pom.xml index 303c124bd..37a2faa58 100644 --- a/stream-portfolio/portfolio-bootstrap-task/pom.xml +++ b/stream-portfolio/portfolio-bootstrap-task/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-task-starter-parent - 5.0.0-SNAPSHOT + 5.0.0 ../../stream-sdk/stream-starter-parents/stream-task-starter-parent diff --git a/stream-portfolio/portfolio-core/pom.xml b/stream-portfolio/portfolio-core/pom.xml index 1b06c9bb4..cb99c0a6a 100644 --- a/stream-portfolio/portfolio-core/pom.xml +++ b/stream-portfolio/portfolio-core/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-portfolio - 5.0.0-SNAPSHOT + 5.0.0 portfolio-core diff --git a/stream-portfolio/portfolio-http/pom.xml b/stream-portfolio/portfolio-http/pom.xml index 505524b9d..7ea1e8693 100644 --- a/stream-portfolio/portfolio-http/pom.xml +++ b/stream-portfolio/portfolio-http/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-http-starter-parent - 5.0.0-SNAPSHOT + 5.0.0 ../../stream-sdk/stream-starter-parents/stream-http-starter-parent diff --git a/stream-product-catalog/pom.xml b/stream-product-catalog/pom.xml index 5cd83490b..d3dbe6aa1 100644 --- a/stream-product-catalog/pom.xml +++ b/stream-product-catalog/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-services - 5.0.0-SNAPSHOT + 5.0.0 stream-product-catalog diff --git a/stream-product-catalog/product-catalog-core/pom.xml b/stream-product-catalog/product-catalog-core/pom.xml index f8bdbb859..eb0254b9e 100644 --- a/stream-product-catalog/product-catalog-core/pom.xml +++ b/stream-product-catalog/product-catalog-core/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-product-catalog - 5.0.0-SNAPSHOT + 5.0.0 product-catalog-core diff --git a/stream-product-catalog/product-catalog-http/pom.xml b/stream-product-catalog/product-catalog-http/pom.xml index d5d7eb710..638ac6b20 100644 --- a/stream-product-catalog/product-catalog-http/pom.xml +++ b/stream-product-catalog/product-catalog-http/pom.xml @@ -6,7 +6,7 @@ com.backbase.stream stream-http-starter-parent - 5.0.0-SNAPSHOT + 5.0.0 ../../stream-sdk/stream-starter-parents/stream-http-starter-parent diff --git a/stream-product-catalog/product-catalog-task/pom.xml b/stream-product-catalog/product-catalog-task/pom.xml index b0e25703b..934a9eb95 100644 --- a/stream-product-catalog/product-catalog-task/pom.xml +++ b/stream-product-catalog/product-catalog-task/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-task-starter-parent - 5.0.0-SNAPSHOT + 5.0.0 ../../stream-sdk/stream-starter-parents/stream-task-starter-parent diff --git a/stream-product/pom.xml b/stream-product/pom.xml index cca955d3a..41dac0395 100644 --- a/stream-product/pom.xml +++ b/stream-product/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-services - 5.0.0-SNAPSHOT + 5.0.0 stream-product diff --git a/stream-product/product-core/pom.xml b/stream-product/product-core/pom.xml index 95aa83974..47b1136e7 100644 --- a/stream-product/product-core/pom.xml +++ b/stream-product/product-core/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-product - 5.0.0-SNAPSHOT + 5.0.0 product-core diff --git a/stream-product/product-ingestion-saga/pom.xml b/stream-product/product-ingestion-saga/pom.xml index 17a338b84..6675320e2 100644 --- a/stream-product/product-ingestion-saga/pom.xml +++ b/stream-product/product-ingestion-saga/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-product - 5.0.0-SNAPSHOT + 5.0.0 product-ingestion-saga diff --git a/stream-sdk/pom.xml b/stream-sdk/pom.xml index 579f31479..a01a88c78 100644 --- a/stream-sdk/pom.xml +++ b/stream-sdk/pom.xml @@ -4,7 +4,7 @@ com.backbase.stream stream-sdk - 5.0.0-SNAPSHOT + 5.0.0 pom Stream :: SDK diff --git a/stream-sdk/stream-parent/pom.xml b/stream-sdk/stream-parent/pom.xml index 92908cd4d..ab10e5591 100644 --- a/stream-sdk/stream-parent/pom.xml +++ b/stream-sdk/stream-parent/pom.xml @@ -11,7 +11,7 @@ com.backbase.stream stream-parent - 5.0.0-SNAPSHOT + 5.0.0 pom Stream :: SDK :: Parent Parent for all Stream SDK modules diff --git a/stream-sdk/stream-parent/stream-context-propagation/pom.xml b/stream-sdk/stream-parent/stream-context-propagation/pom.xml index c38e8f2fa..da00f9f57 100644 --- a/stream-sdk/stream-parent/stream-context-propagation/pom.xml +++ b/stream-sdk/stream-parent/stream-context-propagation/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-parent - 5.0.0-SNAPSHOT + 5.0.0 stream-context-propagation diff --git a/stream-sdk/stream-parent/stream-dbs-web-client/pom.xml b/stream-sdk/stream-parent/stream-dbs-web-client/pom.xml index 58bf83b0a..a4a377f0f 100644 --- a/stream-sdk/stream-parent/stream-dbs-web-client/pom.xml +++ b/stream-sdk/stream-parent/stream-dbs-web-client/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-parent - 5.0.0-SNAPSHOT + 5.0.0 stream-dbs-web-client diff --git a/stream-sdk/stream-parent/stream-openapi-support/pom.xml b/stream-sdk/stream-parent/stream-openapi-support/pom.xml index 656654963..4585185e4 100644 --- a/stream-sdk/stream-parent/stream-openapi-support/pom.xml +++ b/stream-sdk/stream-parent/stream-openapi-support/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-parent - 5.0.0-SNAPSHOT + 5.0.0 stream-openapi-support diff --git a/stream-sdk/stream-parent/stream-test-support/pom.xml b/stream-sdk/stream-parent/stream-test-support/pom.xml index 22a36332c..be5ca9650 100644 --- a/stream-sdk/stream-parent/stream-test-support/pom.xml +++ b/stream-sdk/stream-parent/stream-test-support/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-parent - 5.0.0-SNAPSHOT + 5.0.0 stream-test-support diff --git a/stream-sdk/stream-parent/stream-worker/pom.xml b/stream-sdk/stream-parent/stream-worker/pom.xml index aaff1e5c8..681ad06ee 100644 --- a/stream-sdk/stream-parent/stream-worker/pom.xml +++ b/stream-sdk/stream-parent/stream-worker/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-parent - 5.0.0-SNAPSHOT + 5.0.0 stream-worker diff --git a/stream-sdk/stream-starter-parents/pom.xml b/stream-sdk/stream-starter-parents/pom.xml index c25a0430d..05d34f121 100644 --- a/stream-sdk/stream-starter-parents/pom.xml +++ b/stream-sdk/stream-starter-parents/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-parent - 5.0.0-SNAPSHOT + 5.0.0 ../stream-parent diff --git a/stream-sdk/stream-starter-parents/stream-http-starter-parent/pom.xml b/stream-sdk/stream-starter-parents/stream-http-starter-parent/pom.xml index de34a9c7c..9443d9348 100644 --- a/stream-sdk/stream-starter-parents/stream-http-starter-parent/pom.xml +++ b/stream-sdk/stream-starter-parents/stream-http-starter-parent/pom.xml @@ -12,7 +12,7 @@ com.backbase.stream stream-http-starter-parent - 5.0.0-SNAPSHOT + 5.0.0 pom Stream :: SDK :: HTTP Services Starter Parent for Stream HTTP Services diff --git a/stream-sdk/stream-starter-parents/stream-task-starter-parent/pom.xml b/stream-sdk/stream-starter-parents/stream-task-starter-parent/pom.xml index ce20d33a0..ea8997faa 100644 --- a/stream-sdk/stream-starter-parents/stream-task-starter-parent/pom.xml +++ b/stream-sdk/stream-starter-parents/stream-task-starter-parent/pom.xml @@ -11,7 +11,7 @@ com.backbase.stream stream-task-starter-parent - 5.0.0-SNAPSHOT + 5.0.0 pom Stream :: SDK :: Task Starter Parent for Stream Executable Tasks diff --git a/stream-transactions/pom.xml b/stream-transactions/pom.xml index 840f6e5e8..9642c44ed 100644 --- a/stream-transactions/pom.xml +++ b/stream-transactions/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-services - 5.0.0-SNAPSHOT + 5.0.0 stream-transactions diff --git a/stream-transactions/transactions-core/pom.xml b/stream-transactions/transactions-core/pom.xml index d3c2630bc..56e5a09fc 100644 --- a/stream-transactions/transactions-core/pom.xml +++ b/stream-transactions/transactions-core/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-transactions - 5.0.0-SNAPSHOT + 5.0.0 transactions-core diff --git a/stream-transactions/transactions-item-writer/pom.xml b/stream-transactions/transactions-item-writer/pom.xml index 7e2870876..713b87d90 100644 --- a/stream-transactions/transactions-item-writer/pom.xml +++ b/stream-transactions/transactions-item-writer/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-parent - 5.0.0-SNAPSHOT + 5.0.0 ../../stream-sdk/stream-parent From 87e498ead7f0c0a6253489d07b87dcdd69633d67 Mon Sep 17 00:00:00 2001 From: backbaseoss Date: Thu, 18 Apr 2024 16:17:48 +0000 Subject: [PATCH 11/11] [skip bump] version bump --- pom.xml | 2 +- stream-access-control/access-control-core/pom.xml | 2 +- stream-access-control/pom.xml | 2 +- stream-approvals/approvals-bootstrap-task/pom.xml | 2 +- stream-approvals/approvals-core/pom.xml | 2 +- stream-approvals/pom.xml | 2 +- stream-audiences/audiences-core/pom.xml | 2 +- stream-audiences/pom.xml | 2 +- stream-compositions/api/cursors-api/pom.xml | 2 +- .../api/cursors-api/transaction-cursor-api/pom.xml | 2 +- .../api/integrations-api/legal-entity-integration-api/pom.xml | 2 +- .../api/integrations-api/payment-order-integration-api/pom.xml | 2 +- stream-compositions/api/integrations-api/pom.xml | 2 +- .../integrations-api/product-catalog-integration-api/pom.xml | 2 +- .../api/integrations-api/product-integration-api/pom.xml | 2 +- .../api/integrations-api/transaction-integration-api/pom.xml | 2 +- stream-compositions/api/pom.xml | 2 +- .../api/service-api/legal-entity-composition-api/pom.xml | 2 +- .../api/service-api/payment-order-composition-api/pom.xml | 2 +- stream-compositions/api/service-api/pom.xml | 2 +- .../api/service-api/product-catalog-composition-api/pom.xml | 2 +- .../api/service-api/product-composition-api/pom.xml | 2 +- .../api/service-api/transaction-composition-api/pom.xml | 2 +- stream-compositions/cursors/pom.xml | 2 +- stream-compositions/cursors/transaction-cursor/pom.xml | 2 +- stream-compositions/events/legal-entity-egress/pom.xml | 2 +- stream-compositions/events/legal-entity-ingress/pom.xml | 2 +- stream-compositions/events/pom.xml | 2 +- stream-compositions/events/product-catalog-egress/pom.xml | 2 +- stream-compositions/events/product-catalog-ingress/pom.xml | 2 +- stream-compositions/events/product-egress/pom.xml | 2 +- stream-compositions/events/product-ingress/pom.xml | 2 +- stream-compositions/events/transaction-egress/pom.xml | 2 +- stream-compositions/events/transaction-ingress/pom.xml | 2 +- stream-compositions/pom.xml | 2 +- .../services/legal-entity-composition-service/pom.xml | 2 +- .../services/payment-order-composition-service/pom.xml | 2 +- stream-compositions/services/pom.xml | 2 +- .../services/product-catalog-composition-service/pom.xml | 2 +- .../services/product-composition-service/pom.xml | 2 +- .../services/transaction-composition-service/pom.xml | 2 +- stream-compositions/test-utils/pom.xml | 2 +- stream-contacts/contacts-core/pom.xml | 2 +- stream-contacts/pom.xml | 2 +- stream-cursor/cursor-core/pom.xml | 2 +- stream-cursor/cursor-http/pom.xml | 2 +- stream-cursor/cursor-publishers/pom.xml | 2 +- stream-cursor/cursor-store/pom.xml | 2 +- stream-cursor/pom.xml | 2 +- stream-dbs-clients/pom.xml | 2 +- stream-legal-entity/legal-entity-bootstrap-task/pom.xml | 2 +- stream-legal-entity/legal-entity-core/pom.xml | 2 +- stream-legal-entity/legal-entity-http/pom.xml | 2 +- stream-legal-entity/pom.xml | 2 +- stream-limits/limits-core/pom.xml | 2 +- stream-limits/pom.xml | 2 +- stream-loans/loans-core/pom.xml | 2 +- stream-loans/pom.xml | 2 +- stream-models/approval-model/pom.xml | 2 +- stream-models/legal-entity-model/pom.xml | 2 +- stream-models/pom.xml | 2 +- stream-models/portfolio-model/pom.xml | 2 +- stream-models/product-catalog-model/pom.xml | 2 +- stream-payment-order/payment-order-core/pom.xml | 2 +- stream-payment-order/pom.xml | 2 +- stream-portfolio/pom.xml | 2 +- stream-portfolio/portfolio-bootstrap-task/pom.xml | 2 +- stream-portfolio/portfolio-core/pom.xml | 2 +- stream-portfolio/portfolio-http/pom.xml | 2 +- stream-product-catalog/pom.xml | 2 +- stream-product-catalog/product-catalog-core/pom.xml | 2 +- stream-product-catalog/product-catalog-http/pom.xml | 2 +- stream-product-catalog/product-catalog-task/pom.xml | 2 +- stream-product/pom.xml | 2 +- stream-product/product-core/pom.xml | 2 +- stream-product/product-ingestion-saga/pom.xml | 2 +- stream-sdk/pom.xml | 2 +- stream-sdk/stream-parent/pom.xml | 2 +- stream-sdk/stream-parent/stream-context-propagation/pom.xml | 2 +- stream-sdk/stream-parent/stream-dbs-web-client/pom.xml | 2 +- stream-sdk/stream-parent/stream-openapi-support/pom.xml | 2 +- stream-sdk/stream-parent/stream-test-support/pom.xml | 2 +- stream-sdk/stream-parent/stream-worker/pom.xml | 2 +- stream-sdk/stream-starter-parents/pom.xml | 2 +- .../stream-starter-parents/stream-http-starter-parent/pom.xml | 2 +- .../stream-starter-parents/stream-task-starter-parent/pom.xml | 2 +- stream-transactions/pom.xml | 2 +- stream-transactions/transactions-core/pom.xml | 2 +- stream-transactions/transactions-item-writer/pom.xml | 2 +- 89 files changed, 89 insertions(+), 89 deletions(-) diff --git a/pom.xml b/pom.xml index dc688a64c..26c7986e2 100644 --- a/pom.xml +++ b/pom.xml @@ -11,7 +11,7 @@ com.backbase.stream stream-services - 5.0.0 + 5.0.1 pom Stream :: Services diff --git a/stream-access-control/access-control-core/pom.xml b/stream-access-control/access-control-core/pom.xml index e9f8de390..9438cdb0d 100644 --- a/stream-access-control/access-control-core/pom.xml +++ b/stream-access-control/access-control-core/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-access-control - 5.0.0 + 5.0.1 access-control-core diff --git a/stream-access-control/pom.xml b/stream-access-control/pom.xml index 94fb204a1..f206fd542 100644 --- a/stream-access-control/pom.xml +++ b/stream-access-control/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-services - 5.0.0 + 5.0.1 stream-access-control diff --git a/stream-approvals/approvals-bootstrap-task/pom.xml b/stream-approvals/approvals-bootstrap-task/pom.xml index 1291bd9d9..3adc58084 100644 --- a/stream-approvals/approvals-bootstrap-task/pom.xml +++ b/stream-approvals/approvals-bootstrap-task/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-task-starter-parent - 5.0.0 + 5.0.1 ../../stream-sdk/stream-starter-parents/stream-task-starter-parent diff --git a/stream-approvals/approvals-core/pom.xml b/stream-approvals/approvals-core/pom.xml index 883d96b64..2baee0caf 100644 --- a/stream-approvals/approvals-core/pom.xml +++ b/stream-approvals/approvals-core/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-approvals - 5.0.0 + 5.0.1 approvals-core diff --git a/stream-approvals/pom.xml b/stream-approvals/pom.xml index 34a70f34a..5a6349f34 100644 --- a/stream-approvals/pom.xml +++ b/stream-approvals/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-services - 5.0.0 + 5.0.1 stream-approvals diff --git a/stream-audiences/audiences-core/pom.xml b/stream-audiences/audiences-core/pom.xml index bbd9348bd..55b28afc6 100644 --- a/stream-audiences/audiences-core/pom.xml +++ b/stream-audiences/audiences-core/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-audiences - 5.0.0 + 5.0.1 audiences-core diff --git a/stream-audiences/pom.xml b/stream-audiences/pom.xml index 430fb15f8..e32cc0b08 100644 --- a/stream-audiences/pom.xml +++ b/stream-audiences/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-services - 5.0.0 + 5.0.1 stream-audiences diff --git a/stream-compositions/api/cursors-api/pom.xml b/stream-compositions/api/cursors-api/pom.xml index ed5de0ad1..3280475d2 100644 --- a/stream-compositions/api/cursors-api/pom.xml +++ b/stream-compositions/api/cursors-api/pom.xml @@ -5,7 +5,7 @@ api com.backbase.stream.compositions - 5.0.0 + 5.0.1 cursors-api diff --git a/stream-compositions/api/cursors-api/transaction-cursor-api/pom.xml b/stream-compositions/api/cursors-api/transaction-cursor-api/pom.xml index 9d4e22437..df61b4702 100644 --- a/stream-compositions/api/cursors-api/transaction-cursor-api/pom.xml +++ b/stream-compositions/api/cursors-api/transaction-cursor-api/pom.xml @@ -5,7 +5,7 @@ cursors-api com.backbase.stream.compositions - 5.0.0 + 5.0.1 4.0.0 diff --git a/stream-compositions/api/integrations-api/legal-entity-integration-api/pom.xml b/stream-compositions/api/integrations-api/legal-entity-integration-api/pom.xml index 025a266d7..e6805c867 100644 --- a/stream-compositions/api/integrations-api/legal-entity-integration-api/pom.xml +++ b/stream-compositions/api/integrations-api/legal-entity-integration-api/pom.xml @@ -6,7 +6,7 @@ integrations-api com.backbase.stream.compositions - 5.0.0 + 5.0.1 com.backbase.stream.compositions.api diff --git a/stream-compositions/api/integrations-api/payment-order-integration-api/pom.xml b/stream-compositions/api/integrations-api/payment-order-integration-api/pom.xml index 4b82d8114..9c4fb3a25 100644 --- a/stream-compositions/api/integrations-api/payment-order-integration-api/pom.xml +++ b/stream-compositions/api/integrations-api/payment-order-integration-api/pom.xml @@ -6,7 +6,7 @@ integrations-api com.backbase.stream.compositions - 5.0.0 + 5.0.1 com.backbase.stream.compositions.api diff --git a/stream-compositions/api/integrations-api/pom.xml b/stream-compositions/api/integrations-api/pom.xml index 93e1280de..e76f94191 100644 --- a/stream-compositions/api/integrations-api/pom.xml +++ b/stream-compositions/api/integrations-api/pom.xml @@ -6,7 +6,7 @@ api com.backbase.stream.compositions - 5.0.0 + 5.0.1 integrations-api diff --git a/stream-compositions/api/integrations-api/product-catalog-integration-api/pom.xml b/stream-compositions/api/integrations-api/product-catalog-integration-api/pom.xml index 7d52a5daf..c0c824c90 100644 --- a/stream-compositions/api/integrations-api/product-catalog-integration-api/pom.xml +++ b/stream-compositions/api/integrations-api/product-catalog-integration-api/pom.xml @@ -6,7 +6,7 @@ integrations-api com.backbase.stream.compositions - 5.0.0 + 5.0.1 com.backbase.stream.compositions.api diff --git a/stream-compositions/api/integrations-api/product-integration-api/pom.xml b/stream-compositions/api/integrations-api/product-integration-api/pom.xml index 29ae8c7aa..d3ff63c6c 100644 --- a/stream-compositions/api/integrations-api/product-integration-api/pom.xml +++ b/stream-compositions/api/integrations-api/product-integration-api/pom.xml @@ -6,7 +6,7 @@ integrations-api com.backbase.stream.compositions - 5.0.0 + 5.0.1 com.backbase.stream.compositions.api diff --git a/stream-compositions/api/integrations-api/transaction-integration-api/pom.xml b/stream-compositions/api/integrations-api/transaction-integration-api/pom.xml index 646ca9c44..2009076cd 100644 --- a/stream-compositions/api/integrations-api/transaction-integration-api/pom.xml +++ b/stream-compositions/api/integrations-api/transaction-integration-api/pom.xml @@ -6,7 +6,7 @@ integrations-api com.backbase.stream.compositions - 5.0.0 + 5.0.1 com.backbase.stream.compositions.api diff --git a/stream-compositions/api/pom.xml b/stream-compositions/api/pom.xml index 83f9d9963..ba543a7d3 100644 --- a/stream-compositions/api/pom.xml +++ b/stream-compositions/api/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-compositions - 5.0.0 + 5.0.1 com.backbase.stream.compositions diff --git a/stream-compositions/api/service-api/legal-entity-composition-api/pom.xml b/stream-compositions/api/service-api/legal-entity-composition-api/pom.xml index c264bbdb3..d317e67b3 100644 --- a/stream-compositions/api/service-api/legal-entity-composition-api/pom.xml +++ b/stream-compositions/api/service-api/legal-entity-composition-api/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream.compositions service-api - 5.0.0 + 5.0.1 com.backbase.stream.compositions.api diff --git a/stream-compositions/api/service-api/payment-order-composition-api/pom.xml b/stream-compositions/api/service-api/payment-order-composition-api/pom.xml index 488fc085c..a030f4309 100644 --- a/stream-compositions/api/service-api/payment-order-composition-api/pom.xml +++ b/stream-compositions/api/service-api/payment-order-composition-api/pom.xml @@ -6,7 +6,7 @@ service-api com.backbase.stream.compositions - 5.0.0 + 5.0.1 com.backbase.stream.compositions.api diff --git a/stream-compositions/api/service-api/pom.xml b/stream-compositions/api/service-api/pom.xml index b77da4158..a0f4a3ebd 100644 --- a/stream-compositions/api/service-api/pom.xml +++ b/stream-compositions/api/service-api/pom.xml @@ -6,7 +6,7 @@ com.backbase.stream.compositions api - 5.0.0 + 5.0.1 service-api diff --git a/stream-compositions/api/service-api/product-catalog-composition-api/pom.xml b/stream-compositions/api/service-api/product-catalog-composition-api/pom.xml index 7fb0121d1..69ac8de31 100644 --- a/stream-compositions/api/service-api/product-catalog-composition-api/pom.xml +++ b/stream-compositions/api/service-api/product-catalog-composition-api/pom.xml @@ -6,7 +6,7 @@ service-api com.backbase.stream.compositions - 5.0.0 + 5.0.1 com.backbase.stream.compositions.api diff --git a/stream-compositions/api/service-api/product-composition-api/pom.xml b/stream-compositions/api/service-api/product-composition-api/pom.xml index d4c3980b5..d9d5802db 100644 --- a/stream-compositions/api/service-api/product-composition-api/pom.xml +++ b/stream-compositions/api/service-api/product-composition-api/pom.xml @@ -6,7 +6,7 @@ service-api com.backbase.stream.compositions - 5.0.0 + 5.0.1 com.backbase.stream.compositions.api diff --git a/stream-compositions/api/service-api/transaction-composition-api/pom.xml b/stream-compositions/api/service-api/transaction-composition-api/pom.xml index f6e805049..fd2fc9a98 100644 --- a/stream-compositions/api/service-api/transaction-composition-api/pom.xml +++ b/stream-compositions/api/service-api/transaction-composition-api/pom.xml @@ -6,7 +6,7 @@ service-api com.backbase.stream.compositions - 5.0.0 + 5.0.1 com.backbase.stream.compositions.api diff --git a/stream-compositions/cursors/pom.xml b/stream-compositions/cursors/pom.xml index ffc07775a..853bd6b68 100644 --- a/stream-compositions/cursors/pom.xml +++ b/stream-compositions/cursors/pom.xml @@ -5,7 +5,7 @@ stream-compositions com.backbase.stream - 5.0.0 + 5.0.1 4.0.0 diff --git a/stream-compositions/cursors/transaction-cursor/pom.xml b/stream-compositions/cursors/transaction-cursor/pom.xml index 64fea8cdc..fbf22fe0f 100644 --- a/stream-compositions/cursors/transaction-cursor/pom.xml +++ b/stream-compositions/cursors/transaction-cursor/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream.compositions cursors - 5.0.0 + 5.0.1 4.0.0 diff --git a/stream-compositions/events/legal-entity-egress/pom.xml b/stream-compositions/events/legal-entity-egress/pom.xml index 3b3ad7c47..35afcbd43 100644 --- a/stream-compositions/events/legal-entity-egress/pom.xml +++ b/stream-compositions/events/legal-entity-egress/pom.xml @@ -5,7 +5,7 @@ events com.backbase.stream.compositions - 5.0.0 + 5.0.1 com.backbase.stream.compositions.events diff --git a/stream-compositions/events/legal-entity-ingress/pom.xml b/stream-compositions/events/legal-entity-ingress/pom.xml index 4c8bfb247..523b94c49 100644 --- a/stream-compositions/events/legal-entity-ingress/pom.xml +++ b/stream-compositions/events/legal-entity-ingress/pom.xml @@ -5,7 +5,7 @@ events com.backbase.stream.compositions - 5.0.0 + 5.0.1 com.backbase.stream.compositions.events diff --git a/stream-compositions/events/pom.xml b/stream-compositions/events/pom.xml index cd43cefd1..5e9b3a837 100644 --- a/stream-compositions/events/pom.xml +++ b/stream-compositions/events/pom.xml @@ -6,7 +6,7 @@ com.backbase.stream stream-compositions - 5.0.0 + 5.0.1 com.backbase.stream.compositions diff --git a/stream-compositions/events/product-catalog-egress/pom.xml b/stream-compositions/events/product-catalog-egress/pom.xml index 02a0d0a25..a3cbfe69f 100644 --- a/stream-compositions/events/product-catalog-egress/pom.xml +++ b/stream-compositions/events/product-catalog-egress/pom.xml @@ -5,7 +5,7 @@ events com.backbase.stream.compositions - 5.0.0 + 5.0.1 com.backbase.stream.compositions.events diff --git a/stream-compositions/events/product-catalog-ingress/pom.xml b/stream-compositions/events/product-catalog-ingress/pom.xml index ac8027b34..572989607 100644 --- a/stream-compositions/events/product-catalog-ingress/pom.xml +++ b/stream-compositions/events/product-catalog-ingress/pom.xml @@ -5,7 +5,7 @@ events com.backbase.stream.compositions - 5.0.0 + 5.0.1 com.backbase.stream.compositions.events diff --git a/stream-compositions/events/product-egress/pom.xml b/stream-compositions/events/product-egress/pom.xml index f747132ad..ef0b5a576 100644 --- a/stream-compositions/events/product-egress/pom.xml +++ b/stream-compositions/events/product-egress/pom.xml @@ -5,7 +5,7 @@ events com.backbase.stream.compositions - 5.0.0 + 5.0.1 com.backbase.stream.compositions.events diff --git a/stream-compositions/events/product-ingress/pom.xml b/stream-compositions/events/product-ingress/pom.xml index 7b3c7a909..5243751cc 100644 --- a/stream-compositions/events/product-ingress/pom.xml +++ b/stream-compositions/events/product-ingress/pom.xml @@ -5,7 +5,7 @@ events com.backbase.stream.compositions - 5.0.0 + 5.0.1 com.backbase.stream.compositions.events diff --git a/stream-compositions/events/transaction-egress/pom.xml b/stream-compositions/events/transaction-egress/pom.xml index 5b4a041e0..a0942428c 100644 --- a/stream-compositions/events/transaction-egress/pom.xml +++ b/stream-compositions/events/transaction-egress/pom.xml @@ -5,7 +5,7 @@ events com.backbase.stream.compositions - 5.0.0 + 5.0.1 com.backbase.stream.compositions.events diff --git a/stream-compositions/events/transaction-ingress/pom.xml b/stream-compositions/events/transaction-ingress/pom.xml index e78b8ebfd..9a0c70b83 100644 --- a/stream-compositions/events/transaction-ingress/pom.xml +++ b/stream-compositions/events/transaction-ingress/pom.xml @@ -5,7 +5,7 @@ events com.backbase.stream.compositions - 5.0.0 + 5.0.1 com.backbase.stream.compositions.events diff --git a/stream-compositions/pom.xml b/stream-compositions/pom.xml index 2eca0c2ca..6b33c543f 100644 --- a/stream-compositions/pom.xml +++ b/stream-compositions/pom.xml @@ -13,7 +13,7 @@ com.backbase.stream stream-compositions - 5.0.0 + 5.0.1 pom Stream :: Compositions diff --git a/stream-compositions/services/legal-entity-composition-service/pom.xml b/stream-compositions/services/legal-entity-composition-service/pom.xml index 7d5b3e500..b6f93ac10 100644 --- a/stream-compositions/services/legal-entity-composition-service/pom.xml +++ b/stream-compositions/services/legal-entity-composition-service/pom.xml @@ -7,7 +7,7 @@ com.backbase.stream.compositions services - 5.0.0 + 5.0.1 legal-entity-composition-service diff --git a/stream-compositions/services/payment-order-composition-service/pom.xml b/stream-compositions/services/payment-order-composition-service/pom.xml index ae02757f6..38328f79e 100644 --- a/stream-compositions/services/payment-order-composition-service/pom.xml +++ b/stream-compositions/services/payment-order-composition-service/pom.xml @@ -6,7 +6,7 @@ com.backbase.stream.compositions services - 5.0.0 + 5.0.1 payment-order-composition-service diff --git a/stream-compositions/services/pom.xml b/stream-compositions/services/pom.xml index 960b2d2ca..439bcdcb4 100644 --- a/stream-compositions/services/pom.xml +++ b/stream-compositions/services/pom.xml @@ -6,7 +6,7 @@ com.backbase.stream stream-compositions - 5.0.0 + 5.0.1 com.backbase.stream.compositions diff --git a/stream-compositions/services/product-catalog-composition-service/pom.xml b/stream-compositions/services/product-catalog-composition-service/pom.xml index 5bdf5b730..e7f4316f9 100644 --- a/stream-compositions/services/product-catalog-composition-service/pom.xml +++ b/stream-compositions/services/product-catalog-composition-service/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream.compositions services - 5.0.0 + 5.0.1 product-catalog-composition-service diff --git a/stream-compositions/services/product-composition-service/pom.xml b/stream-compositions/services/product-composition-service/pom.xml index 937417b19..acfa4e8b6 100644 --- a/stream-compositions/services/product-composition-service/pom.xml +++ b/stream-compositions/services/product-composition-service/pom.xml @@ -7,7 +7,7 @@ com.backbase.stream.compositions services - 5.0.0 + 5.0.1 product-composition-service diff --git a/stream-compositions/services/transaction-composition-service/pom.xml b/stream-compositions/services/transaction-composition-service/pom.xml index 1d2a05e9a..2e04f8014 100644 --- a/stream-compositions/services/transaction-composition-service/pom.xml +++ b/stream-compositions/services/transaction-composition-service/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream.compositions services - 5.0.0 + 5.0.1 transaction-composition-service diff --git a/stream-compositions/test-utils/pom.xml b/stream-compositions/test-utils/pom.xml index 97ea4eaa7..3e1ee417c 100644 --- a/stream-compositions/test-utils/pom.xml +++ b/stream-compositions/test-utils/pom.xml @@ -6,7 +6,7 @@ stream-compositions com.backbase.stream - 5.0.0 + 5.0.1 com.backbase.stream.compositions diff --git a/stream-contacts/contacts-core/pom.xml b/stream-contacts/contacts-core/pom.xml index 30a1ff8ef..8912022dc 100644 --- a/stream-contacts/contacts-core/pom.xml +++ b/stream-contacts/contacts-core/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-contacts - 5.0.0 + 5.0.1 contacts-core diff --git a/stream-contacts/pom.xml b/stream-contacts/pom.xml index 059ccda4a..b541e7bc3 100644 --- a/stream-contacts/pom.xml +++ b/stream-contacts/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-services - 5.0.0 + 5.0.1 stream-contacts diff --git a/stream-cursor/cursor-core/pom.xml b/stream-cursor/cursor-core/pom.xml index 7a055365f..0d51d69bb 100644 --- a/stream-cursor/cursor-core/pom.xml +++ b/stream-cursor/cursor-core/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-cursor - 5.0.0 + 5.0.1 cursor-core diff --git a/stream-cursor/cursor-http/pom.xml b/stream-cursor/cursor-http/pom.xml index 480a2a464..c25254a38 100644 --- a/stream-cursor/cursor-http/pom.xml +++ b/stream-cursor/cursor-http/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-http-starter-parent - 5.0.0 + 5.0.1 ../../stream-sdk/stream-starter-parents/stream-http-starter-parent diff --git a/stream-cursor/cursor-publishers/pom.xml b/stream-cursor/cursor-publishers/pom.xml index 52bd3cd00..6a8d3aca4 100644 --- a/stream-cursor/cursor-publishers/pom.xml +++ b/stream-cursor/cursor-publishers/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-cursor - 5.0.0 + 5.0.1 cursor-publishers diff --git a/stream-cursor/cursor-store/pom.xml b/stream-cursor/cursor-store/pom.xml index 738b1df57..b3a84751c 100644 --- a/stream-cursor/cursor-store/pom.xml +++ b/stream-cursor/cursor-store/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-cursor - 5.0.0 + 5.0.1 cursor-store diff --git a/stream-cursor/pom.xml b/stream-cursor/pom.xml index 006a257e7..280040226 100644 --- a/stream-cursor/pom.xml +++ b/stream-cursor/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-services - 5.0.0 + 5.0.1 stream-cursor diff --git a/stream-dbs-clients/pom.xml b/stream-dbs-clients/pom.xml index ed10cf28e..a4f47a2b0 100644 --- a/stream-dbs-clients/pom.xml +++ b/stream-dbs-clients/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-services - 5.0.0 + 5.0.1 stream-dbs-clients diff --git a/stream-legal-entity/legal-entity-bootstrap-task/pom.xml b/stream-legal-entity/legal-entity-bootstrap-task/pom.xml index 3d2dfc564..c184f7f5d 100644 --- a/stream-legal-entity/legal-entity-bootstrap-task/pom.xml +++ b/stream-legal-entity/legal-entity-bootstrap-task/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-task-starter-parent - 5.0.0 + 5.0.1 ../../stream-sdk/stream-starter-parents/stream-task-starter-parent diff --git a/stream-legal-entity/legal-entity-core/pom.xml b/stream-legal-entity/legal-entity-core/pom.xml index f0744f223..248d898a8 100644 --- a/stream-legal-entity/legal-entity-core/pom.xml +++ b/stream-legal-entity/legal-entity-core/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-legal-entity - 5.0.0 + 5.0.1 legal-entity-core diff --git a/stream-legal-entity/legal-entity-http/pom.xml b/stream-legal-entity/legal-entity-http/pom.xml index eb533ff85..f06a324c2 100644 --- a/stream-legal-entity/legal-entity-http/pom.xml +++ b/stream-legal-entity/legal-entity-http/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-http-starter-parent - 5.0.0 + 5.0.1 ../../stream-sdk/stream-starter-parents/stream-http-starter-parent diff --git a/stream-legal-entity/pom.xml b/stream-legal-entity/pom.xml index eb376e08a..81cdcdff2 100644 --- a/stream-legal-entity/pom.xml +++ b/stream-legal-entity/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-services - 5.0.0 + 5.0.1 stream-legal-entity diff --git a/stream-limits/limits-core/pom.xml b/stream-limits/limits-core/pom.xml index 986813291..780c3ac1b 100644 --- a/stream-limits/limits-core/pom.xml +++ b/stream-limits/limits-core/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-limits - 5.0.0 + 5.0.1 limits-core diff --git a/stream-limits/pom.xml b/stream-limits/pom.xml index 4370802c0..13232b3cd 100644 --- a/stream-limits/pom.xml +++ b/stream-limits/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-services - 5.0.0 + 5.0.1 stream-limits diff --git a/stream-loans/loans-core/pom.xml b/stream-loans/loans-core/pom.xml index 506cac5d1..18080f9d7 100644 --- a/stream-loans/loans-core/pom.xml +++ b/stream-loans/loans-core/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-loans - 5.0.0 + 5.0.1 loans-core diff --git a/stream-loans/pom.xml b/stream-loans/pom.xml index 4c5405ed8..3e26e3145 100644 --- a/stream-loans/pom.xml +++ b/stream-loans/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-services - 5.0.0 + 5.0.1 stream-loans diff --git a/stream-models/approval-model/pom.xml b/stream-models/approval-model/pom.xml index 2bb2a87cd..934b8332b 100644 --- a/stream-models/approval-model/pom.xml +++ b/stream-models/approval-model/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-models - 5.0.0 + 5.0.1 approval-model diff --git a/stream-models/legal-entity-model/pom.xml b/stream-models/legal-entity-model/pom.xml index f3a801e3b..c04f894e8 100644 --- a/stream-models/legal-entity-model/pom.xml +++ b/stream-models/legal-entity-model/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-models - 5.0.0 + 5.0.1 legal-entity-model diff --git a/stream-models/pom.xml b/stream-models/pom.xml index c8ad44891..2e2575f78 100644 --- a/stream-models/pom.xml +++ b/stream-models/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-services - 5.0.0 + 5.0.1 stream-models diff --git a/stream-models/portfolio-model/pom.xml b/stream-models/portfolio-model/pom.xml index d61a3ceb1..99875b0a9 100644 --- a/stream-models/portfolio-model/pom.xml +++ b/stream-models/portfolio-model/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-models - 5.0.0 + 5.0.1 portfolio-model diff --git a/stream-models/product-catalog-model/pom.xml b/stream-models/product-catalog-model/pom.xml index f0047c99b..92fbebdd6 100644 --- a/stream-models/product-catalog-model/pom.xml +++ b/stream-models/product-catalog-model/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-models - 5.0.0 + 5.0.1 product-catalog-model diff --git a/stream-payment-order/payment-order-core/pom.xml b/stream-payment-order/payment-order-core/pom.xml index 52f322e90..8259475ed 100644 --- a/stream-payment-order/payment-order-core/pom.xml +++ b/stream-payment-order/payment-order-core/pom.xml @@ -6,7 +6,7 @@ com.backbase.stream stream-payment-order - 5.0.0 + 5.0.1 payment-order-core diff --git a/stream-payment-order/pom.xml b/stream-payment-order/pom.xml index 7ca559e4a..2d34e5833 100644 --- a/stream-payment-order/pom.xml +++ b/stream-payment-order/pom.xml @@ -6,7 +6,7 @@ com.backbase.stream stream-services - 5.0.0 + 5.0.1 stream-payment-order diff --git a/stream-portfolio/pom.xml b/stream-portfolio/pom.xml index 711dd02d2..8e7f8cfc3 100644 --- a/stream-portfolio/pom.xml +++ b/stream-portfolio/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-services - 5.0.0 + 5.0.1 stream-portfolio diff --git a/stream-portfolio/portfolio-bootstrap-task/pom.xml b/stream-portfolio/portfolio-bootstrap-task/pom.xml index 37a2faa58..239e5160d 100644 --- a/stream-portfolio/portfolio-bootstrap-task/pom.xml +++ b/stream-portfolio/portfolio-bootstrap-task/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-task-starter-parent - 5.0.0 + 5.0.1 ../../stream-sdk/stream-starter-parents/stream-task-starter-parent diff --git a/stream-portfolio/portfolio-core/pom.xml b/stream-portfolio/portfolio-core/pom.xml index cb99c0a6a..3d588c34b 100644 --- a/stream-portfolio/portfolio-core/pom.xml +++ b/stream-portfolio/portfolio-core/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-portfolio - 5.0.0 + 5.0.1 portfolio-core diff --git a/stream-portfolio/portfolio-http/pom.xml b/stream-portfolio/portfolio-http/pom.xml index 7ea1e8693..c61eb86fa 100644 --- a/stream-portfolio/portfolio-http/pom.xml +++ b/stream-portfolio/portfolio-http/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-http-starter-parent - 5.0.0 + 5.0.1 ../../stream-sdk/stream-starter-parents/stream-http-starter-parent diff --git a/stream-product-catalog/pom.xml b/stream-product-catalog/pom.xml index d3dbe6aa1..a71e4bcfe 100644 --- a/stream-product-catalog/pom.xml +++ b/stream-product-catalog/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-services - 5.0.0 + 5.0.1 stream-product-catalog diff --git a/stream-product-catalog/product-catalog-core/pom.xml b/stream-product-catalog/product-catalog-core/pom.xml index eb0254b9e..5d91434ca 100644 --- a/stream-product-catalog/product-catalog-core/pom.xml +++ b/stream-product-catalog/product-catalog-core/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-product-catalog - 5.0.0 + 5.0.1 product-catalog-core diff --git a/stream-product-catalog/product-catalog-http/pom.xml b/stream-product-catalog/product-catalog-http/pom.xml index 638ac6b20..b72c1590c 100644 --- a/stream-product-catalog/product-catalog-http/pom.xml +++ b/stream-product-catalog/product-catalog-http/pom.xml @@ -6,7 +6,7 @@ com.backbase.stream stream-http-starter-parent - 5.0.0 + 5.0.1 ../../stream-sdk/stream-starter-parents/stream-http-starter-parent diff --git a/stream-product-catalog/product-catalog-task/pom.xml b/stream-product-catalog/product-catalog-task/pom.xml index 934a9eb95..734fba751 100644 --- a/stream-product-catalog/product-catalog-task/pom.xml +++ b/stream-product-catalog/product-catalog-task/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-task-starter-parent - 5.0.0 + 5.0.1 ../../stream-sdk/stream-starter-parents/stream-task-starter-parent diff --git a/stream-product/pom.xml b/stream-product/pom.xml index 41dac0395..ed0bd2808 100644 --- a/stream-product/pom.xml +++ b/stream-product/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-services - 5.0.0 + 5.0.1 stream-product diff --git a/stream-product/product-core/pom.xml b/stream-product/product-core/pom.xml index 47b1136e7..83223d48b 100644 --- a/stream-product/product-core/pom.xml +++ b/stream-product/product-core/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-product - 5.0.0 + 5.0.1 product-core diff --git a/stream-product/product-ingestion-saga/pom.xml b/stream-product/product-ingestion-saga/pom.xml index 6675320e2..4e6fec98d 100644 --- a/stream-product/product-ingestion-saga/pom.xml +++ b/stream-product/product-ingestion-saga/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-product - 5.0.0 + 5.0.1 product-ingestion-saga diff --git a/stream-sdk/pom.xml b/stream-sdk/pom.xml index a01a88c78..17898243b 100644 --- a/stream-sdk/pom.xml +++ b/stream-sdk/pom.xml @@ -4,7 +4,7 @@ com.backbase.stream stream-sdk - 5.0.0 + 5.0.1 pom Stream :: SDK diff --git a/stream-sdk/stream-parent/pom.xml b/stream-sdk/stream-parent/pom.xml index ab10e5591..a6cbfcad9 100644 --- a/stream-sdk/stream-parent/pom.xml +++ b/stream-sdk/stream-parent/pom.xml @@ -11,7 +11,7 @@ com.backbase.stream stream-parent - 5.0.0 + 5.0.1 pom Stream :: SDK :: Parent Parent for all Stream SDK modules diff --git a/stream-sdk/stream-parent/stream-context-propagation/pom.xml b/stream-sdk/stream-parent/stream-context-propagation/pom.xml index da00f9f57..915de90a0 100644 --- a/stream-sdk/stream-parent/stream-context-propagation/pom.xml +++ b/stream-sdk/stream-parent/stream-context-propagation/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-parent - 5.0.0 + 5.0.1 stream-context-propagation diff --git a/stream-sdk/stream-parent/stream-dbs-web-client/pom.xml b/stream-sdk/stream-parent/stream-dbs-web-client/pom.xml index a4a377f0f..9f37273d8 100644 --- a/stream-sdk/stream-parent/stream-dbs-web-client/pom.xml +++ b/stream-sdk/stream-parent/stream-dbs-web-client/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-parent - 5.0.0 + 5.0.1 stream-dbs-web-client diff --git a/stream-sdk/stream-parent/stream-openapi-support/pom.xml b/stream-sdk/stream-parent/stream-openapi-support/pom.xml index 4585185e4..e0d4b7ede 100644 --- a/stream-sdk/stream-parent/stream-openapi-support/pom.xml +++ b/stream-sdk/stream-parent/stream-openapi-support/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-parent - 5.0.0 + 5.0.1 stream-openapi-support diff --git a/stream-sdk/stream-parent/stream-test-support/pom.xml b/stream-sdk/stream-parent/stream-test-support/pom.xml index be5ca9650..754c091ef 100644 --- a/stream-sdk/stream-parent/stream-test-support/pom.xml +++ b/stream-sdk/stream-parent/stream-test-support/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-parent - 5.0.0 + 5.0.1 stream-test-support diff --git a/stream-sdk/stream-parent/stream-worker/pom.xml b/stream-sdk/stream-parent/stream-worker/pom.xml index 681ad06ee..2f5009ff4 100644 --- a/stream-sdk/stream-parent/stream-worker/pom.xml +++ b/stream-sdk/stream-parent/stream-worker/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-parent - 5.0.0 + 5.0.1 stream-worker diff --git a/stream-sdk/stream-starter-parents/pom.xml b/stream-sdk/stream-starter-parents/pom.xml index 05d34f121..39dfef3ce 100644 --- a/stream-sdk/stream-starter-parents/pom.xml +++ b/stream-sdk/stream-starter-parents/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-parent - 5.0.0 + 5.0.1 ../stream-parent diff --git a/stream-sdk/stream-starter-parents/stream-http-starter-parent/pom.xml b/stream-sdk/stream-starter-parents/stream-http-starter-parent/pom.xml index 9443d9348..c2e19e3dc 100644 --- a/stream-sdk/stream-starter-parents/stream-http-starter-parent/pom.xml +++ b/stream-sdk/stream-starter-parents/stream-http-starter-parent/pom.xml @@ -12,7 +12,7 @@ com.backbase.stream stream-http-starter-parent - 5.0.0 + 5.0.1 pom Stream :: SDK :: HTTP Services Starter Parent for Stream HTTP Services diff --git a/stream-sdk/stream-starter-parents/stream-task-starter-parent/pom.xml b/stream-sdk/stream-starter-parents/stream-task-starter-parent/pom.xml index ea8997faa..1b1f228e2 100644 --- a/stream-sdk/stream-starter-parents/stream-task-starter-parent/pom.xml +++ b/stream-sdk/stream-starter-parents/stream-task-starter-parent/pom.xml @@ -11,7 +11,7 @@ com.backbase.stream stream-task-starter-parent - 5.0.0 + 5.0.1 pom Stream :: SDK :: Task Starter Parent for Stream Executable Tasks diff --git a/stream-transactions/pom.xml b/stream-transactions/pom.xml index 9642c44ed..c5ce84360 100644 --- a/stream-transactions/pom.xml +++ b/stream-transactions/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-services - 5.0.0 + 5.0.1 stream-transactions diff --git a/stream-transactions/transactions-core/pom.xml b/stream-transactions/transactions-core/pom.xml index 56e5a09fc..63d85b68c 100644 --- a/stream-transactions/transactions-core/pom.xml +++ b/stream-transactions/transactions-core/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-transactions - 5.0.0 + 5.0.1 transactions-core diff --git a/stream-transactions/transactions-item-writer/pom.xml b/stream-transactions/transactions-item-writer/pom.xml index 713b87d90..c6d8a1aaf 100644 --- a/stream-transactions/transactions-item-writer/pom.xml +++ b/stream-transactions/transactions-item-writer/pom.xml @@ -5,7 +5,7 @@ com.backbase.stream stream-parent - 5.0.0 + 5.0.1 ../../stream-sdk/stream-parent