e-mobility-charging-stations-simulator.git
3 years agoMake the station worker self contained.
Jérôme Benoit [Sat, 17 Oct 2020 14:47:53 +0000 (16:47 +0200)] 
Make the station worker self contained.

And various other cleanups.

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
3 years agoRemove a linter error.
Jérôme Benoit [Fri, 16 Oct 2020 22:47:12 +0000 (00:47 +0200)] 
Remove a linter error.

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
3 years agoFix type comparisons
Jérôme Benoit [Fri, 16 Oct 2020 22:23:10 +0000 (00:23 +0200)] 
Fix type comparisons

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
3 years agoAdd runtime persitence on OCPP parameters.
Jérôme Benoit [Thu, 15 Oct 2020 22:48:24 +0000 (00:48 +0200)] 
Add runtime persitence on OCPP parameters.

And more type convertion fixes.

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
3 years agoFix remote transaction start.
Jérôme Benoit [Thu, 15 Oct 2020 16:39:20 +0000 (18:39 +0200)] 
Fix remote transaction start.

Type comparison issue, should be migrated to typescript.

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
3 years agoDeps update.
Jérôme Benoit [Sun, 11 Oct 2020 08:42:58 +0000 (10:42 +0200)] 
Deps update.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
3 years agoUse absolute path from the current directory for configuration file.
Jérôme Benoit [Thu, 8 Oct 2020 09:09:14 +0000 (11:09 +0200)] 
Use absolute path from the current directory for configuration file.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
3 years agoUse singleton design pattern for configuration file.
Jérôme Benoit [Wed, 7 Oct 2020 20:08:07 +0000 (22:08 +0200)] 
Use singleton design pattern for configuration file.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
3 years agoDeps update.
Jérôme Benoit [Wed, 7 Oct 2020 12:20:36 +0000 (14:20 +0200)] 
Deps update.

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
3 years agoDependencies update.
Jérôme Benoit [Sun, 13 Sep 2020 19:42:11 +0000 (21:42 +0200)] 
Dependencies update.

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
3 years agoDependencies update.
Jérôme Benoit [Wed, 26 Aug 2020 18:22:23 +0000 (20:22 +0200)] 
Dependencies update.

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
3 years agoApply security updates to dependencies.
Jérôme Benoit [Tue, 25 Aug 2020 14:35:31 +0000 (16:35 +0200)] 
Apply security updates to dependencies.

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
3 years agoDependencies update.
Jérôme Benoit [Wed, 29 Jul 2020 19:42:14 +0000 (21:42 +0200)] 
Dependencies update.

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
3 years agoDedupe dependencies.
Jérôme Benoit [Mon, 27 Jul 2020 16:20:26 +0000 (18:20 +0200)] 
Dedupe dependencies.

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
3 years agoDependencies update.
Jérôme Benoit [Mon, 27 Jul 2020 16:19:12 +0000 (18:19 +0200)] 
Dependencies update.

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
3 years agoDependencies update.
Jérôme Benoit [Thu, 23 Jul 2020 18:53:11 +0000 (20:53 +0200)] 
Dependencies update.

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
3 years agoUpdate dependencies.
Jérôme Benoit [Sun, 19 Jul 2020 18:46:10 +0000 (20:46 +0200)] 
Update dependencies.

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
3 years agoMerge pull request #4 from LucasBrazi06/dependabot/npm_and_yarn/lodash-4.17.19
FABIANO Serge [Fri, 17 Jul 2020 13:39:04 +0000 (15:39 +0200)] 
Merge pull request #4 from LucasBrazi06/dependabot/npm_and_yarn/lodash-4.17.19

Bump lodash from 4.17.15 to 4.17.19

3 years agoBump lodash from 4.17.15 to 4.17.19
dependabot[bot] [Fri, 17 Jul 2020 13:13:52 +0000 (13:13 +0000)] 
Bump lodash from 4.17.15 to 4.17.19

Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
3 years agoDependencies update.
Jérôme Benoit [Fri, 17 Jul 2020 13:12:34 +0000 (15:12 +0200)] 
Dependencies update.

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
3 years agoDependencies update.
Jérôme Benoit [Fri, 3 Jul 2020 14:14:31 +0000 (16:14 +0200)] 
Dependencies update.

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
3 years agoEnsure OCPP error messages always follow the OCPP specs
Jérôme Benoit [Mon, 29 Jun 2020 19:24:52 +0000 (21:24 +0200)] 
Ensure OCPP error messages always follow the OCPP specs

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
3 years agoUpdate submodule.
Jérôme Benoit [Wed, 17 Jun 2020 22:23:30 +0000 (00:23 +0200)] 
Update submodule.

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
3 years agoApply dependencies update.
Jérôme Benoit [Mon, 15 Jun 2020 12:14:25 +0000 (14:14 +0200)] 
Apply dependencies update.

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
4 years agoDependency update.
Jérôme Benoit [Sat, 6 Jun 2020 09:43:12 +0000 (11:43 +0200)] 
Dependency update.

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
4 years agoDependency update.
Jérôme Benoit [Fri, 5 Jun 2020 17:17:53 +0000 (19:17 +0200)] 
Dependency update.

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
4 years agoUpdate dependencies.
Jérôme Benoit [Sat, 30 May 2020 18:30:08 +0000 (20:30 +0200)] 
Update dependencies.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
4 years agoUpdate flow types
Jérôme Benoit [Fri, 22 May 2020 12:11:55 +0000 (14:11 +0200)] 
Update flow types

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
4 years agoRemove uneeded depencencies.
Jérôme Benoit [Fri, 22 May 2020 12:10:22 +0000 (14:10 +0200)] 
Remove uneeded depencencies.

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
4 years agoGive more informations on JSON parsing error.
Jérôme Benoit [Tue, 19 May 2020 12:22:46 +0000 (14:22 +0200)] 
Give more informations on JSON parsing error.

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
4 years agoUpdate node engine to 14.x.x
Jérôme Benoit [Mon, 18 May 2020 20:04:50 +0000 (22:04 +0200)] 
Update node engine to 14.x.x

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
4 years agoAdd flow typed file.
Jérôme Benoit [Sun, 17 May 2020 21:10:54 +0000 (23:10 +0200)] 
Add flow typed file.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
4 years agoUpdate dependencies.
Jérôme Benoit [Sun, 17 May 2020 21:10:01 +0000 (23:10 +0200)] 
Update dependencies.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
4 years agoMerge pull request #3 from LucasBrazi06/dependabot/npm_and_yarn/acorn-6.4.1
Jérôme Benoit [Mon, 11 May 2020 12:56:00 +0000 (14:56 +0200)] 
Merge pull request #3 from LucasBrazi06/dependabot/npm_and_yarn/acorn-6.4.1

4 years agoCode formatting.
Jérôme Benoit [Sat, 9 May 2020 12:02:34 +0000 (14:02 +0200)] 
Code formatting.

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
4 years agoUpdate ev-aws submodule.
Jérôme Benoit [Sat, 9 May 2020 11:52:06 +0000 (13:52 +0200)] 
Update ev-aws submodule.

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
4 years agoDocker: fix generated image tagging.
Jérôme Benoit [Thu, 7 May 2020 18:46:30 +0000 (20:46 +0200)] 
Docker: fix generated image tagging.

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
4 years agoGitHub actions: Avoid linting on push.
Jérôme Benoit [Wed, 6 May 2020 15:54:18 +0000 (17:54 +0200)] 
GitHub actions: Avoid linting on push.

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
4 years agoRefine node version requirement.
Jérôme Benoit [Tue, 5 May 2020 22:19:10 +0000 (00:19 +0200)] 
Refine node version requirement.

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
4 years agoGitHub actions: env CI variable is already set to true by default.
Jérôme Benoit [Tue, 5 May 2020 11:12:31 +0000 (13:12 +0200)] 
GitHub actions: env CI variable is already set to true by default.

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
4 years agoGitHub actions: do not run action twice on PRs for real.
Jérôme Benoit [Fri, 1 May 2020 15:11:57 +0000 (17:11 +0200)] 
GitHub actions: do not run action twice on PRs for real.

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
4 years agoGitHub actions: do not run action twice on PRs.
Jérôme Benoit [Fri, 1 May 2020 14:44:15 +0000 (16:44 +0200)] 
GitHub actions: do not run action twice on PRs.

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
4 years agoGitHub action: properly separate different steps in jobs
Jérôme Benoit [Fri, 1 May 2020 12:45:08 +0000 (14:45 +0200)] 
GitHub action: properly separate different steps in jobs

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
4 years agoUpdate submodule.
Jérôme Benoit [Mon, 27 Apr 2020 20:42:49 +0000 (22:42 +0200)] 
Update submodule.

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
4 years agoGive more sensible name to GitHub job.
Jérôme Benoit [Sat, 25 Apr 2020 00:37:24 +0000 (02:37 +0200)] 
Give more sensible name to GitHub job.

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
4 years agoAdd forgotten GitHub action file.
Jérôme Benoit [Sat, 25 Apr 2020 00:15:34 +0000 (02:15 +0200)] 
Add forgotten GitHub action file.

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
4 years agoRename linting GitHub action file to a more sensible name.
Jérôme Benoit [Sat, 25 Apr 2020 00:14:50 +0000 (02:14 +0200)] 
Rename linting GitHub action file to a more sensible name.

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
4 years agoAdd GitHub actions.
Jérôme Benoit [Fri, 24 Apr 2020 23:16:36 +0000 (01:16 +0200)] 
Add GitHub actions.

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
4 years agoFix git:sdiff script.
Jérôme Benoit [Fri, 24 Apr 2020 13:14:08 +0000 (15:14 +0200)] 
Fix git:sdiff script.

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
4 years ago.cfignore: files list refinement.
Jérôme Benoit [Thu, 23 Apr 2020 17:35:09 +0000 (19:35 +0200)] 
.cfignore: files list refinement.

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
4 years agoCleanup CF template.
Jérôme Benoit [Thu, 23 Apr 2020 16:28:21 +0000 (18:28 +0200)] 
Cleanup CF template.

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
4 years agopackage.json: reference 14.x.x as node.js engine.
Jérôme Benoit [Wed, 22 Apr 2020 19:39:54 +0000 (21:39 +0200)] 
package.json: reference 14.x.x as node.js engine.

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
4 years agoBump acorn from 6.1.1 to 6.4.1
dependabot[bot] [Tue, 21 Apr 2020 10:29:18 +0000 (10:29 +0000)] 
Bump acorn from 6.1.1 to 6.4.1

Bumps [acorn](https://github.com/acornjs/acorn) from 6.1.1 to 6.4.1.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/6.1.1...6.4.1)

Signed-off-by: dependabot[bot] <support@github.com>
4 years agoApply security fix to dependencies.
Jérôme Benoit [Tue, 21 Apr 2020 10:27:44 +0000 (12:27 +0200)] 
Apply security fix to dependencies.

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
4 years agoAdd scripts for git submodules.
Jérôme Benoit [Mon, 20 Apr 2020 19:18:40 +0000 (21:18 +0200)] 
Add scripts for git submodules.

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
4 years agoUse constants for common OCPP responses.
Jérôme Benoit [Sun, 19 Apr 2020 20:20:27 +0000 (22:20 +0200)] 
Use constants for common OCPP responses.

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
4 years agoFlow types update.
Jérôme Benoit [Sat, 18 Apr 2020 12:10:12 +0000 (14:10 +0200)] 
Flow types update.

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
4 years agoREADME.md: Add a link to configuration template.
Jérôme Benoit [Sat, 18 Apr 2020 11:51:37 +0000 (13:51 +0200)] 
README.md: Add a link to configuration template.

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
4 years agoMerge pull request #2 from LucasBrazi06/deps-update
Jérôme Benoit [Fri, 17 Apr 2020 21:56:57 +0000 (23:56 +0200)] 
Merge pull request #2 from LucasBrazi06/deps-update

Update flow-bin to 0.123.0

4 years agoUpdate flow-bin to 0.123.0
Jérôme Benoit [Fri, 17 Apr 2020 21:51:59 +0000 (23:51 +0200)] 
Update flow-bin to 0.123.0

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
4 years agoRemove wrong eslint-disable-next-line class-methods-use-this
Jérôme Benoit [Fri, 17 Apr 2020 19:13:30 +0000 (21:13 +0200)] 
Remove wrong eslint-disable-next-line class-methods-use-this

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
4 years agoSet the defaultMaxListeners EventEmitter value at worker init.
Jérôme Benoit [Fri, 17 Apr 2020 19:06:32 +0000 (21:06 +0200)] 
Set the defaultMaxListeners EventEmitter value at worker init.

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
4 years agoUse node.js 13 for worker threads performance reason.
Jérôme Benoit [Fri, 17 Apr 2020 17:21:46 +0000 (19:21 +0200)] 
Use node.js 13 for worker threads performance reason.

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
4 years agoDocker: be more informative on AWS image definition generation.
Jérôme Benoit [Fri, 17 Apr 2020 13:43:25 +0000 (15:43 +0200)] 
Docker: be more informative on AWS image definition generation.

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
4 years agoREADME.md: Fix file links.
Jérôme Benoit [Fri, 17 Apr 2020 13:24:16 +0000 (15:24 +0200)] 
README.md: Fix file links.

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
4 years agoCONTRIBUTING.md: Fix the repository URL.
Jérôme Benoit [Fri, 17 Apr 2020 11:17:55 +0000 (13:17 +0200)] 
CONTRIBUTING.md: Fix the repository URL.

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
4 years agoLicensing: Document the contribution rules.
Jérôme Benoit [Fri, 17 Apr 2020 11:11:35 +0000 (13:11 +0200)] 
Licensing: Document the contribution rules.

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
4 years agoev-aws git submodule update.
Jérôme Benoit [Thu, 16 Apr 2020 19:26:41 +0000 (21:26 +0200)] 
ev-aws git submodule update.

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
4 years agoFinalize Constants conversion to ES6 module definition.
Jérôme Benoit [Thu, 16 Apr 2020 09:13:54 +0000 (11:13 +0200)] 
Finalize Constants conversion to ES6 module definition.

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
4 years agoConvert Constants to ES6 module definition.
Jérôme Benoit [Thu, 16 Apr 2020 08:32:30 +0000 (10:32 +0200)] 
Convert Constants to ES6 module definition.

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
4 years agoLinter fix on module.exports.
Jérôme Benoit [Thu, 16 Apr 2020 07:59:14 +0000 (09:59 +0200)] 
Linter fix on module.exports.

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
4 years agoPut the simulator configuration file in src/assets.
Jérôme Benoit [Wed, 15 Apr 2020 17:41:11 +0000 (19:41 +0200)] 
Put the simulator configuration file in src/assets.

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
4 years agoInitial commit
Jérôme Benoit [Wed, 15 Apr 2020 15:44:01 +0000 (17:44 +0200)] 
Initial commit