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 125ecef636d693afc840fd16b35abde81308a0ec..1a2dd165113188d52690eafb4ed5d4f64da553d5 100644
(file)
--- a/
src/types/ConfigurationData.ts
+++ b/
src/types/ConfigurationData.ts
@@
-1,3
+1,5
@@
+import { StorageType } from './Storage';
+import type { WorkerChoiceStrategy } from 'poolifier';
import { WorkerProcessType } from './Worker';
export interface StationTemplateURL {
import { WorkerProcessType } from './Worker';
export interface StationTemplateURL {
@@
-5,17
+7,25
@@
export interface StationTemplateURL {
numberOfStations: number;
}
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;
- connectionTimeout?: number;
+ performanceStorage?: StorageConfiguration;
autoReconnectMaxRetries?: number;
distributeStationsToTenantsEqually?: boolean;
workerProcess?: WorkerProcessType;
autoReconnectMaxRetries?: number;
distributeStationsToTenantsEqually?: boolean;
workerProcess?: WorkerProcessType;
+ workerStartDelay?: number;
workerPoolMinSize?: number;
workerPoolMaxSize?: number;
workerPoolMinSize?: number;
workerPoolMaxSize?: number;
+ workerPoolStrategy?: WorkerChoiceStrategy;
chargingStationsPerWorker?: number;
chargingStationsPerWorker?: number;
+ logStatisticsInterval?: number;
logFormat?: string;
logLevel?: string;
logRotate?: boolean;
logFormat?: string;
logLevel?: string;
logRotate?: boolean;