Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29,425 changes: 13,969 additions & 15,456 deletions openapi/openapi.json

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions openapi/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -15690,6 +15690,9 @@
"minimum": 0,
"type": "integer"
},
"spontaneous_payment": {
"type": "boolean"
},
"stand_in": {
"type": "boolean"
},
Expand Down Expand Up @@ -16808,6 +16811,9 @@
"format": "int64",
"type": "integer"
},
"spontaneous_payment": {
"type": "boolean"
},
"stand_in": {
"type": "boolean"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ public PaStazionePa convert(
.fkStazione(source.getFkStazioni())
.aca(source.getAca())
.standin(source.getStandIn())
.pagamentoSpontaneo(source.getSpontaneousPayment())
.build();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ public CreditorInstitutionStation convert(
.segregationCode(source.getSegregazione())
.aca(source.getAca())
.standIn(source.getStandin())
.spontaneousPayment(source.getPagamentoSpontaneo())
.build();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ public StationCreditorInstitution convert(
.segregationCode(source.getSegregazione())
.aca(source.getAca())
.standIn(source.getStandin())
.spontaneousPayment(source.getPagamentoSpontaneo())
.build();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,8 @@ public class CreditorInstitutionStation extends Station {
@Nullable
@JsonProperty("stand_in")
private Boolean standIn;

@Nullable
@JsonProperty("spontaneous_payment")
private Boolean spontaneousPayment;
}
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ public class CreditorInstitutionStationEdit {
@JsonProperty("stand_in")
private Boolean standIn;

@Nullable
@JsonProperty("spontaneous_payment")
private Boolean spontaneousPayment;

@JsonIgnore private Pa fkPa;

@JsonIgnore private Stazioni fkStazioni;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,8 @@ public class StationCreditorInstitution extends CreditorInstitution {
@Nullable
@JsonProperty("stand_in")
private Boolean standIn;

@Nullable
@JsonProperty("spontaneous_payment")
private Boolean spontaneousPayment;
}
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ void getAllStationsMaintenancesTest() throws Exception {
.pageInfo(buildPageInfo())
.build());

mockMvc.perform(get("/station-maintenances")
mockMvc.perform(get("/brokers/station-maintenances")
.param("startDateTimeBefore", OffsetDateTime.now().format(DateTimeFormatter.ISO_DATE_TIME))
.param("startDateTimeAfter", OffsetDateTime.now().format(DateTimeFormatter.ISO_DATE_TIME))
.param("endDateTimeBefore", OffsetDateTime.now().format(DateTimeFormatter.ISO_DATE_TIME))
Expand Down
4 changes: 2 additions & 2 deletions src/test/resources/file/massiveIbansValid_Insert.csv
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
iddominio,codiceipa,ragionesociale,descrizione,iban,idsellerbank,dataattivazioneiban,operazione
00168480242,istsc_sais011002,C.PISACANE SAPRI,desc xxx,IT84H0706676470000000822789,,2024-12-01,I
11100011111,ccplia3,CPIA 2 - ITALO CALVINO,desc yyy,IT74L0306905020100000046450,,2024-12-01,I
00168480242,istsc_sais011002,C.PISACANE SAPRI,desc xxx,IT84H0706676470000000822789,,2025-12-01,I
11100011111,ccplia3,CPIA 2 - ITALO CALVINO,desc yyy,IT74L0306905020100000046450,,2025-12-01,I
4 changes: 2 additions & 2 deletions src/test/resources/file/massiveIbansValid_Update_Delete.csv
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
iddominio,codiceipa,ragionesociale,descrizione,iban,idsellerbank,dataattivazioneiban,operazione
00168480242,istsc_sais011002,C.PISACANE SAPRI,desc xxx upd,IT84H0706676470000000822789,,2024-12-01,U
11100011111,ccplia3,CPIA 2 - ITALO CALVINO,desc yyy,IT74L0306905020100000046450,,2024-12-01,D
00168480242,istsc_sais011002,C.PISACANE SAPRI,desc xxx upd,IT84H0706676470000000822789,,2025-12-01,U
11100011111,ccplia3,CPIA 2 - ITALO CALVINO,desc yyy,IT74L0306905020100000046450,,2025-12-01,D
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
iddominio,codiceipa,ragionesociale,descrizione,iban,idsellerbank,dataattivazioneiban,operazione
00168480242,istsc_sais011002,C.PISACANE SAPRI,desc xxx,IT84H0706676470000000822789,,2024-12-01,I
11100011111,ccplia3,CPIA 2 - ITALO CALVINO,desc yyy,IT84H0706676470000000822789,,2024-12-01,I
00168480242,istsc_sais011002,C.PISACANE SAPRI,desc xxx,IT84H0706676470000000822789,,2025-12-01,I
11100011111,ccplia3,CPIA 2 - ITALO CALVINO,desc yyy,IT84H0706676470000000822789,,2025-12-01,I
Loading