Skip to content

Commit a18f179

Browse files
author
frudisch
committed
Fix incorrect date format in customer master data
1 parent 5f7bd08 commit a18f179

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

customer-master-data-management-mock/base/deployment.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ spec:
2626
- "--max-request-journal=1000"
2727
- "--local-response-templating"
2828
- "--root-dir=/home/wiremock/storage"
29+
- "--verbose"
2930
resources:
3031
requests:
3132
cpu: 100m

customer-master-data-management-mock/base/service.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ metadata:
77
spec:
88
type: ClusterIP
99
selector:
10-
app: customer-master-data-management-service
10+
app: customer-master-data-management
1111
ports:
1212
- protocol: TCP
1313
port: 9021
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
package com.senacor.lpt.service.creditapplication.customer.master.data.adapter
22

3+
import com.fasterxml.jackson.annotation.JsonFormat
34
import java.time.LocalDate
45

56
data class CustomerMasterData(
67
val firstname: String,
78
val lastname: String,
9+
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "dd-MM-yyyy")
810
val birthday: LocalDate
911
)

0 commit comments

Comments
 (0)