Jérôme Benoit [Sat, 14 Jan 2023 19:37:57 +0000 (20:37 +0100)]
Improve charging profiles handling debug logs
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 14 Jan 2023 19:00:41 +0000 (20:00 +0100)]
Fix all misused promises
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 14 Jan 2023 18:36:34 +0000 (19:36 +0100)]
Cleanup some helpers defaults values
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 14 Jan 2023 13:49:24 +0000 (14:49 +0100)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 14 Jan 2023 00:29:44 +0000 (01:29 +0100)]
Fix OCPP request payloads building
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 13 Jan 2023 20:03:57 +0000 (21:03 +0100)]
Cleanup CF manifest template
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 13 Jan 2023 19:56:46 +0000 (20:56 +0100)]
Allow to specify more OCPP command payload fields while using the UI
server
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 13 Jan 2023 10:37:19 +0000 (11:37 +0100)]
Allow to specify timestamp in OCPP commands payload with the UI Server
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 12 Jan 2023 18:59:43 +0000 (19:59 +0100)]
Linter fixes
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 12 Jan 2023 18:52:22 +0000 (19:52 +0100)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 12 Jan 2023 10:27:41 +0000 (11:27 +0100)]
Remove unneeded intermediate variable
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 12 Jan 2023 10:14:02 +0000 (11:14 +0100)]
Properly build once the firmwareUpgrade default values
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 11 Jan 2023 20:08:04 +0000 (21:08 +0100)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 11 Jan 2023 19:57:12 +0000 (20:57 +0100)]
Fix firmware update OCPP command handling and simulation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 11 Jan 2023 18:57:39 +0000 (19:57 +0100)]
Implement firmwareUpgrade CS template section support
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 11 Jan 2023 16:25:50 +0000 (17:25 +0100)]
Cleanup OCPP types namespace
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 10 Jan 2023 23:19:38 +0000 (00:19 +0100)]
Convert some type definitions to type syntax
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 10 Jan 2023 22:33:53 +0000 (23:33 +0100)]
Initial cleanup at loading JSON schemas
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 10 Jan 2023 21:14:19 +0000 (22:14 +0100)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 9 Jan 2023 23:36:59 +0000 (00:36 +0100)]
Add StatusNotification command to OCPP 2.0.1 stack
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 9 Jan 2023 21:46:56 +0000 (22:46 +0100)]
Add Hearbeat command to OCPP 2.0.1
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 9 Jan 2023 21:03:39 +0000 (22:03 +0100)]
Factor out some common code between OCPP 1.6 and 2.0.1 stack
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 9 Jan 2023 20:37:50 +0000 (21:37 +0100)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 9 Jan 2023 16:45:02 +0000 (17:45 +0100)]
CHANGELOG.md: spell fixes
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 9 Jan 2023 16:34:12 +0000 (17:34 +0100)]
Version 1.1.89
Jérôme Benoit [Mon, 9 Jan 2023 16:24:28 +0000 (17:24 +0100)]
README.md: fix configuration path links
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 9 Jan 2023 16:19:04 +0000 (17:19 +0100)]
README.md: update to reflect enableStatistics default value change
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 9 Jan 2023 15:48:31 +0000 (16:48 +0100)]
Fix error propagation into the UI server
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 9 Jan 2023 12:42:49 +0000 (13:42 +0100)]
Bump patch level is firmware version at reboot at firmware update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 8 Jan 2023 23:34:26 +0000 (00:34 +0100)]
Disable performance statistics by default
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 8 Jan 2023 23:14:16 +0000 (00:14 +0100)]
Add stop transaction reason at firmware update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 8 Jan 2023 23:09:05 +0000 (00:09 +0100)]
Add initial support for OCPP 1.6 firmware update simulation
Reference #169 and #36
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 8 Jan 2023 19:26:55 +0000 (20:26 +0100)]
Buffer OCPP message when an error occur at sending it
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 8 Jan 2023 15:04:42 +0000 (16:04 +0100)]
Add incoming request response sent payloads validatio
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 8 Jan 2023 12:54:22 +0000 (13:54 +0100)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 8 Jan 2023 11:48:58 +0000 (12:48 +0100)]
Add OCA security whitepaper JSON schemas
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 8 Jan 2023 11:37:21 +0000 (12:37 +0100)]
Rename the variable used to build CS hashId
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 8 Jan 2023 08:33:18 +0000 (09:33 +0100)]
Fixes to OCPP commands PDU validation code:
+ Validate helper for sent response
+ Simplify JSON schemas handling
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 7 Jan 2023 22:27:54 +0000 (23:27 +0100)]
Add missing OCPP 1.6 command payload OCA JSON schemas
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 7 Jan 2023 19:52:30 +0000 (20:52 +0100)]
Fixes to OCA OCPP 2.0.1 JSON schemas
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 7 Jan 2023 16:49:52 +0000 (17:49 +0100)]
README.md: Refine list of OCPP versions
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 7 Jan 2023 16:43:51 +0000 (17:43 +0100)]
README.md: refine tunable values
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 7 Jan 2023 16:38:33 +0000 (17:38 +0100)]
Move date conversion to ISO string helper to utils class
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 7 Jan 2023 16:12:43 +0000 (17:12 +0100)]
Fixes to OCPP command payload validation:
+ Fix multipleOf precision
+ Convert to ISO 8601 string date object in payload before validation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 6 Jan 2023 22:09:08 +0000 (23:09 +0100)]
Remove now useless Date conversions to string
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 6 Jan 2023 21:43:40 +0000 (22:43 +0100)]
Fixes to OCPP 1.6 payload type definitions
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 6 Jan 2023 20:24:59 +0000 (21:24 +0100)]
Move OCPP command payload constants into its own file
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 6 Jan 2023 13:49:48 +0000 (14:49 +0100)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 5 Jan 2023 21:38:21 +0000 (22:38 +0100)]
Cleanup rollup bundler externals
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 5 Jan 2023 21:27:02 +0000 (22:27 +0100)]
Add missing OCPP 1.6 command payload JSON schemas
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 5 Jan 2023 21:12:53 +0000 (22:12 +0100)]
Migrate all JSON schemas to draft-06 or higher
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 5 Jan 2023 20:25:06 +0000 (21:25 +0100)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 5 Jan 2023 19:02:19 +0000 (20:02 +0100)]
Import cleanups
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 5 Jan 2023 18:29:52 +0000 (19:29 +0100)]
Add BootNotification and ClearCache OCPP 2.0.1 commands support
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 4 Jan 2023 23:11:51 +0000 (00:11 +0100)]
Whitespace cleanup in log messages
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 4 Jan 2023 22:15:23 +0000 (23:15 +0100)]
Simplify statistics map typing at init
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 4 Jan 2023 21:23:49 +0000 (22:23 +0100)]
Hook the OCPP 2.0 stack into the main code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 4 Jan 2023 19:42:07 +0000 (20:42 +0100)]
Add initial classes structure for the OCPP 2.0 stack
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 4 Jan 2023 17:57:31 +0000 (18:57 +0100)]
More import type usage
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 4 Jan 2023 15:16:03 +0000 (16:16 +0100)]
Use import type in more places
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 4 Jan 2023 14:51:28 +0000 (15:51 +0100)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Tue, 3 Jan 2023 20:30:17 +0000 (21:30 +0100)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 3 Jan 2023 20:26:09 +0000 (21:26 +0100)]
Merge pull request #341 from martinknechtel/patch-1
Thanks.
Jérôme Benoit [Tue, 3 Jan 2023 20:11:33 +0000 (21:11 +0100)]
Merge branch 'main' into patch-1
Jérôme Benoit [Tue, 3 Jan 2023 18:00:35 +0000 (19:00 +0100)]
Silence one eslint warning
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Martin Knechtel [Tue, 3 Jan 2023 14:57:27 +0000 (15:57 +0100)]
add screenshot
Martin Knechtel [Tue, 3 Jan 2023 14:52:52 +0000 (15:52 +0100)]
Add instructions to try out Web UI
Jérôme Benoit [Tue, 3 Jan 2023 14:20:34 +0000 (15:20 +0100)]
Optimize worker handlers calls by binding them to the current instance
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 2 Jan 2023 20:12:53 +0000 (21:12 +0100)]
WorkerSet: remove ugly hack to deal with async worker message handler
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 2 Jan 2023 08:15:33 +0000 (09:15 +0100)]
Comment out performance statistics debug code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 1 Jan 2023 15:23:15 +0000 (16:23 +0100)]
Fix WebSocket types usage
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 1 Jan 2023 12:14:56 +0000 (13:14 +0100)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 31 Dec 2022 21:34:23 +0000 (22:34 +0100)]
Handle null or undefined meterStart and meterStop properly
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 30 Dec 2022 15:55:43 +0000 (16:55 +0100)]
Add initial code structure for update firmware simulation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 29 Dec 2022 22:48:03 +0000 (23:48 +0100)]
Ensure number conversion helpers do not return NaN
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 29 Dec 2022 12:33:03 +0000 (13:33 +0100)]
README.md: fixlet to units acronym
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 29 Dec 2022 11:20:35 +0000 (12:20 +0100)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 29 Dec 2022 10:37:48 +0000 (11:37 +0100)]
Fix link in ui/web/README.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 29 Dec 2022 10:33:28 +0000 (11:33 +0100)]
Document simulator configuration for Web UI usage.
Reference: #333
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 28 Dec 2022 20:47:47 +0000 (21:47 +0100)]
Fixes to performance:
+ Clear measure after usage
+ Log statistics map properly
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 27 Dec 2022 19:28:22 +0000 (20:28 +0100)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 26 Dec 2022 19:39:06 +0000 (20:39 +0100)]
Remove unneeded connexion URLs shallow copy
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 24 Dec 2022 10:33:45 +0000 (11:33 +0100)]
Document template directive 'firmwareVersionPattern'
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 23 Dec 2022 21:07:23 +0000 (22:07 +0100)]
Refine some templates handling log messages
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 23 Dec 2022 20:57:15 +0000 (21:57 +0100)]
README.md: add link to winston repo
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 23 Dec 2022 20:50:05 +0000 (21:50 +0100)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 23 Dec 2022 18:38:07 +0000 (19:38 +0100)]
Cleanups uneeded encapsulating methods
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 23 Dec 2022 17:25:30 +0000 (18:25 +0100)]
Switch to more efficient object deep cloning and shallow merging
implementations
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 23 Dec 2022 15:20:34 +0000 (16:20 +0100)]
Document log rotation directives
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 23 Dec 2022 13:44:43 +0000 (14:44 +0100)]
Add configuration directive for the maximum log files size
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Thu, 22 Dec 2022 23:38:49 +0000 (00:38 +0100)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 20 Dec 2022 17:14:20 +0000 (18:14 +0100)]
UT: improve RNG tests
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 20 Dec 2022 13:53:06 +0000 (14:53 +0100)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 18 Dec 2022 12:16:15 +0000 (13:16 +0100)]
UI Server: refine Insomnia WS requests collection
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 18 Dec 2022 10:43:54 +0000 (11:43 +0100)]
Fix charging station started status detection
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 17 Dec 2022 20:41:22 +0000 (21:41 +0100)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 17 Dec 2022 20:36:48 +0000 (21:36 +0100)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 17 Dec 2022 19:50:04 +0000 (20:50 +0100)]
UI Server: add WS Insomnia requests collection
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 17 Dec 2022 19:24:41 +0000 (20:24 +0100)]
UI Server: fix connection upgrade error handling
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 17 Dec 2022 11:58:15 +0000 (12:58 +0100)]
Apply depedencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>