Class DemoDiagnosisKeyBundler


  • @Profile("demo")
    @Component
    public class DemoDiagnosisKeyBundler
    extends DiagnosisKeyBundler
    An instance of this class contains a collection of DiagnosisKeys, that will be distributed in the same hour they have been submitted.
    • Method Detail

      • createDiagnosisKeyDistributionMap

        protected void createDiagnosisKeyDistributionMap​(Collection<DiagnosisKey> diagnosisKeys)
        Initializes the internal distributableDiagnosisKeys map, grouping the diagnosis keys by country and the submission timestamp, thus ignoring the expiry and shifting policies.
        Specified by:
        createDiagnosisKeyDistributionMap in class DiagnosisKeyBundler