Jérôme Benoit [Wed, 10 Mar 2021 12:29:13 +0000 (13:29 +0100)]
.gitmodules: indentation fixlet.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 10 Mar 2021 10:10:19 +0000 (11:10 +0100)]
.gitmodules: fix reference branch.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 10 Mar 2021 09:37:55 +0000 (10:37 +0100)]
Update submodules
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 10 Mar 2021 09:23:44 +0000 (10:23 +0100)]
Add submodules for SCP configurations
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 10 Mar 2021 09:07:32 +0000 (10:07 +0100)]
Use relative path for submodules
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 10 Mar 2021 09:03:25 +0000 (10:03 +0100)]
Merge branch 'master' of github.com:LucasBrazi06/ev-simulator into master-enterprise
Jérôme Benoit [Wed, 10 Mar 2021 08:26:36 +0000 (09:26 +0100)]
Deps update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 9 Mar 2021 19:01:06 +0000 (20:01 +0100)]
Merge branch 'master' of github.com:LucasBrazi06/ev-simulator into master-enterprise
FABIANO Serge [Tue, 9 Mar 2021 16:17:25 +0000 (17:17 +0100)]
Merge pull request #11 from sap-labs-france/dependabot/npm_and_yarn/elliptic-6.5.4
Bump elliptic from 6.5.3 to 6.5.4
dependabot[bot] [Tue, 9 Mar 2021 07:32:09 +0000 (07:32 +0000)]
Bump elliptic from 6.5.3 to 6.5.4
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.3 to 6.5.4.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.3...v6.5.4)
Signed-off-by: dependabot[bot] <support@github.com>
Jérôme Benoit [Tue, 9 Mar 2021 07:16:50 +0000 (08:16 +0100)]
Update dependencies
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 8 Mar 2021 14:18:36 +0000 (15:18 +0100)]
Per worker max number of elements is not relevant on pool
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 7 Mar 2021 10:35:14 +0000 (11:35 +0100)]
Update dependencies
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 5 Mar 2021 09:17:52 +0000 (10:17 +0100)]
Update TS to 4.2.3
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 3 Mar 2021 11:08:06 +0000 (12:08 +0100)]
Merge branch 'master' of github.com:LucasBrazi06/ev-simulator into master-enterprise
Jérôme Benoit [Wed, 3 Mar 2021 10:38:44 +0000 (11:38 +0100)]
Fix some types definition.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 2 Mar 2021 21:03:21 +0000 (22:03 +0100)]
Properly define common OCPP types using enum
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 2 Mar 2021 15:15:37 +0000 (16:15 +0100)]
Merge branch 'master' of github.com:LucasBrazi06/ev-simulator into master-enterprise
Jérôme Benoit [Mon, 1 Mar 2021 20:33:52 +0000 (21:33 +0100)]
Update dependencies.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 1 Mar 2021 13:20:34 +0000 (14:20 +0100)]
Rename Wrk -> WorkerAbstract
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 28 Feb 2021 19:38:45 +0000 (20:38 +0100)]
Update dependencies.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 24 Feb 2021 13:34:16 +0000 (14:34 +0100)]
Merge branch 'master' of github.com:LucasBrazi06/ev-simulator into master-enterprise
Jérôme Benoit [Wed, 24 Feb 2021 12:51:35 +0000 (13:51 +0100)]
Update TS to 4.2.2
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
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>