e-mobility-charging-stations-simulator.git
9 months agofeat(ui): display supervision url in charging stations list
Jérôme Benoit [Fri, 9 Feb 2024 19:42:02 +0000 (20:42 +0100)] 
feat(ui): display supervision url in charging stations list

closes #967

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
9 months agofeat(ui): add template name to charging stations list
Jérôme Benoit [Fri, 9 Feb 2024 15:54:30 +0000 (16:54 +0100)] 
feat(ui): add template name to charging stations list

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
9 months agorefactor(ui): remove uneeded helpers
Jérôme Benoit [Fri, 9 Feb 2024 15:07:54 +0000 (16:07 +0100)] 
refactor(ui): remove uneeded helpers

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
9 months agorefactor: cleanup variables namespace
Jérôme Benoit [Fri, 9 Feb 2024 14:56:04 +0000 (15:56 +0100)] 
refactor: cleanup variables namespace

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
9 months agodocs: refine README.md
Jérôme Benoit [Fri, 9 Feb 2024 13:24:29 +0000 (14:24 +0100)] 
docs: refine README.md

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
9 months agodocs: update UI protocol requests collections
Jérôme Benoit [Fri, 9 Feb 2024 13:05:09 +0000 (14:05 +0100)] 
docs: update UI protocol requests collections

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
9 months agodocs: fix README.md formatting
Jérôme Benoit [Fri, 9 Feb 2024 12:58:28 +0000 (13:58 +0100)] 
docs: fix README.md formatting

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
9 months agofeat: add options to `addChargingStations` UI protocol command
Jérôme Benoit [Fri, 9 Feb 2024 12:52:20 +0000 (13:52 +0100)] 
feat: add options to `addChargingStations` UI protocol command

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
9 months agobuild(deps): apply updates
Jérôme Benoit [Fri, 9 Feb 2024 10:23:54 +0000 (11:23 +0100)] 
build(deps): apply updates

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
9 months agoMerge pull request #972 from SAP/dependabot/github_actions/pnpm/action-setup-3
Jérôme Benoit [Thu, 8 Feb 2024 20:17:50 +0000 (20:17 +0000)] 
Merge pull request #972 from SAP/dependabot/github_actions/pnpm/action-setup-3

build(deps): bump pnpm/action-setup from 2 to 3

9 months agobuild(deps): bump pnpm/action-setup from 2 to 3
dependabot[bot] [Thu, 8 Feb 2024 16:59:58 +0000 (16:59 +0000)] 
build(deps): bump pnpm/action-setup from 2 to 3

Bumps [pnpm/action-setup](https://github.com/pnpm/action-setup) from 2 to 3.
- [Release notes](https://github.com/pnpm/action-setup/releases)
- [Commits](https://github.com/pnpm/action-setup/compare/v2...v3)

---
updated-dependencies:
- dependency-name: pnpm/action-setup
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
9 months agobuild(deps-dev): apply updates
Jérôme Benoit [Thu, 8 Feb 2024 11:23:56 +0000 (12:23 +0100)] 
build(deps-dev): apply updates

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
9 months agobuild(deps-dev): apply udpates
Jérôme Benoit [Wed, 7 Feb 2024 09:40:31 +0000 (10:40 +0100)] 
build(deps-dev): apply udpates

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
9 months agobuild(deps-dev): apply updates
Jérôme Benoit [Tue, 6 Feb 2024 20:04:37 +0000 (21:04 +0100)] 
build(deps-dev): apply updates

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
9 months agobuild(deps-dev): apply updates
Jérôme Benoit [Tue, 6 Feb 2024 14:16:39 +0000 (15:16 +0100)] 
build(deps-dev): apply updates

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
9 months agorefactor: refine worker event error log message
Jérôme Benoit [Mon, 5 Feb 2024 21:59:24 +0000 (22:59 +0100)] 
refactor: refine worker event error log message

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
9 months agofix: fix worker event error handling
Jérôme Benoit [Mon, 5 Feb 2024 21:56:31 +0000 (22:56 +0100)] 
fix: fix worker event error handling

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
9 months agorefactor: ensure all worker events are remitted in main thread
Jérôme Benoit [Mon, 5 Feb 2024 21:50:38 +0000 (22:50 +0100)] 
refactor: ensure all worker events are remitted in main thread

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
9 months agorefactor: cleanup worker events handling in main thread
Jérôme Benoit [Mon, 5 Feb 2024 21:48:30 +0000 (22:48 +0100)] 
refactor: cleanup worker events handling in main thread

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
9 months agobuild(deps-dev): apply updates
Jérôme Benoit [Mon, 5 Feb 2024 21:34:30 +0000 (22:34 +0100)] 
build(deps-dev): apply updates

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
9 months agobuild(deps-dev): apply updates
Jérôme Benoit [Mon, 5 Feb 2024 18:24:42 +0000 (19:24 +0100)] 
build(deps-dev): apply updates

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
9 months agodocs: add missing setSupervisionUrl request to insomnia requests
Jérôme Benoit [Mon, 5 Feb 2024 18:07:38 +0000 (19:07 +0100)] 
docs: add missing setSupervisionUrl request to insomnia requests
collection

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
9 months agofix: fix performance statistics formatting in log messages
Jérôme Benoit [Mon, 5 Feb 2024 17:46:28 +0000 (18:46 +0100)] 
fix: fix performance statistics formatting in log messages

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
9 months agochore: version 1.2.35 v1.2.35
Jérôme Benoit [Mon, 5 Feb 2024 15:59:25 +0000 (16:59 +0100)] 
chore: version 1.2.35

9 months agobuild(deps-dev): apply updates
Jérôme Benoit [Mon, 5 Feb 2024 15:58:36 +0000 (16:58 +0100)] 
build(deps-dev): apply updates

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
9 months agoMerge pull request #970 from SAP/ui-performance-statistics
Jérôme Benoit [Mon, 5 Feb 2024 15:55:54 +0000 (16:55 +0100)] 
Merge pull request #970 from SAP/ui-performance-statistics

feat: add performance statistics to UI protocol

9 months agofix: fix UI protocol setSupervisionUrl insomnia payload
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>
9 months agofeat: add performance statistics to UI protocol
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>
9 months agorefactor: cleanup charging station events handling code
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>
9 months agofix: ensure worket set stop event is emitted once
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>
9 months agoMerge pull request #969 from SAP/untanble-add-start
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

9 months agofix: add charging station at instantiation
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>
9 months agofeat: untangle add charging station op from start charging station op
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>
9 months agorefactor: cleanup charging station worker namespace
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>
9 months agodocs: fix formatting in README.md
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>
9 months agodocs: add setSupervisionUrl to UI protocol section
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>
9 months agodocs: refine UI Protocol section in README.md
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>
9 months agodocs: fix typo in README.md
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>
9 months agodocs: refine UI protocol section in README.md
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>
9 months agodocs: refine UI protocol sequence diagram in README.md
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>
9 months agodocs: add sequence diagram for UI protocol
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>
9 months agodocs: fix typo in README.md
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>
9 months agodocs: refine configuration sections type definition in README.md
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>
9 months agodocs: fix README.md formatting
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>
9 months agodocs: refine README.md
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>
9 months agorefactor: cleanup log messages
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>
9 months agorefactor: ensure ATG will not start a transaction if one is already
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>
9 months agobuild(deps-dev): apply updates
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>
9 months agofix: make the ATG wait for running transactions to be stopped
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>
9 months agorefactor: cleanup cached request helpers namespace
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>
9 months agorefactor: improve error OCPP error message
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>
9 months agobuild(deps-dev): apply updates
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>
9 months agobuild: silence spelling warnings
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>
9 months agorefactor: silencer linter warnings
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>
9 months agobuild(deps-dev): apply updates
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>
9 months agobuild(deps-dev): apply updates
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>
9 months agobuild(deps-dev): apply updates
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>
9 months agochore: version 1.2.34 v1.2.34
Jérôme Benoit [Thu, 1 Feb 2024 19:41:53 +0000 (20:41 +0100)] 
chore: version 1.2.34

9 months agobuild(deps-dev): apply updates
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>
9 months agorefactor: cleanup control flow in statistic helpers
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>
9 months agodocs: cleanup code comments
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>
9 months agofix: fix uiServer configuration section sanity checks
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>
9 months agorefactor: add type for template charging stations tracking
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>
9 months agobuild(deps-dev): apply updates
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>
9 months agodocs: add addChargingStations request to Insomnia requests collection
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>
9 months agofeat: add addChargingStations command to UI API
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>
9 months agobuild(deps-dev): apply updates
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>
9 months agofeat: add command to list templates on UI services
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>
9 months agorefactor: consolidate charging stations tracking
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>
9 months agofeat: expose template name used in stationInfo
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>
9 months agobuild(deps): apply updates
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>
9 months agorefactor: cleanup UI service response
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>
9 months agorefactor: cleanup type definition in internal messaging
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>
9 months agorefactor: refine type casting in internal simulator communication code
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>
9 months agobuild(deps-dev): apply updates
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>
9 months agoperf: 'await' on UI request handlers only when necessary
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>
9 months agoperf: 'await' on OCPP request handlers only when necessary
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>
9 months agorefactor: convert remote stop transaction to two stages request
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>
9 months agochore: version 1.2.33 v1.2.33
Jérôme Benoit [Tue, 30 Jan 2024 10:59:35 +0000 (11:59 +0100)] 
chore: version 1.2.33

9 months agobuild: bump volta pnpm version
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>
9 months agobuild(deps-dev): apply updates
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>
9 months agodocs: add few comments to incoming request handling code
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>
9 months agofix: ensure the second stage at handling incoming request is executed
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>
9 months agoperf: add fastpath for trigger message handling
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>
9 months agorefactor: add generic 2 stages incoming request response handling
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>
9 months agobuild(deps-dev): apply updates
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>
9 months agorefactor: remove unneeded try {} catch {}
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>
9 months agobuild(deps-dev): apply updates
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>
9 months agoMerge pull request #960 from SAP/fix-remote-start
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

9 months agorefactor: move OCPP event emission ops to the promises queue
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>
9 months agofix: use nextTick to delay event emission
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>
9 months agorefactor: cleanup log messages formatting
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>
9 months agofix: ensure remote start transaction triggers a delayed start transaction
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>
9 months agofix: fix control flow at remote start
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>
9 months agofix: ensure WS connection retry flag is reset in all connection case
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>
9 months agobuild(simulator): silence linter error
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>
9 months agorefactor: do not regenerate error stack strace needlessly
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>
9 months agotest: add tests for BaseError custom error
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>
9 months agorefactor: use Error static function to generate BaseError stack trace
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>
9 months agofix: recreate stack trace on BaseError only if needed
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>