Jérôme Benoit [Tue, 23 Feb 2021 10:59:31 +0000 (11:59 +0100)]
Rollup upgrade
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 22 Feb 2021 19:28:39 +0000 (20:28 +0100)]
Update dependencies.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 22 Feb 2021 11:16:08 +0000 (12:16 +0100)]
Update poolifier to 2.0.0-beta.7
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 20 Feb 2021 10:25:48 +0000 (11:25 +0100)]
Update submodule reference.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 19 Feb 2021 20:32:54 +0000 (21:32 +0100)]
Align worker code naming.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 19 Feb 2021 20:20:05 +0000 (21:20 +0100)]
Update to poolifier 2.0.0-beta.6 (#10)
Jérôme Benoit [Fri, 19 Feb 2021 14:22:12 +0000 (15:22 +0100)]
Revert poolifier update to beta.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 19 Feb 2021 13:39:38 +0000 (14:39 +0100)]
Fix build failure.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 19 Feb 2021 13:20:22 +0000 (14:20 +0100)]
Update poolifier to 2.0.0-beta.5
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 18 Feb 2021 20:57:50 +0000 (21:57 +0100)]
Revert to poolifier 1.2.1
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 18 Feb 2021 20:51:54 +0000 (21:51 +0100)]
Update poolifier to current beta
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 16 Feb 2021 14:21:41 +0000 (15:21 +0100)]
Merge branch 'master' of github.com:LucasBrazi06/ev-simulator into master-enterprise
Jérôme Benoit [Tue, 16 Feb 2021 09:36:36 +0000 (10:36 +0100)]
Dependencies update.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 15 Feb 2021 20:56:00 +0000 (21:56 +0100)]
Bump GitHub actions to v2
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 15 Feb 2021 16:36:51 +0000 (17:36 +0100)]
Remove matching worker set element when a worker exit.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 14 Feb 2021 19:55:26 +0000 (20:55 +0100)]
Minify production build
And fix GitHub CI.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 13 Feb 2021 23:19:33 +0000 (00:19 +0100)]
Update docker default configuration file
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 13 Feb 2021 22:53:23 +0000 (23:53 +0100)]
Add rollup bundling analysis to dev build.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 13 Feb 2021 18:42:40 +0000 (19:42 +0100)]
Merge pull request #9 from LucasBrazi06/rollup
Jérôme Benoit [Sat, 13 Feb 2021 18:39:43 +0000 (19:39 +0100)]
Cleanups rollup integration
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 13 Feb 2021 18:12:01 +0000 (19:12 +0100)]
Merge branch 'master' of github.com:LucasBrazi06/ev-simulator into rollup
Jérôme Benoit [Sat, 13 Feb 2021 18:08:11 +0000 (19:08 +0100)]
Rename ts grunt task.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 13 Feb 2021 18:05:42 +0000 (19:05 +0100)]
Logger.ts: import cleanups
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 13 Feb 2021 17:50:08 +0000 (18:50 +0100)]
Merge branch 'master' of github.com:LucasBrazi06/ev-simulator into rollup
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 13 Feb 2021 17:39:57 +0000 (18:39 +0100)]
Dedupe deps.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 13 Feb 2021 17:37:44 +0000 (18:37 +0100)]
Merge pull request #8 from LucasBrazi06/build
Make the build app self contained.
Jérôme Benoit [Sat, 13 Feb 2021 17:35:03 +0000 (18:35 +0100)]
Make the build app self contained.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 13 Feb 2021 15:27:18 +0000 (16:27 +0100)]
Remove some debug log
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 13 Feb 2021 15:23:35 +0000 (16:23 +0100)]
Switch to rollup-plugin-typescript2 plugin
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 12 Feb 2021 21:10:33 +0000 (22:10 +0100)]
Merge branch 'master' of github.com:LucasBrazi06/ev-simulator into rollup
Jérôme Benoit [Fri, 12 Feb 2021 20:27:56 +0000 (21:27 +0100)]
Improve vscode debug setup.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 11 Feb 2021 10:05:29 +0000 (11:05 +0100)]
Merge branch 'master' of github.com:LucasBrazi06/ev-simulator into rollup
Jérôme Benoit [Thu, 11 Feb 2021 10:02:07 +0000 (11:02 +0100)]
Update TS to latest.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 11 Feb 2021 09:59:14 +0000 (10:59 +0100)]
Initial rollup integration.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 10 Feb 2021 18:54:42 +0000 (19:54 +0100)]
Specify the npm version supported.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 10 Feb 2021 18:51:07 +0000 (19:51 +0100)]
Dependencies update.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 6 Feb 2021 13:18:57 +0000 (14:18 +0100)]
Logic fixlet to the control flow.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 6 Feb 2021 12:47:37 +0000 (13:47 +0100)]
Cleanups to message queue handling code.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 5 Feb 2021 20:52:56 +0000 (21:52 +0100)]
Remove uneeded intermediate variable.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 5 Feb 2021 19:37:58 +0000 (20:37 +0100)]
Cleanups.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 3 Feb 2021 22:27:06 +0000 (23:27 +0100)]
Fix charging station initialisation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 3 Feb 2021 21:22:25 +0000 (22:22 +0100)]
Update dependencies, with high CPU consumption.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 2 Feb 2021 08:10:19 +0000 (09:10 +0100)]
Move message buffer code to charging station.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 2 Feb 2021 07:48:01 +0000 (08:48 +0100)]
Rename types definition files for the sake of namespace consitency.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 1 Feb 2021 19:36:41 +0000 (20:36 +0100)]
Update submodule
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 1 Feb 2021 18:54:52 +0000 (19:54 +0100)]
Merge branch 'master' of github.com:LucasBrazi06/ev-simulator into master-enterprise
Jérôme Benoit [Mon, 1 Feb 2021 15:35:52 +0000 (16:35 +0100)]
Cleanup logic code flow.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 1 Feb 2021 08:13:24 +0000 (09:13 +0100)]
Cleanups: log msg refinements, ...
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 1 Feb 2021 01:36:09 +0000 (02:36 +0100)]
Dependencies update.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 1 Feb 2021 01:29:32 +0000 (02:29 +0100)]
Add debug log for CPs.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 1 Feb 2021 00:18:13 +0000 (01:18 +0100)]
Fix connectors status at reset.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 31 Jan 2021 23:53:42 +0000 (00:53 +0100)]
Remove void before async call.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 31 Jan 2021 22:33:08 +0000 (23:33 +0100)]
Make modular the SRPC call chain code.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 29 Jan 2021 22:04:52 +0000 (23:04 +0100)]
scripts: use db from connection string.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 29 Jan 2021 12:19:57 +0000 (13:19 +0100)]
Use require in node.js scripts.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 29 Jan 2021 12:10:01 +0000 (13:10 +0100)]
Make scripts really node.js scripts
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 29 Jan 2021 10:29:27 +0000 (11:29 +0100)]
Cleanups: renaming.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 29 Jan 2021 07:42:50 +0000 (08:42 +0100)]
Fix Wrk default options.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 27 Jan 2021 13:18:30 +0000 (14:18 +0100)]
Cleanup: renaming.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 27 Jan 2021 12:54:22 +0000 (13:54 +0100)]
Bootstrap: Avoid a direct call on an attribute.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 27 Jan 2021 12:44:46 +0000 (13:44 +0100)]
Initial support for main configuration file changes handling.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 26 Jan 2021 19:11:06 +0000 (20:11 +0100)]
Use generic for worker data type.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 26 Jan 2021 18:36:54 +0000 (19:36 +0100)]
Fix workerSet process mode.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 26 Jan 2021 12:57:14 +0000 (13:57 +0100)]
Sync .gitmodules
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 26 Jan 2021 11:07:42 +0000 (12:07 +0100)]
Dependency update.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 26 Jan 2021 10:10:32 +0000 (11:10 +0100)]
Make the authorization tags file a template.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 25 Jan 2021 22:39:52 +0000 (23:39 +0100)]
Fix worker thread exit message.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 25 Jan 2021 22:03:56 +0000 (23:03 +0100)]
Display worker process mode at startup.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 25 Jan 2021 20:49:39 +0000 (21:49 +0100)]
Type properly station worker data.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 25 Jan 2021 20:30:29 +0000 (21:30 +0100)]
Switch to poolifier worker threads pool implementation.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 25 Jan 2021 16:16:16 +0000 (17:16 +0100)]
Add ClearChargingProfile OCPP command support.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 25 Jan 2021 11:17:08 +0000 (12:17 +0100)]
Add proper worker set elements reference counting.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 25 Jan 2021 08:50:27 +0000 (09:50 +0100)]
Add missed file.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 25 Jan 2021 08:44:50 +0000 (09:44 +0100)]
Add WorkerEvents enum.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 25 Jan 2021 08:28:13 +0000 (09:28 +0100)]
Make filename = default exported class name.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 24 Jan 2021 23:44:30 +0000 (00:44 +0100)]
Use object factory design pattern for code handling workers.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 24 Jan 2021 21:12:13 +0000 (22:12 +0100)]
Move workers handling code in its own directory.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 24 Jan 2021 19:22:57 +0000 (20:22 +0100)]
Fix charging stations counting.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 24 Jan 2021 18:56:26 +0000 (19:56 +0100)]
Cleanup workers handling classes.
And various assorted fixes.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 23 Jan 2021 06:55:53 +0000 (07:55 +0100)]
Make some Wrk attributes conditionally initialized.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 23 Jan 2021 06:52:53 +0000 (07:52 +0100)]
Add WorkerPool file
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 23 Jan 2021 06:51:56 +0000 (07:51 +0100)]
Rename private attributes and methods.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 22 Jan 2021 21:24:50 +0000 (22:24 +0100)]
Rename ChargingStationInfo.name -> ChargingStationInfo.chargingStationId
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 21 Jan 2021 23:14:29 +0000 (00:14 +0100)]
Fix type cast
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 21 Jan 2021 21:38:47 +0000 (22:38 +0100)]
Refine comment.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 21 Jan 2021 21:29:06 +0000 (22:29 +0100)]
Add a default value for workerPoolMaxSize.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 21 Jan 2021 17:57:31 +0000 (18:57 +0100)]
Add some sanity checks to Wrk class.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 21 Jan 2021 17:22:38 +0000 (18:22 +0100)]
Don't access singleton instance attribute directly
And sone cleanups.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jakob [Thu, 21 Jan 2021 15:01:57 +0000 (16:01 +0100)]
Fixed counters + start workers with delay
Jakob [Thu, 21 Jan 2021 14:59:25 +0000 (15:59 +0100)]
renaming (pool size != max pool size)
Jakob [Thu, 21 Jan 2021 14:55:22 +0000 (15:55 +0100)]
remove setMaxListener (not longer needed)
Jérôme Benoit [Thu, 21 Jan 2021 12:51:58 +0000 (13:51 +0100)]
Fix worker startup and cleanup some attributes in Wrk class.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 21 Jan 2021 12:10:16 +0000 (13:10 +0100)]
Fix worker with pool handling
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 21 Jan 2021 10:35:03 +0000 (11:35 +0100)]
Cleanups.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 21 Jan 2021 08:49:01 +0000 (09:49 +0100)]
Merge pull request #6 from LucasBrazi06/memory-optimization
Jakob [Wed, 20 Jan 2021 16:00:56 +0000 (17:00 +0100)]
Memory optimization + worker configuration
Jakob [Wed, 20 Jan 2021 15:54:37 +0000 (16:54 +0100)]
Authorize Request added
Jakob [Wed, 20 Jan 2021 15:36:23 +0000 (16:36 +0100)]
scripts to set CS public or delete CS
Jérôme Benoit [Tue, 19 Jan 2021 10:12:00 +0000 (11:12 +0100)]
Add git submodules init script.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 18 Jan 2021 18:57:29 +0000 (19:57 +0100)]
Dependencies update and cleanups.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>