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>
Jérôme Benoit [Wed, 26 Apr 2023 20:55:51 +0000 (22:55 +0200)]
build(deps): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 26 Apr 2023 20:35:43 +0000 (22:35 +0200)]
feat: make evse and connector configurations in template mutually
exclusive
Evse configurations is still not use at that stage
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 [Tue, 25 Apr 2023 22:12:10 +0000 (00:12 +0200)]
fix: revert schema usage for linted-staged: no supported
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 25 Apr 2023 22:09:46 +0000 (00:09 +0200)]
fix: align enums key casing if used in compound
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 25 Apr 2023 21:59:58 +0000 (23:59 +0200)]
fix: add missing type definition file
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 25 Apr 2023 21:50:27 +0000 (23:50 +0200)]
feat: add initial support for evse definition in template
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 [Tue, 25 Apr 2023 16:59:59 +0000 (18:59 +0200)]
build(deps): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 25 Apr 2023 12:57:28 +0000 (14:57 +0200)]
build: fix code mocha explorer settings with ESM
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 25 Apr 2023 12:16:16 +0000 (14:16 +0200)]
build: silence wrong spelling report
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 25 Apr 2023 12:09:22 +0000 (14:09 +0200)]
build: silence wrong spelling report
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 25 Apr 2023 09:29:28 +0000 (11:29 +0200)]
build(ui): silence wrong spelling report
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 24 Apr 2023 23:23:11 +0000 (01:23 +0200)]
build(ui): remove duplicated eslint configuration
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 24 Apr 2023 23:14:48 +0000 (01:14 +0200)]
build(ui): refine lint-staged configuration
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 24 Apr 2023 23:11:06 +0000 (01:11 +0200)]
build(ui): order lint-staged
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 24 Apr 2023 23:05:57 +0000 (01:05 +0200)]
refactor(ui): format js files
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 24 Apr 2023 23:04:15 +0000 (01:04 +0200)]
build(ui): enable eslint cache
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 24 Apr 2023 22:58:35 +0000 (00:58 +0200)]
build(ui): refine lint-staged configuration
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 24 Apr 2023 22:53:44 +0000 (00:53 +0200)]
refactor(ui): silence wrong spelling report
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 24 Apr 2023 22:41:00 +0000 (00:41 +0200)]
refactor(ui): sync promiseWithTimeout() helper
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 24 Apr 2023 22:28:53 +0000 (00:28 +0200)]
build(ui): switch to vite
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 24 Apr 2023 20:07:46 +0000 (22:07 +0200)]
build(ui): import the proper @vue/tsconfig file
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 24 Apr 2023 18:52:11 +0000 (20:52 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 24 Apr 2023 16:52:27 +0000 (18:52 +0200)]
build: silence wrong spelling report
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 24 Apr 2023 16:50:46 +0000 (18:50 +0200)]
refactor: cleanup storage type case
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 24 Apr 2023 16:45:19 +0000 (18:45 +0200)]
refactor: add sanity check to worker script handling
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 24 Apr 2023 13:11:17 +0000 (15:11 +0200)]
refactor: format configuration files
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 24 Apr 2023 12:53:48 +0000 (14:53 +0200)]
build(ci): fix sonar-scanner, take 2
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 24 Apr 2023 12:19:06 +0000 (14:19 +0200)]
build: cleanup tsconfig files
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 24 Apr 2023 12:14:31 +0000 (14:14 +0200)]
build(ci): fix sonar-scanner
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 24 Apr 2023 12:03:01 +0000 (14:03 +0200)]
build(ci): update sonar-scanner GH action version
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 24 Apr 2023 05:47:06 +0000 (07:47 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 23 Apr 2023 20:50:57 +0000 (22:50 +0200)]
build(ui): use eslint-define-config
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 23 Apr 2023 20:36:03 +0000 (22:36 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 23 Apr 2023 20:22:10 +0000 (22:22 +0200)]
build: align URI to access JSON schemas
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 23 Apr 2023 20:17:02 +0000 (22:17 +0200)]
build: add JSON schema to configuration files
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 23 Apr 2023 17:56:12 +0000 (19:56 +0200)]
build: pin volta pnpm version
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sun, 23 Apr 2023 15:25:22 +0000 (17:25 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 23 Apr 2023 10:50:27 +0000 (12:50 +0200)]
chore: version 1.2.11
Jérôme Benoit [Sun, 23 Apr 2023 10:47:13 +0000 (12:47 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sun, 23 Apr 2023 09:23:40 +0000 (11:23 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 23 Apr 2023 00:13:48 +0000 (02:13 +0200)]
test: use monotonic timer
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 22 Apr 2023 23:27:34 +0000 (01:27 +0200)]
build: add pnpm minimum version to engines
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 22 Apr 2023 23:13:14 +0000 (01:13 +0200)]
build: cleanup scripts usage with pnpm
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 22 Apr 2023 21:55:48 +0000 (23:55 +0200)]
build(ci): enable dependencies caching with pnpm
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 22 Apr 2023 21:16:22 +0000 (23:16 +0200)]
build(simulator): fix type import
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 22 Apr 2023 21:11:43 +0000 (23:11 +0200)]
refactor(simulator): consolidate connector status transition
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 22 Apr 2023 21:03:37 +0000 (23:03 +0200)]
refactor(simulator): cleanup constants definition in OCPP code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 22 Apr 2023 18:58:40 +0000 (20:58 +0200)]
build(deps-dev): refine vue.js dashboard tsconfig.json
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 22 Apr 2023 18:47:13 +0000 (20:47 +0200)]
build(ui): fix test
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 22 Apr 2023 18:37:42 +0000 (20:37 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 22 Apr 2023 18:11:25 +0000 (20:11 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 22 Apr 2023 18:01:59 +0000 (20:01 +0200)]
build(ci): use a working sonar-scanner version
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 20 Apr 2023 19:29:46 +0000 (21:29 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 19 Apr 2023 22:33:06 +0000 (00:33 +0200)]
build: avoid npx prompt at pnpm i
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 19 Apr 2023 20:58:37 +0000 (22:58 +0200)]
build: pin volta node version
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 19 Apr 2023 19:21:30 +0000 (21:21 +0200)]
build(ci): switch to node 20.x
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 19 Apr 2023 15:35:30 +0000 (17:35 +0200)]
build(simulator): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 18 Apr 2023 23:47:28 +0000 (01:47 +0200)]
chore: version 1.2.10
Jérôme Benoit [Tue, 18 Apr 2023 23:46:14 +0000 (01:46 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 18 Apr 2023 21:41:17 +0000 (23:41 +0200)]
build(simulator): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 18 Apr 2023 18:52:04 +0000 (20:52 +0200)]
fix: fix sonarcloud analysis
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 18 Apr 2023 17:18:40 +0000 (19:18 +0200)]
fix: ensure constants are readonly data structures
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 18 Apr 2023 17:08:48 +0000 (19:08 +0200)]
feat: add status notification transition check to OCPP 2.x.x code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 17 Apr 2023 22:32:34 +0000 (00:32 +0200)]
refactor(simulator): permit to check if connector status transition is
allowed
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>