This repository has been archived by the owner on Jun 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 496
Warning package download & scheduling (EXPOSUREAPP-5695,EXPOSUREAPP-5696) #2707
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
chiljamgossow
changed the title
Feature/5696 warning download
Downloag warning packages (EXPOSUREAPP-5696)
Mar 29, 2021
chiljamgossow
changed the title
Downloag warning packages (EXPOSUREAPP-5696)
Download warning packages (EXPOSUREAPP-5696)
Mar 29, 2021
# Conflicts: # Corona-Warn-App/src/deviceForTesters/java/de/rki/coronawarnapp/test/eventregistration/ui/EventRegistrationTestFragment.kt # Corona-Warn-App/src/deviceForTesters/java/de/rki/coronawarnapp/test/eventregistration/ui/EventRegistrationTestFragmentViewModel.kt # Corona-Warn-App/src/deviceForTesters/res/layout/fragment_test_eventregistration.xml # Corona-Warn-App/src/main/java/de/rki/coronawarnapp/eventregistration/EventRegistrationModule.kt
# Conflicts: # Corona-Warn-App/src/main/java/de/rki/coronawarnapp/eventregistration/EventRegistrationModule.kt # Corona-Warn-App/src/main/java/de/rki/coronawarnapp/util/worker/WorkerBinder.kt
d4rken
changed the title
Download warning packages (EXPOSUREAPP-5696)
Warning package download & scheduling (EXPOSUREAPP-5695,EXPOSUREAPP-5696)
Apr 1, 2021
# Conflicts: # Corona-Warn-App/src/main/java/de/rki/coronawarnapp/eventregistration/checkins/download/TraceTimeIntervalWarningRepository.kt # Corona-Warn-App/src/main/java/de/rki/coronawarnapp/presencetracing/risk/CheckInWarningMatcher.kt # Corona-Warn-App/src/test/java/de/rki/coronawarnapp/presencetracing/risk/CheckInWarningMatcherTest.kt
BMItr
previously approved these changes
Apr 7, 2021
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thx for addressing comments.
lgtm
mtwalli
reviewed
Apr 7, 2021
.../src/androidTest/java/de/rki/coronawarnapp/worker/DiagnosisKeyRetrievalPeriodicWorkerTest.kt
Outdated
Show resolved
Hide resolved
...ava/de/rki/coronawarnapp/test/eventregistration/ui/EventRegistrationTestFragmentViewModel.kt
Outdated
Show resolved
Hide resolved
...Warn-App/src/main/java/de/rki/coronawarnapp/appconfig/mapping/KeyDownloadParametersMapper.kt
Outdated
Show resolved
Hide resolved
...Warn-App/src/main/java/de/rki/coronawarnapp/appconfig/mapping/KeyDownloadParametersMapper.kt
Outdated
Show resolved
Hide resolved
...src/main/java/de/rki/coronawarnapp/presencetracing/risk/calculation/CheckInWarningMatcher.kt
Show resolved
Hide resolved
...ain/java/de/rki/coronawarnapp/presencetracing/risk/calculation/PresenceTracingConversions.kt
Outdated
Show resolved
Hide resolved
.../main/java/de/rki/coronawarnapp/presencetracing/risk/execution/PresenceTracingWarningTask.kt
Show resolved
Hide resolved
.../main/java/de/rki/coronawarnapp/presencetracing/risk/execution/PresenceTracingWarningTask.kt
Outdated
Show resolved
Hide resolved
...main/java/de/rki/coronawarnapp/presencetracing/risk/storage/PresenceTracingRiskRepository.kt
Outdated
Show resolved
Hide resolved
...main/java/de/rki/coronawarnapp/presencetracing/risk/storage/PresenceTracingRiskRepository.kt
Outdated
Show resolved
Hide resolved
mtwalli
reviewed
Apr 7, 2021
Corona-Warn-App/src/main/java/de/rki/coronawarnapp/util/coroutine/ListenableFuture.kt
Show resolved
Hide resolved
If there are no CheckIns, the SyncTool will have deleted all matches already.
# Conflicts: # Corona-Warn-App/src/deviceForTesters/java/de/rki/coronawarnapp/test/eventregistration/ui/EventRegistrationTestFragment.kt # Corona-Warn-App/src/main/java/de/rki/coronawarnapp/contactdiary/ui/overview/ContactDiaryOverviewViewModel.kt # Corona-Warn-App/src/test/java/de/rki/coronawarnapp/contactdiary/ui/overview/ContactDiaryOverviewViewModelTest.kt
…nto feature/5696-warning-download
d4rken
dismissed stale reviews from BMItr, jurajkusnier, and AlexanderAlferov
via
April 7, 2021 12:58
c82cd49
…cTool will have deleted all matches already." This reverts commit 3b0acf3
…nto feature/5696-warning-download
Kudos, SonarCloud Quality Gate passed! |
BMItr
approved these changes
Apr 7, 2021
mtwalli
approved these changes
Apr 7, 2021
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
AlexanderAlferov
approved these changes
Apr 7, 2021
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
author merge
PR to be merged by author
maintainers
Tag pull requests created by maintainers
prio
PRs to review first.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds the download of warnings for tracelocations, wires up the download/calculation logic to be regularly executed. Some additional refactoring and and polishing too.
Task
that downloadsTraceWarningPackage
's and processes them if they have not yet been processed.TraceWarningPackageSyncTool
Our Check Ins
<>What The Server Has
<>What We Have Already Processed
and download any missing data.unprocessed
and thus be available to theCheckInWarningMatcher
.CheckInWarningMatcher
CheckIn
s and possible generate a high risk state by adding data toPresenceTracingRiskRepository
.This PR contains #2739.
Testing hints
Warning
andTraceWarning
.