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>
Jérôme Benoit [Tue, 13 Dec 2022 23:26:46 +0000 (00:26 +0100)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 11 Dec 2022 22:05:30 +0000 (23:05 +0100)]
Small cleanups in Utils.ts
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 11 Dec 2022 20:40:56 +0000 (21:40 +0100)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 9 Dec 2022 14:38:52 +0000 (15:38 +0100)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 8 Dec 2022 18:07:40 +0000 (19:07 +0100)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 7 Dec 2022 20:53:29 +0000 (21:53 +0100)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 7 Dec 2022 15:08:52 +0000 (16:08 +0100)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 5 Dec 2022 16:49:05 +0000 (17:49 +0100)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 4 Dec 2022 20:06:23 +0000 (21:06 +0100)]
Version 1.1.88
Jérôme Benoit [Sun, 4 Dec 2022 20:04:57 +0000 (21:04 +0100)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 3 Dec 2022 20:56:55 +0000 (21:56 +0100)]
Sync package-lock.json files
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 3 Dec 2022 17:34:19 +0000 (18:34 +0100)]
Merge pull request #296 from SAP/dependabot/npm_and_yarn/ui/web/apollo-server-core-3.11.1
dependabot[bot] [Sat, 3 Dec 2022 17:11:58 +0000 (17:11 +0000)]
Bump apollo-server-core from 3.10.1 to 3.11.1 in /ui/web
Bumps [apollo-server-core](https://github.com/apollographql/apollo-server/tree/HEAD/packages/apollo-server-core) from 3.10.1 to 3.11.1.
- [Release notes](https://github.com/apollographql/apollo-server/releases)
- [Changelog](https://github.com/apollographql/apollo-server/blob/apollo-server-core@3.11.1/CHANGELOG.md)
- [Commits](https://github.com/apollographql/apollo-server/commits/apollo-server-core@3.11.1/packages/apollo-server-core)
---
updated-dependencies:
- dependency-name: apollo-server-core
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Jérôme Benoit [Sat, 3 Dec 2022 17:10:44 +0000 (18:10 +0100)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 2 Dec 2022 17:47:17 +0000 (18:47 +0100)]
Regenerate ui/web/package-lock.json
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
dependabot[bot] [Fri, 2 Dec 2022 17:40:53 +0000 (18:40 +0100)]
Bump decode-uri-component from 0.2.0 to 0.2.2 in /ui/web (#295)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Jérôme Benoit [Fri, 2 Dec 2022 17:31:53 +0000 (18:31 +0100)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 30 Nov 2022 22:07:44 +0000 (23:07 +0100)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 30 Nov 2022 21:56:21 +0000 (22:56 +0100)]
README.md: properly format
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 30 Nov 2022 21:54:30 +0000 (22:54 +0100)]
Merge branch 'main' of github.com:SAP/e-mobility-charging-stations-simulator
Jérôme Benoit [Wed, 30 Nov 2022 21:53:39 +0000 (22:53 +0100)]
UI: remove unneeded dependency
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Ajinkya Patil [Tue, 29 Nov 2022 12:07:24 +0000 (13:07 +0100)]
Update README.md
Jérôme Benoit [Mon, 28 Nov 2022 21:31:44 +0000 (22:31 +0100)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 27 Nov 2022 10:30:22 +0000 (11:30 +0100)]
Refine worker exit with error message
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 26 Nov 2022 21:19:21 +0000 (22:19 +0100)]
Type alias for OCPP stack response and error handling
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 26 Nov 2022 20:55:49 +0000 (21:55 +0100)]
Fix OCPP response handling synchronicity
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 25 Nov 2022 21:25:00 +0000 (22:25 +0100)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 24 Nov 2022 21:29:10 +0000 (22:29 +0100)]
Remove soap from the OCPP protocol enum
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 24 Nov 2022 20:54:26 +0000 (21:54 +0100)]
Use new prettier --cache option
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 24 Nov 2022 17:26:23 +0000 (18:26 +0100)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 24 Nov 2022 15:41:24 +0000 (16:41 +0100)]
README.md: refine description
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>