refactor(simulator): switch utils to internal module export/import
authorJérôme Benoit <jerome.benoit@sap.com>
Mon, 13 Feb 2023 21:50:10 +0000 (22:50 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Mon, 13 Feb 2023 21:50:10 +0000 (22:50 +0100)
commit60a743910478b70e39dcefa5e1b752ec8a93880e
tree9232a5b11d8b70b85be1ad0ee375c18208b4626e
parent2896e06dc8d72adf7150b23c941079f622f6f37c
refactor(simulator): switch utils to internal module export/import
     design pattern

utils UTs need fixing

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
42 files changed:
mikro-orm.config-template.ts
src/charging-station/AuthorizedTagsCache.ts
src/charging-station/AutomaticTransactionGenerator.ts
src/charging-station/Bootstrap.ts
src/charging-station/ChargingStation.ts
src/charging-station/ChargingStationConfigurationUtils.ts
src/charging-station/ChargingStationUtils.ts
src/charging-station/ChargingStationWorker.ts
src/charging-station/ChargingStationWorkerBroadcastChannel.ts
src/charging-station/SharedLRUCache.ts
src/charging-station/UIServiceWorkerBroadcastChannel.ts
src/charging-station/WorkerBroadcastChannel.ts
src/charging-station/ocpp/1.6/OCPP16IncomingRequestService.ts
src/charging-station/ocpp/1.6/OCPP16RequestService.ts
src/charging-station/ocpp/1.6/OCPP16ResponseService.ts
src/charging-station/ocpp/1.6/OCPP16ServiceUtils.ts
src/charging-station/ocpp/2.0/OCPP20IncomingRequestService.ts
src/charging-station/ocpp/2.0/OCPP20RequestService.ts
src/charging-station/ocpp/2.0/OCPP20ResponseService.ts
src/charging-station/ocpp/OCPPIncomingRequestService.ts
src/charging-station/ocpp/OCPPRequestService.ts
src/charging-station/ocpp/OCPPResponseService.ts
src/charging-station/ocpp/OCPPServiceUtils.ts
src/charging-station/ui-server/UIHttpServer.ts
src/charging-station/ui-server/UIServerFactory.ts
src/charging-station/ui-server/UIServerUtils.ts
src/charging-station/ui-server/UIWebSocketServer.ts
src/charging-station/ui-server/ui-services/AbstractUIService.ts
src/performance/PerformanceStatistics.ts
src/performance/storage/JsonFileStorage.ts
src/performance/storage/MikroOrmStorage.ts
src/performance/storage/MongoDBStorage.ts
src/performance/storage/Storage.ts
src/types/MeasurandPerPhaseSampledValueTemplates.ts
src/types/Statistics.ts
src/utils/Configuration.ts
src/utils/FileUtils.ts
src/utils/Logger.ts
src/utils/Utils.ts
src/utils/index.ts [new file with mode: 0644]
src/utils/internal.ts [new file with mode: 0644]
test/utils/UtilsTest.ts