Jérôme Benoit [Tue, 4 Oct 2022 21:53:10 +0000 (23:53 +0200)]
Refine .cfignore
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
github-actions[bot] [Tue, 4 Oct 2022 20:30:46 +0000 (22:30 +0200)]
Combined PR (#212)
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>
github-actions[bot] [Tue, 4 Oct 2022 20:22:32 +0000 (22:22 +0200)]
Combined PR (#209)
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>
Co-authored-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 4 Oct 2022 19:52:34 +0000 (21:52 +0200)]
UI Server: rename defaults constants
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 4 Oct 2022 19:29:50 +0000 (21:29 +0200)]
UI Server: Add support for cloud foundry deployment
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 4 Oct 2022 13:25:23 +0000 (15:25 +0200)]
Fix cloud foundry deployment
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 4 Oct 2022 09:43:41 +0000 (11:43 +0200)]
Fix type cast at AsyncResource usage
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 3 Oct 2022 19:15:42 +0000 (21:15 +0200)]
Silence rollup warning: (!) Unresolved dependencies
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 3 Oct 2022 19:11:46 +0000 (21:11 +0200)]
Initialize connectors status only if not defined
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 3 Oct 2022 18:38:49 +0000 (20:38 +0200)]
Log error at faulty profile sent
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 3 Oct 2022 14:42:04 +0000 (16:42 +0200)]
Fix source map support in mocha
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 3 Oct 2022 11:34:46 +0000 (13:34 +0200)]
Version 1.1.75
Jérôme Benoit [Mon, 3 Oct 2022 11:32:55 +0000 (13:32 +0200)]
More strict boolean checks
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 3 Oct 2022 11:29:31 +0000 (13:29 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 3 Oct 2022 10:34:03 +0000 (12:34 +0200)]
More strict boolean checks
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 3 Oct 2022 09:59:40 +0000 (11:59 +0200)]
Permit to run code in async scope in the OCPP stack
Use it to reset a charging station
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 2 Oct 2022 21:14:24 +0000 (23:14 +0200)]
Make OCPP command clear cache code clear the authorization tags
cache
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 2 Oct 2022 20:50:02 +0000 (22:50 +0200)]
Strict boolean checks
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 2 Oct 2022 19:44:59 +0000 (21:44 +0200)]
UI Server: Cleanup commands handling initialization
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 2 Oct 2022 17:45:10 +0000 (19:45 +0200)]
More strict boolean checks
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 2 Oct 2022 17:23:10 +0000 (19:23 +0200)]
Set connector status at start given its availability first
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 2 Oct 2022 15:57:51 +0000 (17:57 +0200)]
Fix start charging stations and connectors status handling
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 2 Oct 2022 10:16:43 +0000 (12:16 +0200)]
OCPP: Cleanup helpers
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 2 Oct 2022 09:29:10 +0000 (11:29 +0200)]
OCPP: separate 1.6 code from global one
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 2 Oct 2022 05:36:54 +0000 (07:36 +0200)]
Cleanup shared helpers structure
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 1 Oct 2022 20:19:10 +0000 (22:19 +0200)]
UI protocol: cleanup version handling code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 1 Oct 2022 18:21:44 +0000 (20:21 +0200)]
ATG: Cleanup connector statuses initialization
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 1 Oct 2022 18:04:56 +0000 (20:04 +0200)]
ATG: initializeConnectorStatus -> setConnectorStatus
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 1 Oct 2022 17:53:15 +0000 (19:53 +0200)]
Run ATG as an AsyncResource
Close #53
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 30 Sep 2022 20:16:00 +0000 (22:16 +0200)]
Version 1.1.74
Jérôme Benoit [Fri, 30 Sep 2022 20:10:35 +0000 (22:10 +0200)]
Code cleanups in the OCPP incoming requests handling code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 30 Sep 2022 19:56:27 +0000 (21:56 +0200)]
Trivial code cleanups
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
dependabot[bot] [Fri, 30 Sep 2022 19:41:48 +0000 (21:41 +0200)]
Bump expect from 29.1.0 to 29.1.2 (#199)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Jérôme Benoit [Fri, 30 Sep 2022 09:17:39 +0000 (11:17 +0200)]
CF manifest template cleanups
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
dependabot[bot] [Fri, 30 Sep 2022 06:38:52 +0000 (08:38 +0200)]
Bump @vue/test-utils from 2.0.2 to 2.1.0 in /src/ui/web (#198)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
github-actions[bot] [Wed, 28 Sep 2022 20:47:04 +0000 (22:47 +0200)]
Combined PR (#197)
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>
Co-authored-by: Jérôme Benoit <jerome.benoit@sap.com>
dependabot[bot] [Wed, 28 Sep 2022 20:35:12 +0000 (22:35 +0200)]
Bump vm2 from 3.9.10 to 3.9.11 (#192)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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>