repositories
/
e-mobility-charging-stations-simulator.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Convert to a map connectors and their status
[e-mobility-charging-stations-simulator.git]
/
src
/
types
/
ConfigurationData.ts
diff --git
a/src/types/ConfigurationData.ts
b/src/types/ConfigurationData.ts
index 0570531dc5ccdb5c1bdbda9a544c5017a4c842ed..1a2dd165113188d52690eafb4ed5d4f64da553d5 100644
(file)
--- a/
src/types/ConfigurationData.ts
+++ b/
src/types/ConfigurationData.ts
@@
-1,19
+1,35
@@
+import { StorageType } from './Storage';
+import type { WorkerChoiceStrategy } from 'poolifier';
+import { WorkerProcessType } from './Worker';
+
export interface StationTemplateURL {
file: string;
numberOfStations: number;
}
export interface StationTemplateURL {
file: string;
numberOfStations: number;
}
+export interface StorageConfiguration {
+ enabled?: boolean;
+ type?: StorageType;
+ URI?: string;
+}
+
export default interface ConfigurationData {
supervisionURLs?: string[];
stationTemplateURLs: StationTemplateURL[];
export default interface ConfigurationData {
supervisionURLs?: string[];
stationTemplateURLs: StationTemplateURL[];
- statisticsDisplayInterval?: number;
- autoReconnectTimeout?: number;
+ performanceStorage?: StorageConfiguration;
autoReconnectMaxRetries?: number;
distributeStationsToTenantsEqually?: boolean;
autoReconnectMaxRetries?: number;
distributeStationsToTenantsEqually?: boolean;
- useWorkerPool?: boolean;
- workerPoolSize?: number;
+ workerProcess?: WorkerProcessType;
+ workerStartDelay?: number;
+ workerPoolMinSize?: number;
+ workerPoolMaxSize?: number;
+ workerPoolStrategy?: WorkerChoiceStrategy;
+ chargingStationsPerWorker?: number;
+ logStatisticsInterval?: number;
logFormat?: string;
logLevel?: string;
logFormat?: string;
logLevel?: string;
+ logRotate?: boolean;
+ logMaxFiles?: number;
logFile?: string;
logErrorFile?: string;
logConsole?: boolean;
logFile?: string;
logErrorFile?: string;
logConsole?: boolean;