Jérôme Benoit [Mon, 21 Aug 2023 11:59:15 +0000 (13:59 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 20 Aug 2023 12:36:10 +0000 (14:36 +0200)]
build(deps): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 19 Aug 2023 20:10:09 +0000 (22:10 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 18 Aug 2023 21:37:51 +0000 (23:37 +0200)]
build(deps): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 17 Aug 2023 21:23:44 +0000 (23:23 +0200)]
build(deps): apply dependencies updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 15 Aug 2023 17:53:43 +0000 (19:53 +0200)]
build(deps): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 15 Aug 2023 15:18:20 +0000 (17:18 +0200)]
build: refine prettier configuration
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 14 Aug 2023 17:39:53 +0000 (19:39 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 13 Aug 2023 20:20:42 +0000 (22:20 +0200)]
build(deps): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 12 Aug 2023 12:55:41 +0000 (14:55 +0200)]
build(deps): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 11 Aug 2023 18:01:46 +0000 (20:01 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 11 Aug 2023 09:26:28 +0000 (11:26 +0200)]
build: update volta node version
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 10 Aug 2023 23:47:05 +0000 (01:47 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 9 Aug 2023 22:52:49 +0000 (00:52 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 9 Aug 2023 17:42:45 +0000 (19:42 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 9 Aug 2023 11:57:07 +0000 (13:57 +0200)]
refactor: introduce an async lock mutex helper to run exclusively a code
block
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 9 Aug 2023 00:07:51 +0000 (02:07 +0200)]
docs: add code comment
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 8 Aug 2023 23:52:44 +0000 (01:52 +0200)]
fix: fix performance records duplication
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 8 Aug 2023 21:25:20 +0000 (23:25 +0200)]
chore: version 1.2.20
Jérôme Benoit [Tue, 8 Aug 2023 20:33:44 +0000 (22:33 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 8 Aug 2023 20:24:59 +0000 (22:24 +0200)]
refactor: remove deprecated configuration tunable handling
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 8 Aug 2023 20:13:42 +0000 (22:13 +0200)]
fix: fix log messages formatting
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 8 Aug 2023 14:18:31 +0000 (16:18 +0200)]
refactor: flag tunable as deprecated
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 7 Aug 2023 22:27:51 +0000 (00:27 +0200)]
refactor: remove unneeded backward compatibility code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 7 Aug 2023 22:10:53 +0000 (00:10 +0200)]
fix: ensure null or undefined checks in condition
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 7 Aug 2023 19:46:38 +0000 (21:46 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 7 Aug 2023 18:25:49 +0000 (20:25 +0200)]
feat: reduce the number of deprecated configuration warnings
reference #630
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 7 Aug 2023 17:30:07 +0000 (19:30 +0200)]
fix: fix configuration section cache usage
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 6 Aug 2023 13:05:27 +0000 (15:05 +0200)]
refactor: cleanup try catch constructs
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 6 Aug 2023 12:43:58 +0000 (14:43 +0200)]
build: update volta pnpm version
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 6 Aug 2023 10:40:22 +0000 (12:40 +0200)]
refactor: unflag worker startup at the right time on worker set
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 6 Aug 2023 10:38:32 +0000 (12:38 +0200)]
fix: avoid worker-threads restart at error during startup
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 5 Aug 2023 20:53:46 +0000 (22:53 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 4 Aug 2023 18:45:23 +0000 (20:45 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 4 Aug 2023 17:51:24 +0000 (19:51 +0200)]
refactor: use helper to check charging station at WS opening
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 4 Aug 2023 14:19:23 +0000 (16:19 +0200)]
refactor: cleanup arguments namespace
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 4 Aug 2023 13:55:49 +0000 (15:55 +0200)]
refactor: cleanup default optional default arguments handling
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 4 Aug 2023 13:05:08 +0000 (15:05 +0200)]
fix: ensure composite schedule period start at 0
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 4 Aug 2023 10:22:37 +0000 (12:22 +0200)]
fix: fix gap in schedule periods in composeChargingSchedules()
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 4 Aug 2023 09:48:47 +0000 (11:48 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 3 Aug 2023 22:44:44 +0000 (00:44 +0200)]
feat: add helper to compose i2 charging schedules (higher stack level
with lower)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 3 Aug 2023 19:57:57 +0000 (19:57 +0000)]
Merge pull request #648 from SAP/dependabot/github_actions/sonarsource/sonarcloud-github-action-2.0.0
build(deps): Bump sonarsource/sonarcloud-github-action from 1.9.1 to 2.0.0
dependabot[bot] [Thu, 3 Aug 2023 19:39:27 +0000 (19:39 +0000)]
build(deps): Bump sonarsource/sonarcloud-github-action
Bumps [sonarsource/sonarcloud-github-action](https://github.com/sonarsource/sonarcloud-github-action) from 1.9.1 to 2.0.0.
- [Release notes](https://github.com/sonarsource/sonarcloud-github-action/releases)
- [Commits](https://github.com/sonarsource/sonarcloud-github-action/compare/v1.9.1...v2.0.0)
---
updated-dependencies:
- dependency-name: sonarsource/sonarcloud-github-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Jérôme Benoit [Thu, 3 Aug 2023 19:34:04 +0000 (21:34 +0200)]
build(ci): fix merge queue usage
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 3 Aug 2023 18:34:12 +0000 (20:34 +0200)]
fix: typo in condition check at remote start transaction
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 3 Aug 2023 18:21:57 +0000 (20:21 +0200)]
fix: fix charging profile handling at remote start transaction
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 3 Aug 2023 18:16:28 +0000 (20:16 +0200)]
refactor: cleanup incoming OCPP requests handling code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 3 Aug 2023 17:37:57 +0000 (19:37 +0200)]
refactor: improve start transaction sanity checks log messages
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 3 Aug 2023 17:12:14 +0000 (19:12 +0200)]
perf: lookup connector status once at OCPP responses handling
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 3 Aug 2023 16:06:49 +0000 (18:06 +0200)]
refactor: improve tx changing profile checks
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 3 Aug 2023 14:21:04 +0000 (16:21 +0200)]
docs: refine bug report issue template, take 2
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 3 Aug 2023 14:15:56 +0000 (16:15 +0200)]
docs: refine bug report issue template
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 3 Aug 2023 13:39:02 +0000 (15:39 +0200)]
fix: remove transaction charging profiles at stop transaction
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 3 Aug 2023 13:10:45 +0000 (15:10 +0200)]
fix: tx charging profiles have precedence over the ones on connector 0
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 3 Aug 2023 11:26:00 +0000 (13:26 +0200)]
refactor: factor out charging schedule composition code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 2 Aug 2023 18:16:55 +0000 (20:16 +0200)]
fix: avoid gaps in get composite schedule
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 2 Aug 2023 16:59:34 +0000 (18:59 +0200)]
fix: fix wrong charging profiles resorting at power limitation
computation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 2 Aug 2023 16:55:46 +0000 (18:55 +0200)]
fix: ensure charging profiles used for power limitation are properly sorted
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 2 Aug 2023 15:45:12 +0000 (17:45 +0200)]
refactor: improve log messages
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 2 Aug 2023 15:38:15 +0000 (17:38 +0200)]
refactor: improve debug log messages
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 2 Aug 2023 14:44:53 +0000 (16:44 +0200)]
fix: ensure the latest schedule period within the charging profile
duration is used
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 2 Aug 2023 12:33:21 +0000 (14:33 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 1 Aug 2023 23:47:42 +0000 (01:47 +0200)]
refactor: cleanup RFID authorization code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 1 Aug 2023 23:35:51 +0000 (01:35 +0200)]
fix: avoid overlapping schedule periods in get composite schedule
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 1 Aug 2023 20:37:45 +0000 (22:37 +0200)]
fix: reduce the number of overlaping charging profiles in get composite
schedule
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 1 Aug 2023 18:38:02 +0000 (20:38 +0200)]
refactor: cleanup import
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 1 Aug 2023 17:37:56 +0000 (19:37 +0200)]
refactor: factor out charging profiles preparation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 1 Aug 2023 16:47:53 +0000 (18:47 +0200)]
feat: make get composite schedule closer to OCPP 1.6 specs
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 1 Aug 2023 00:20:33 +0000 (02:20 +0200)]
refactor: cleanup get composite schedule code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 1 Aug 2023 00:15:04 +0000 (02:15 +0200)]
feat: improve get composite schedule
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 31 Jul 2023 22:18:35 +0000 (00:18 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 31 Jul 2023 22:02:34 +0000 (00:02 +0200)]
refactor: cleanup reservation code helpers
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 31 Jul 2023 21:08:21 +0000 (23:08 +0200)]
fix: ensure all charging station changes are pushed at start transaction
error
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 31 Jul 2023 20:16:12 +0000 (22:16 +0200)]
refactor: use object destructuration for incoming requests payload
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 31 Jul 2023 19:40:30 +0000 (21:40 +0200)]
fix: fix valid reservation detection at start transaction
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 31 Jul 2023 17:26:53 +0000 (19:26 +0200)]
fix: fix reservationId payload field filling at start transaction
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 31 Jul 2023 14:52:24 +0000 (16:52 +0200)]
perf: only clone the targeted connector status in ATG
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 31 Jul 2023 14:50:08 +0000 (16:50 +0200)]
fix: check for the connector status definition in ATG
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 31 Jul 2023 14:44:44 +0000 (16:44 +0200)]
refactor: remove unneeded condition at changing availability
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 31 Jul 2023 12:51:22 +0000 (14:51 +0200)]
fix: properly handle changing availability on multiples connectors
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 31 Jul 2023 12:26:35 +0000 (14:26 +0200)]
refactor: factor out remote stop transaction helper
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 31 Jul 2023 12:21:45 +0000 (14:21 +0200)]
refactor: factor out change availability helper
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 31 Jul 2023 11:05:00 +0000 (13:05 +0200)]
docs: refine README.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 31 Jul 2023 09:35:31 +0000 (11:35 +0200)]
refactor: cleanup RFID tags authorization code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 30 Jul 2023 23:49:03 +0000 (01:49 +0200)]
fix: authorize remotely only if configured
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 30 Jul 2023 23:16:57 +0000 (01:16 +0200)]
test: fix tests
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 30 Jul 2023 23:12:13 +0000 (01:12 +0200)]
refactor: add date validation to date convertion helper
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 30 Jul 2023 22:48:31 +0000 (00:48 +0200)]
fix: add date validation check in date conversion helper
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 30 Jul 2023 22:10:29 +0000 (00:10 +0200)]
refactor: cleanup reservation methods scope
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 30 Jul 2023 22:05:03 +0000 (00:05 +0200)]
fix: check reservation status at the end at start transaction
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 30 Jul 2023 21:45:23 +0000 (23:45 +0200)]
fix: ensure transaction id is a safe integer
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 30 Jul 2023 21:30:56 +0000 (23:30 +0200)]
fix: fix authorize response handling
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 30 Jul 2023 20:42:32 +0000 (22:42 +0200)]
refactor: code cleanup
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 30 Jul 2023 19:39:32 +0000 (21:39 +0200)]
fix: fix some undefined/null checks
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 30 Jul 2023 19:31:13 +0000 (21:31 +0200)]
fix: fix reservation at remote start
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 30 Jul 2023 19:16:20 +0000 (21:16 +0200)]
fix: fix reservation removal at transaction start
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 30 Jul 2023 17:01:03 +0000 (19:01 +0200)]
refactor: cleanup reservation check condition
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 30 Jul 2023 16:58:41 +0000 (18:58 +0200)]
refactor: remove uneeded helper in reservation code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 30 Jul 2023 16:19:24 +0000 (18:19 +0200)]
refactor: rename src/charging-station/Utils.ts -> src/charging-station/Helpers.ts
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 30 Jul 2023 16:16:35 +0000 (18:16 +0200)]
fix: handle proper the number of arguments in isConnectorReservable()
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>