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>
Jérôme Benoit [Sun, 28 Aug 2022 13:59:08 +0000 (15:59 +0200)]
Uniformize log messages format
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 28 Aug 2022 11:43:38 +0000 (13:43 +0200)]
Web UI: configuration namespace cleanup
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 28 Aug 2022 11:29:55 +0000 (13:29 +0200)]
Add postman collection for UI HTPP server
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 27 Aug 2022 23:07:01 +0000 (01:07 +0200)]
Ensure charging station data is always JSON serializable
And fix/improve logging messages
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 27 Aug 2022 20:31:49 +0000 (22:31 +0200)]
Web UI: cleanup commented out code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 27 Aug 2022 19:41:12 +0000 (21:41 +0200)]
Add dashboard to the docker image build
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 27 Aug 2022 17:02:03 +0000 (19:02 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 27 Aug 2022 16:42:40 +0000 (18:42 +0200)]
Fix build
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 27 Aug 2022 16:30:45 +0000 (18:30 +0200)]
Add the source charging station that emits a response to broadcast channel
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 27 Aug 2022 16:01:19 +0000 (18:01 +0200)]
Web UI: rename some directories to a sensible name
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 27 Aug 2022 15:20:30 +0000 (17:20 +0200)]
Remove debug cod
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 27 Aug 2022 13:48:54 +0000 (15:48 +0200)]
UI server: fix HTTP transport start/stop
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 27 Aug 2022 12:54:14 +0000 (14:54 +0200)]
Recommend only supported vue.js code extensions
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 27 Aug 2022 12:44:20 +0000 (14:44 +0200)]
Web UI: add one UT
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 27 Aug 2022 12:00:56 +0000 (14:00 +0200)]
Refine TS and linter configuration
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 27 Aug 2022 10:09:23 +0000 (12:09 +0200)]
UI Server: dedupe some code in helpers
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 27 Aug 2022 09:26:40 +0000 (11:26 +0200)]
UI server: logging and code refinements
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 26 Aug 2022 22:38:32 +0000 (00:38 +0200)]
UI Server: factor out reponse status to http status code helper
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 26 Aug 2022 22:23:47 +0000 (00:23 +0200)]
UI server: comment and code cleanups
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 26 Aug 2022 22:04:52 +0000 (00:04 +0200)]
Fix http-status-codes import
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 26 Aug 2022 21:53:46 +0000 (23:53 +0200)]
Add UI HTTP server (#6)
Jérôme Benoit [Fri, 26 Aug 2022 12:12:06 +0000 (14:12 +0200)]
Version 1.1.67
Jérôme Benoit [Fri, 26 Aug 2022 12:10:05 +0000 (14:10 +0200)]
Web UI: Refine documentation and code cleanup
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 26 Aug 2022 10:24:08 +0000 (12:24 +0200)]
Web UI: display charging stations' registration status
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 26 Aug 2022 10:06:17 +0000 (12:06 +0200)]
Web UI: method namespace cleanup
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 26 Aug 2022 09:56:04 +0000 (11:56 +0200)]
Web UI: add and fix support for start/stop charging station
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 26 Aug 2022 09:21:50 +0000 (11:21 +0200)]
Version 1.1.66
Jérôme Benoit [Fri, 26 Aug 2022 09:15:05 +0000 (11:15 +0200)]
Web UI: add and fix missing commands support
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 25 Aug 2022 15:41:37 +0000 (17:41 +0200)]
UI protocol: Allow to send some relevant commands to several charging… (#152)
Jérôme Benoit [Thu, 25 Aug 2022 12:55:54 +0000 (14:55 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 25 Aug 2022 04:07:33 +0000 (06:07 +0200)]
Cleanup WorkerMessageEvents enum
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 25 Aug 2022 03:50:54 +0000 (05:50 +0200)]
Fix UI protocol type definitions
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 24 Aug 2022 20:36:24 +0000 (22:36 +0200)]
Fix exit conditions at startup
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 24 Aug 2022 20:10:01 +0000 (22:10 +0200)]
Improve payload type checking in OCPP, UI and Broadcast Channel
protocols
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 24 Aug 2022 16:59:36 +0000 (18:59 +0200)]
README.md: document missing UI protocol commands
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 24 Aug 2022 16:42:09 +0000 (18:42 +0200)]
README.md: document open close connection UI protocol commands
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 24 Aug 2022 16:39:50 +0000 (18:39 +0200)]
Add WebSocket connection close and open support to the UI protocol
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 24 Aug 2022 16:02:58 +0000 (18:02 +0200)]
README.md: refine UI protocol documentation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 24 Aug 2022 15:56:40 +0000 (17:56 +0200)]
README.md: fix UI protocol formatting
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 24 Aug 2022 14:55:04 +0000 (16:55 +0200)]
README.md: add link Web UI README.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>