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
Add chargePointSerialNumberPrefix support to CS template
[e-mobility-charging-stations-simulator.git]
/
src
/
types
/
ConfigurationData.ts
diff --git
a/src/types/ConfigurationData.ts
b/src/types/ConfigurationData.ts
index d218e08a3067917daa1a321e11281eef9c4affbd..94e65ed55d93f90c37fe361376bf96e5162e5b0b 100644
(file)
--- a/
src/types/ConfigurationData.ts
+++ b/
src/types/ConfigurationData.ts
@@
-3,7
+3,13
@@
import { StorageType } from './Storage';
import type { WorkerChoiceStrategy } from 'poolifier';
import { WorkerProcessType } from './Worker';
import type { WorkerChoiceStrategy } from 'poolifier';
import { WorkerProcessType } from './Worker';
-export interface StationTemplateURL {
+export enum SupervisionUrlDistribution {
+ ROUND_ROBIN = 'round-robin',
+ RANDOM = 'random',
+ SEQUENTIAL = 'sequential',
+}
+
+export interface StationTemplateUrl {
file: string;
numberOfStations: number;
}
file: string;
numberOfStations: number;
}
@@
-16,18
+22,19
@@
export interface UIWebSocketServerConfiguration {
export interface StorageConfiguration {
enabled?: boolean;
type?: StorageType;
export interface StorageConfiguration {
enabled?: boolean;
type?: StorageType;
-
URI
?: string;
+
uri
?: string;
}
export default interface ConfigurationData {
}
export default interface ConfigurationData {
- supervisionURLs?: string[];
- stationTemplateURLs: StationTemplateURL[];
+ supervisionUrls?: string | string[];
+ supervisionUrlDistribution?: SupervisionUrlDistribution;
+ stationTemplateUrls: StationTemplateUrl[];
uiWebSocketServer?: UIWebSocketServerConfiguration;
performanceStorage?: StorageConfiguration;
autoReconnectMaxRetries?: number;
uiWebSocketServer?: UIWebSocketServerConfiguration;
performanceStorage?: StorageConfiguration;
autoReconnectMaxRetries?: number;
- distributeStationsToTenantsEqually?: boolean;
workerProcess?: WorkerProcessType;
workerStartDelay?: number;
workerProcess?: WorkerProcessType;
workerStartDelay?: number;
+ elementStartDelay?: number;
workerPoolMinSize?: number;
workerPoolMaxSize?: number;
workerPoolStrategy?: WorkerChoiceStrategy;
workerPoolMinSize?: number;
workerPoolMaxSize?: number;
workerPoolStrategy?: WorkerChoiceStrategy;