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>
Jérôme Benoit [Wed, 27 Apr 2022 21:45:13 +0000 (23:45 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 27 Apr 2022 21:11:43 +0000 (23:11 +0200)]
Rename result to response
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 27 Apr 2022 20:27:42 +0000 (22:27 +0200)]
Factor out connectors initialization code
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 27 Apr 2022 15:55:33 +0000 (17:55 +0200)]
Simplify logic in createStationInfoHash() CS method
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 27 Apr 2022 15:48:30 +0000 (17:48 +0200)]
Fix truncated boot notification payload
Reference #215
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 25 Apr 2022 21:46:24 +0000 (23:46 +0200)]
Ensure heartbeat interval configuration are initialized by default
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 25 Apr 2022 16:27:04 +0000 (18:27 +0200)]
Merge branch 'master' of github.com:jerome-benoit/charging-stations-simulator
Jérôme Benoit [Mon, 25 Apr 2022 16:26:10 +0000 (18:26 +0200)]
Fix latest CS info content handling
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 25 Apr 2022 15:53:01 +0000 (17:53 +0200)]
Merge pull request #214 from jerome-benoit/fixe_ui_websocket
UI server: fix empty list response to LIST_CHARGING_STATIONS
Jérôme Benoit [Mon, 25 Apr 2022 13:55:08 +0000 (15:55 +0200)]
Merge branch 'master' into fixe_ui_websocket
Jérôme Benoit [Mon, 25 Apr 2022 13:00:08 +0000 (15:00 +0200)]
Refine comment at CS configuration file handling
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 25 Apr 2022 12:57:49 +0000 (14:57 +0200)]
Add support for CS info configuration file change detection
Taken now into account at simulated reset
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
HazbinFaulted [Mon, 25 Apr 2022 12:18:51 +0000 (14:18 +0200)]
removed unecessary code&comment
HazbinFaulted [Mon, 25 Apr 2022 12:16:07 +0000 (14:16 +0200)]
fixed empty list response to LIST_CHARGING_STATIONS
HazbinFaulted [Mon, 25 Apr 2022 12:04:46 +0000 (14:04 +0200)]
fixe
Jérôme Benoit [Sun, 24 Apr 2022 09:10:15 +0000 (11:10 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 22 Apr 2022 12:18:13 +0000 (14:18 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 21 Apr 2022 14:14:10 +0000 (16:14 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 20 Apr 2022 15:31:25 +0000 (17:31 +0200)]
CI: use latest node.js stable version
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 18 Apr 2022 19:55:07 +0000 (21:55 +0200)]
Fix docker build
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Mon, 18 Apr 2022 19:01:18 +0000 (21:01 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Mon, 18 Apr 2022 11:08:50 +0000 (13:08 +0200)]
Add status notification support to trigger message OCPP command
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 17 Apr 2022 20:24:01 +0000 (22:24 +0200)]
Version 1.1.58
Jérôme Benoit [Sun, 17 Apr 2022 20:21:29 +0000 (22:21 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sun, 17 Apr 2022 19:51:22 +0000 (21:51 +0200)]
Improve error information at OCPP incoming message handling
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sun, 17 Apr 2022 16:18:30 +0000 (18:18 +0200)]
Simplify incoming OCPP request payload parsing
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 17 Apr 2022 14:28:31 +0000 (16:28 +0200)]
Fixlets to OCPP error message format, take 2
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 17 Apr 2022 14:05:41 +0000 (16:05 +0200)]
Fixlets to OCPP error message format
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sun, 17 Apr 2022 10:25:06 +0000 (12:25 +0200)]
Fix OCPP message type definition and usage
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 16 Apr 2022 09:49:52 +0000 (11:49 +0200)]
README.md: small refinement
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 15 Apr 2022 17:41:21 +0000 (19:41 +0200)]
Fix Pending registration status handling at boot notification
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Fri, 15 Apr 2022 12:37:05 +0000 (14:37 +0200)]
Fixlets to log message after methods renaming
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 15 Apr 2022 12:31:18 +0000 (14:31 +0200)]
Rename a type definition
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 15 Apr 2022 10:44:51 +0000 (12:44 +0200)]
Properly name OCPP command handler methods
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 15 Apr 2022 10:00:52 +0000 (12:00 +0200)]
Version 1.1.57
Jérôme Benoit [Fri, 15 Apr 2022 09:45:20 +0000 (11:45 +0200)]
Merge pull request #207 from jerome-benoit/fix-response-pending
Sébastien Savalle [Fri, 15 Apr 2022 09:16:33 +0000 (11:16 +0200)]
Allow to send result message when station is in pending mode.
Jérôme Benoit [Thu, 14 Apr 2022 08:58:20 +0000 (10:58 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 13 Apr 2022 21:43:42 +0000 (23:43 +0200)]
Silence a sonar security issue
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 13 Apr 2022 21:30:12 +0000 (23:30 +0200)]
Factor out OCPP message type to string method
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 13 Apr 2022 20:13:57 +0000 (22:13 +0200)]
Log early OCPP command payload
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 13 Apr 2022 19:44:38 +0000 (21:44 +0200)]
Factor out feature profile check at OCPP command handling
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 13 Apr 2022 18:45:49 +0000 (20:45 +0200)]
Add OCPP commands payload logging in the logs
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 13 Apr 2022 17:26:50 +0000 (19:26 +0200)]
Merge pull request #205 from jerome-benoit/feature/rawmessagelogs
Jérôme Benoit [Wed, 13 Apr 2022 17:24:57 +0000 (19:24 +0200)]
Merge branch 'master' into feature/rawmessagelogs
Calin Crecea [Wed, 13 Apr 2022 16:18:29 +0000 (18:18 +0200)]
log raw socket messages
Jérôme Benoit [Tue, 12 Apr 2022 16:13:18 +0000 (18:13 +0200)]
Make the UI pages HTML 4 compliant
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 12 Apr 2022 15:58:03 +0000 (17:58 +0200)]
Code cleanups
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 12 Apr 2022 15:40:03 +0000 (17:40 +0200)]
Merge pull request #203 from jdurnwald/master
Jeff Durnwald [Tue, 12 Apr 2022 15:09:14 +0000 (11:09 -0400)]
Updated after LTS upgrade
Jeff Durnwald [Tue, 12 Apr 2022 14:56:35 +0000 (10:56 -0400)]
formatted
Jeff Durnwald [Tue, 12 Apr 2022 14:45:49 +0000 (10:45 -0400)]
Merge branch 'master' of https://github.com/jdurnwald/charging-stations-simulator
Jeff Durnwald [Tue, 12 Apr 2022 14:31:24 +0000 (10:31 -0400)]
Moved ui folder
jdurnwald [Tue, 12 Apr 2022 14:08:14 +0000 (10:08 -0400)]
Merge branch 'master' into master
Jérôme Benoit [Tue, 12 Apr 2022 13:30:04 +0000 (15:30 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 9 Apr 2022 16:52:11 +0000 (18:52 +0200)]
Fix a type casting
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>