diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0c044d0..cd3f320 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,6 @@ on: - main types: - opened - - edited - synchronize paths: - 'src/**' diff --git a/gradle.properties b/gradle.properties index 9041a26..ee38f41 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1 +1 @@ -version=1.11.2 \ No newline at end of file +version=1.11.4 \ No newline at end of file diff --git a/openapi/activation.openapi.yaml b/openapi/activation.openapi.yaml index 1224993..f5f6027 100644 --- a/openapi/activation.openapi.yaml +++ b/openapi/activation.openapi.yaml @@ -470,15 +470,14 @@ components: maxLength: 16 example: "RSSMRA85T10A562S" - Lei: + Vat: description: | - Legal Entity Identifier is a code allocated to a party as described in - ISO 17442 "Financial Services - Legal Entity Identifier (LEI)". + Value Added Tax is an identification number allocated to a party. type: string - pattern: "^[A-Z0-9]{18}[0-9]{2}$" - minLength: 20 - maxLength: 20 - example: "984500A9EB6B07AC2G71" + pattern: "^[0-9]{11}$" + minLength: 11 + maxLength: 11 + example: "12345678911" PartyId: description: | @@ -491,7 +490,7 @@ components: if it is a PSP, otherwise it is identified by its LEI (Legal Entity Identifier). type: string - pattern: "(^([A-Z0-9]{4}[A-Z]{2}[A-Z0-9]{2}([A-Z0-9]{3}){0,1})$)|(^[A-Z0-9]{18}[0-9]{2}$)" + pattern: "(^([A-Z0-9]{4}[A-Z]{2}[A-Z0-9]{2}([A-Z0-9]{3}){0,1})$)|(^[0-9]{11}$)" # -------------------------------------------------------------------------- # Complex types for paging. diff --git a/src/test/java/it/gov/pagopa/rtp/activator/utils/Users.java b/src/test/java/it/gov/pagopa/rtp/activator/utils/Users.java index 07c7cf9..3370b9e 100644 --- a/src/test/java/it/gov/pagopa/rtp/activator/utils/Users.java +++ b/src/test/java/it/gov/pagopa/rtp/activator/utils/Users.java @@ -18,9 +18,9 @@ import java.util.stream.Collectors; public class Users { - - public static final String SERVICE_PROVIDER_ID = "984500A9EB6B07AC2G71"; + public static final String SERVICE_PROVIDER_ID = "12345678911"; public static final String SUBJECT = "PagoPA"; + public static final String ACTIVATION_WRITE_ROLE = "write_rtp_activations"; public static final String ACTIVATION_READ_ROLE = "read_rtp_activations"; public static final String SENDER_WRITER_ROLE = "write_rtp_send";