Skip to content

Commit

Permalink
Merge main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaconsalvi committed Jan 31, 2025
2 parents f048952 + 0d9f5bb commit 2336a30
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 12 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ on:
- main
types:
- opened
- edited
- synchronize
paths:
- 'src/**'
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version=1.11.2
version=1.11.4
15 changes: 7 additions & 8 deletions openapi/activation.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions src/test/java/it/gov/pagopa/rtp/activator/utils/Users.java
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 2336a30

Please sign in to comment.