Skip to content

Commit

Permalink
[PPANTT-120] chore: Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
svariant committed Sep 17, 2024
1 parent b25c285 commit aa933b1
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ public abstract class BaseFeignConfig {

@Bean
public RequestInterceptor commonHeaderInterceptor() {
return requestTemplate -> requestTemplate
.header(HEADER_REQUEST_ID, MDC.get("requestId"));
return requestTemplate -> requestTemplate.header(HEADER_REQUEST_ID, MDC.get("requestId"));
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,17 @@
import io.swagger.v3.oas.annotations.tags.Tag;
import it.pagopa.selfcare.pagopa.exception.AppException;
import it.pagopa.selfcare.pagopa.model.ProblemJson;
import it.pagopa.selfcare.pagopa.model.stationmaintenance.*;
import it.pagopa.selfcare.pagopa.model.stationmaintenance.MaintenanceHoursSummaryResource;
import it.pagopa.selfcare.pagopa.model.stationmaintenance.StationMaintenanceListResource;
import it.pagopa.selfcare.pagopa.model.stationmaintenance.StationMaintenanceListState;
import it.pagopa.selfcare.pagopa.model.stationmaintenance.StationMaintenanceResource;
import it.pagopa.selfcare.pagopa.service.StationMaintenanceService;
import it.pagopa.selfcare.pagopa.util.OpenApiTableMetadata;
import jakarta.validation.Valid;
import jakarta.validation.constraints.*;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.Positive;
import jakarta.validation.constraints.PositiveOrZero;
import jakarta.validation.constraints.Size;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.*;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
package it.pagopa.selfcare.pagopa.service.impl;

import it.pagopa.selfcare.pagopa.client.ApiConfigClient;
import it.pagopa.selfcare.pagopa.exception.AppError;
import it.pagopa.selfcare.pagopa.exception.AppException;
import it.pagopa.selfcare.pagopa.model.stationmaintenance.CreateStationMaintenance;
import it.pagopa.selfcare.pagopa.model.stationmaintenance.MaintenanceHoursSummaryResource;
import it.pagopa.selfcare.pagopa.model.stationmaintenance.StationMaintenanceListResource;
import it.pagopa.selfcare.pagopa.model.stationmaintenance.StationMaintenanceListState;
import it.pagopa.selfcare.pagopa.model.stationmaintenance.StationMaintenanceResource;
import it.pagopa.selfcare.pagopa.model.stationmaintenance.UpdateStationMaintenance;
import it.pagopa.selfcare.pagopa.service.StationMaintenanceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
package it.pagopa.selfcare.pagopa.service.impl;

import it.pagopa.selfcare.pagopa.client.ApiConfigClient;
import it.pagopa.selfcare.pagopa.exception.AppError;
import it.pagopa.selfcare.pagopa.exception.AppException;
import it.pagopa.selfcare.pagopa.model.PageInfo;
import it.pagopa.selfcare.pagopa.model.stationmaintenance.*;
import it.pagopa.selfcare.pagopa.model.stationmaintenance.MaintenanceHoursSummaryResource;
import it.pagopa.selfcare.pagopa.model.stationmaintenance.StationMaintenanceListResource;
import it.pagopa.selfcare.pagopa.model.stationmaintenance.StationMaintenanceListState;
import it.pagopa.selfcare.pagopa.model.stationmaintenance.StationMaintenanceResource;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.test.mock.mockito.MockBean;

import java.time.OffsetDateTime;
import java.time.temporal.ChronoUnit;
import java.util.Collections;

import static org.junit.jupiter.api.Assertions.*;
import static org.mockito.ArgumentMatchers.*;
import static org.mockito.Mockito.*;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;

@SpringBootTest(classes = {StationMaintenanceServiceImpl.class})
class StationMaintenanceServiceImplTest {
Expand Down

0 comments on commit aa933b1

Please sign in to comment.