Skip to content

Commit

Permalink
NOD-785: [Dismissione WISP] Gestione RT + e RT -
Browse files Browse the repository at this point in the history
  • Loading branch information
fparisitas committed Apr 11, 2024
1 parent 9e61a63 commit faf1dc4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import com.fasterxml.jackson.databind.module.SimpleModule;
import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule;
import it.gov.pagopa.wispconverter.service.ReService;
import it.gov.pagopa.wispconverter.util.client.ClientLoggingProperties;
import it.gov.pagopa.wispconverter.util.client.RequestResponseLoggingProperties;
import it.gov.pagopa.wispconverter.util.client.gpd.GpdClientLoggingInterceptor;
import it.gov.pagopa.wispconverter.util.client.gpd.GpdClientResponseErrorHandler;
import lombok.RequiredArgsConstructor;
Expand Down Expand Up @@ -52,13 +52,13 @@ public class GpdClientConfig {

@Bean
@ConfigurationProperties(prefix = "log.client.gpd")
public ClientLoggingProperties gpdClientLoggingProperties() {
return new ClientLoggingProperties();
public RequestResponseLoggingProperties gpdClientLoggingProperties() {
return new RequestResponseLoggingProperties();
}

@Bean
public it.gov.pagopa.gen.wispconverter.client.gpd.invoker.ApiClient gpdClient() {
ClientLoggingProperties clientLoggingProperties = gpdClientLoggingProperties();
RequestResponseLoggingProperties clientLoggingProperties = gpdClientLoggingProperties();

GpdClientLoggingInterceptor clientLogging = new GpdClientLoggingInterceptor(clientLoggingProperties, reService);

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

package it.gov.pagopa.wispconverter.util.client;

import lombok.Getter;
Expand Down

0 comments on commit faf1dc4

Please sign in to comment.