X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2FConfigurationData.ts;h=1a2dd165113188d52690eafb4ed5d4f64da553d5;hb=ae8ee665e864460d582b7f6d501b25225a1d7a4c;hp=91437807a629363c6df60260c4397fe1d4916726;hpb=9ccca265277990663dad8ad0573b7c283e221c6f;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/ConfigurationData.ts b/src/types/ConfigurationData.ts index 91437807..1a2dd165 100644 --- a/src/types/ConfigurationData.ts +++ b/src/types/ConfigurationData.ts @@ -1,3 +1,4 @@ +import { StorageType } from './Storage'; import type { WorkerChoiceStrategy } from 'poolifier'; import { WorkerProcessType } from './Worker'; @@ -6,10 +7,16 @@ export interface StationTemplateURL { numberOfStations: number; } +export interface StorageConfiguration { + enabled?: boolean; + type?: StorageType; + URI?: string; +} + export default interface ConfigurationData { supervisionURLs?: string[]; stationTemplateURLs: StationTemplateURL[]; - statisticsDisplayInterval?: number; + performanceStorage?: StorageConfiguration; autoReconnectMaxRetries?: number; distributeStationsToTenantsEqually?: boolean; workerProcess?: WorkerProcessType; @@ -18,6 +25,7 @@ export default interface ConfigurationData { workerPoolMaxSize?: number; workerPoolStrategy?: WorkerChoiceStrategy; chargingStationsPerWorker?: number; + logStatisticsInterval?: number; logFormat?: string; logLevel?: string; logRotate?: boolean;