Skip to content

Commit

Permalink
added organizationId to fdr call
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo-catalano committed Feb 1, 2024
1 parent bca0086 commit 906770e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/main/java/it/gov/pagopa/fdrjsontoxml/FdrJsonToXml.java
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ private Fdr getFdr(FdrMessage fdrMessage){
Fdr fdr = new Fdr();
fdr.setFdr(fdrMessage.getFdr());
fdr.setPspId(fdrMessage.getPspId());
fdr.setOrganizationId(fdrMessage.getOrganizationId());
fdr.setRetry(fdrMessage.getRetry());
fdr.setRevision(fdrMessage.getRevision());
return fdr;
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/it/gov/pagopa/fdrjsontoxml/FdrMessage.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ public class FdrMessage {

private String pspId;

private String organizationId;

private Long retry;

private Long revision;
Expand Down
6 changes: 5 additions & 1 deletion src/main/openapi/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
}
},
"Fdr" : {
"required" : [ "fdr", "pspId", "retry", "revision"],
"required" : [ "fdr", "pspId","organizationId", "retry", "revision"],
"type" : "object",
"properties" : {
"fdr" : {
Expand All @@ -72,6 +72,10 @@
"type" : "string",
"example" : "1"
},
"organizationId" : {
"type" : "string",
"example" : "1"
},
"retry" : {
"format" : "int64",
"type" : "integer",
Expand Down

0 comments on commit 906770e

Please sign in to comment.