Skip to content

Commit

Permalink
Bump to version 0.2.6 [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
pagopa-github-bot committed Apr 10, 2024
1 parent 5fa5c5d commit dae0624
Show file tree
Hide file tree
Showing 6 changed files with 148 additions and 127 deletions.
4 changes: 2 additions & 2 deletions helm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: pagopa-iuvgenerator
description: Microservice that permits to generate unique IUV codes for each creditor institution.
type: application
version: 0.7.0
appVersion: 0.2.5
version: 0.8.0
appVersion: 0.2.6
dependencies:
- name: microservice-chart
version: 3.0.0
Expand Down
10 changes: 5 additions & 5 deletions helm/values-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ microservice-chart:
fullnameOverride: ""
image:
repository: ghcr.io/pagopa/pagopa-iuvgenerator
tag: "0.2.5"
tag: "0.2.6"
pullPolicy: Always
livenessProbe:
httpGet:
Expand Down Expand Up @@ -34,9 +34,9 @@ microservice-chart:
servicePort: 8080
serviceAccount:
create: false
annotations: { }
annotations: {}
name: ""
podAnnotations: { }
podAnnotations: {}
podSecurityContext:
seccompProfile:
type: RuntimeDefault
Expand Down Expand Up @@ -87,8 +87,8 @@ microservice-chart:
tenantId: "7788edaf-0346-4068-9d79-c868aed15b3d"
tmpVolumeMount:
create: true
nodeSelector: { }
tolerations: [ ]
nodeSelector: {}
tolerations: []
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
Expand Down
10 changes: 5 additions & 5 deletions helm/values-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ microservice-chart:
fullnameOverride: ""
image:
repository: ghcr.io/pagopa/pagopa-iuvgenerator
tag: "0.2.5"
tag: "0.2.6"
pullPolicy: Always
livenessProbe:
httpGet:
Expand Down Expand Up @@ -34,9 +34,9 @@ microservice-chart:
servicePort: 8080
serviceAccount:
create: false
annotations: { }
annotations: {}
name: ""
podAnnotations: { }
podAnnotations: {}
podSecurityContext:
seccompProfile:
type: RuntimeDefault
Expand Down Expand Up @@ -87,8 +87,8 @@ microservice-chart:
tenantId: "7788edaf-0346-4068-9d79-c868aed15b3d"
tmpVolumeMount:
create: true
nodeSelector: { }
tolerations: [ ]
nodeSelector: {}
tolerations: []
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
Expand Down
10 changes: 5 additions & 5 deletions helm/values-uat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ microservice-chart:
fullnameOverride: ""
image:
repository: ghcr.io/pagopa/pagopa-iuvgenerator
tag: "0.2.5"
tag: "0.2.6"
pullPolicy: Always
livenessProbe:
httpGet:
Expand Down Expand Up @@ -34,9 +34,9 @@ microservice-chart:
servicePort: 8080
serviceAccount:
create: false
annotations: { }
annotations: {}
name: ""
podAnnotations: { }
podAnnotations: {}
podSecurityContext:
seccompProfile:
type: RuntimeDefault
Expand Down Expand Up @@ -87,8 +87,8 @@ microservice-chart:
tenantId: "7788edaf-0346-4068-9d79-c868aed15b3d"
tmpVolumeMount:
create: true
nodeSelector: { }
tolerations: [ ]
nodeSelector: {}
tolerations: []
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
Expand Down
239 changes: 130 additions & 109 deletions openapi/openapi.json
Original file line number Diff line number Diff line change
@@ -1,148 +1,169 @@
{
"openapi" : "3.0.1",
"info" : {
"description" : "A service that permits to generate unique IUV codes for each creditor institution.\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",
"termsOfService" : "https://www.pagopa.gov.it/",
"title" : "IUV Generator",
"version" : "0.2.4"
"openapi": "3.0.1",
"info": {
"description": "A service that permits to generate unique IUV codes for each creditor institution.\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",
"termsOfService": "https://www.pagopa.gov.it/",
"title": "IUV Generator",
"version": "0.2.6"
},
"servers" : [ {
"url" : "${host}",
"description" : "Generated server URL"
}, {
"url" : "http://localhost:8080",
"description" : "Local 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": "${host}",
"description": "Generated server URL"
},
{
"url": "http://localhost:8080",
"description": "Local 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/IUVGenerationResponse"
"responses": {
"201": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/IUVGenerationResponse"
}
}
},
"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" : {
"db" : {
"type" : "string"
"components": {
"schemas": {
"AppInfoResponse": {
"type": "object",
"properties": {
"db": {
"type": "string"
},
"environment" : {
"type" : "string"
"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"
]
},
"IUVGenerationResponse" : {
"type" : "object",
"properties" : {
"iuv" : {
"type" : "string",
"description" : "The unique IUV generated from computation for the creditor institution.",
"example" : "584756566583"
"IUVGenerationResponse": {
"type": "object",
"properties": {
"iuv": {
"type": "string",
"description": "The unique IUV generated from computation for the creditor institution.",
"example": "584756566583"
}
},
"required" : [ "iuv" ]
"required": [
"iuv"
]
}
},
"securitySchemes" : {
"ApiKey" : {
"description" : "The API key to access this function app.",
"in" : "header",
"name" : "Ocp-Apim-Subscription-Key",
"type" : "apiKey"
"securitySchemes": {
"ApiKey": {
"description": "The API key to access this function app.",
"in": "header",
"name": "Ocp-Apim-Subscription-Key",
"type": "apiKey"
}
}
}
}
}
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<groupId>it.gov.pagopa</groupId>
<artifactId>iuvgenerator</artifactId>
<version>0.2.5</version>
<version>0.2.6</version>
<name>pagoPA IUV Generator</name>
<description>A service that permits to generate unique IUV codes for each creditor institution.</description>

Expand Down

0 comments on commit dae0624

Please sign in to comment.