Skip to content

Commit

Permalink
NOD-573
Browse files Browse the repository at this point in the history
Adeguamento flag travaso su config cache e cache
  • Loading branch information
lorenzo-catalano committed Nov 7, 2023
1 parent ea2d843 commit fa1c5ae
Show file tree
Hide file tree
Showing 5 changed files with 140 additions and 140 deletions.
12 changes: 6 additions & 6 deletions openapi/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
"/stakeholders/fdr/cache/schemas/v1" : {
"get" : {
"tags" : [ "Cache" ],
"summary" : "Get selected key of fdr v1 config",
"summary" : "Get selected key of cache v1 config",
"operationId" : "cache_2",
"parameters" : [ {
"name" : "refresh",
Expand Down Expand Up @@ -258,8 +258,8 @@
},
"/stakeholders/fdr/cache/schemas/v1/id" : {
"get" : {
"tags" : [ "FdrCache" ],
"summary" : "Get last fdr v1 cache version",
"tags" : [ "Cache" ],
"summary" : "Get last v1 cache version",
"operationId" : "idV1_1",
"responses" : {
"200" : {
Expand Down Expand Up @@ -377,7 +377,7 @@
"/stakeholders/node/cache/schemas/v1" : {
"get" : {
"tags" : [ "Cache" ],
"summary" : "Get selected key of fdr v1 config",
"summary" : "Get selected key of cache v1 config",
"operationId" : "cache_1",
"parameters" : [ {
"name" : "refresh",
Expand Down Expand Up @@ -503,8 +503,8 @@
},
"/stakeholders/node/cache/schemas/v1/id" : {
"get" : {
"tags" : [ "FdrCache" ],
"summary" : "Get last fdr v1 cache version",
"tags" : [ "Cache" ],
"summary" : "Get last v1 cache version",
"operationId" : "idV1",
"responses" : {
"200" : {
Expand Down
114 changes: 57 additions & 57 deletions openapi/openapi_fdrv1.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"/stakeholders/fdr/cache/schemas/v1" : {
"get" : {
"tags" : [ "Cache" ],
"summary" : "Get selected key of fdr v1 config",
"summary" : "Get selected key of cache v1 config",
"operationId" : "cache",
"parameters" : [ {
"name" : "refresh",
Expand All @@ -48,18 +48,21 @@
}
} ],
"responses" : {
"400" : {
"description" : "Bad Request",
"403" : {
"description" : "Forbidden"
},
"200" : {
"description" : "OK",
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/ProblemJson"
"$ref" : "#/components/schemas/ConfigDataV1"
}
}
}
},
"500" : {
"description" : "Service unavailable",
"400" : {
"description" : "Bad Request",
"content" : {
"application/json" : {
"schema" : {
Expand All @@ -68,24 +71,21 @@
}
}
},
"200" : {
"description" : "OK",
"429" : {
"description" : "Too many requests"
},
"401" : {
"description" : "Unauthorized"
},
"500" : {
"description" : "Service unavailable",
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/ConfigDataV1"
"$ref" : "#/components/schemas/ProblemJson"
}
}
}
},
"401" : {
"description" : "Unauthorized"
},
"403" : {
"description" : "Forbidden"
},
"429" : {
"description" : "Too many requests"
}
},
"security" : [ {
Expand All @@ -95,10 +95,16 @@
},
"/stakeholders/fdr/cache/schemas/v1/id" : {
"get" : {
"tags" : [ "FdrCache" ],
"summary" : "Get last fdr v1 cache version",
"tags" : [ "Cache" ],
"summary" : "Get last v1 cache version",
"operationId" : "idV1",
"responses" : {
"404" : {
"description" : "Not Found"
},
"403" : {
"description" : "Forbidden"
},
"400" : {
"description" : "Bad Request",
"content" : {
Expand All @@ -109,37 +115,31 @@
}
}
},
"500" : {
"description" : "Service unavailable",
"429" : {
"description" : "Too many requests"
},
"200" : {
"description" : "OK",
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/ProblemJson"
"$ref" : "#/components/schemas/CacheVersion"
}
}
}
},
"401" : {
"description" : "Unauthorized"
},
"404" : {
"description" : "Not Found"
},
"200" : {
"description" : "OK",
"500" : {
"description" : "Service unavailable",
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/CacheVersion"
"$ref" : "#/components/schemas/ProblemJson"
}
}
}
},
"403" : {
"description" : "Forbidden"
},
"429" : {
"description" : "Too many requests"
}
},
"security" : [ {
Expand All @@ -150,28 +150,6 @@
},
"components" : {
"schemas" : {
"ProblemJson" : {
"type" : "object",
"properties" : {
"title" : {
"type" : "string",
"description" : "A short, summary of the problem type. Written in english and readable for engineers (usually not suited for non technical stakeholders and not localized); example: Service Unavailable"
},
"status" : {
"maximum" : 600,
"minimum" : 100,
"type" : "integer",
"description" : "The HTTP status code generated by the origin server for this occurrence of the problem.",
"format" : "int32",
"example" : 200
},
"detail" : {
"type" : "string",
"description" : "A human readable explanation specific to this occurrence of the problem.",
"example" : "There was an error processing the request"
}
}
},
"BrokerCreditorInstitution" : {
"required" : [ "broker_code", "enabled", "extended_fault_bean" ],
"type" : "object",
Expand Down Expand Up @@ -1017,6 +995,28 @@
}
}
},
"ProblemJson" : {
"type" : "object",
"properties" : {
"title" : {
"type" : "string",
"description" : "A short, summary of the problem type. Written in english and readable for engineers (usually not suited for non technical stakeholders and not localized); example: Service Unavailable"
},
"status" : {
"maximum" : 600,
"minimum" : 100,
"type" : "integer",
"description" : "The HTTP status code generated by the origin server for this occurrence of the problem.",
"format" : "int32",
"example" : 200
},
"detail" : {
"type" : "string",
"description" : "A human readable explanation specific to this occurrence of the problem.",
"example" : "There was an error processing the request"
}
}
},
"CacheVersion" : {
"required" : [ "version" ],
"type" : "object",
Expand Down
Loading

0 comments on commit fa1c5ae

Please sign in to comment.