Jérôme Benoit [Fri, 19 May 2023 20:35:53 +0000 (22:35 +0200)]
refactor(ui): add types export control
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 19 May 2023 20:14:39 +0000 (22:14 +0200)]
refactor: revert internal exports
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 19 May 2023 16:55:16 +0000 (18:55 +0200)]
refactor: revert internal exports
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 19 May 2023 16:06:11 +0000 (18:06 +0200)]
refactor: revert internal exports in utils
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 19 May 2023 10:53:54 +0000 (12:53 +0200)]
refactor: revert internal exports in exception
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 19 May 2023 10:51:27 +0000 (12:51 +0200)]
refactor: revert internal exports
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 19 May 2023 10:42:08 +0000 (12:42 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 18 May 2023 16:38:42 +0000 (18:38 +0200)]
build(ui): sync volta versions
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 18 May 2023 16:21:37 +0000 (18:21 +0200)]
build(deps): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 18 May 2023 10:53:24 +0000 (12:53 +0200)]
build(deps): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 18 May 2023 10:15:06 +0000 (12:15 +0200)]
build(deps): add labels on dependabot PRs
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 17 May 2023 18:25:41 +0000 (20:25 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 15 May 2023 21:45:18 +0000 (23:45 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 13 May 2023 16:02:28 +0000 (18:02 +0200)]
build(deps): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Fri, 12 May 2023 20:35:45 +0000 (22:35 +0200)]
Merge branch 'main' of github.com:SAP/e-mobility-charging-stations-simulator
Jérôme Benoit [Fri, 12 May 2023 20:34:41 +0000 (22:34 +0200)]
refactor: cleanup method namaspace
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 12 May 2023 18:02:58 +0000 (20:02 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Fri, 12 May 2023 13:50:53 +0000 (15:50 +0200)]
refactor: factor out performance records JSON file path building
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 12 May 2023 12:16:22 +0000 (14:16 +0200)]
build(deps): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 10 May 2023 22:53:46 +0000 (00:53 +0200)]
refactor: silence sonar
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 10 May 2023 22:44:01 +0000 (00:44 +0200)]
refactor: group conditions in connector status change check
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 10 May 2023 19:29:52 +0000 (21:29 +0200)]
fix: handle relative path to performance records JSON file
fix #524
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 9 May 2023 12:57:37 +0000 (14:57 +0200)]
chore: version 1.2.13
Jérôme Benoit [Tue, 9 May 2023 12:48:55 +0000 (14:48 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 9 May 2023 12:32:56 +0000 (14:32 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 8 May 2023 23:25:01 +0000 (01:25 +0200)]
refactor: cleanup variables namespace
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 8 May 2023 23:21:15 +0000 (01:21 +0200)]
test: improve statistic helpers tests
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 8 May 2023 23:12:18 +0000 (01:12 +0200)]
perf: optimize median computation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 8 May 2023 22:36:53 +0000 (00:36 +0200)]
refactor: cleanup statistic helpers code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 8 May 2023 22:24:33 +0000 (00:24 +0200)]
refactor: align statistic helpers return for empty data set
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 8 May 2023 22:11:31 +0000 (00:11 +0200)]
fix: move and fix statistic related helpers implementation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 8 May 2023 18:22:16 +0000 (20:22 +0200)]
docs: add GitHub CI badge to README.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 8 May 2023 16:41:41 +0000 (18:41 +0200)]
chore: version 1.2.12
Jérôme Benoit [Mon, 8 May 2023 16:20:04 +0000 (18:20 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 8 May 2023 12:15:08 +0000 (14:15 +0200)]
build(deps): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 7 May 2023 09:59:09 +0000 (11:59 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 6 May 2023 22:09:11 +0000 (00:09 +0200)]
build(ci): silence GitHub actions warnings
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 6 May 2023 21:35:40 +0000 (23:35 +0200)]
build(deps): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 6 May 2023 17:55:36 +0000 (19:55 +0200)]
fix: fix median and percentile calculation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 5 May 2023 21:41:52 +0000 (23:41 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 5 May 2023 21:32:56 +0000 (23:32 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 3 May 2023 21:04:47 +0000 (23:04 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 3 May 2023 19:41:13 +0000 (21:41 +0200)]
refactor(ui): variable namespace cleanups
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 3 May 2023 19:26:19 +0000 (21:26 +0200)]
feat(ui): make evses works in the web ui
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 3 May 2023 09:58:45 +0000 (11:58 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 2 May 2023 22:39:30 +0000 (00:39 +0200)]
fix: ensure transaction cannot be started on a used evse
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 2 May 2023 21:22:51 +0000 (23:22 +0200)]
refactor: cleanup async lock API
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 2 May 2023 19:05:25 +0000 (21:05 +0200)]
build(deps): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 1 May 2023 21:41:04 +0000 (23:41 +0200)]
chore: add copyright notices
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 1 May 2023 20:54:15 +0000 (22:54 +0200)]
fix(ui): silence sonar
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 1 May 2023 20:43:58 +0000 (22:43 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 1 May 2023 20:25:45 +0000 (22:25 +0200)]
build(ci): fix sonar scanner
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 1 May 2023 20:22:45 +0000 (22:22 +0200)]
build: fix sonarlint settings
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 1 May 2023 20:07:00 +0000 (22:07 +0200)]
build(ci): fix sonar scanner
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 1 May 2023 19:49:17 +0000 (21:49 +0200)]
build(ci): fix sonar scanner run
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 1 May 2023 19:36:02 +0000 (21:36 +0200)]
build(ci): use monorepo setup on sonarcloud
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 1 May 2023 18:44:50 +0000 (20:44 +0200)]
fix: fix sonar configuration
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 1 May 2023 18:39:18 +0000 (20:39 +0200)]
build: cleanup eslint configuration
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 1 May 2023 17:50:27 +0000 (19:50 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 1 May 2023 14:21:35 +0000 (16:21 +0200)]
build: align eslint imports sorting settings
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 1 May 2023 12:57:14 +0000 (14:57 +0200)]
build: align imports sorting settings
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 1 May 2023 12:13:11 +0000 (14:13 +0200)]
refactor: cleanup imports
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 1 May 2023 11:04:17 +0000 (13:04 +0200)]
build: untangle ui and simulator code linting and formatting
configuration
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 30 Apr 2023 20:57:56 +0000 (22:57 +0200)]
fix: fix async lock property value at init
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 30 Apr 2023 20:53:54 +0000 (22:53 +0200)]
fix: use homebrew async locking primitive to order file writing
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 30 Apr 2023 19:14:50 +0000 (21:14 +0200)]
docs: refine README.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 30 Apr 2023 19:08:42 +0000 (21:08 +0200)]
docs: document evses template configuration section
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 30 Apr 2023 18:24:38 +0000 (20:24 +0200)]
fix: reference a connector status clone in connectors map
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 30 Apr 2023 15:03:05 +0000 (17:03 +0200)]
fix: fix ATG refresh at template changes
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 29 Apr 2023 21:20:12 +0000 (23:20 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 29 Apr 2023 21:08:21 +0000 (23:08 +0200)]
fix: fix charging station info type
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 29 Apr 2023 19:55:33 +0000 (21:55 +0200)]
feat: add helper to build connectors/evses from configuration
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 29 Apr 2023 11:52:54 +0000 (13:52 +0200)]
fix: fix conditional saving of configuration sections
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 29 Apr 2023 09:27:31 +0000 (11:27 +0200)]
fix: fix condition at saving connectors/evses
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 29 Apr 2023 08:59:38 +0000 (10:59 +0200)]
refactor: factor out template file check
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 29 Apr 2023 08:21:15 +0000 (10:21 +0200)]
fix: untangle connectors/evses init from station info one
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 28 Apr 2023 23:24:21 +0000 (01:24 +0200)]
fix: fix station info generation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 28 Apr 2023 21:13:58 +0000 (23:13 +0200)]
fix: fix electrical specs calculation with evses
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 28 Apr 2023 19:13:24 +0000 (21:13 +0200)]
feat: add support for evses in all identified code paths
Reference: https://github.com/SAP/e-mobility-charging-stations-simulator/issues/349
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 28 Apr 2023 17:47:13 +0000 (19:47 +0200)]
fix: fix return at getting connector status with evses
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 28 Apr 2023 17:35:20 +0000 (19:35 +0200)]
feat: support evses in more code path
Reference: https://github.com/SAP/e-mobility-charging-stations-simulator/issues/349
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 28 Apr 2023 14:16:03 +0000 (16:16 +0200)]
refactor: add helper to test connector
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 28 Apr 2023 13:54:40 +0000 (15:54 +0200)]
fix: fix phase rotation value helper return type
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 28 Apr 2023 13:52:38 +0000 (15:52 +0200)]
refactor: factor out connector phase rotation value building
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 28 Apr 2023 13:41:33 +0000 (15:41 +0200)]
feat: handle connectors status at stop with evses configuration
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 28 Apr 2023 13:27:49 +0000 (15:27 +0200)]
feat: add connector status handling at boot with evses configuration
Reference: https://github.com/SAP/e-mobility-charging-stations-simulator/issues/349
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 28 Apr 2023 12:25:35 +0000 (14:25 +0200)]
fix: fix number of available evses calculation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 28 Apr 2023 12:13:33 +0000 (14:13 +0200)]
refactor: uniformize log messages
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 28 Apr 2023 12:10:03 +0000 (14:10 +0200)]
refactor: uniformize log messages formatting
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 28 Apr 2023 11:24:53 +0000 (13:24 +0200)]
refactor: remove unneeded connector 0 handling at connectors init
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 28 Apr 2023 10:28:25 +0000 (12:28 +0200)]
build(deps): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 28 Apr 2023 10:24:48 +0000 (12:24 +0200)]
refactor: remove unneeded premise in condition
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 28 Apr 2023 10:10:54 +0000 (12:10 +0200)]
feat: save connectors/evses map in charging station configuration file
Reference: https://github.com/SAP/e-mobility-charging-stations-simulator/issues/505
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 27 Apr 2023 19:48:35 +0000 (21:48 +0200)]
fix: add sanity check at evses initialization
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 27 Apr 2023 18:33:24 +0000 (20:33 +0200)]
fix: fix code block in else at evses init
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 27 Apr 2023 18:21:31 +0000 (20:21 +0200)]
feat: add initial support to evses handling
Reference: https://github.com/SAP/e-mobility-charging-stations-simulator/issues/349
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 27 Apr 2023 17:02:07 +0000 (19:02 +0200)]
feat: add template example with evses configuration
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 27 Apr 2023 16:55:02 +0000 (18:55 +0200)]
refactor: cleanup connectors initialization code
Reference: https://github.com/SAP/e-mobility-charging-stations-simulator/issues/349
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 27 Apr 2023 08:57:32 +0000 (10:57 +0200)]
build: align prettier configuration
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 26 Apr 2023 22:48:49 +0000 (00:48 +0200)]
refactor: move helpers to utils
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>