From dd381e7c3cee011c5bf44079ac368e7c5c02827b Mon Sep 17 00:00:00 2001 From: CWA Technical User <67319337+Corona-Warn-App-Technical-User@users.noreply.github.com> Date: Tue, 1 Jun 2021 17:05:52 +0200 Subject: [PATCH] Update from https://github.com/corona-warn-app/cwa-protocol-buffers/commit/7fea571024d6847ef9a1138d4c3200cf70ea800f (#3339) Co-authored-by: Mohamed Metwalli <mohamed.metwalli@sap.com> Co-authored-by: harambasicluka <64483219+harambasicluka@users.noreply.github.com> --- .../proto/internal/v2/app_config_android.proto | 3 +++ .../main/proto/internal/v2/app_config_ios.proto | 3 +++ .../main/proto/internal/v2/dgc_parameters.proto | 14 ++++++++++++++ 3 files changed, 20 insertions(+) create mode 100644 Server-Protocol-Buffer/src/main/proto/internal/v2/dgc_parameters.proto diff --git a/Server-Protocol-Buffer/src/main/proto/internal/v2/app_config_android.proto b/Server-Protocol-Buffer/src/main/proto/internal/v2/app_config_android.proto index 4eb56db06..2361ea6ec 100644 --- a/Server-Protocol-Buffer/src/main/proto/internal/v2/app_config_android.proto +++ b/Server-Protocol-Buffer/src/main/proto/internal/v2/app_config_android.proto @@ -4,6 +4,7 @@ package de.rki.coronawarnapp.server.protocols.internal.v2; import "internal/v2/app_features.proto"; import "internal/v2/corona_test_parameters.proto"; +import "internal/v2/dgc_parameters.proto"; import "internal/v2/exposure_detection_parameters.proto"; import "internal/v2/key_download_parameters.proto"; import "internal/v2/ppdd_edus_parameters.proto"; @@ -38,6 +39,8 @@ message ApplicationConfigurationAndroid { PresenceTracingParameters presenceTracingParameters = 13; CoronaTestParameters coronaTestParameters = 14; + + DGCParameters dgcParameters = 15; } message DiagnosisKeysDataMapping { diff --git a/Server-Protocol-Buffer/src/main/proto/internal/v2/app_config_ios.proto b/Server-Protocol-Buffer/src/main/proto/internal/v2/app_config_ios.proto index 98c90fa8b..278162cd1 100644 --- a/Server-Protocol-Buffer/src/main/proto/internal/v2/app_config_ios.proto +++ b/Server-Protocol-Buffer/src/main/proto/internal/v2/app_config_ios.proto @@ -4,6 +4,7 @@ package de.rki.coronawarnapp.server.protocols.internal.v2; import "internal/v2/app_features.proto"; import "internal/v2/corona_test_parameters.proto"; +import "internal/v2/dgc_parameters.proto"; import "internal/v2/exposure_detection_parameters.proto"; import "internal/v2/key_download_parameters.proto"; import "internal/v2/ppdd_edus_parameters.proto"; @@ -37,6 +38,8 @@ message ApplicationConfigurationIOS { PresenceTracingParameters presenceTracingParameters = 12; CoronaTestParameters coronaTestParameters = 13; + + DGCParameters dgcParameters = 14; } message ExposureConfiguration { diff --git a/Server-Protocol-Buffer/src/main/proto/internal/v2/dgc_parameters.proto b/Server-Protocol-Buffer/src/main/proto/internal/v2/dgc_parameters.proto new file mode 100644 index 000000000..86e2d7131 --- /dev/null +++ b/Server-Protocol-Buffer/src/main/proto/internal/v2/dgc_parameters.proto @@ -0,0 +1,14 @@ +// This file is auto-generated, DO NOT make any changes here +syntax = "proto3"; +package de.rki.coronawarnapp.server.protocols.internal.v2; + + +message DGCParameters { + + DGCTestCertificateParameters testCertificateParameters = 1; +} + +message DGCTestCertificateParameters { + uint32 waitAfterPublicKeyRegistrationInSeconds = 1; + uint32 waitForRetryInSeconds = 2; +} \ No newline at end of file -- GitLab