Jérôme Benoit [Wed, 22 Jun 2022 22:10:37 +0000 (00:10 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 21 Jun 2022 19:29:41 +0000 (21:29 +0200)]
Version 1.1.63
Jérôme Benoit [Mon, 20 Jun 2022 18:23:43 +0000 (20:23 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 18 Jun 2022 08:59:23 +0000 (10:59 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 16 Jun 2022 14:51:16 +0000 (16:51 +0200)]
Use helper to close connection
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 16 Jun 2022 14:05:29 +0000 (16:05 +0200)]
Merge pull request #57 from SAP/fix-ws-reconnection
Fix websocket reconnection
Sébastien Savalle [Thu, 16 Jun 2022 12:48:54 +0000 (14:48 +0200)]
Fix websocket reconnection
Jérôme Benoit [Tue, 14 Jun 2022 18:20:06 +0000 (20:20 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 12 Jun 2022 22:21:20 +0000 (00:21 +0200)]
Unreference the worker implementation at stop
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 12 Jun 2022 22:14:13 +0000 (00:14 +0200)]
Simplify Bootstrap initialization code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 12 Jun 2022 08:29:41 +0000 (10:29 +0200)]
Rename class ChargingStatinCache to SharedLRUCache
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 11 Jun 2022 07:06:00 +0000 (09:06 +0200)]
Fixlet to sonar properties handling script
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 10 Jun 2022 21:51:33 +0000 (23:51 +0200)]
Version 1.1.62
Jérôme Benoit [Fri, 10 Jun 2022 20:10:03 +0000 (22:10 +0200)]
Update @mikro-orm packages to 5.2.0
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 10 Jun 2022 20:04:01 +0000 (22:04 +0200)]
Update ws to 8.8.0
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 10 Jun 2022 19:44:16 +0000 (21:44 +0200)]
Update sonarcloud configuration to SAP org
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 10 Jun 2022 19:32:01 +0000 (21:32 +0200)]
Add script to sync sonar properties with package.json
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 10 Jun 2022 14:48:55 +0000 (16:48 +0200)]
Add a shared cache per worker for authorized tags
And fix some file changes watch leak
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 8 Jun 2022 22:10:26 +0000 (00:10 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 8 Jun 2022 09:17:06 +0000 (11:17 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 7 Jun 2022 12:53:32 +0000 (14:53 +0200)]
Version 1.1.61
Sebastian Wolf [Tue, 7 Jun 2022 09:27:05 +0000 (11:27 +0200)]
Add REUSE badge to README
Sebastian Wolf [Tue, 7 Jun 2022 09:19:35 +0000 (11:19 +0200)]
Fix project name in dep5 file
Jérôme Benoit [Sat, 4 Jun 2022 19:57:54 +0000 (21:57 +0200)]
Remove any usage in the charging station cache
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 4 Jun 2022 10:15:09 +0000 (12:15 +0200)]
Only run GitHub CI code coverage when needed
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 4 Jun 2022 10:12:05 +0000 (12:12 +0200)]
Fix GitHub CI run on windows
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 4 Jun 2022 09:58:12 +0000 (11:58 +0200)]
package.json: replace main by exports
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 4 Jun 2022 08:33:04 +0000 (10:33 +0200)]
Apply dependencies
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 3 Jun 2022 20:31:48 +0000 (22:31 +0200)]
Make the ESM script a dev one
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 3 Jun 2022 20:28:13 +0000 (22:28 +0200)]
Also build when testing the ESM support
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 3 Jun 2022 20:06:37 +0000 (22:06 +0200)]
Add initial support for ESM build
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 3 Jun 2022 19:12:41 +0000 (21:12 +0200)]
Prepare the code for ESM support
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 3 Jun 2022 17:18:18 +0000 (19:18 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 2 Jun 2022 22:41:53 +0000 (00:41 +0200)]
Ensure that workerSet always properly start a worker at init
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 2 Jun 2022 17:55:54 +0000 (19:55 +0200)]
Check for empty templates configuration at startup
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 1 Jun 2022 20:19:57 +0000 (22:19 +0200)]
Simplify ATG logPrefix() method
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 1 Jun 2022 16:01:37 +0000 (18:01 +0200)]
README.md: use the project name
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 1 Jun 2022 15:16:41 +0000 (17:16 +0200)]
Rename the project to SAP branding approved name
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 1 Jun 2022 12:15:30 +0000 (14:15 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 31 May 2022 20:17:11 +0000 (22:17 +0200)]
Fix GitHub CI run on windows
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 31 May 2022 20:12:36 +0000 (22:12 +0200)]
Fix CI jobs run on windows
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 31 May 2022 20:04:31 +0000 (22:04 +0200)]
Run sonarcloud CI job only on GNU/Linux
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 31 May 2022 19:58:46 +0000 (21:58 +0200)]
Extend GitHub CI actions
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 31 May 2022 19:46:13 +0000 (21:46 +0200)]
Fix docker image build
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 31 May 2022 19:42:07 +0000 (21:42 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 27 May 2022 10:11:55 +0000 (12:11 +0200)]
Add helpers to close and terminate WS connection
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 26 May 2022 20:36:00 +0000 (22:36 +0200)]
Fix cut&paste typo
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 26 May 2022 20:33:59 +0000 (22:33 +0200)]
Fix WS reconnect timeout calculation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 24 May 2022 21:06:01 +0000 (23:06 +0200)]
Move cache related helper to the right class
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 24 May 2022 19:54:17 +0000 (21:54 +0200)]
Remove dead code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 24 May 2022 19:49:07 +0000 (21:49 +0200)]
Add a shared LRU cache per worker
And use it to cache CS templates and configuration
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 23 May 2022 21:53:27 +0000 (23:53 +0200)]
Refine an error message
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 23 May 2022 21:15:16 +0000 (23:15 +0200)]
Fix serial number propagation at charging station template change
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 23 May 2022 19:02:28 +0000 (21:02 +0200)]
Untangle charging station info from charging station template data
structure
Should fix https://github.com/jerome-benoit/emobility-charging-stations-simulator/issues/222
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 20 May 2022 22:12:16 +0000 (00:12 +0200)]
Permit to disable persistent configuration storage.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 19 May 2022 02:03:26 +0000 (04:03 +0200)]
Refine issue template
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 18 May 2022 19:21:26 +0000 (21:21 +0200)]
Refine dependabot configuration
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 18 May 2022 19:19:21 +0000 (21:19 +0200)]
Fix CI run on main branch
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 18 May 2022 19:03:46 +0000 (21:03 +0200)]
Change repo URI to SAP one
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 18 May 2022 18:44:13 +0000 (20:44 +0200)]
Add LICENSES directory
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 18 May 2022 18:42:42 +0000 (20:42 +0200)]
Prepare the repository to be hosted on SAP GitHub organisation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 18 May 2022 14:19:07 +0000 (16:19 +0200)]
Version 1.1.60
Jérôme Benoit [Wed, 18 May 2022 13:26:56 +0000 (15:26 +0200)]
Reduce a bit more the charging station instance memory footprint
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 18 May 2022 12:37:49 +0000 (14:37 +0200)]
Fix not initialized variables at startup
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 18 May 2022 12:29:44 +0000 (14:29 +0200)]
Remove commented out code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 17 May 2022 20:47:20 +0000 (22:47 +0200)]
Reduce charging station instance memory footprint
Factor out helpers in static methods
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Mon, 16 May 2022 21:15:02 +0000 (23:15 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 16 May 2022 20:49:06 +0000 (22:49 +0200)]
Use import type where appropriate
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 16 May 2022 20:37:26 +0000 (22:37 +0200)]
Untangle ChargingStation class from OCPP services classes
And make OCPP services singleton
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sat, 14 May 2022 20:54:46 +0000 (22:54 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sat, 14 May 2022 20:48:36 +0000 (22:48 +0200)]
Avoid attribute namespace collision
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sat, 14 May 2022 10:14:48 +0000 (12:14 +0200)]
Fix UI server options type and instantiation signature
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Fri, 13 May 2022 12:31:34 +0000 (14:31 +0200)]
Add UI server factory with server class abstraction
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 13 May 2022 12:06:32 +0000 (14:06 +0200)]
Add deprecation warning for ui server configuration section renaming
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 13 May 2022 09:39:14 +0000 (11:39 +0200)]
Refine UI server attributes scope and type
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 13 May 2022 08:25:23 +0000 (10:25 +0200)]
Restructure UI server code to prepare it for issue #238
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 12 May 2022 19:41:10 +0000 (21:41 +0200)]
Make the UI server request handler signature more generic
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Mon, 9 May 2022 22:41:34 +0000 (00:41 +0200)]
Update dependencies
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Mon, 9 May 2022 07:01:43 +0000 (09:01 +0200)]
Properly handle NaN in Math.min usage
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 8 May 2022 21:25:18 +0000 (23:25 +0200)]
Version 1.1.59
Jérôme Benoit [Sun, 8 May 2022 21:23:11 +0000 (23:23 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sun, 8 May 2022 21:00:55 +0000 (23:00 +0200)]
Merge pull request #232 from jerome-benoit/feature/fluctuated-metervalues-limit
Jérôme Benoit [Sun, 8 May 2022 20:49:46 +0000 (22:49 +0200)]
Add missing src/charging-station/ocpp/OCPPServiceUtils.ts file
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sun, 8 May 2022 20:48:10 +0000 (22:48 +0200)]
Add tunable in template to disable limitation on custom metervalues
template
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sun, 8 May 2022 05:38:31 +0000 (07:38 +0200)]
Make fluctuated metervalues around a static one respect the power
limitation
It makes fault injection in metervalues impossible for now. It can be
reintroduced later via a boolean tunable.
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sat, 7 May 2022 21:58:02 +0000 (23:58 +0200)]
Factor out power limitation calculation in metervalues
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sat, 7 May 2022 18:41:39 +0000 (20:41 +0200)]
Refine JSDoc
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sat, 7 May 2022 13:06:05 +0000 (15:06 +0200)]
Rename a method to avoid confusion
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 7 May 2022 12:40:28 +0000 (14:40 +0200)]
Improve charging profiles power limitation debugging
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sat, 7 May 2022 11:09:39 +0000 (13:09 +0200)]
Merge pull request #230 from OliveGerste/Extend-charging-profile-support
Jérôme Benoit [Fri, 6 May 2022 19:57:26 +0000 (21:57 +0200)]
Merge branch 'master' into Extend-charging-profile-support
Jérôme Benoit [Fri, 6 May 2022 19:56:24 +0000 (21:56 +0200)]
Use the fixed JsonType definition where appropriate
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
OliveGerste [Fri, 6 May 2022 10:52:08 +0000 (12:52 +0200)]
Extended charging profile support
Jérôme Benoit [Fri, 6 May 2022 09:13:17 +0000 (11:13 +0200)]
Remove uneeded type usage
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 6 May 2022 06:53:56 +0000 (08:53 +0200)]
Fix Json type definition naming
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 5 May 2022 21:15:33 +0000 (23:15 +0200)]
Refine JsonType definition
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 4 May 2022 22:25:53 +0000 (00:25 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 2 May 2022 10:49:38 +0000 (12:49 +0200)]
Use ternary operator in helpers methods
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sun, 1 May 2022 05:29:50 +0000 (07:29 +0200)]
Improve OCPP incoming requests handling
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Fri, 29 Apr 2022 10:31:26 +0000 (12:31 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>