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
16 changes: 15 additions & 1 deletion openapi/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -2534,6 +2534,12 @@
1,
2
]
},
"is_payment_options_enabled": {
"type": "boolean"
},
"rest_endpoint": {
"type": "string"
}
},
"description": "List of stations associated to the same entity"
Expand Down Expand Up @@ -2709,6 +2715,14 @@
"ci_status": {
"type": "boolean",
"description": "True if the CI is enabled"
},
"is_payment_options_enabled": {
"type": "boolean",
"description": "True if the REST endpoint can be used for Payment Options service"
},
"rest_endpoint": {
"type": "string",
"description": "Generic REST endpoint"
}
},
"description": "List of creditor institutions associated to the same broker by different stations"
Expand Down Expand Up @@ -2748,4 +2762,4 @@
}
}
}
}
}
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

<properties>
<java.version>17</java.version>
<starter.version>1.20.1</starter.version>
<starter.version>1.23.0</starter.version>
<springdoc.version>1.6.14</springdoc.version>
<oracle.version>21.9.0.0</oracle.version>
<postgresql.version>42.5.5</postgresql.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ public CreditorInstitutionDetail convert(MappingContext<PaStazionePa, CreditorIn

builder.primitiveVersion(stazione.getVersionePrimitive());
builder.ciStatus(deNull(src.getPa().getEnabled()));
builder.restEndpoint(stazione.getRestEndpoint());
builder.isPaymentOptionsEnabled(stazione.getIsPaymentOptionsEnabled());
return builder.build();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,4 +101,11 @@ public class CreditorInstitutionDetail {
@Schema(description = "True if the CI is enabled", requiredMode = Schema.RequiredMode.REQUIRED)
private Boolean ciStatus;

@JsonProperty("is_payment_options_enabled")
@Schema(description = "True if the REST endpoint can be used for Payment Options service", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
private Boolean isPaymentOptionsEnabled;

@JsonProperty("rest_endpoint")
@Schema(description = "Generic REST endpoint", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
private String restEndpoint;
}
Original file line number Diff line number Diff line change
Expand Up @@ -185,4 +185,10 @@ public class StationDetails extends Station {
allowableValues = {"1", "2"})
@JsonProperty("primitive_version")
private Integer versionePrimitive;

@JsonProperty("is_payment_options_enabled")
private Boolean isPaymentOptionsEnabled = false;

@JsonProperty("rest_endpoint")
private String restEndpoint;
}
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
"target_host_pof": "localhost",
"target_port_pof": 443,
"target_path_pof": "/",
"primitive_version": 1
"primitive_version": 1,
"is_payment_options_enabled": false
}
],
"page_info": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
"target_host_pof": "localhost",
"target_port_pof": 443,
"target_path_pof": "/",
"primitive_version": 1
"primitive_version": 1,
"is_payment_options_enabled": false
}
],
"page_info": {
Expand Down
Loading