Jérôme Benoit [Fri, 13 Aug 2021 20:44:30 +0000 (22:44 +0200)]
Ensure performance statistics is started before connection to the OCPP
server.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 13 Aug 2021 18:27:59 +0000 (20:27 +0200)]
Release 1.0.32
Jérôme Benoit [Fri, 13 Aug 2021 18:20:51 +0000 (20:20 +0200)]
Add support for performance statistics for all requests sent to the OCPP
server.
The distinction between request and response is not done.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 13 Aug 2021 15:13:34 +0000 (17:13 +0200)]
Encapsulate performance init code in the same class.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 12 Aug 2021 22:11:19 +0000 (00:11 +0200)]
Simplify performance measurement API
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 12 Aug 2021 20:50:28 +0000 (22:50 +0200)]
Cleanups: performance statistics, URI handling.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 9 Aug 2021 16:35:02 +0000 (18:35 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 6 Aug 2021 13:56:57 +0000 (15:56 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 28 Jul 2021 18:57:22 +0000 (20:57 +0200)]
Release 1.0.31
Jérôme Benoit [Wed, 28 Jul 2021 18:56:04 +0000 (20:56 +0200)]
Log a warning if a transaction id sent by the OCPP-J server is not an
integer and cast it.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 22 Jul 2021 14:50:25 +0000 (16:50 +0200)]
Release 1.0.30
Jérôme Benoit [Thu, 22 Jul 2021 14:49:54 +0000 (16:49 +0200)]
Apply dependencies update.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 22 Jul 2021 14:33:23 +0000 (16:33 +0200)]
Merge branch 'master' of github.wdf.sap.corp:E-Mobility/ev-simulator
Jérôme Benoit [Tue, 20 Jul 2021 17:05:21 +0000 (19:05 +0200)]
Release 1.0.29
Jérôme Benoit [Tue, 20 Jul 2021 14:24:10 +0000 (16:24 +0200)]
Allow to use fluctuated value for SoC MeterValues.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 16 Jul 2021 10:06:43 +0000 (12:06 +0200)]
Release 1.0.28
Jérôme Benoit [Fri, 16 Jul 2021 10:05:29 +0000 (12:05 +0200)]
Improve and fix error handling at sending OCPP commands
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 12 Jul 2021 10:13:26 +0000 (12:13 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 12 Jul 2021 10:07:45 +0000 (12:07 +0200)]
Rename OcppError.ts to OCPPError.ts
Jérôme Benoit [Mon, 12 Jul 2021 10:03:41 +0000 (12:03 +0200)]
Make filename match the class case.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 10 Jul 2021 20:09:44 +0000 (22:09 +0200)]
Release 1.0.27
Jérôme Benoit [Sat, 10 Jul 2021 20:08:13 +0000 (22:08 +0200)]
Use the fork as the main release repo for now
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 10 Jul 2021 19:50:01 +0000 (21:50 +0200)]
Add GetDiagnostics command support
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 29 Jun 2021 17:12:35 +0000 (19:12 +0200)]
Apply dependencies update.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 28 Jun 2021 13:58:40 +0000 (15:58 +0200)]
Release 1.0.26
Jérôme Benoit [Mon, 28 Jun 2021 13:56:59 +0000 (15:56 +0200)]
Properly handle charging profiles set a remote start transaction.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 27 Jun 2021 20:14:44 +0000 (22:14 +0200)]
Release 1.0.25
Jérôme Benoit [Sun, 27 Jun 2021 20:14:05 +0000 (22:14 +0200)]
Log message cleanup
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 27 Jun 2021 20:03:40 +0000 (22:03 +0200)]
Various fixes at charging profiles handling:
+ ensure set at remote start transaction
+ fix set with matching txProfile, etc.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 27 Jun 2021 13:16:36 +0000 (15:16 +0200)]
Consistent naming for CS template enums
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 27 Jun 2021 13:06:26 +0000 (15:06 +0200)]
Fix Boostrap singleton class direct call
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 27 Jun 2021 09:13:03 +0000 (11:13 +0200)]
Consistent variables naming.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 26 Jun 2021 18:50:54 +0000 (20:50 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 21 Jun 2021 19:47:42 +0000 (21:47 +0200)]
Release 1.0.24
Jérôme Benoit [Mon, 21 Jun 2021 19:45:51 +0000 (21:45 +0200)]
Keep track of authorize request idtag status.
And use it to add sanity check at start transaction.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 20 Jun 2021 12:50:41 +0000 (14:50 +0200)]
Release 1.0.23
Jérôme Benoit [Sun, 20 Jun 2021 12:49:22 +0000 (14:49 +0200)]
Optimize random fluctuated computation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 20 Jun 2021 11:57:39 +0000 (13:57 +0200)]
Release 1.0.22
Jérôme Benoit [Sun, 20 Jun 2021 11:56:40 +0000 (13:56 +0200)]
Consistent name for MeterValues related CS template tunable.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 20 Jun 2021 11:51:30 +0000 (13:51 +0200)]
Release 1.0.21
Jérôme Benoit [Sun, 20 Jun 2021 11:49:51 +0000 (13:49 +0200)]
Add tunable for phase line to line voltage MeterValues
Also improve MeterValues template parsing logs
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 19 Jun 2021 20:02:56 +0000 (22:02 +0200)]
Release 1.0.20
Jérôme Benoit [Sat, 19 Jun 2021 20:00:10 +0000 (22:00 +0200)]
Logs message cleanup
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 19 Jun 2021 19:47:35 +0000 (21:47 +0200)]
Add per phase support to MeterValues in template.
+ Add support for static value + fluctuation
+ Add support for line to line voltage
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 14 Jun 2021 20:01:39 +0000 (22:01 +0200)]
Use ConnectionTineOut OCPP parameter as WS timeout
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 13 Jun 2021 20:41:33 +0000 (22:41 +0200)]
Release 1.0.19
Jérôme Benoit [Sun, 13 Jun 2021 20:39:33 +0000 (22:39 +0200)]
Add support for ConnectionTimeOut standard parameter
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 13 Jun 2021 20:03:49 +0000 (22:03 +0200)]
Release 1.0.18
Jérôme Benoit [Sun, 13 Jun 2021 19:47:35 +0000 (21:47 +0200)]
Complete AuthorizeRemoteTxRequests support in remote start transaction
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 13 Jun 2021 12:44:42 +0000 (14:44 +0200)]
Release 1.0.17
Jérôme Benoit [Sun, 13 Jun 2021 12:43:16 +0000 (14:43 +0200)]
README.md: spell fix
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 13 Jun 2021 12:35:33 +0000 (14:35 +0200)]
README.md: fix sections hierarchy
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 13 Jun 2021 12:30:30 +0000 (14:30 +0200)]
Documentation on OCPP parameters
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 13 Jun 2021 11:02:58 +0000 (13:02 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 13 Jun 2021 09:25:44 +0000 (11:25 +0200)]
Release 1.0.16
Jérôme Benoit [Sun, 13 Jun 2021 09:24:01 +0000 (11:24 +0200)]
Add support for transaction data MeterValues
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 12 Jun 2021 19:27:28 +0000 (21:27 +0200)]
Release 1.0.15
Jérôme Benoit [Sat, 12 Jun 2021 19:23:46 +0000 (21:23 +0200)]
Add support for unit in meter values.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 12 Jun 2021 16:53:31 +0000 (18:53 +0200)]
Fix power unit in kW handling in charging station template
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 12 Jun 2021 15:39:49 +0000 (17:39 +0200)]
MeterValues: add Transaction.Begin and .End support
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 11 Jun 2021 19:32:14 +0000 (21:32 +0200)]
Release 1.0.14
Jérôme Benoit [Fri, 11 Jun 2021 19:31:10 +0000 (21:31 +0200)]
Refine eslint configuration
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 11 Jun 2021 19:20:11 +0000 (21:20 +0200)]
Add initial support at sending transaction.{begin,end} meter values
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 11 Jun 2021 18:11:44 +0000 (20:11 +0200)]
Release 1.0.13
Jérôme Benoit [Fri, 11 Jun 2021 17:01:22 +0000 (19:01 +0200)]
Merge branch 'master' of github.com:sap-labs-france/ev-simulator
Jérôme Benoit [Fri, 11 Jun 2021 16:10:30 +0000 (18:10 +0200)]
Apply dependencies update.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
FABIANO Serge [Fri, 11 Jun 2021 15:50:53 +0000 (17:50 +0200)]
Merge pull request #14 from sap-labs-france/dependabot/npm_and_yarn/glob-parent-5.1.2
Bump glob-parent from 5.1.1 to 5.1.2
FABIANO Serge [Fri, 11 Jun 2021 15:48:33 +0000 (17:48 +0200)]
Merge pull request #13 from sap-labs-france/dependabot/npm_and_yarn/normalize-url-4.5.1
Bump normalize-url from 4.5.0 to 4.5.1
dependabot[bot] [Fri, 11 Jun 2021 11:34:06 +0000 (11:34 +0000)]
Bump glob-parent from 5.1.1 to 5.1.2
Bumps [glob-parent](https://github.com/gulpjs/glob-parent) from 5.1.1 to 5.1.2.
- [Release notes](https://github.com/gulpjs/glob-parent/releases)
- [Changelog](https://github.com/gulpjs/glob-parent/blob/main/CHANGELOG.md)
- [Commits](https://github.com/gulpjs/glob-parent/compare/v5.1.1...v5.1.2)
---
updated-dependencies:
- dependency-name: glob-parent
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot] [Fri, 11 Jun 2021 07:27:04 +0000 (07:27 +0000)]
Bump normalize-url from 4.5.0 to 4.5.1
Bumps [normalize-url](https://github.com/sindresorhus/normalize-url) from 4.5.0 to 4.5.1.
- [Release notes](https://github.com/sindresorhus/normalize-url/releases)
- [Commits](https://github.com/sindresorhus/normalize-url/commits)
---
updated-dependencies:
- dependency-name: normalize-url
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Jérôme Benoit [Tue, 8 Jun 2021 20:42:36 +0000 (22:42 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 6 Jun 2021 18:44:48 +0000 (20:44 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 6 Jun 2021 18:35:37 +0000 (20:35 +0200)]
Add eslint node plugin.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 6 Jun 2021 15:18:35 +0000 (17:18 +0200)]
ATG: make requireAuthorize optional
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 6 Jun 2021 09:38:01 +0000 (11:38 +0200)]
Apply dependencies update.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 4 Jun 2021 11:07:53 +0000 (13:07 +0200)]
Release 1.0.12
Jérôme Benoit [Fri, 4 Jun 2021 11:05:50 +0000 (13:05 +0200)]
Default ATG to send authorize command before starting a transaction
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 3 Jun 2021 09:44:47 +0000 (11:44 +0200)]
Release 1.0.11
Jérôme Benoit [Thu, 3 Jun 2021 09:44:03 +0000 (11:44 +0200)]
Apply dependencies update.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 1 Jun 2021 17:30:00 +0000 (19:30 +0200)]
Update submodule reference
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 31 May 2021 21:07:12 +0000 (23:07 +0200)]
Refine some logs level.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 31 May 2021 17:04:26 +0000 (19:04 +0200)]
Release 1.0.10
Jérôme Benoit [Mon, 31 May 2021 17:02:50 +0000 (19:02 +0200)]
Put auto-changelog configuration in package.json
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 31 May 2021 13:27:58 +0000 (15:27 +0200)]
Release 1.0.9
Jérôme Benoit [Mon, 31 May 2021 13:21:11 +0000 (15:21 +0200)]
Gracefully handle simulator missing files or files not found.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 31 May 2021 08:21:21 +0000 (10:21 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 30 May 2021 19:50:01 +0000 (21:50 +0200)]
Release 1.0.8
Jérôme Benoit [Sun, 30 May 2021 19:44:33 +0000 (21:44 +0200)]
Fix docker image build.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 30 May 2021 19:39:30 +0000 (21:39 +0200)]
Run the docker image build in GitHub actions.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 30 May 2021 19:33:15 +0000 (21:33 +0200)]
Add docker image build to GitHub actions
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 30 May 2021 19:14:05 +0000 (21:14 +0200)]
Release 1.0.7
Jérôme Benoit [Sun, 30 May 2021 19:12:22 +0000 (21:12 +0200)]
Fix unit tests GitHub action name
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 30 May 2021 18:34:19 +0000 (20:34 +0200)]
Release 1.0.6
Jérôme Benoit [Sun, 30 May 2021 18:33:05 +0000 (20:33 +0200)]
Fix CHANGELOG.md compare link generation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 30 May 2021 18:27:40 +0000 (20:27 +0200)]
Release 1.0.5
Jérôme Benoit [Sun, 30 May 2021 18:26:56 +0000 (20:26 +0200)]
Fix CHANGELOG.md commit link generation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 30 May 2021 18:24:55 +0000 (20:24 +0200)]
Release 1.0.4
Jérôme Benoit [Sun, 30 May 2021 18:21:40 +0000 (20:21 +0200)]
README.md: Use red cross emoji for unsupported OCPP commands
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 30 May 2021 18:19:55 +0000 (20:19 +0200)]
Refine the documentation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 30 May 2021 17:54:22 +0000 (19:54 +0200)]
Enhance documentation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>