Class Upload
- java.lang.Object
-
- app.coronawarn.server.services.federation.upload.runner.Upload
-
- All Implemented Interfaces:
org.springframework.boot.ApplicationRunner
@Component @Order(1) public class Upload extends Object implements org.springframework.boot.ApplicationRunner
-
-
Constructor Summary
Constructors Constructor Description Upload(FederationUploadClient federationUploadClient, PayloadFactory payloadFactory, DiagnosisKeyLoader diagnosisKeyLoader, org.springframework.context.ApplicationContext applicationContext, FederationUploadKeyService uploadKeyService)
Creates an upload runner instance that reads Upload keys and send them to the Federation Gateway.
-
-
-
Constructor Detail
-
Upload
public Upload(FederationUploadClient federationUploadClient, PayloadFactory payloadFactory, DiagnosisKeyLoader diagnosisKeyLoader, org.springframework.context.ApplicationContext applicationContext, FederationUploadKeyService uploadKeyService)
Creates an upload runner instance that reads Upload keys and send them to the Federation Gateway.- Parameters:
federationUploadClient
-FederationUploadClient
instance to call the EFGS API.payloadFactory
-PayloadFactory
to generate the Payload Objects with proper batching and signing.diagnosisKeyLoader
-DiagnosisKeyLoader
to load DiagnosisKeys from the Upload table.
-
-