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
refactor(simulator): propagate and handle startup error at callee
[e-mobility-charging-stations-simulator.git]
/
src
/
types
/
ConfigurationData.ts
diff --git
a/src/types/ConfigurationData.ts
b/src/types/ConfigurationData.ts
index ba9fb14ce993430379facda2f77d376e00e48a15..b629dd3b0230fb116a73911a971c2ed7adb0a7c9 100644
(file)
--- a/
src/types/ConfigurationData.ts
+++ b/
src/types/ConfigurationData.ts
@@
-11,7
+11,7
@@
export type ServerOptions = ListenOptions;
export enum SupervisionUrlDistribution {
ROUND_ROBIN = 'round-robin',
RANDOM = 'random',
export enum SupervisionUrlDistribution {
ROUND_ROBIN = 'round-robin',
RANDOM = 'random',
-
SEQUENTIAL = 'sequential
',
+
CHARGING_STATION_AFFINITY = 'charging-station-affinity
',
}
export type StationTemplateUrl = {
}
export type StationTemplateUrl = {
@@
-55,25
+55,26
@@
export type ConfigurationData = {
performanceStorage?: StorageConfiguration;
worker?: WorkerConfiguration;
autoReconnectMaxRetries?: number;
performanceStorage?: StorageConfiguration;
worker?: WorkerConfiguration;
autoReconnectMaxRetries?: number;
- /
/ deprecated
+ /
** @deprecated Moved to worker configuration section. */
workerProcess?: WorkerProcessType;
workerProcess?: WorkerProcessType;
- /
/ deprecated
+ /
** @deprecated Moved to worker configuration section. */
workerStartDelay?: number;
workerStartDelay?: number;
- /
/ deprecated
+ /
** @deprecated Moved to worker configuration section. */
elementStartDelay?: number;
elementStartDelay?: number;
- /
/ deprecated
+ /
** @deprecated Moved to worker configuration section. */
workerPoolMinSize?: number;
workerPoolMinSize?: number;
- /
/ deprecated
+ /
** @deprecated Moved to worker configuration section. */
workerPoolMaxSize?: number;
workerPoolMaxSize?: number;
- /
/ deprecated
+ /
** @deprecated Moved to worker configuration section. */
workerPoolStrategy?: WorkerChoiceStrategy;
workerPoolStrategy?: WorkerChoiceStrategy;
- /
/ deprecated
+ /
** @deprecated Moved to worker configuration section. */
chargingStationsPerWorker?: number;
logStatisticsInterval?: number;
logFormat?: string;
logLevel?: string;
logRotate?: boolean;
chargingStationsPerWorker?: number;
logStatisticsInterval?: number;
logFormat?: string;
logLevel?: string;
logRotate?: boolean;
- logMaxFiles?: number;
+ logMaxFiles?: number | string;
+ logMaxSize?: number | string;
logFile?: string;
logErrorFile?: string;
logConsole?: boolean;
logFile?: string;
logErrorFile?: string;
logConsole?: boolean;