Jérôme Benoit [Fri, 4 Mar 2022 13:20:11 +0000 (14:20 +0100)]
Enhance default value for worker options handling
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 4 Mar 2022 12:19:58 +0000 (13:19 +0100)]
Align constants namespace
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 4 Mar 2022 12:11:43 +0000 (13:11 +0100)]
Version 1.1.49
Jérôme Benoit [Fri, 4 Mar 2022 12:09:28 +0000 (13:09 +0100)]
Cleanup worker internal API
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 3 Mar 2022 23:01:34 +0000 (00:01 +0100)]
WorkerSet: consolidate the worker start delay code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 3 Mar 2022 17:21:42 +0000 (18:21 +0100)]
Refine start options types
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 3 Mar 2022 16:53:19 +0000 (17:53 +0100)]
Add tunable for charging station start delay for linear ramp up
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 26 Feb 2022 14:11:32 +0000 (15:11 +0100)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 24 Feb 2022 16:03:35 +0000 (17:03 +0100)]
Version 1.1.48
Jérôme Benoit [Thu, 24 Feb 2022 13:34:01 +0000 (14:34 +0100)]
Do not throw an error at OCPP message sending to avoid crashing the
worker
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 24 Feb 2022 10:11:46 +0000 (11:11 +0100)]
Factor out a type definition
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 23 Feb 2022 16:28:39 +0000 (17:28 +0100)]
Track OCPP commande use at sending error message
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 22 Feb 2022 19:14:25 +0000 (20:14 +0100)]
Fix a module name string
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 22 Feb 2022 19:01:26 +0000 (20:01 +0100)]
Cleanup OCPP service module name usage
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 22 Feb 2022 05:52:09 +0000 (06:52 +0100)]
Ensure 1:1 mapping between charging station and ATG instances
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 21 Feb 2022 23:07:33 +0000 (00:07 +0100)]
Refactor OCPP requests sending helpers
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 21 Feb 2022 20:31:35 +0000 (21:31 +0100)]
Refine a bit OCPP services instantiation error message
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 21 Feb 2022 20:12:00 +0000 (21:12 +0100)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 21 Feb 2022 19:52:29 +0000 (20:52 +0100)]
Ensure 1:1 mapping between charging station instance and its OCPP services
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 18 Feb 2022 10:31:08 +0000 (11:31 +0100)]
Add return type to getLogger
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 17 Feb 2022 16:40:03 +0000 (17:40 +0100)]
Enforce singleton design pattern for the logger
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 13 Feb 2022 20:00:25 +0000 (21:00 +0100)]
Add charging station instance id
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 11 Feb 2022 16:03:47 +0000 (17:03 +0100)]
Blank line cleanup
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 10 Feb 2022 18:58:34 +0000 (19:58 +0100)]
Version 1.1.47
Jérôme Benoit [Thu, 10 Feb 2022 15:01:07 +0000 (16:01 +0100)]
Reorder JsonType declarations
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 9 Feb 2022 23:10:37 +0000 (00:10 +0100)]
Simplify some code logic
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 9 Feb 2022 17:10:13 +0000 (18:10 +0100)]
Use right registration enum at OCPP 1.6 boot notification response
handling
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 9 Feb 2022 17:00:44 +0000 (18:00 +0100)]
Add occpStrictCompliance template tunable
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 8 Feb 2022 17:05:33 +0000 (18:05 +0100)]
Version 1.1.46
Jérôme Benoit [Tue, 8 Feb 2022 17:01:38 +0000 (18:01 +0100)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 8 Feb 2022 13:39:12 +0000 (14:39 +0100)]
Silence one code smell
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 8 Feb 2022 12:20:32 +0000 (13:20 +0100)]
Refine JsonType definition
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 7 Feb 2022 19:44:21 +0000 (20:44 +0100)]
Relax OCPP commands acceptance while the charging station is in unknown
state
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 7 Feb 2022 14:24:50 +0000 (15:24 +0100)]
Version 1.1.45
Jérôme Benoit [Mon, 7 Feb 2022 13:39:21 +0000 (14:39 +0100)]
Add comment for incoming request handling behaviour
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 7 Feb 2022 13:36:16 +0000 (14:36 +0100)]
Allow incoming ChangeConfiguration requests before the registration on
OCPP server
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 7 Feb 2022 10:16:59 +0000 (11:16 +0100)]
Fix charging station initial registration at boot notification
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 6 Feb 2022 10:15:39 +0000 (11:15 +0100)]
Fix build due to winston types definition fix
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 6 Feb 2022 10:13:07 +0000 (11:13 +0100)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 6 Feb 2022 09:24:47 +0000 (10:24 +0100)]
Strong type protocols payloads
And fix related bugs
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 4 Feb 2022 23:23:25 +0000 (00:23 +0100)]
Reorder condition check
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 4 Feb 2022 22:55:29 +0000 (23:55 +0100)]
Code cleanup
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 4 Feb 2022 22:54:57 +0000 (23:54 +0100)]
Fix build failure
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 4 Feb 2022 22:47:09 +0000 (23:47 +0100)]
Fix request and response handling in all registration state
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 4 Feb 2022 17:45:01 +0000 (18:45 +0100)]
Fix PENDING state boot notification handling
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 4 Feb 2022 15:19:26 +0000 (16:19 +0100)]
Introduce JSON type and use it for OCPP and internal message structure
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 4 Feb 2022 09:36:40 +0000 (10:36 +0100)]
Enhance log message on supervision url distribution
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 1 Feb 2022 14:20:54 +0000 (15:20 +0100)]
Unify supervision urls setup and distribution to charging stations
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Mon, 31 Jan 2022 11:31:18 +0000 (12:31 +0100)]
Fix build due to winston types definition
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 31 Jan 2022 11:09:50 +0000 (12:09 +0100)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 20 Jan 2022 15:11:21 +0000 (16:11 +0100)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 10 Jan 2022 19:23:38 +0000 (20:23 +0100)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 7 Jan 2022 16:05:59 +0000 (17:05 +0100)]
Add node version 17 to CI
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 6 Jan 2022 16:57:23 +0000 (17:57 +0100)]
Update dependencies
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 5 Jan 2022 17:27:57 +0000 (18:27 +0100)]
Version 1.1.44
Jérôme Benoit [Wed, 5 Jan 2022 14:14:46 +0000 (15:14 +0100)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 2 Jan 2022 10:08:12 +0000 (11:08 +0100)]
Reorganize more sensibly types definition
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sun, 2 Jan 2022 09:49:40 +0000 (10:49 +0100)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 30 Dec 2021 08:28:24 +0000 (09:28 +0100)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 28 Dec 2021 13:01:55 +0000 (14:01 +0100)]
Version 1.1.43
Jérôme Benoit [Tue, 28 Dec 2021 12:55:12 +0000 (13:55 +0100)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 27 Dec 2021 12:59:51 +0000 (13:59 +0100)]
Rename UiProtocol.ts to UIProtocol.ts
Jérôme Benoit [Mon, 27 Dec 2021 12:30:18 +0000 (13:30 +0100)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 25 Dec 2021 21:00:28 +0000 (22:00 +0100)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 21 Dec 2021 15:20:22 +0000 (16:20 +0100)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 20 Dec 2021 16:06:31 +0000 (17:06 +0100)]
Version 1.1.42
Jérôme Benoit [Mon, 20 Dec 2021 16:05:18 +0000 (17:05 +0100)]
Refine autoRegister CS template tunable handling
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sun, 19 Dec 2021 17:53:10 +0000 (18:53 +0100)]
Version 1.1.41
Jérôme Benoit [Sun, 19 Dec 2021 17:32:40 +0000 (18:32 +0100)]
Check for CS registration status before issuing OCPP commands
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 15 Dec 2021 14:23:54 +0000 (15:23 +0100)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 13 Dec 2021 14:31:53 +0000 (15:31 +0100)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 10 Dec 2021 13:38:47 +0000 (14:38 +0100)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 9 Dec 2021 14:50:06 +0000 (15:50 +0100)]
Version 1.1.40
Jérôme Benoit [Thu, 9 Dec 2021 14:28:52 +0000 (15:28 +0100)]
Fix default configuration handling on some sections
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Thu, 9 Dec 2021 10:27:28 +0000 (11:27 +0100)]
Try to propagate error on configuration file reload.
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 8 Dec 2021 15:51:32 +0000 (16:51 +0100)]
Version 1.1.39
Jérôme Benoit [Wed, 8 Dec 2021 15:47:52 +0000 (16:47 +0100)]
Properly default also the performance storage enablement
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 8 Dec 2021 14:47:12 +0000 (15:47 +0100)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Tue, 7 Dec 2021 18:48:55 +0000 (19:48 +0100)]
Version 1.1.38
Jérôme Benoit [Tue, 7 Dec 2021 18:46:45 +0000 (19:46 +0100)]
Merge branch 'master' of github.com:jerome-benoit/charging-stations-simulator
Jérôme Benoit [Tue, 7 Dec 2021 18:46:09 +0000 (19:46 +0100)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Tue, 7 Dec 2021 15:34:14 +0000 (16:34 +0100)]
Merge pull request #112 from jerome-benoit/fix-template
Jérôme Benoit [Tue, 7 Dec 2021 15:31:02 +0000 (16:31 +0100)]
Merge branch 'master' into fix-template
captaineaglex [Tue, 7 Dec 2021 13:45:57 +0000 (16:45 +0300)]
fix performanceStorage type assignment when not present
Jérôme Benoit [Tue, 7 Dec 2021 10:52:31 +0000 (11:52 +0100)]
Rename UIProtocol.ts to UiProtocol.ts
captaineaglex [Tue, 7 Dec 2021 10:40:00 +0000 (13:40 +0300)]
add performanceStorageType to config-template
Jérôme Benoit [Mon, 6 Dec 2021 23:02:09 +0000 (00:02 +0100)]
Rename MikroORMStorage.ts to MikroOrmStorage.ts
Jérôme Benoit [Mon, 6 Dec 2021 23:01:46 +0000 (00:01 +0100)]
Rename JSONFileStorage.ts to JsonFileStorage.ts
Jérôme Benoit [Mon, 6 Dec 2021 22:55:44 +0000 (23:55 +0100)]
Use camel case in more place
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Mon, 6 Dec 2021 21:34:11 +0000 (22:34 +0100)]
Version 1.1.37
Jérôme Benoit [Mon, 6 Dec 2021 21:17:50 +0000 (22:17 +0100)]
Use camel case everywhere
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Thu, 2 Dec 2021 15:01:59 +0000 (16:01 +0100)]
package-lock.json: sync
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 2 Dec 2021 13:46:23 +0000 (14:46 +0100)]
Consistently name directories in repository
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Thu, 2 Dec 2021 13:28:34 +0000 (14:28 +0100)]
Version 1.1.36
Jérôme Benoit [Thu, 2 Dec 2021 07:28:05 +0000 (08:28 +0100)]
UI WS server: use a map to store UI services per protocol version
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 1 Dec 2021 22:01:39 +0000 (23:01 +0100)]
package-lock.json: update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 1 Dec 2021 20:20:12 +0000 (21:20 +0100)]
Run sonar cloud with current node.js LTS version
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 1 Dec 2021 16:58:34 +0000 (17:58 +0100)]
Switch to current node.js LTS version
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 1 Dec 2021 12:25:02 +0000 (13:25 +0100)]
README.md: document the UI WS server configuration section
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 1 Dec 2021 12:07:27 +0000 (13:07 +0100)]
Add a configuration section for the UI WS server
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>