Jérôme Benoit [Fri, 24 Mar 2023 17:40:35 +0000 (18:40 +0100)]
build(ci): remove unrecognized option
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 24 Mar 2023 17:30:24 +0000 (18:30 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 24 Mar 2023 17:19:01 +0000 (18:19 +0100)]
docs: refine README.md tunables description
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 24 Mar 2023 16:24:24 +0000 (17:24 +0100)]
docs: add link to log rotation tunables details
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 24 Mar 2023 16:02:57 +0000 (17:02 +0100)]
test: setup to allow unit tests with stubbing
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 24 Mar 2023 14:07:39 +0000 (15:07 +0100)]
build(ui): switch to pnpm
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 24 Mar 2023 12:10:07 +0000 (13:10 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 23 Mar 2023 22:26:13 +0000 (23:26 +0100)]
build(deps): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 23 Mar 2023 22:00:45 +0000 (23:00 +0100)]
fix: add charging station status checkpoints to firmware update
simulation async execution
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 23 Mar 2023 10:51:37 +0000 (11:51 +0100)]
docs(simulator): document pnpm enablement
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 23 Mar 2023 10:20:44 +0000 (11:20 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 23 Mar 2023 08:46:06 +0000 (09:46 +0100)]
fix(simulator): fix CF build deployement
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 23 Mar 2023 08:26:05 +0000 (09:26 +0100)]
build(simulator): add script to prepare a build for CF
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 22 Mar 2023 23:33:46 +0000 (00:33 +0100)]
build: fix CF deployment
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 22 Mar 2023 22:18:49 +0000 (23:18 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 22 Mar 2023 21:56:17 +0000 (22:56 +0100)]
build: fix eol type detection
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 22 Mar 2023 21:49:55 +0000 (22:49 +0100)]
build(simulator): fix CI after switch to pnpm
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 22 Mar 2023 21:46:33 +0000 (22:46 +0100)]
build(simulator): switch to pnpm
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 22 Mar 2023 19:25:14 +0000 (20:25 +0100)]
fix: ensure the incremented firmware version is saved in configuration
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 22 Mar 2023 19:10:03 +0000 (20:10 +0100)]
fix(simulator): increment the firmware version in boot notification
after upgrade simulation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 22 Mar 2023 15:21:12 +0000 (16:21 +0100)]
refactor(simulator): remove unneeded condition check in log message
building
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 22 Mar 2023 07:56:05 +0000 (08:56 +0100)]
refactor(simulator): refine LRU cache type name
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 21 Mar 2023 22:54:08 +0000 (23:54 +0100)]
perf(simulator): optimize tags cache
merge maps into one
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 21 Mar 2023 21:26:41 +0000 (22:26 +0100)]
fix: stop the ATG on connector if its status is unavailable
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 21 Mar 2023 20:53:05 +0000 (21:53 +0100)]
feat(simulator): wait for transactions end before simulating firmware
upgrade
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 21 Mar 2023 00:12:06 +0000 (01:12 +0100)]
fix: fix conditions requiring an heartbeat restart at boot notification
handling
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 20 Mar 2023 22:40:56 +0000 (23:40 +0100)]
fix: fix setInterval deferencing
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 20 Mar 2023 21:09:36 +0000 (22:09 +0100)]
Revert "refactor: .js -> .cjs"
This reverts commit
8e1080e7e9825105985a8ffb8767ee868a6baf4f.
Jérôme Benoit [Mon, 20 Mar 2023 21:07:40 +0000 (22:07 +0100)]
build(simulator): update ignored CF files
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 20 Mar 2023 10:42:21 +0000 (11:42 +0100)]
build(deps): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 20 Mar 2023 01:26:42 +0000 (02:26 +0100)]
refactor: .js -> .cjs
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 20 Mar 2023 01:13:36 +0000 (02:13 +0100)]
test: fix ts-node configuration with ESM and mocha
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 20 Mar 2023 00:00:51 +0000 (01:00 +0100)]
build: refine ignore configuration files
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 19 Mar 2023 23:36:54 +0000 (00:36 +0100)]
feat: switch the bundled code to ESM only
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 18 Mar 2023 20:04:02 +0000 (21:04 +0100)]
docs: add missing escape before pipe in markdown
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 18 Mar 2023 19:45:04 +0000 (20:45 +0100)]
chore: version 1.1.96
Jérôme Benoit [Sat, 18 Mar 2023 19:43:46 +0000 (20:43 +0100)]
build(deps): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 18 Mar 2023 18:05:12 +0000 (19:05 +0100)]
build(deps): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 18 Mar 2023 16:45:29 +0000 (17:45 +0100)]
fix: brown paper bag issue at referencing the same literal object instance
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 18 Mar 2023 15:56:17 +0000 (16:56 +0100)]
build(simulator): fix assets directory cleanup
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 18 Mar 2023 14:55:07 +0000 (15:55 +0100)]
fix: make ESM bundle work
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 18 Mar 2023 12:42:52 +0000 (13:42 +0100)]
chore: version 1.1.95
Jérôme Benoit [Sat, 18 Mar 2023 12:39:32 +0000 (13:39 +0100)]
build(deps): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 18 Mar 2023 11:15:11 +0000 (12:15 +0100)]
build(simulator): type check also declaration files
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 18 Mar 2023 09:51:10 +0000 (10:51 +0100)]
test: fix TS options
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 18 Mar 2023 00:39:28 +0000 (01:39 +0100)]
refactor(simulator): cleanup types export
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 18 Mar 2023 00:01:29 +0000 (01:01 +0100)]
build(simulator): switch to TS 5.x.x
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 17 Mar 2023 22:52:23 +0000 (23:52 +0100)]
build(simulator): switch rollup plugins to core ones
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 17 Mar 2023 11:14:54 +0000 (12:14 +0100)]
refactor(simulator): remove uneeded check
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 16 Mar 2023 20:21:24 +0000 (21:21 +0100)]
feat: set supervision url through the UI protocol
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 16 Mar 2023 16:45:22 +0000 (17:45 +0100)]
fix(simulator): order firmware upgrade statuses properly
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 15 Mar 2023 22:16:50 +0000 (23:16 +0100)]
build: revert node stable CI version pinning
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 15 Mar 2023 22:07:28 +0000 (23:07 +0100)]
build(deps): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 15 Mar 2023 21:46:18 +0000 (22:46 +0100)]
refactor(simulator): remove unneeded type casting
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 15 Mar 2023 21:36:03 +0000 (22:36 +0100)]
refactor(simulator): cleanup OCPP incoming requests handler
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 15 Mar 2023 14:31:42 +0000 (15:31 +0100)]
build: fix typo in CI
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 15 Mar 2023 14:30:51 +0000 (15:30 +0100)]
build: pin node version to 19.7 in CI
https://github.com/nodejs/node/issues/47096
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 15 Mar 2023 10:15:19 +0000 (11:15 +0100)]
build: run CI on merge queue
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 11 Mar 2023 18:44:33 +0000 (19:44 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 10 Mar 2023 21:10:43 +0000 (22:10 +0100)]
build(deps): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 9 Mar 2023 21:31:05 +0000 (22:31 +0100)]
refactor(simulator): delete attributes instead of undefining
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 9 Mar 2023 20:26:21 +0000 (21:26 +0100)]
refactor(simulator): remove duplicate OCPP version validation code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 7 Mar 2023 21:41:55 +0000 (22:41 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 6 Mar 2023 12:22:47 +0000 (13:22 +0100)]
refactor(simulator): factor out supervision urls distribution
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 5 Mar 2023 20:09:08 +0000 (21:09 +0100)]
test(simulator): .nycrc.json -> .c8rc.json
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 4 Mar 2023 14:32:32 +0000 (15:32 +0100)]
style(simulator): align case on enum key/value
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 4 Mar 2023 06:00:57 +0000 (07:00 +0100)]
test: cleanup code coverage configuration
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 3 Mar 2023 22:37:28 +0000 (23:37 +0100)]
build(deps): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 3 Mar 2023 11:06:56 +0000 (12:06 +0100)]
build(deps): apply security update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 27 Feb 2023 19:59:55 +0000 (20:59 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 27 Feb 2023 14:46:47 +0000 (15:46 +0100)]
build(deps): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Mon, 27 Feb 2023 11:15:20 +0000 (12:15 +0100)]
refactor(simulator): align casing on enums between key and value
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 25 Feb 2023 21:32:48 +0000 (22:32 +0100)]
refactor(simulator): constify and factor out empty data structure
definitions
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 25 Feb 2023 13:40:41 +0000 (14:40 +0100)]
build(docker): switch to docker internal compose
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Fri, 24 Feb 2023 15:57:52 +0000 (16:57 +0100)]
refactor(simulator): avoid branching in empty array helpers
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Fri, 24 Feb 2023 09:26:43 +0000 (10:26 +0100)]
build(deps): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 21 Feb 2023 21:11:41 +0000 (22:11 +0100)]
Merge branch 'main' of github.com:SAP/e-mobility-charging-stations-simulator
Jérôme Benoit [Tue, 21 Feb 2023 21:10:24 +0000 (22:10 +0100)]
feat(simulator): add certificates related OCPP 2.x types
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 21 Feb 2023 17:47:20 +0000 (18:47 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Mon, 20 Feb 2023 21:47:35 +0000 (22:47 +0100)]
refactor(simulator): introduce HTTP methods enum
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 20 Feb 2023 20:16:51 +0000 (21:16 +0100)]
fix(simulator): clone configuration object before saving it
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 20 Feb 2023 18:56:10 +0000 (19:56 +0100)]
feat(simulator): expose OCPP configuration in UI protocol
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Mon, 20 Feb 2023 14:22:20 +0000 (15:22 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 19 Feb 2023 14:30:35 +0000 (15:30 +0100)]
build(deps): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 17 Feb 2023 19:24:06 +0000 (20:24 +0100)]
build(deps): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 16 Feb 2023 18:43:00 +0000 (19:43 +0100)]
chore: apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 16 Feb 2023 09:25:27 +0000 (10:25 +0100)]
fix(simulator): init statistic counters without possibly overriding the
initial value
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 15 Feb 2023 14:19:07 +0000 (15:19 +0100)]
refactor(simulator): import cleanups
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 15 Feb 2023 14:06:51 +0000 (15:06 +0100)]
fix(simulator): sanity checks to circular array inputs
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 15 Feb 2023 11:31:53 +0000 (12:31 +0100)]
refactor(simulator): add type shorcuts for OCPP configuration keys
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 15 Feb 2023 06:11:28 +0000 (07:11 +0100)]
test(simulator): add cloneObject() helper tests
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 14 Feb 2023 23:47:53 +0000 (00:47 +0100)]
test(simulator): refine hasOwnProp() helper tests
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 14 Feb 2023 23:39:54 +0000 (00:39 +0100)]
test(simulator): use named import
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 14 Feb 2023 22:42:37 +0000 (23:42 +0100)]
test(simulator): add hasOwnProp() tests
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 14 Feb 2023 22:32:40 +0000 (23:32 +0100)]
fix(simulator): fix mocha tests
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 14 Feb 2023 20:52:07 +0000 (21:52 +0100)]
fix(simulator): rename and fix object own property detection helper
signature
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 14 Feb 2023 20:38:44 +0000 (21:38 +0100)]
feat(simulator): switch TS transpiler to ECMAScript 2022
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Tue, 14 Feb 2023 18:41:06 +0000 (19:41 +0100)]
refactor(simulator): explicitly export needed types only
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 14 Feb 2023 17:04:57 +0000 (18:04 +0100)]
feat(simulator): add more OCPP 2.x.x types definition
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 14 Feb 2023 15:49:53 +0000 (16:49 +0100)]
refactor(simulator): switch import to node: syntax
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>