Skip to content

Commit 0925ab3

Browse files
SRTP-769-implement-api-send-gpd-message
1 parent 17e2373 commit 0925ab3

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

gpd-test/deploy/deploy-dev.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ metadata:
6464
nginx.ingress.kubernetes.io/ssl-redirect: "false"
6565
spec:
6666
rules:
67-
- host: gpd-test.srtp.dev.pagopa.it
67+
- host: <external-ip>.nip.io
6868
http:
6969
paths:
7070
- path: /

gpd-test/dto.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,13 @@ class RTPOperationCode(str, Enum):
77
DELETE = "DELETE"
88

99
class PaymentPositionStatus(str, Enum):
10-
CREATED = "CREATED"
11-
SENT = "SENT"
12-
ACCEPTED = "ACCEPTED"
10+
VALID = "VALID"
11+
PARTIALLY_VALID = "PARTIALLY_VALID"
12+
PAID = "PAID"
13+
EXPIRED = "EXPIRED"
14+
INVALID = "INVALID"
15+
DRAFT = "DRAFT"
16+
PUBLISHED = "PUBLISHED"
1317

1418
class RTPMessage(BaseModel):
1519
id: int

0 commit comments

Comments
 (0)