Jérôme Benoit [Fri, 8 Jan 2021 16:28:07 +0000 (17:28 +0100)]
Sync with SAP GitHub.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 8 Jan 2021 16:25:07 +0000 (17:25 +0100)]
Merge branch 'master' of github.com:LucasBrazi06/ev-simulator into master-enterprise
Jérôme Benoit [Sun, 3 Jan 2021 15:43:02 +0000 (16:43 +0100)]
Initial support to the change availability command.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 3 Jan 2021 12:38:47 +0000 (13:38 +0100)]
Fix log messsage.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 3 Jan 2021 12:34:02 +0000 (13:34 +0100)]
Remove _heartbeatInterval attribute.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 3 Jan 2021 00:41:41 +0000 (01:41 +0100)]
Untangle internal configuration key type from the OCPP one.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 2 Jan 2021 23:48:06 +0000 (00:48 +0100)]
Add enum for standard OCPP parameters key.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 2 Jan 2021 00:58:02 +0000 (01:58 +0100)]
Cleanups.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 1 Jan 2021 23:48:17 +0000 (00:48 +0100)]
Type cast
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 1 Jan 2021 19:48:43 +0000 (20:48 +0100)]
More typing
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 1 Jan 2021 18:53:53 +0000 (19:53 +0100)]
Type all requests
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 1 Jan 2021 18:15:26 +0000 (19:15 +0100)]
Add enum list for request command name.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 1 Jan 2021 12:22:43 +0000 (13:22 +0100)]
Rename a constant.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 1 Jan 2021 12:17:11 +0000 (13:17 +0100)]
Improve OCPP types.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 1 Jan 2021 01:00:49 +0000 (02:00 +0100)]
Refine log messages.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 1 Jan 2021 00:57:12 +0000 (01:57 +0100)]
Add comment
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 1 Jan 2021 00:21:57 +0000 (01:21 +0100)]
Spell fix.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 1 Jan 2021 00:02:27 +0000 (01:02 +0100)]
Remove some useless attributes to ChargingStation class.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 31 Dec 2020 23:34:36 +0000 (00:34 +0100)]
Improve charging station registration handling.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 27 Dec 2020 10:37:59 +0000 (11:37 +0100)]
Dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sat, 26 Dec 2020 20:41:33 +0000 (21:41 +0100)]
Renaming.
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Thu, 24 Dec 2020 18:54:07 +0000 (19:54 +0100)]
Do case insensitive OCPP parameter key matching in ChangeConfiguration
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
ITCLOUDBUILD [Wed, 23 Dec 2020 11:38:39 +0000 (11:38 +0000)]
Prepare XMake Configuration
Jérôme Benoit [Tue, 22 Dec 2020 15:48:38 +0000 (16:48 +0100)]
Typing.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 22 Dec 2020 15:37:02 +0000 (16:37 +0100)]
Use generic for typing cloneObject helper.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 22 Dec 2020 12:08:27 +0000 (13:08 +0100)]
Add dependency for NTA build.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 21 Dec 2020 18:26:43 +0000 (19:26 +0100)]
Fix dependencies.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 17 Dec 2020 14:44:26 +0000 (15:44 +0100)]
Merge branch 'master' of github.com:LucasBrazi06/ev-simulator into master-enterprise
Jérôme Benoit [Thu, 17 Dec 2020 14:06:23 +0000 (15:06 +0100)]
Add initial Cloud MTA Build Tool support.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 15 Dec 2020 20:49:46 +0000 (21:49 +0100)]
Update dependencies.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 13 Dec 2020 12:55:23 +0000 (13:55 +0100)]
Update dependencies
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 11 Dec 2020 17:11:04 +0000 (18:11 +0100)]
Merge branch 'master' of github.com:LucasBrazi06/ev-simulator into master-enterprise
Jérôme Benoit [Fri, 11 Dec 2020 13:17:30 +0000 (14:17 +0100)]
Update submodule
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 11 Dec 2020 13:16:18 +0000 (14:16 +0100)]
Fix merge.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 11 Dec 2020 13:03:37 +0000 (14:03 +0100)]
Fix gitmodules ref.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 11 Dec 2020 11:49:58 +0000 (12:49 +0100)]
Merge branch 'master' of github.wdf.sap.corp:EVSE/ev-simulator
Jérôme Benoit [Thu, 10 Dec 2020 23:05:48 +0000 (00:05 +0100)]
Merge pull request #5 from LucasBrazi06/dependabot/npm_and_yarn/ini-1.3.7
Bump ini from 1.3.5 to 1.3.7
dependabot[bot] [Thu, 10 Dec 2020 22:25:16 +0000 (22:25 +0000)]
Bump ini from 1.3.5 to 1.3.7
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7)
Signed-off-by: dependabot[bot] <support@github.com>
Jérôme Benoit [Thu, 10 Dec 2020 22:23:48 +0000 (23:23 +0100)]
Update deps.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 8 Dec 2020 23:26:45 +0000 (00:26 +0100)]
Update deps.
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Tue, 8 Dec 2020 20:49:14 +0000 (21:49 +0100)]
Submodule ref update.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 7 Dec 2020 11:11:18 +0000 (12:11 +0100)]
Fix the reconnect logic.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 5 Dec 2020 09:10:08 +0000 (10:10 +0100)]
Dependencies update.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 4 Dec 2020 20:38:43 +0000 (21:38 +0100)]
Add type sanity check to ChangeConfiguration OCPP command
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 4 Dec 2020 15:51:05 +0000 (16:51 +0100)]
Removed useless type conversion.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 4 Dec 2020 15:38:52 +0000 (16:38 +0100)]
Revert "Heartbeat interval is expected to be a string."
This reverts commit
03df629e6ac438a6963cf7241ccd767ed1b8530c.
Jérôme Benoit [Fri, 4 Dec 2020 15:09:13 +0000 (16:09 +0100)]
Heartbeat interval is expected to be a string.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 1 Dec 2020 18:33:12 +0000 (19:33 +0100)]
Dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 30 Nov 2020 17:40:56 +0000 (18:40 +0100)]
Reference sub modules on the SAP internal GitHub.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 29 Nov 2020 13:07:07 +0000 (14:07 +0100)]
Make SPRC resquest/response synchronous.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 28 Nov 2020 21:33:46 +0000 (22:33 +0100)]
Add connector Id 0 handling by default
Needed for charging profiles support.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 28 Nov 2020 19:36:03 +0000 (20:36 +0100)]
Initial support for SetChargingProfile command
Only store it at the connector level for now.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 28 Nov 2020 14:39:17 +0000 (15:39 +0100)]
Send meterStop at stop transaction
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 28 Nov 2020 13:16:24 +0000 (14:16 +0100)]
Typing.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 26 Nov 2020 21:05:12 +0000 (22:05 +0100)]
Type
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 25 Nov 2020 20:47:49 +0000 (21:47 +0100)]
Fixlet to templates.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 25 Nov 2020 15:16:14 +0000 (16:16 +0100)]
Update dependency
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 24 Nov 2020 19:52:06 +0000 (20:52 +0100)]
Update sub-module.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 24 Nov 2020 13:18:41 +0000 (14:18 +0100)]
Add ClearCache command support.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 24 Nov 2020 10:35:16 +0000 (11:35 +0100)]
Add missed type file.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 24 Nov 2020 09:48:27 +0000 (10:48 +0100)]
Fix rounding helper
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 23 Nov 2020 20:55:03 +0000 (21:55 +0100)]
Make CircularArray class self-contained and an independant module.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 23 Nov 2020 19:51:30 +0000 (20:51 +0100)]
Update to typescript 4.1.2
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 23 Nov 2020 19:06:31 +0000 (20:06 +0100)]
Make Configuration class self-contained.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 23 Nov 2020 09:06:01 +0000 (10:06 +0100)]
Push down more tunables in charging station template.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 22 Nov 2020 22:07:52 +0000 (23:07 +0100)]
Add exponential delay at reconnect
The feature is still buggy ...
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 22 Nov 2020 14:27:14 +0000 (15:27 +0100)]
Update dependency.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 22 Nov 2020 13:58:34 +0000 (14:58 +0100)]
Add WebSocketPingInterval support.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 20 Nov 2020 08:22:39 +0000 (09:22 +0100)]
Finish circular array implementation.
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Fri, 20 Nov 2020 00:56:19 +0000 (01:56 +0100)]
Fix circular array.
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Fri, 20 Nov 2020 00:25:55 +0000 (01:25 +0100)]
Use a circular array to store time measurements.
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Thu, 19 Nov 2020 23:03:20 +0000 (00:03 +0100)]
Cleanup
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Thu, 19 Nov 2020 22:58:56 +0000 (23:58 +0100)]
Warn about deprecated configuration key at startup.
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 18 Nov 2020 20:29:24 +0000 (21:29 +0100)]
Dependencies update.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 17 Nov 2020 10:10:07 +0000 (11:10 +0100)]
Array empty detection fix.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 17 Nov 2020 03:46:07 +0000 (04:46 +0100)]
Linter update.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 15 Nov 2020 16:38:00 +0000 (17:38 +0100)]
Refine .editorconfig
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 14 Nov 2020 09:30:38 +0000 (10:30 +0100)]
Fixlets to logs message.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 13 Nov 2020 23:14:33 +0000 (00:14 +0100)]
Add median to statistics.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 13 Nov 2020 15:04:15 +0000 (16:04 +0100)]
Rename statistics counter.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 13 Nov 2020 09:45:26 +0000 (10:45 +0100)]
Fix message buffer handling.
And typing.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 12 Nov 2020 21:36:04 +0000 (22:36 +0100)]
Arguments renaming.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 12 Nov 2020 10:21:48 +0000 (11:21 +0100)]
Last configuration tunable rename.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 11 Nov 2020 20:28:57 +0000 (21:28 +0100)]
Move some types to their OCPP version directory.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 11 Nov 2020 18:12:42 +0000 (19:12 +0100)]
Add logs rotation.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 11 Nov 2020 15:19:05 +0000 (16:19 +0100)]
Typing.
Add unlock connector OCPP command support.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 11 Nov 2020 00:53:59 +0000 (01:53 +0100)]
More typing.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 10 Nov 2020 22:15:15 +0000 (23:15 +0100)]
Typing.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 10 Nov 2020 19:19:40 +0000 (20:19 +0100)]
Keep track of the connector status and restore it properly on reload.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 9 Nov 2020 14:49:51 +0000 (15:49 +0100)]
CF: include TS sources.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 8 Nov 2020 16:02:40 +0000 (17:02 +0100)]
Add GitHub CI action.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 8 Nov 2020 15:49:20 +0000 (16:49 +0100)]
Cleanups.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 8 Nov 2020 15:34:31 +0000 (16:34 +0100)]
Use Grunt for TS transpilation.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 8 Nov 2020 08:44:55 +0000 (09:44 +0100)]
Use tslib import helpers.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 7 Nov 2020 19:29:00 +0000 (20:29 +0100)]
Update dependencies.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 4 Nov 2020 18:37:52 +0000 (19:37 +0100)]
Add build:clean script.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 4 Nov 2020 14:10:11 +0000 (15:10 +0100)]
Type fixlet.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 4 Nov 2020 14:02:38 +0000 (15:02 +0100)]
Fix performance observer usage.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 4 Nov 2020 10:55:24 +0000 (11:55 +0100)]
Recommend imports sorting code extension.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 4 Nov 2020 10:47:15 +0000 (11:47 +0100)]
CF template fix for TS source mapping.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>