generated from pagopa/template-java-spring-microservice
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: updated Dockerfile with new entrypoint jar launcher
- Loading branch information
1 parent
854ce5e
commit d4d00ec
Showing
2 changed files
with
90 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,140 +1,122 @@ | ||
{ | ||
"openapi": "3.0.1", | ||
"info": { | ||
"description": "null\n\n**STANDARD ERRORS:**\nNAME | CODE | DESCRIPTION\n- | - | -\n**IUVG-1000** | *GENERIC_ERROR* | Error while generating IUV. *...error description...*\n**IUVG-1001** | *VALIDATION_ERROR* | Error while validating IUV generation request. *...error description...*\n**IUVG-1101** | *GENERATION_MAX_RETRIES_REACHED* | Error while generating IUV. Reached the maximum number of internal automatic attempts [*...content...*] to generate a unique IUV. Please, try again later.\n**IUVG-1102** | *GENERATION_AUXDIGIT_ALGORITHM_INVALID_PATTERN* | Error while generating IUV. The IUV code's section generated by timestamp in milliseconds is not correctly composited of 13 digits.\n", | ||
"title": "OpenAPI definition", | ||
"version": "0.2.0" | ||
"openapi" : "3.0.1", | ||
"info" : { | ||
"description" : "null\n\n**STANDARD ERRORS:**\nNAME | CODE | DESCRIPTION\n- | - | -\n**IUVG-1000** | *GENERIC_ERROR* | Error while generating IUV. *...error description...*\n**IUVG-1001** | *VALIDATION_ERROR* | Error while validating IUV generation request. *...error description...*\n**IUVG-1101** | *GENERATION_MAX_RETRIES_REACHED* | Error while generating IUV. Reached the maximum number of internal automatic attempts [*...content...*] to generate a unique IUV for creditor institution [*...content...*]. Please, try again later.\n**IUVG-1102** | *GENERATION_AUXDIGIT_ALGORITHM_INVALID_PATTERN* | Error while generating IUV. The IUV code's section generated by timestamp in milliseconds is not correctly composited of 13 digits.\n", | ||
"title" : "OpenAPI definition", | ||
"version" : "v0" | ||
}, | ||
"servers": [ | ||
{ | ||
"url": "http://localhost", | ||
"description": "Generated server url" | ||
} | ||
], | ||
"tags": [ | ||
{ | ||
"description": "Application info APIs", | ||
"name": "Home" | ||
}, | ||
{ | ||
"description": "IUV Generation APIs", | ||
"name": "Generation" | ||
} | ||
], | ||
"paths": { | ||
"/info": { | ||
"get": { | ||
"operationId": "healthCheck", | ||
"responses": { | ||
"200": { | ||
"content": { | ||
"application/json": { | ||
"schema": { | ||
"$ref": "#/components/schemas/AppInfoResponse" | ||
"servers" : [ { | ||
"url" : "http://localhost", | ||
"description" : "Generated server url" | ||
} ], | ||
"tags" : [ { | ||
"description" : "Application info APIs", | ||
"name" : "Home" | ||
}, { | ||
"description" : "IUV Generation APIs", | ||
"name" : "Generation" | ||
} ], | ||
"paths" : { | ||
"/info" : { | ||
"get" : { | ||
"operationId" : "healthCheck", | ||
"responses" : { | ||
"200" : { | ||
"content" : { | ||
"application/json" : { | ||
"schema" : { | ||
"$ref" : "#/components/schemas/AppInfoResponse" | ||
} | ||
} | ||
}, | ||
"description": "OK." | ||
"description" : "OK." | ||
} | ||
}, | ||
"security": [ | ||
{ | ||
"ApiKey": [] | ||
} | ||
], | ||
"summary": "Return OK if application is started", | ||
"tags": [ | ||
"Home" | ||
] | ||
"security" : [ { | ||
"ApiKey" : [ ] | ||
} ], | ||
"summary" : "Return OK if application is started", | ||
"tags" : [ "Home" ] | ||
} | ||
}, | ||
"/organizations/{organization-fiscal-code}/iuv": { | ||
"post": { | ||
"description": "**Description:** \nGenerate a new unique IUV code without aux-digit at the start. \n\n**API properties:**\nProperty | Value\n- | -\nInternal | Y\nExternal | N\nSynchronous | SYNC\nAuthorization | NONE\nAuthentication | APIKEY\nTPS | 1.0/sec\nIdempotency | N\nStateless | Y\nRead/Write Intense | Read and Write\nCacheable | N\n", | ||
"operationId": "generateIUV", | ||
"parameters": [ | ||
{ | ||
"description": "The fiscal code of the creditor institution", | ||
"example": 77777777777, | ||
"in": "path", | ||
"name": "organization-fiscal-code", | ||
"required": true, | ||
"schema": { | ||
"type": "string" | ||
} | ||
"/organizations/{organization-fiscal-code}/iuv" : { | ||
"post" : { | ||
"description" : "**Description:** \nGenerate a new unique IUV code without aux-digit at the start. \n\n**API properties:**\nProperty | Value\n- | -\nInternal | Y\nExternal | N\nSynchronous | SYNC\nAuthorization | NONE\nAuthentication | APIKEY\nTPS | 1.0/sec\nIdempotency | N\nStateless | Y\nRead/Write Intense | Read and Write\nCacheable | N\n", | ||
"operationId" : "generateIUV", | ||
"parameters" : [ { | ||
"description" : "The fiscal code of the creditor institution", | ||
"example" : 77777777777, | ||
"in" : "path", | ||
"name" : "organization-fiscal-code", | ||
"required" : true, | ||
"schema" : { | ||
"type" : "string" | ||
} | ||
], | ||
"requestBody": { | ||
"content": { | ||
"application/json": { | ||
"schema": { | ||
"$ref": "#/components/schemas/IUVGenerationRequest" | ||
} ], | ||
"requestBody" : { | ||
"content" : { | ||
"application/json" : { | ||
"schema" : { | ||
"$ref" : "#/components/schemas/IUVGenerationRequest" | ||
} | ||
} | ||
}, | ||
"required": true | ||
"required" : true | ||
}, | ||
"responses": { | ||
"201": { | ||
"content": { | ||
"application/json": { | ||
"schema": { | ||
"$ref": "#/components/schemas/IUVGenerationRequest" | ||
"responses" : { | ||
"201" : { | ||
"content" : { | ||
"application/json" : { | ||
"schema" : { | ||
"$ref" : "#/components/schemas/IUVGenerationRequest" | ||
} | ||
} | ||
}, | ||
"description": "Created." | ||
"description" : "Created." | ||
} | ||
}, | ||
"security": [ | ||
{ | ||
"ApiKey": [] | ||
} | ||
], | ||
"summary": "Generate new IUV for organization", | ||
"tags": [ | ||
"Generation" | ||
] | ||
"security" : [ { | ||
"ApiKey" : [ ] | ||
} ], | ||
"summary" : "Generate new IUV for organization", | ||
"tags" : [ "Generation" ] | ||
} | ||
} | ||
}, | ||
"components": { | ||
"schemas": { | ||
"AppInfoResponse": { | ||
"type": "object", | ||
"properties": { | ||
"environment": { | ||
"type": "string" | ||
"components" : { | ||
"schemas" : { | ||
"AppInfoResponse" : { | ||
"type" : "object", | ||
"properties" : { | ||
"environment" : { | ||
"type" : "string" | ||
}, | ||
"name": { | ||
"type": "string" | ||
"name" : { | ||
"type" : "string" | ||
}, | ||
"version": { | ||
"type": "string" | ||
"version" : { | ||
"type" : "string" | ||
} | ||
} | ||
}, | ||
"IUVGenerationRequest": { | ||
"type": "object", | ||
"properties": { | ||
"auxDigit": { | ||
"type": "integer", | ||
"description": "The value of the AUX digit related to the IUV.", | ||
"format": "int32", | ||
"example": 3 | ||
"IUVGenerationRequest" : { | ||
"type" : "object", | ||
"properties" : { | ||
"auxDigit" : { | ||
"type" : "integer", | ||
"description" : "The value of the AUX digit related to the IUV.", | ||
"format" : "int32", | ||
"example" : 3 | ||
}, | ||
"segregationCode": { | ||
"type": "integer", | ||
"description": "The value of the segregation related to the IUV.", | ||
"format": "int32", | ||
"example": 48 | ||
"segregationCode" : { | ||
"type" : "integer", | ||
"description" : "The value of the segregation related to the IUV.", | ||
"format" : "int32", | ||
"example" : 48 | ||
} | ||
}, | ||
"required": [ | ||
"auxDigit", | ||
"segregationCode" | ||
] | ||
"required" : [ "auxDigit", "segregationCode" ] | ||
} | ||
} | ||
} | ||
} | ||
} |