-export default interface ConfigurationData {
- supervisionURLs?: string[];
- stationTemplateURLs: StationTemplateURL[];
- statisticsDisplayInterval?: number;
- connectionTimeout?: number;
+export type UIServerConfiguration = {
+ enabled?: boolean;
+ type?: ApplicationProtocol;
+ options?: ServerOptions;
+ authentication?: {
+ enabled: boolean;
+ type: AuthenticationType;
+ username?: string;
+ password?: string;
+ };
+};
+
+export type StorageConfiguration = {
+ enabled?: boolean;
+ type?: StorageType;
+ uri?: string;
+};
+
+export type WorkerConfiguration = {
+ processType?: WorkerProcessType;
+ startDelay?: number;
+ elementsPerWorker?: number;
+ elementStartDelay?: number;
+ poolMinSize?: number;
+ poolMaxSize?: number;
+ poolStrategy?: WorkerChoiceStrategy;
+};
+
+export type ConfigurationData = {
+ supervisionUrls?: string | string[];
+ supervisionUrlDistribution?: SupervisionUrlDistribution;
+ stationTemplateUrls: StationTemplateUrl[];
+ uiServer?: UIServerConfiguration;
+ performanceStorage?: StorageConfiguration;
+ worker?: WorkerConfiguration;