Jérôme Benoit [Thu, 30 Nov 2023 21:29:18 +0000 (22:29 +0100)]
build: properly account build time
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 30 Nov 2023 18:24:39 +0000 (19:24 +0100)]
fix: handle invalid hashIds in UI server payload
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 30 Nov 2023 17:19:37 +0000 (18:19 +0100)]
chore: version 1.2.28
Jérôme Benoit [Thu, 30 Nov 2023 17:11:28 +0000 (18:11 +0100)]
fix: ensure no null serialized values end in UI server response payload
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 30 Nov 2023 16:51:19 +0000 (17:51 +0100)]
fix: handle not found hashId in UI server
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 30 Nov 2023 15:38:10 +0000 (16:38 +0100)]
fix: ensure UI server remains active at simulator stop
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 30 Nov 2023 14:15:55 +0000 (15:15 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 30 Nov 2023 11:20:59 +0000 (12:20 +0100)]
fix: only reset defined ATG connector status
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 29 Nov 2023 20:28:06 +0000 (21:28 +0100)]
refactor: cleanup ElementsPerWorkerType type definition
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 29 Nov 2023 19:26:01 +0000 (20:26 +0100)]
refactor: cleanup crypto import
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 29 Nov 2023 19:11:39 +0000 (20:11 +0100)]
refactor: add type for worker configuration attribute
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 29 Nov 2023 19:05:15 +0000 (20:05 +0100)]
refactor: cleanup buffered messages handling code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 29 Nov 2023 17:41:42 +0000 (18:41 +0100)]
chore: version 1.2.27
Jérôme Benoit [Wed, 29 Nov 2023 17:37:14 +0000 (18:37 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 29 Nov 2023 14:27:19 +0000 (15:27 +0100)]
fix: ensure event listeners are always removed at simulator stop
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 29 Nov 2023 10:08:43 +0000 (11:08 +0100)]
fix: ignore harmless performance error at shutdown
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 29 Nov 2023 09:46:08 +0000 (10:46 +0100)]
refactor: rename elementsPerWorkers 'single' -> 'all
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 29 Nov 2023 09:12:14 +0000 (10:12 +0100)]
refactor: factor out configuration handling helpers
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 28 Nov 2023 18:04:22 +0000 (19:04 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 28 Nov 2023 16:44:10 +0000 (17:44 +0100)]
perf: allow to fine tune worker_threads ressource configuration
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 28 Nov 2023 08:57:42 +0000 (09:57 +0100)]
perf(simulator): remove worker configuration attribute from Bootstrap
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 27 Nov 2023 20:21:26 +0000 (21:21 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 27 Nov 2023 20:12:32 +0000 (21:12 +0100)]
fix: fix performance configuration change at runtime
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 27 Nov 2023 17:04:35 +0000 (18:04 +0100)]
fix: fix cf push by conditionnaly importing husky
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 27 Nov 2023 12:42:09 +0000 (13:42 +0100)]
docs: ui/web/README.md: refine links
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 27 Nov 2023 12:28:25 +0000 (13:28 +0100)]
docs: ui/web/README.md: fix link, take 2
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 27 Nov 2023 12:27:18 +0000 (13:27 +0100)]
docs: ui/web/README.md: fix link
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 27 Nov 2023 12:23:19 +0000 (13:23 +0100)]
docs: refine Web UI usage path
Closes #860
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 26 Nov 2023 22:55:02 +0000 (23:55 +0100)]
refactor: cleanup undefined handling
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 26 Nov 2023 22:49:48 +0000 (23:49 +0100)]
fix: fix recursion loop getTemplateFromFile -> logPrefix -> getTemplateFromFile
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 26 Nov 2023 12:18:54 +0000 (13:18 +0100)]
build(deps): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 24 Nov 2023 09:53:59 +0000 (10:53 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 24 Nov 2023 08:53:55 +0000 (09:53 +0100)]
Merge pull request #858 from SAP/combined-prs-branch
Combined PRs
Jérôme Benoit [Fri, 24 Nov 2023 08:50:26 +0000 (09:50 +0100)]
refactor(ui): add firmware status to UI types
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 24 Nov 2023 08:32:52 +0000 (09:32 +0100)]
chore: version 1.2.26
Jérôme Benoit [Fri, 24 Nov 2023 02:10:17 +0000 (03:10 +0100)]
Merge dependabot/github_actions/github/combine-prs-5.0.0 into combined-prs-branch
Jérôme Benoit [Fri, 24 Nov 2023 02:10:16 +0000 (03:10 +0100)]
Merge dependabot/npm_and_yarn/tsx-4.4.0 into combined-prs-branch
Jérôme Benoit [Fri, 24 Nov 2023 00:11:41 +0000 (01:11 +0100)]
refactor: remove unneeded registration status getter
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 24 Nov 2023 00:00:45 +0000 (01:00 +0100)]
feat: add message buffer flush interval
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 23 Nov 2023 21:31:41 +0000 (22:31 +0100)]
fix: ensure configuration keys are saved with the right data structure
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 23 Nov 2023 21:26:18 +0000 (22:26 +0100)]
refactor: remove unneeded max power getter
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 23 Nov 2023 20:46:09 +0000 (21:46 +0100)]
refactor: cleanup persistent stationInfo tunable handling
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 23 Nov 2023 20:25:48 +0000 (21:25 +0100)]
fix: fix configuration loading from file
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 23 Nov 2023 19:40:10 +0000 (20:40 +0100)]
fix: make stationInfo attributes writable again
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 23 Nov 2023 18:08:41 +0000 (19:08 +0100)]
fix: add getter/setter on some station info attributes
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
dependabot[bot] [Thu, 23 Nov 2023 16:59:51 +0000 (16:59 +0000)]
build(deps-dev): Bump tsx from 4.3.0 to 4.4.0
Bumps [tsx](https://github.com/privatenumber/tsx) from 4.3.0 to 4.4.0.
- [Release notes](https://github.com/privatenumber/tsx/releases)
- [Changelog](https://github.com/privatenumber/tsx/blob/develop/release.config.cjs)
- [Commits](https://github.com/privatenumber/tsx/compare/v4.3.0...v4.4.0)
---
updated-dependencies:
- dependency-name: tsx
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot] [Thu, 23 Nov 2023 16:28:08 +0000 (16:28 +0000)]
build(deps): Bump github/combine-prs from 4.1.0 to 5.0.0
Bumps [github/combine-prs](https://github.com/github/combine-prs) from 4.1.0 to 5.0.0.
- [Release notes](https://github.com/github/combine-prs/releases)
- [Commits](https://github.com/github/combine-prs/compare/v4.1.0...v5.0.0)
---
updated-dependencies:
- dependency-name: github/combine-prs
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Jérôme Benoit [Wed, 22 Nov 2023 20:59:35 +0000 (21:59 +0100)]
fix: ensure updated CS event is emitted on all possible changes
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 22 Nov 2023 19:37:23 +0000 (20:37 +0100)]
build: remove now uneeded ESM workaround for esbuil
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 22 Nov 2023 19:08:56 +0000 (20:08 +0100)]
build: bump volta node version
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 22 Nov 2023 17:39:34 +0000 (18:39 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 22 Nov 2023 09:15:02 +0000 (10:15 +0100)]
refactor: add error name in worker set worker startup error reporting
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 21 Nov 2023 18:27:12 +0000 (19:27 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 21 Nov 2023 09:05:32 +0000 (10:05 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 20 Nov 2023 22:15:40 +0000 (23:15 +0100)]
fix: ensure the message buffer is flushed once accepted state is reached
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 20 Nov 2023 21:58:29 +0000 (22:58 +0100)]
refactor: refine OCPP stack log message
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 20 Nov 2023 21:43:12 +0000 (22:43 +0100)]
refactor: explicit condition check in OCPP stack
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 20 Nov 2023 21:27:55 +0000 (22:27 +0100)]
fix(simulator): buffer OCPP payload at sending error
Closes #156
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 20 Nov 2023 20:51:45 +0000 (21:51 +0100)]
refactor: refine type casting in OCPP stack
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 20 Nov 2023 20:46:30 +0000 (21:46 +0100)]
refactor: cleanup types signature namespace
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 20 Nov 2023 20:23:41 +0000 (21:23 +0100)]
refactor: improve OCPP error defaults and usage
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 20 Nov 2023 20:00:14 +0000 (21:00 +0100)]
perf(ui): only build WS payload if connection is opened
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 20 Nov 2023 16:38:35 +0000 (17:38 +0100)]
refactor: more stricter type checking in condition
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 20 Nov 2023 16:05:31 +0000 (17:05 +0100)]
refactor: stricter type checking in conditions
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 20 Nov 2023 14:50:12 +0000 (15:50 +0100)]
fix: do not log twice OCPP request sending error
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 20 Nov 2023 10:41:40 +0000 (11:41 +0100)]
refactor: remove unneeded encapsulation in arrow function
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 20 Nov 2023 10:26:55 +0000 (11:26 +0100)]
chore: version 1.2.25
Jérôme Benoit [Mon, 20 Nov 2023 10:19:58 +0000 (11:19 +0100)]
refactor: strong type data sent to worker
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 19 Nov 2023 16:11:25 +0000 (17:11 +0100)]
refactor: factor out WS error handling code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 19 Nov 2023 15:51:11 +0000 (16:51 +0100)]
refactor: cleanup control flow in OCPP stack
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 19 Nov 2023 15:45:41 +0000 (16:45 +0100)]
fix: ensure error at WS message sending is handled
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 19 Nov 2023 14:22:01 +0000 (15:22 +0100)]
fix: fix OCPP message sending promise leak
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 19 Nov 2023 11:52:20 +0000 (12:52 +0100)]
refactor: rename constant to a more sensible name
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 19 Nov 2023 11:32:27 +0000 (12:32 +0100)]
fix: remove incorrect promise race usage at stopping charging stations
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 19 Nov 2023 10:14:34 +0000 (11:14 +0100)]
refactor: remove unneeded nullish coalescing
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 19 Nov 2023 10:10:50 +0000 (11:10 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 19 Nov 2023 09:51:04 +0000 (10:51 +0100)]
perf: cache request promise after sending it
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 18 Nov 2023 23:30:31 +0000 (00:30 +0100)]
fix: improve websocket usage error handling
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 18 Nov 2023 22:06:52 +0000 (23:06 +0100)]
fix: ensure OCPP request timeouting cancel it
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 18 Nov 2023 10:20:32 +0000 (11:20 +0100)]
refactor: sensible default at meterValues custom value handling
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 18 Nov 2023 09:20:23 +0000 (10:20 +0100)]
build(deps-dev): apply udpates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 17 Nov 2023 17:12:45 +0000 (18:12 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 16 Nov 2023 19:43:32 +0000 (20:43 +0100)]
fix: ensure built sample meterValues value can't be overriden
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 16 Nov 2023 19:21:51 +0000 (20:21 +0100)]
fix: ensure per phase meterValues can't fail with custom value
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 16 Nov 2023 17:30:53 +0000 (18:30 +0100)]
build: refine .cfignore
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 16 Nov 2023 17:08:58 +0000 (18:08 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 16 Nov 2023 16:50:24 +0000 (17:50 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 16 Nov 2023 15:37:31 +0000 (16:37 +0100)]
docs: remove wrong comment
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 16 Nov 2023 11:35:04 +0000 (12:35 +0100)]
feat: ensure measurand min value are taken into account
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 15 Nov 2023 23:12:45 +0000 (00:12 +0100)]
fix: fallback to minimum measurand value at meterValues generation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 15 Nov 2023 20:12:53 +0000 (21:12 +0100)]
refactor: factor out JSON schema validation function getter
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 14 Nov 2023 17:16:05 +0000 (18:16 +0100)]
build(ci): fix linter errors
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 14 Nov 2023 16:24:13 +0000 (17:24 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 13 Nov 2023 12:09:01 +0000 (13:09 +0100)]
refactor: move charging station events enum to its own file
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 13 Nov 2023 10:15:21 +0000 (11:15 +0100)]
refactor: factor out voltage phase line to line computation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 13 Nov 2023 09:30:13 +0000 (10:30 +0100)]
chore: version 1.2.24
Jérôme Benoit [Mon, 13 Nov 2023 09:29:12 +0000 (10:29 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 13 Nov 2023 09:15:02 +0000 (10:15 +0100)]
fix: ensure custom meterValues values are taken
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 13 Nov 2023 09:05:20 +0000 (10:05 +0100)]
refactor: remove unneeded intermediate variable
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 13 Nov 2023 08:20:31 +0000 (09:20 +0100)]
fix: do not test for connector status in ATG
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>