From 91b0d304011191b307b776a15ad916825f36c715 Mon Sep 17 00:00:00 2001 From: Alexander Schwarz Date: Thu, 16 Sep 2021 14:23:22 +0200 Subject: [PATCH 1/2] fix typo --- .../ec/dgc/validation/decorator/config/IdentityProperties.java | 2 +- .../ec/dgc/validation/decorator/service/InitializeService.java | 2 +- src/main/resources/application.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/eu/europa/ec/dgc/validation/decorator/config/IdentityProperties.java b/src/main/java/eu/europa/ec/dgc/validation/decorator/config/IdentityProperties.java index c33e2e2..a93565a 100644 --- a/src/main/java/eu/europa/ec/dgc/validation/decorator/config/IdentityProperties.java +++ b/src/main/java/eu/europa/ec/dgc/validation/decorator/config/IdentityProperties.java @@ -37,5 +37,5 @@ public class IdentityProperties { private String consent; - private String servicePovider; + private String serviceProvider; } diff --git a/src/main/java/eu/europa/ec/dgc/validation/decorator/service/InitializeService.java b/src/main/java/eu/europa/ec/dgc/validation/decorator/service/InitializeService.java index f8c1a6f..d709694 100644 --- a/src/main/java/eu/europa/ec/dgc/validation/decorator/service/InitializeService.java +++ b/src/main/java/eu/europa/ec/dgc/validation/decorator/service/InitializeService.java @@ -47,7 +47,7 @@ public QrCodeDto getBySubject(String subject) { .token(accessTokenService.buildAccessToken(subject)) .consent(properties.getConsent()) .subject(subject) - .servicePovider(properties.getServicePovider()) + .servicePovider(properties.getServiceProvider()) .build(); } } diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 4235278..e92deae 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -4,7 +4,7 @@ identity: #### serviceIdentity serviceIdentityUrl: https://validation-decorator.example consent: I want to check your DCC to confirm your booking! :) - servicePovider: Service Provider.com + serviceProvider: Service Provider.com restTemplate: connectionTimeout: 3000 readTimeout: 3000 From ee73445e8ce3dcbfc8de14d82825b7e27df65a4a Mon Sep 17 00:00:00 2001 From: Alexander Schwarz Date: Thu, 16 Sep 2021 14:25:41 +0200 Subject: [PATCH 2/2] fix typo --- .../eu/europa/ec/dgc/validation/decorator/dto/QrCodeDto.java | 2 +- .../ec/dgc/validation/decorator/service/InitializeService.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/eu/europa/ec/dgc/validation/decorator/dto/QrCodeDto.java b/src/main/java/eu/europa/ec/dgc/validation/decorator/dto/QrCodeDto.java index 8f6c383..f1e7576 100644 --- a/src/main/java/eu/europa/ec/dgc/validation/decorator/dto/QrCodeDto.java +++ b/src/main/java/eu/europa/ec/dgc/validation/decorator/dto/QrCodeDto.java @@ -55,5 +55,5 @@ public class QrCodeDto { // Company Name // used from application.yml - private String servicePovider; + private String serviceProvider; } diff --git a/src/main/java/eu/europa/ec/dgc/validation/decorator/service/InitializeService.java b/src/main/java/eu/europa/ec/dgc/validation/decorator/service/InitializeService.java index d709694..f49bafb 100644 --- a/src/main/java/eu/europa/ec/dgc/validation/decorator/service/InitializeService.java +++ b/src/main/java/eu/europa/ec/dgc/validation/decorator/service/InitializeService.java @@ -47,7 +47,7 @@ public QrCodeDto getBySubject(String subject) { .token(accessTokenService.buildAccessToken(subject)) .consent(properties.getConsent()) .subject(subject) - .servicePovider(properties.getServiceProvider()) + .serviceProvider(properties.getServiceProvider()) .build(); } }