Jérôme Benoit [Mon, 27 Mar 2023 18:31:14 +0000 (20:31 +0200)]
chore: version 1.2.0-1
Jérôme Benoit [Mon, 27 Mar 2023 18:24:03 +0000 (20:24 +0200)]
feat: add initial support get composite schedule OCPP 1.6 command
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 27 Mar 2023 12:57:28 +0000 (14:57 +0200)]
refactor: remove unneeded intermediate variable in id tags cache code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 27 Mar 2023 12:01:26 +0000 (14:01 +0200)]
build(ui): add some scripts to clean build artefacts
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 27 Mar 2023 09:51:50 +0000 (11:51 +0200)]
build(simulator): add some scripts to clean build artefacts
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 27 Mar 2023 09:40:39 +0000 (11:40 +0200)]
feat: add supervision url configuration to Keba template
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 27 Mar 2023 09:33:24 +0000 (11:33 +0200)]
refactor: rename an id tags cache method
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 26 Mar 2023 20:24:43 +0000 (22:24 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 26 Mar 2023 20:10:11 +0000 (22:10 +0200)]
chore: version 1.2.0-0
Jérôme Benoit [Sun, 26 Mar 2023 19:10:40 +0000 (21:10 +0200)]
fix: ensure charging station uid is stable between firmware update
simulation
BREAKING CHANGE: path to configuration files will be regenerated
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 26 Mar 2023 17:16:42 +0000 (19:16 +0200)]
refactor: add helper to build content addressable key for id tags cache
indexes
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 26 Mar 2023 15:08:14 +0000 (17:08 +0200)]
refactor(simulator): move template keys deprecation code into helpers
file
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 26 Mar 2023 14:58:01 +0000 (16:58 +0200)]
refactor(simulator): factor out template key deprecation handling
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 26 Mar 2023 14:41:19 +0000 (16:41 +0200)]
refactor: rename a template key to a more sensible name
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 26 Mar 2023 13:08:37 +0000 (15:08 +0200)]
refactor(simulator): cleanup id tags cache namespace
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 26 Mar 2023 10:48:47 +0000 (12:48 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 25 Mar 2023 07:12:43 +0000 (08:12 +0100)]
refactor: pnpm configuration whitespace cleanup
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 25 Mar 2023 07:06:19 +0000 (08:06 +0100)]
build: fix peer dependencies pnpm handling
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 24 Mar 2023 21:35:16 +0000 (22:35 +0100)]
perf(simulator): build once address for tags caches addressable indexes
cache
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 24 Mar 2023 21:19:06 +0000 (22:19 +0100)]
perf(simulator): use content addressable cache for idtag distribution
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 24 Mar 2023 18:31:04 +0000 (19:31 +0100)]
feat(simulator): wait when necessary between phases at firmware update
simulation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
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>