Jérôme Benoit [Sun, 28 May 2023 19:10:12 +0000 (21:10 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 28 May 2023 16:01:22 +0000 (18:01 +0200)]
refactor: cleanup UI service method namespace
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 28 May 2023 14:04:49 +0000 (16:04 +0200)]
build: update excluded assets files list
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 28 May 2023 13:41:28 +0000 (15:41 +0200)]
build: update pnpm lockfile version
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 28 May 2023 12:22:45 +0000 (14:22 +0200)]
refactor(simulator): use spread syntax to handle literal arguments
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 28 May 2023 11:49:17 +0000 (13:49 +0200)]
build(simulator): cleanup bundler configuration
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 28 May 2023 11:26:12 +0000 (13:26 +0200)]
build(simulator): always minify bundle
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 28 May 2023 10:56:45 +0000 (12:56 +0200)]
docs: refine README.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 28 May 2023 10:05:32 +0000 (12:05 +0200)]
docs: refine README.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 27 May 2023 20:44:22 +0000 (22:44 +0200)]
refactor: only copy assets used at runtime in the bundle
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 27 May 2023 19:35:06 +0000 (21:35 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 27 May 2023 18:43:44 +0000 (20:43 +0200)]
refactor: cleanup imports
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 27 May 2023 18:18:08 +0000 (20:18 +0200)]
refactor: cleanup configuration handling methods namespace
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 27 May 2023 13:57:56 +0000 (15:57 +0200)]
fix: do not send UI protocol response if no handler is found
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 27 May 2023 13:39:02 +0000 (15:39 +0200)]
fix: ensure template has priority over CS configuration
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 27 May 2023 12:37:24 +0000 (14:37 +0200)]
fix: clone ATG connector status before altering it
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 27 May 2023 12:30:16 +0000 (14:30 +0200)]
docs: refine README.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 27 May 2023 12:22:59 +0000 (14:22 +0200)]
fix: fix CS configuration hash calculation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 26 May 2023 22:55:58 +0000 (00:55 +0200)]
fix: fix default error params setting
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 26 May 2023 22:44:54 +0000 (00:44 +0200)]
refactor: factor out default error handling params
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 26 May 2023 22:27:06 +0000 (00:27 +0200)]
refactor: factor out default OCPP request params value
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 26 May 2023 22:06:58 +0000 (00:06 +0200)]
refactor: convert WorkerUtils class static methods to constified arrow
function
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 26 May 2023 21:47:31 +0000 (23:47 +0200)]
refactor: stop !== shutdown semantic
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 26 May 2023 19:40:41 +0000 (21:40 +0200)]
chore: version 1.2.14
Jérôme Benoit [Fri, 26 May 2023 19:30:23 +0000 (21:30 +0200)]
build(deps): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 26 May 2023 13:07:53 +0000 (15:07 +0200)]
fix: fix undefined payload check in UI server code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 26 May 2023 12:55:36 +0000 (14:55 +0200)]
fix: only send UI server response when needed
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 26 May 2023 12:35:37 +0000 (14:35 +0200)]
refactor: format error message properly
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 26 May 2023 11:20:55 +0000 (13:20 +0200)]
fix: ensure simulator stop wait for started CS only stop
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 26 May 2023 10:58:21 +0000 (12:58 +0200)]
build: silence rollup warning
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 26 May 2023 10:55:09 +0000 (12:55 +0200)]
fix: wait for charging stations to be stopped at simulator stop
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 25 May 2023 22:02:19 +0000 (00:02 +0200)]
feat: add graceful shutdown
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 25 May 2023 19:42:52 +0000 (21:42 +0200)]
refactor(simulator): factor out data transfer response
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 25 May 2023 19:26:36 +0000 (21:26 +0200)]
build(deps): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 25 May 2023 15:56:59 +0000 (17:56 +0200)]
fix: fix chalk invocation in configuration file handling code
Extracted from PR #574
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 24 May 2023 21:23:52 +0000 (23:23 +0200)]
fix: does not override ATG configuration with default one
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 24 May 2023 21:21:27 +0000 (23:21 +0200)]
refactor(simulator): simplify ATG default configuration usage
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 24 May 2023 21:08:59 +0000 (23:08 +0200)]
refactor(simulator): add more default values to ATG
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 24 May 2023 20:56:29 +0000 (22:56 +0200)]
refactor(simulator): factor out default ATG configuration
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 24 May 2023 18:58:59 +0000 (20:58 +0200)]
refactor(simulator): rename checkTemplateFile() -> checkTemplate()
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 24 May 2023 18:50:03 +0000 (20:50 +0200)]
refactor(simulator): warn at startup for missing id tags file
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 24 May 2023 14:11:47 +0000 (16:11 +0200)]
fix: revert incorrect id tags cache key building
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 24 May 2023 13:25:23 +0000 (15:25 +0200)]
refactor(simulator): strong type worker data for evses
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 23 May 2023 08:35:49 +0000 (10:35 +0200)]
refactor: improve error log messages
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 23 May 2023 08:34:08 +0000 (10:34 +0200)]
refactor: improve error logging
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 23 May 2023 07:25:03 +0000 (09:25 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 22 May 2023 22:08:46 +0000 (00:08 +0200)]
fix: ensure the runtime ATG configuration is saved
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 22 May 2023 18:38:27 +0000 (20:38 +0200)]
fix: properly fallback to template OCPP configuration
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 22 May 2023 16:37:38 +0000 (18:37 +0200)]
fix: ensure no empty string as supervision url can be used at runtime
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 22 May 2023 14:12:21 +0000 (16:12 +0200)]
build(deps): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 22 May 2023 08:48:13 +0000 (10:48 +0200)]
fix: various fixes to files handling and their content caching
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 22 May 2023 05:18:17 +0000 (07:18 +0200)]
refactor: align constants scope syntax
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 21 May 2023 23:14:23 +0000 (01:14 +0200)]
refactor: organize constants
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 21 May 2023 22:12:43 +0000 (00:12 +0200)]
refactor: cleanup constants namespace
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 21 May 2023 11:28:56 +0000 (13:28 +0200)]
docs: fix sections level
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 21 May 2023 11:25:47 +0000 (13:25 +0200)]
docs: add OCPP 2.x.x sections
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 21 May 2023 09:17:53 +0000 (11:17 +0200)]
build(deps-dev): update overrides got version
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 20 May 2023 23:26:24 +0000 (01:26 +0200)]
build(simulator): refine pnpm overrides
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 20 May 2023 23:12:36 +0000 (01:12 +0200)]
fix: fix overrides handling for dependencies
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 20 May 2023 20:11:27 +0000 (22:11 +0200)]
refactor(simulator): remove unused async lock class attribute
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 20 May 2023 19:59:36 +0000 (21:59 +0200)]
refactor(simulator): move configuration related helpers
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 20 May 2023 19:32:50 +0000 (21:32 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 20 May 2023 19:15:19 +0000 (21:15 +0200)]
refactor(simulator): factor out common helpers
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 20 May 2023 15:03:20 +0000 (17:03 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 20 May 2023 12:39:10 +0000 (14:39 +0200)]
build(simulator): use module imports for performance
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 20 May 2023 12:29:28 +0000 (14:29 +0200)]
build(simulator): don't preserve modules
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 19 May 2023 20:36:50 +0000 (22:36 +0200)]
refactor(ui): order types export
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
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