Jérôme Benoit [Tue, 27 Jun 2023 21:20:30 +0000 (23:20 +0200)]
feat: display worker set/pool info at startup
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 27 Jun 2023 15:28:01 +0000 (17:28 +0200)]
build(deps): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 25 Jun 2023 20:33:26 +0000 (22:33 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 24 Jun 2023 20:10:41 +0000 (22:10 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 19 Jun 2023 21:51:07 +0000 (23:51 +0200)]
docs: add FIXME
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 19 Jun 2023 21:46:29 +0000 (23:46 +0200)]
fix: ensure id tags cache is properly cleaned
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 19 Jun 2023 20:02:34 +0000 (22:02 +0200)]
fix: ensure simulator will stop after a timeout (120s)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 19 Jun 2023 18:02:20 +0000 (20:02 +0200)]
build(deps): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 18 Jun 2023 20:08:12 +0000 (22:08 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 14 Jun 2023 15:02:36 +0000 (17:02 +0200)]
docs: refine README
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 14 Jun 2023 14:51:13 +0000 (16:51 +0200)]
docs: refine README
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 14 Jun 2023 14:37:02 +0000 (16:37 +0200)]
docs: refine README
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 13 Jun 2023 19:35:26 +0000 (21:35 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 12 Jun 2023 19:46:48 +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, 12 Jun 2023 10:11:05 +0000 (12:11 +0200)]
docs: refine README.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 11 Jun 2023 22:50:27 +0000 (00:50 +0200)]
build(deps): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sun, 11 Jun 2023 16:50:37 +0000 (18:50 +0200)]
build(deps): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sun, 11 Jun 2023 16:30:52 +0000 (18:30 +0200)]
fix: do not run scripts while installing deps in docker image
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 11 Jun 2023 16:24:55 +0000 (18:24 +0200)]
fix: properly handle non existing configuration sections
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 11 Jun 2023 15:50:34 +0000 (17:50 +0200)]
refactor: refine configuration deprecation message
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 11 Jun 2023 15:37:43 +0000 (17:37 +0200)]
feat: move logging configuration into its own section
Close #348
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 11 Jun 2023 11:52:34 +0000 (13:52 +0200)]
refactor: align set information namespace
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 10 Jun 2023 23:37:59 +0000 (01:37 +0200)]
fix: make worker set respect all relevant worker options
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 10 Jun 2023 21:57:38 +0000 (23:57 +0200)]
fix: fix worker options argument passing to worker pool/set
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 10 Jun 2023 14:42:17 +0000 (16:42 +0200)]
build(deps): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 9 Jun 2023 20:16:00 +0000 (22:16 +0200)]
build(deps): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 8 Jun 2023 10:46:57 +0000 (12:46 +0200)]
fix: export worker events also as enum
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Thu, 8 Jun 2023 10:37:14 +0000 (12:37 +0200)]
refactor: consolidate worker events enum
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 7 Jun 2023 21:23:08 +0000 (23:23 +0200)]
chore: version 1.2.16
Jérôme Benoit [Wed, 7 Jun 2023 21:18:14 +0000 (23:18 +0200)]
build(deps): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 7 Jun 2023 13:55:44 +0000 (15:55 +0200)]
Merge pull request #596 from JulianHBuecher/reservation-process-bug-fix
Jérôme Benoit [Wed, 7 Jun 2023 13:53:44 +0000 (15:53 +0200)]
Merge branch 'main' into reservation-process-bug-fix
Jérôme Benoit [Wed, 7 Jun 2023 09:51:25 +0000 (11:51 +0200)]
refactor: factor out charging station events waiter
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Julian Buecher [Wed, 7 Jun 2023 07:19:09 +0000 (09:19 +0200)]
fix: missing status updates regarding reservation cancellation and replacement
Jérôme Benoit [Tue, 6 Jun 2023 23:15:57 +0000 (01:15 +0200)]
fix: ensure firmware update simulation always run as async resource
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 5 Jun 2023 19:46:25 +0000 (21:46 +0200)]
refactor: revert overzealous cleanup
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 5 Jun 2023 19:31:22 +0000 (21:31 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 5 Jun 2023 19:18:33 +0000 (21:18 +0200)]
refactor: cleanup reservation code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 5 Jun 2023 19:14:57 +0000 (21:14 +0200)]
refactor: cleanup reservation code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 5 Jun 2023 19:03:28 +0000 (21:03 +0200)]
refactor: use helper to set and send connector status in reservation
code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 5 Jun 2023 16:51:24 +0000 (18:51 +0200)]
fix: validate response payload related to reservation OCPP commands
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 5 Jun 2023 16:29:25 +0000 (18:29 +0200)]
refactor: cleanup reservation handling code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 5 Jun 2023 15:44:43 +0000 (17:44 +0200)]
refactor: trivial cleanups
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 5 Jun 2023 15:41:23 +0000 (17:41 +0200)]
Merge pull request #574 from JulianHBuecher/reservation-feature
Merge as is with trivial errors to be fixed in a subsequent commit.
Jérôme Benoit [Mon, 5 Jun 2023 15:36:45 +0000 (17:36 +0200)]
Merge branch 'main' into reservation-feature
Julian Buecher [Mon, 5 Jun 2023 14:19:22 +0000 (16:19 +0200)]
refactor: applied changes for pull request
Jérôme Benoit [Sun, 4 Jun 2023 18:42:30 +0000 (20:42 +0200)]
fix: avoid concurrent ATG startup
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 4 Jun 2023 14:28:57 +0000 (16:28 +0200)]
build(deps): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 3 Jun 2023 12:11:53 +0000 (14:11 +0200)]
refactor: cleanup worker set code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 3 Jun 2023 10:57:47 +0000 (12:57 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 2 Jun 2023 20:04:34 +0000 (22:04 +0200)]
feat: expose pool/set information
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 2 Jun 2023 15:51:06 +0000 (17:51 +0200)]
build(deps): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 2 Jun 2023 11:46:19 +0000 (13:46 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 2 Jun 2023 07:45:05 +0000 (09:45 +0200)]
feat: add event emitter to worker pool/set code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 1 Jun 2023 19:06:51 +0000 (21:06 +0200)]
feat: restart worker on uncaught exception
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 1 Jun 2023 02:43:07 +0000 (04:43 +0200)]
refactor: encapsulate worker in an object
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 1 Jun 2023 02:07:56 +0000 (04:07 +0200)]
fix: ensure all charging stations are started as an async resource
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 1 Jun 2023 02:01:38 +0000 (04:01 +0200)]
perf: run charging station as async resource in the worker set mode
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 31 May 2023 21:52:33 +0000 (23:52 +0200)]
feat: add configuration tunable for logging enablement
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 31 May 2023 20:29:56 +0000 (22:29 +0200)]
refactor: throw error at simalator start/stop outside the main thread
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 31 May 2023 20:19:08 +0000 (22:19 +0200)]
fix: guard against concurrent simulator start/stop
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 31 May 2023 19:58:24 +0000 (21:58 +0200)]
chore: version 1.2.15
Jérôme Benoit [Wed, 31 May 2023 19:53:59 +0000 (21:53 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 30 May 2023 20:08:29 +0000 (22:08 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 30 May 2023 19:30:02 +0000 (21:30 +0200)]
fix: fix commonjs import issue with node.js 16.x.x
Close #582
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 30 May 2023 10:57:02 +0000 (12:57 +0200)]
build(deps): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 29 May 2023 17:48:20 +0000 (19:48 +0200)]
fix: allow to set some x509 certificates in templates
It's relevant for public root CA
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 29 May 2023 15:13:26 +0000 (17:13 +0200)]
refactor: use mnemonist queue implementation instead of homebrew one
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 29 May 2023 13:50:46 +0000 (15:50 +0200)]
test(simulator): use standard file namespace for tests
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 29 May 2023 13:33:14 +0000 (15:33 +0200)]
perf: use O(1) queue implementation in async locking code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 29 May 2023 13:08:56 +0000 (15:08 +0200)]
refactor(simulator): factor out statistic helpers
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 29 May 2023 12:44:23 +0000 (14:44 +0200)]
refactor: cleanup async lock acquire()
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 29 May 2023 12:34:53 +0000 (14:34 +0200)]
refactor: cleanup UI server variable namespace
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 29 May 2023 10:58:57 +0000 (12:58 +0200)]
fix: ensure internal counters are zeroed at simulator stop
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 29 May 2023 08:47:39 +0000 (10:47 +0200)]
build(simulator): ensure ui code is not included at cf push
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 28 May 2023 22:42:28 +0000 (00:42 +0200)]
build(simulator): silence rollup warning
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 28 May 2023 21:01:28 +0000 (23:01 +0200)]
refactor(simulator): convert more class static helpers to arrow function
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 28 May 2023 20:39:52 +0000 (22:39 +0200)]
refactor(simulator): export directly logger helper
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 28 May 2023 20:33:20 +0000 (22:33 +0200)]
refactor(simulator): convert some class method helpers to arrow function
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
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>