From 379f05fbde8353724eaf03f0d8476907bd88ca33 Mon Sep 17 00:00:00 2001 From: Pietro Tota Date: Fri, 4 Aug 2023 09:22:35 +0200 Subject: [PATCH] fix: code review --- settings.gradle.kts | 2 -- .../pagopa/ecommerce/helpdesk/services/EcommerceService.kt | 7 +------ 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/settings.gradle.kts b/settings.gradle.kts index f47253b..c37ff10 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -1,5 +1,3 @@ pluginManagement { repositories { gradlePluginPortal() } } rootProject.name = "pagopa-ecommerce-helpdesk-service" - -plugins { id("me.champeau.includegit") version "0.1.6" } diff --git a/src/main/kotlin/it/pagopa/ecommerce/helpdesk/services/EcommerceService.kt b/src/main/kotlin/it/pagopa/ecommerce/helpdesk/services/EcommerceService.kt index da46231..21dc39b 100644 --- a/src/main/kotlin/it/pagopa/ecommerce/helpdesk/services/EcommerceService.kt +++ b/src/main/kotlin/it/pagopa/ecommerce/helpdesk/services/EcommerceService.kt @@ -1,6 +1,5 @@ package it.pagopa.ecommerce.helpdesk.services -import it.pagopa.ecommerce.commons.documents.v1.TransactionActivatedEvent import it.pagopa.generated.ecommerce.helpdesk.model.* import java.time.OffsetDateTime import org.slf4j.LoggerFactory @@ -19,11 +18,7 @@ class EcommerceService { ): Mono { logger.info("[helpDesk ecommerce service] searchTransaction method") return ecommerceSearchTransactionRequestDto - .doOnNext { - logger.info("Search type: ${it.type}") - val transactionEvent = TransactionActivatedEvent() - println(transactionEvent) - } + .doOnNext { logger.info("Search type: ${it.type}") } .map { SearchTransactionResponseDto() .page(PageInfoDto().current(0).results(3).total(1))