dependabot[bot] [Tue, 27 Sep 2022 22:26:44 +0000 (00:26 +0200)]
Bump @typescript-eslint/parser from 5.38.0 to 5.38.1 in /src/ui/web (#186)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
github-actions[bot] [Tue, 27 Sep 2022 22:24:18 +0000 (00:24 +0200)]
Combined PR (#191)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Jérôme Benoit [Tue, 27 Sep 2022 22:18:46 +0000 (00:18 +0200)]
Fix dependabot configuration for GitHub actions
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 27 Sep 2022 22:04:20 +0000 (00:04 +0200)]
Refine dependabot configuration
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
dependabot[bot] [Tue, 27 Sep 2022 19:13:17 +0000 (21:13 +0200)]
Bump @typescript-eslint/parser from 5.38.0 to 5.38.1 (#182)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
github-actions[bot] [Tue, 27 Sep 2022 18:21:24 +0000 (20:21 +0200)]
Combined PR (#185)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Jérôme Benoit [Mon, 26 Sep 2022 21:25:03 +0000 (23:25 +0200)]
Strict boolean check in src/charging-station/UIServiceWorkerBroadcastChannel.ts
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 26 Sep 2022 18:00:22 +0000 (20:00 +0200)]
README.md: spell fix
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 25 Sep 2022 22:04:58 +0000 (00:04 +0200)]
Fix broadcast channel payload cleanup for ATG
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 25 Sep 2022 20:57:31 +0000 (22:57 +0200)]
ATG: add support for idTag distribution algorithms
Close #179
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 24 Sep 2022 22:44:47 +0000 (00:44 +0200)]
Fix strict boolean checks
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 24 Sep 2022 22:08:47 +0000 (00:08 +0200)]
Refine type definitions
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 24 Sep 2022 22:02:58 +0000 (00:02 +0200)]
Align some types definition in UI
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 24 Sep 2022 21:57:03 +0000 (23:57 +0200)]
Convert interface to type
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 24 Sep 2022 21:06:19 +0000 (23:06 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 21 Sep 2022 19:36:11 +0000 (21:36 +0200)]
Docker: fix clean-images target
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 21 Sep 2022 18:41:07 +0000 (20:41 +0200)]
Fix docker image tagging in ECR
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 20 Sep 2022 21:10:08 +0000 (23:10 +0200)]
Replace more interface with type for types definition
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 20 Sep 2022 18:24:47 +0000 (20:24 +0200)]
Add missing break
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 20 Sep 2022 16:04:03 +0000 (18:04 +0200)]
Use a switch case control flow at incoming OCPP messages handling error
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 20 Sep 2022 09:29:09 +0000 (11:29 +0200)]
Only delete the request directly from the cache when needed at response
handling error
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 19 Sep 2022 19:07:20 +0000 (21:07 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 16 Sep 2022 17:42:12 +0000 (19:42 +0200)]
Simplify WorkerUtils.defaultErrorHandler usage in WorkerSet
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 16 Sep 2022 17:38:06 +0000 (19:38 +0200)]
Log errors in worker
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 16 Sep 2022 17:16:31 +0000 (19:16 +0200)]
Log unconditionally uncaughtException and unhandledRejection in
worker
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 16 Sep 2022 16:53:36 +0000 (18:53 +0200)]
Log unconditionally uncaughtException and unhandledRejection in
Bootstrap
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 16 Sep 2022 06:30:59 +0000 (08:30 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 16 Sep 2022 06:22:02 +0000 (08:22 +0200)]
Convert Statistics interface to type
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 15 Sep 2022 20:59:02 +0000 (22:59 +0200)]
Convert types to native type
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 15 Sep 2022 08:49:21 +0000 (10:49 +0200)]
Optimization: bind to this sendMessage()
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 15 Sep 2022 08:40:40 +0000 (10:40 +0200)]
Fix error handling at OCPP message sending
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 14 Sep 2022 16:40:19 +0000 (18:40 +0200)]
Do not propagate thrown error at sendError() usage
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 13 Sep 2022 18:08:10 +0000 (20:08 +0200)]
Ensure the deferred promise use to send OCPP message will not be leaked
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 13 Sep 2022 17:36:14 +0000 (19:36 +0200)]
Comment some dubious OCPPError usage
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 12 Sep 2022 21:29:16 +0000 (23:29 +0200)]
Version 1.1.73
Jérôme Benoit [Mon, 12 Sep 2022 21:06:02 +0000 (23:06 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 12 Sep 2022 20:22:02 +0000 (22:22 +0200)]
ATG: remove useless nullify in CS class
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 12 Sep 2022 13:50:17 +0000 (15:50 +0200)]
UI Server: update CS list at ATG start/stop
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 12 Sep 2022 13:28:45 +0000 (15:28 +0200)]
ATG: Refine log level
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 12 Sep 2022 13:25:53 +0000 (15:25 +0200)]
ATG: fix start/stop on non existing connector
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 12 Sep 2022 12:22:31 +0000 (14:22 +0200)]
Fix ATG connectors status initialization
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 11 Sep 2022 21:48:11 +0000 (23:48 +0200)]
Improve error messages
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 11 Sep 2022 15:35:24 +0000 (17:35 +0200)]
Strict boolean check
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 11 Sep 2022 15:33:52 +0000 (17:33 +0200)]
Strict boolean checks
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 11 Sep 2022 15:06:59 +0000 (17:06 +0200)]
Ensure requests are purged from the cache in case of responses processing
error
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 11 Sep 2022 15:00:40 +0000 (17:00 +0200)]
More strict boolean checks
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 11 Sep 2022 13:11:40 +0000 (15:11 +0200)]
Improve and unify log messages
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 10 Sep 2022 10:35:46 +0000 (12:35 +0200)]
Guart against duplicate CS start/stop, take 2
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 10 Sep 2022 10:15:23 +0000 (12:15 +0200)]
Guard against duplicate start/stop CS
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 10 Sep 2022 04:11:50 +0000 (06:11 +0200)]
Move some status attributes at constructor begin
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 10 Sep 2022 03:29:45 +0000 (05:29 +0200)]
UI Protocol: update Insomnia requests collection
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
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>