Jérôme Benoit [Mon, 5 Feb 2024 15:48:58 +0000 (16:48 +0100)]
fix: fix UI protocol setSupervisionUrl insomnia payload
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 5 Feb 2024 15:15:24 +0000 (16:15 +0100)]
feat: add performance statistics to UI protocol
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 5 Feb 2024 12:07:10 +0000 (13:07 +0100)]
refactor: cleanup charging station events handling code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 5 Feb 2024 11:44:16 +0000 (12:44 +0100)]
fix: ensure worket set stop event is emitted once
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 5 Feb 2024 11:14:26 +0000 (12:14 +0100)]
Merge pull request #969 from SAP/untanble-add-start
feat: untangle add charging station op from start charging station op
Jérôme Benoit [Mon, 5 Feb 2024 10:57:51 +0000 (11:57 +0100)]
fix: add charging station at instantiation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 5 Feb 2024 10:18:40 +0000 (11:18 +0100)]
feat: untangle add charging station op from start charging station op
closes #966
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 4 Feb 2024 19:12:30 +0000 (20:12 +0100)]
refactor: cleanup charging station worker namespace
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 4 Feb 2024 15:53:42 +0000 (16:53 +0100)]
docs: fix formatting in README.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 4 Feb 2024 15:44:40 +0000 (16:44 +0100)]
docs: add setSupervisionUrl to UI protocol section
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 4 Feb 2024 15:23:04 +0000 (16:23 +0100)]
docs: refine UI Protocol section in README.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 4 Feb 2024 15:16:42 +0000 (16:16 +0100)]
docs: fix typo in README.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 4 Feb 2024 15:11:01 +0000 (16:11 +0100)]
docs: refine UI protocol section in README.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 4 Feb 2024 14:47:09 +0000 (15:47 +0100)]
docs: refine UI protocol sequence diagram in README.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 4 Feb 2024 14:41:00 +0000 (15:41 +0100)]
docs: add sequence diagram for UI protocol
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 4 Feb 2024 14:21:51 +0000 (15:21 +0100)]
docs: fix typo in README.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 4 Feb 2024 14:12:46 +0000 (15:12 +0100)]
docs: refine configuration sections type definition in README.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 4 Feb 2024 13:52:04 +0000 (14:52 +0100)]
docs: fix README.md formatting
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 4 Feb 2024 13:47:44 +0000 (14:47 +0100)]
docs: refine README.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 4 Feb 2024 12:19:06 +0000 (13:19 +0100)]
refactor: cleanup log messages
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 4 Feb 2024 11:51:42 +0000 (12:51 +0100)]
refactor: ensure ATG will not start a transaction if one is already
started
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 4 Feb 2024 11:37:34 +0000 (12:37 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 4 Feb 2024 11:27:46 +0000 (12:27 +0100)]
fix: make the ATG wait for running transactions to be stopped
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 4 Feb 2024 10:52:51 +0000 (11:52 +0100)]
refactor: cleanup cached request helpers namespace
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 4 Feb 2024 10:33:28 +0000 (11:33 +0100)]
refactor: improve error OCPP error message
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 3 Feb 2024 19:21:32 +0000 (20:21 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 3 Feb 2024 19:07:52 +0000 (20:07 +0100)]
build: silence spelling warnings
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 3 Feb 2024 18:09:50 +0000 (19:09 +0100)]
refactor: silencer linter warnings
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 3 Feb 2024 09:34:17 +0000 (10:34 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 2 Feb 2024 16:00:32 +0000 (17:00 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 2 Feb 2024 13:13:37 +0000 (14:13 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 1 Feb 2024 19:41:53 +0000 (20:41 +0100)]
chore: version 1.2.34
Jérôme Benoit [Thu, 1 Feb 2024 18:19:21 +0000 (19:19 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 1 Feb 2024 16:37:29 +0000 (17:37 +0100)]
refactor: cleanup control flow in statistic helpers
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 1 Feb 2024 11:10:22 +0000 (12:10 +0100)]
docs: cleanup code comments
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 1 Feb 2024 11:03:58 +0000 (12:03 +0100)]
fix: fix uiServer configuration section sanity checks
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 1 Feb 2024 10:22:33 +0000 (11:22 +0100)]
refactor: add type for template charging stations tracking
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 1 Feb 2024 10:13:06 +0000 (11:13 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 1 Feb 2024 10:05:38 +0000 (11:05 +0100)]
docs: add addChargingStations request to Insomnia requests collection
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 1 Feb 2024 09:53:08 +0000 (10:53 +0100)]
feat: add addChargingStations command to UI API
closes #964
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 31 Jan 2024 20:52:13 +0000 (21:52 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 31 Jan 2024 19:48:59 +0000 (20:48 +0100)]
feat: add command to list templates on UI services
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 31 Jan 2024 16:46:06 +0000 (17:46 +0100)]
refactor: consolidate charging stations tracking
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 31 Jan 2024 10:06:38 +0000 (11:06 +0100)]
feat: expose template name used in stationInfo
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 31 Jan 2024 09:21:32 +0000 (10:21 +0100)]
build(deps): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 30 Jan 2024 20:25:46 +0000 (21:25 +0100)]
refactor: cleanup UI service response
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 30 Jan 2024 20:14:35 +0000 (21:14 +0100)]
refactor: cleanup type definition in internal messaging
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 30 Jan 2024 17:14:20 +0000 (18:14 +0100)]
refactor: refine type casting in internal simulator communication code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 30 Jan 2024 17:10:31 +0000 (18:10 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 30 Jan 2024 16:58:03 +0000 (17:58 +0100)]
perf: 'await' on UI request handlers only when necessary
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 30 Jan 2024 16:19:53 +0000 (17:19 +0100)]
perf: 'await' on OCPP request handlers only when necessary
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 30 Jan 2024 15:07:53 +0000 (16:07 +0100)]
refactor: convert remote stop transaction to two stages request
handling
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 30 Jan 2024 10:59:35 +0000 (11:59 +0100)]
chore: version 1.2.33
Jérôme Benoit [Tue, 30 Jan 2024 09:03:18 +0000 (10:03 +0100)]
build: bump volta pnpm version
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 30 Jan 2024 08:22:29 +0000 (09:22 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 29 Jan 2024 20:34:36 +0000 (21:34 +0100)]
docs: add few comments to incoming request handling code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 29 Jan 2024 20:06:59 +0000 (21:06 +0100)]
fix: ensure the second stage at handling incoming request is executed
later the response is sent
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 29 Jan 2024 19:56:05 +0000 (20:56 +0100)]
perf: add fastpath for trigger message handling
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 29 Jan 2024 19:32:04 +0000 (20:32 +0100)]
refactor: add generic 2 stages incoming request response handling
reference #959
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 29 Jan 2024 17:48:30 +0000 (18:48 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 29 Jan 2024 17:41:56 +0000 (18:41 +0100)]
refactor: remove unneeded try {} catch {}
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 29 Jan 2024 17:02:50 +0000 (18:02 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 29 Jan 2024 16:52:25 +0000 (17:52 +0100)]
Merge pull request #960 from SAP/fix-remote-start
fix: fix control flow at remote start
Jérôme Benoit [Mon, 29 Jan 2024 16:50:46 +0000 (17:50 +0100)]
refactor: move OCPP event emission ops to the promises queue
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 29 Jan 2024 16:34:53 +0000 (17:34 +0100)]
fix: use nextTick to delay event emission
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 29 Jan 2024 15:33:20 +0000 (16:33 +0100)]
refactor: cleanup log messages formatting
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 29 Jan 2024 15:27:01 +0000 (16:27 +0100)]
fix: ensure remote start transaction triggers a delayed start transaction
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 29 Jan 2024 13:29:04 +0000 (14:29 +0100)]
fix: fix control flow at remote start
closes #959
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 28 Jan 2024 18:42:15 +0000 (19:42 +0100)]
fix: ensure WS connection retry flag is reset in all connection case
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 28 Jan 2024 18:28:48 +0000 (19:28 +0100)]
build(simulator): silence linter error
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 28 Jan 2024 18:00:02 +0000 (19:00 +0100)]
refactor: do not regenerate error stack strace needlessly
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 28 Jan 2024 15:14:48 +0000 (16:14 +0100)]
test: add tests for BaseError custom error
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 28 Jan 2024 14:34:06 +0000 (15:34 +0100)]
refactor: use Error static function to generate BaseError stack trace
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 28 Jan 2024 13:35:30 +0000 (14:35 +0100)]
fix: recreate stack trace on BaseError only if needed
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 28 Jan 2024 13:03:32 +0000 (14:03 +0100)]
refactor: remove unneeded export
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 28 Jan 2024 12:58:57 +0000 (13:58 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 28 Jan 2024 12:45:48 +0000 (13:45 +0100)]
fix: fix race condition at reconnection on ATG duration computation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 28 Jan 2024 12:21:01 +0000 (13:21 +0100)]
fix: ensure the ATG is properly restored after disconnection to CSMS
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 27 Jan 2024 14:26:45 +0000 (15:26 +0100)]
refactor: cleanup charging station events handling
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 27 Jan 2024 14:14:23 +0000 (15:14 +0100)]
fix: ensure the message sequence is started after reconnection
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 27 Jan 2024 10:50:09 +0000 (11:50 +0100)]
build: log on the console husky warnings
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 26 Jan 2024 21:29:23 +0000 (22:29 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 26 Jan 2024 12:08:04 +0000 (13:08 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 26 Jan 2024 00:17:30 +0000 (01:17 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 25 Jan 2024 23:37:53 +0000 (00:37 +0100)]
refactor: cleanup payload validation properties namespace
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 25 Jan 2024 23:19:45 +0000 (00:19 +0100)]
fix: avoid duplicate payload validation function
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 25 Jan 2024 22:36:49 +0000 (23:36 +0100)]
perf: cache only JSON payload validation functions
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 25 Jan 2024 15:19:44 +0000 (16:19 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 25 Jan 2024 11:05:36 +0000 (12:05 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 24 Jan 2024 20:29:07 +0000 (21:29 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 23 Jan 2024 13:51:08 +0000 (14:51 +0100)]
build: bump volta pnpm version
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 23 Jan 2024 09:22:28 +0000 (10:22 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 22 Jan 2024 12:37:12 +0000 (13:37 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 21 Jan 2024 14:48:58 +0000 (15:48 +0100)]
fix: handle WebSocket opening error
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 21 Jan 2024 14:43:36 +0000 (15:43 +0100)]
refactor: refine missing ATG status log message
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 21 Jan 2024 10:19:27 +0000 (11:19 +0100)]
refactor: improve error logging if ATG connector status is not found
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 21 Jan 2024 10:05:24 +0000 (11:05 +0100)]
fix: improve malformed OCPP message handling
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 21 Jan 2024 09:54:05 +0000 (10:54 +0100)]
refactor: type casting cleanups
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 21 Jan 2024 09:29:17 +0000 (10:29 +0100)]
refactor: type casting cleanups
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 20 Jan 2024 20:58:24 +0000 (21:58 +0100)]
build(deps-dev): cleanup dependencies
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>