Jérôme Benoit [Fri, 9 Sep 2022 21:53:52 +0000 (23:53 +0200)]
UI Protocol: fix payload merge
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 9 Sep 2022 21:47:04 +0000 (23:47 +0200)]
UI Protocol: add boot notification command support
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 9 Sep 2022 20:43:59 +0000 (22:43 +0200)]
Give Web UI its own code configuration
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 9 Sep 2022 20:02:05 +0000 (22:02 +0200)]
UI Server: Always delete reponse handler in error case
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 9 Sep 2022 12:21:45 +0000 (14:21 +0200)]
Version 1.1.72
Jérôme Benoit [Fri, 9 Sep 2022 12:13:36 +0000 (14:13 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 9 Sep 2022 10:14:36 +0000 (12:14 +0200)]
Refine scopes
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 9 Sep 2022 05:31:44 +0000 (07:31 +0200)]
UI Server: fix 'write after end' issue for real
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 9 Sep 2022 05:15:09 +0000 (07:15 +0200)]
UI Server: refine methods scope
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 9 Sep 2022 05:12:20 +0000 (07:12 +0200)]
UI Server: Improve error handling
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 8 Sep 2022 22:25:51 +0000 (00:25 +0200)]
UI protocol: update Insomnia requests collection
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 8 Sep 2022 22:13:44 +0000 (00:13 +0200)]
UI protocol: add meter values command
Reference #169
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 8 Sep 2022 20:07:15 +0000 (22:07 +0200)]
UI Server: factor out authentication code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 8 Sep 2022 18:56:07 +0000 (20:56 +0200)]
UI Server: Add a unique request handler for procedure forwarded to charging
stations via BC
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 8 Sep 2022 16:21:26 +0000 (18:21 +0200)]
UI Protocol: add Authorize command support
And also fix connector status init
Reference #169
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 8 Sep 2022 11:25:50 +0000 (13:25 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 8 Sep 2022 10:45:23 +0000 (12:45 +0200)]
Broadcast Channel: optimize requests handling implementation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 7 Sep 2022 22:16:21 +0000 (00:16 +0200)]
UI Server: factor out responses handling logic in abstract class
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 7 Sep 2022 21:10:00 +0000 (23:10 +0200)]
Check build requirements before all build types
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 7 Sep 2022 20:33:34 +0000 (22:33 +0200)]
UI Server: fix write after end
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 6 Sep 2022 21:02:23 +0000 (23:02 +0200)]
UI server: factor services registration
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 6 Sep 2022 19:50:47 +0000 (21:50 +0200)]
More strict boolean check
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 6 Sep 2022 18:02:14 +0000 (20:02 +0200)]
UI protocol: move Insomnia requests collection to its own directory
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 5 Sep 2022 23:48:33 +0000 (01:48 +0200)]
Add types to OCPP configuration key handling code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 5 Sep 2022 22:55:24 +0000 (00:55 +0200)]
UI server: do not crash at payload validation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 5 Sep 2022 21:33:47 +0000 (23:33 +0200)]
UI protocol: remove hashId field support to route requests
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 5 Sep 2022 21:10:33 +0000 (23:10 +0200)]
Version 1.1.71
Jérôme Benoit [Mon, 5 Sep 2022 21:04:15 +0000 (23:04 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 5 Sep 2022 20:51:12 +0000 (22:51 +0200)]
UI protocol: add OCPP heartbeat command support
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 5 Sep 2022 10:31:19 +0000 (12:31 +0200)]
ATG: fix start transaction counting (again)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 5 Sep 2022 09:29:06 +0000 (11:29 +0200)]
Add code settings for Web UI
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 5 Sep 2022 08:56:29 +0000 (10:56 +0200)]
Remove uneeded intermediate variable
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 5 Sep 2022 08:34:34 +0000 (10:34 +0200)]
Update Insomnia requests collection
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 5 Sep 2022 08:21:48 +0000 (10:21 +0200)]
ATG: fix start transaction counting with no authentication
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 5 Sep 2022 01:32:22 +0000 (03:32 +0200)]
Optimize energy active register calculation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 5 Sep 2022 01:25:15 +0000 (03:25 +0200)]
Simplify stop transaction payload handling
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 4 Sep 2022 22:50:34 +0000 (00:50 +0200)]
README.md: fix UI protocol documentation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 4 Sep 2022 22:44:53 +0000 (00:44 +0200)]
UI Services: add status notification command
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 4 Sep 2022 20:54:44 +0000 (22:54 +0200)]
UI protocol: Include failed responses
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 4 Sep 2022 20:23:01 +0000 (22:23 +0200)]
Version 1.1.70
Jérôme Benoit [Sun, 4 Sep 2022 20:21:48 +0000 (22:21 +0200)]
Strict boolean checks
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 4 Sep 2022 19:53:09 +0000 (21:53 +0200)]
ATG: fix start transaction requests counting
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 4 Sep 2022 15:09:45 +0000 (17:09 +0200)]
Coding style cleanups
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 4 Sep 2022 14:23:52 +0000 (16:23 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 4 Sep 2022 13:18:12 +0000 (15:18 +0200)]
README.md: update after Postman requests collection removal
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 4 Sep 2022 13:16:30 +0000 (15:16 +0200)]
UI services: update Insomnia requests collection for basic auth
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 4 Sep 2022 13:10:21 +0000 (15:10 +0200)]
UI services: Update Insomnia requests collection
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 4 Sep 2022 12:43:50 +0000 (14:43 +0200)]
WS UI Server: do not crash the server at authentication error
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 4 Sep 2022 12:32:31 +0000 (14:32 +0200)]
UI Server: factor out authentication logic
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 4 Sep 2022 11:59:47 +0000 (13:59 +0200)]
WS UI server: use error on socket destroy
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 4 Sep 2022 11:56:53 +0000 (13:56 +0200)]
UI server: add basic authentication support
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 3 Sep 2022 21:24:53 +0000 (23:24 +0200)]
Import cleanup
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 3 Sep 2022 21:10:48 +0000 (23:10 +0200)]
UI HTTP server: fix stop simulator response handling
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 3 Sep 2022 20:15:57 +0000 (22:15 +0200)]
UI services: fix connectors status update at transaction start/stop
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 3 Sep 2022 19:13:31 +0000 (21:13 +0200)]
UI services: fix broadcast channel reponse handler with one hashId only
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 3 Sep 2022 16:09:41 +0000 (18:09 +0200)]
README.md: update to reflect response payload format change on
listChargingStations
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 3 Sep 2022 15:30:53 +0000 (17:30 +0200)]
Imports cleanup
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 3 Sep 2022 15:16:55 +0000 (17:16 +0200)]
UI Protocol: Expose ATG status and use array for all list
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 2 Sep 2022 21:22:42 +0000 (23:22 +0200)]
README.md: formatting fixes
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 2 Sep 2022 21:16:33 +0000 (23:16 +0200)]
README.md: document added UI protocol features
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 2 Sep 2022 15:05:27 +0000 (17:05 +0200)]
UI server: refine attributes scope
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 2 Sep 2022 14:59:06 +0000 (16:59 +0200)]
UI Protocol: Build response with the global excecution status on each
charging station
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 2 Sep 2022 06:41:07 +0000 (08:41 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 1 Sep 2022 23:11:03 +0000 (01:11 +0200)]
Align 'started' attribute usage to all classes
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 1 Sep 2022 22:38:57 +0000 (00:38 +0200)]
Adapt BroadcastChannelRequestPayload type to addressing all CS
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 1 Sep 2022 22:29:06 +0000 (00:29 +0200)]
UI server: permit to address all charging stations
Not specifying hashIds in payload means all
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
dependabot[bot] [Thu, 1 Sep 2022 20:57:09 +0000 (22:57 +0200)]
Bump basic-ftp from 5.0.1 to 5.0.2 (#162)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Jérôme Benoit [Wed, 31 Aug 2022 21:28:15 +0000 (23:28 +0200)]
Web UI: add start/stop ATG command
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
dependabot[bot] [Wed, 31 Aug 2022 13:24:16 +0000 (15:24 +0200)]
Bump moment-timezone from 0.5.34 to 0.5.37 (#160)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 31 Aug 2022 09:44:19 +0000 (11:44 +0200)]
Version 1.1.69
Jérôme Benoit [Wed, 31 Aug 2022 09:31:50 +0000 (11:31 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 31 Aug 2022 00:29:22 +0000 (02:29 +0200)]
Fix two ATG semantic consistencies
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 30 Aug 2022 23:56:48 +0000 (01:56 +0200)]
UI Server: Add support for starting the ATG on defined connectors
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 30 Aug 2022 22:38:31 +0000 (00:38 +0200)]
Refine an ATG log message
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 30 Aug 2022 21:58:33 +0000 (23:58 +0200)]
Fix meterStop type in stop transaction payload
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 30 Aug 2022 21:02:23 +0000 (23:02 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 30 Aug 2022 20:06:36 +0000 (22:06 +0200)]
Fix charging station initialization order
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 30 Aug 2022 19:04:32 +0000 (21:04 +0200)]
Web UI: Fix NPE at template loading
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 30 Aug 2022 11:04:53 +0000 (13:04 +0200)]
Web UI: fix UT
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 30 Aug 2022 09:47:24 +0000 (11:47 +0200)]
Move hashId to stationInfo
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 29 Aug 2022 22:02:48 +0000 (00:02 +0200)]
Fix UI services Postman requests collection
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 29 Aug 2022 21:59:36 +0000 (23:59 +0200)]
Updat the Postman requests collection for the UI services
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 29 Aug 2022 21:37:33 +0000 (23:37 +0200)]
Add return type to methods
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 29 Aug 2022 21:33:25 +0000 (23:33 +0200)]
Add initial support to start/stop ATG with the UI services
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 29 Aug 2022 19:55:24 +0000 (21:55 +0200)]
Update Insomnia UI requests collection export
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 29 Aug 2022 19:32:00 +0000 (21:32 +0200)]
Cleanup Array.from() usage
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 29 Aug 2022 18:43:45 +0000 (20:43 +0200)]
README.md: spell fix
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 29 Aug 2022 18:25:51 +0000 (20:25 +0200)]
README.md: Fix sections hierarchy
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 29 Aug 2022 18:22:43 +0000 (20:22 +0200)]
README.md: sensible structure to UI protocol section
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 29 Aug 2022 18:18:49 +0000 (20:18 +0200)]
Add helper to serialize to JSON object with a map
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 29 Aug 2022 16:25:34 +0000 (18:25 +0200)]
Add UI protocol Insomnia project export instead of just the collection
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 29 Aug 2022 11:52:59 +0000 (13:52 +0200)]
README.md: add missing carriage return
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 29 Aug 2022 11:42:13 +0000 (13:42 +0200)]
Version 1.1.68
Jérôme Benoit [Mon, 29 Aug 2022 11:40:23 +0000 (13:40 +0200)]
Add Insomnia UI protocol collection
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 29 Aug 2022 09:59:50 +0000 (11:59 +0200)]
Avoid to reopen an already open WebSocket to the OCPP server
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 28 Aug 2022 22:31:47 +0000 (00:31 +0200)]
README.md: refine tooling URI
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 28 Aug 2022 22:01:24 +0000 (00:01 +0200)]
Fix UI WebSocket server protocol parsing at connection
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 28 Aug 2022 21:10:37 +0000 (23:10 +0200)]
Refine UI protocol documentation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 28 Aug 2022 15:25:49 +0000 (17:25 +0200)]
Web UI: fix NPE on connectors
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 28 Aug 2022 14:56:07 +0000 (16:56 +0200)]
Uniformize log messages, take 2
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>