From a0665c442fba098f2e236ca1faec83843d3c91c6 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 19 Jan 2023 16:36:09 +0000 Subject: [PATCH 1/3] fix(deps): update dependencies --- .../pom.xml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ch-covidcertificate-backend-verification-check/pom.xml b/ch-covidcertificate-backend-verification-check/pom.xml index aece515..2a547d0 100644 --- a/ch-covidcertificate-backend-verification-check/pom.xml +++ b/ch-covidcertificate-backend-verification-check/pom.xml @@ -18,13 +18,13 @@ 11 - 1.7.21 + 1.8.0 UTF-8 UTF-8 - 2.7.5 - 3.1.5 + 2.7.8 + 3.1.6 2.11.1 2.2.13.RELEASE @@ -64,13 +64,13 @@ org.junit.jupiter junit-jupiter-api - 5.9.1 + 5.9.2 test org.junit.jupiter junit-jupiter-engine - 5.9.1 + 5.9.2 test @@ -90,7 +90,7 @@ ch.admin.bag.covidcertificate cc-backend-logging - 1.0.4 + 1.0.5 From ad18aa51d6d2886d7fb840c780d9426f65fbf9c9 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 1 Oct 2022 02:59:59 +0000 Subject: [PATCH 2/3] fix(deps): update dependency ch.admin.bag.covidcertificate:sdk-core to v3.3.0 --- .../ch-covidcertificate-backend-verification-check-ws/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ch-covidcertificate-backend-verification-check/ch-covidcertificate-backend-verification-check-ws/pom.xml b/ch-covidcertificate-backend-verification-check/ch-covidcertificate-backend-verification-check-ws/pom.xml index c80dbec..ca2b697 100644 --- a/ch-covidcertificate-backend-verification-check/ch-covidcertificate-backend-verification-check-ws/pom.xml +++ b/ch-covidcertificate-backend-verification-check/ch-covidcertificate-backend-verification-check-ws/pom.xml @@ -74,7 +74,7 @@ ch.admin.bag.covidcertificate sdk-core - 3.2.1 + 3.3.0 From f4386d61b977a95d964519e23dbed8369d825c45 Mon Sep 17 00:00:00 2001 From: Daniel Gstoehl Date: Thu, 2 Feb 2023 05:58:40 +0100 Subject: [PATCH 3/3] adjustments for new SDK --- .../check/ws/model/RevokedCertificatesRepository.java | 6 ++++++ .../backend/verification/check/ws/verification/TestData.kt | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/ch-covidcertificate-backend-verification-check/ch-covidcertificate-backend-verification-check-ws/src/main/java/ch/admin/bag/covidcertificate/backend/verification/check/ws/model/RevokedCertificatesRepository.java b/ch-covidcertificate-backend-verification-check/ch-covidcertificate-backend-verification-check-ws/src/main/java/ch/admin/bag/covidcertificate/backend/verification/check/ws/model/RevokedCertificatesRepository.java index 9f64d96..7db4cf1 100644 --- a/ch-covidcertificate-backend-verification-check/ch-covidcertificate-backend-verification-check-ws/src/main/java/ch/admin/bag/covidcertificate/backend/verification/check/ws/model/RevokedCertificatesRepository.java +++ b/ch-covidcertificate-backend-verification-check/ch-covidcertificate-backend-verification-check-ws/src/main/java/ch/admin/bag/covidcertificate/backend/verification/check/ws/model/RevokedCertificatesRepository.java @@ -26,6 +26,12 @@ public long getValidDuration(){ return revokedCertificates.getValidDuration(); } + @NotNull + @Override + public String getPrepopulatedSinceHeader(boolean b) { + return ""; + } + public static class RevokedCertificates { private List revokedCerts; private long validDuration; diff --git a/ch-covidcertificate-backend-verification-check/ch-covidcertificate-backend-verification-check-ws/src/main/java/ch/admin/bag/covidcertificate/backend/verification/check/ws/verification/TestData.kt b/ch-covidcertificate-backend-verification-check/ch-covidcertificate-backend-verification-check-ws/src/main/java/ch/admin/bag/covidcertificate/backend/verification/check/ws/verification/TestData.kt index d52c3bf..918ca1e 100644 --- a/ch-covidcertificate-backend-verification-check/ch-covidcertificate-backend-verification-check-ws/src/main/java/ch/admin/bag/covidcertificate/backend/verification/check/ws/verification/TestData.kt +++ b/ch-covidcertificate-backend-verification-check/ch-covidcertificate-backend-verification-check-ws/src/main/java/ch/admin/bag/covidcertificate/backend/verification/check/ws/verification/TestData.kt @@ -31,6 +31,10 @@ object TestData { override fun containsCertificate(certificate: String): Boolean { return certs.contains(certificate) } + + override fun getPrepopulatedSinceHeader(isProd: Boolean): String { + return "" + } }, ruleSet ?: RuleSet(