Class ApplicationConfigurationV2PublicationConfig
- java.lang.Object
-
- app.coronawarn.server.services.distribution.assembly.appconfig.ApplicationConfigurationV2PublicationConfig
-
@Configuration public class ApplicationConfigurationV2PublicationConfig extends Object
Provides the application configuration needed for mobile clients which use Exposure Notification Framework V2. As of CWA version 1.7, Android and IOS configurations have been separated and distributed in CDNs at different URLs. This Spring bean loads the default values defined in the YAML configurations of each device type found under/master-config/
folder, extends it with some Distribution Service global parameters and registers them for usage during file archiving & bundling.
-
-
Constructor Summary
Constructors Constructor Description ApplicationConfigurationV2PublicationConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApplicationConfigurationAndroid
createAndroidV2Configuration(DistributionServiceConfig distributionServiceConfig)
Fetches the master configuration as a ApplicationConfigurationAndroid instance.ApplicationConfigurationIOS
createIosV2Configuration(DistributionServiceConfig distributionServiceConfig)
Fetches the master configuration as a ApplicationConfigurationAndroid instance.
-
-
-
Method Detail
-
createAndroidV2Configuration
@Bean public ApplicationConfigurationAndroid createAndroidV2Configuration(DistributionServiceConfig distributionServiceConfig) throws UnableToLoadFileException
Fetches the master configuration as a ApplicationConfigurationAndroid instance.- Throws:
UnableToLoadFileException
-
createIosV2Configuration
@Bean public ApplicationConfigurationIOS createIosV2Configuration(DistributionServiceConfig distributionServiceConfig) throws UnableToLoadFileException
Fetches the master configuration as a ApplicationConfigurationAndroid instance.- Throws:
UnableToLoadFileException
-
-