Jérôme Benoit [Wed, 29 Sep 2021 04:42:24 +0000 (06:42 +0200)]
Create connectors also if undefined
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 29 Sep 2021 03:46:13 +0000 (05:46 +0200)]
Unify WebSocket word usage in log messages
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 29 Sep 2021 03:28:41 +0000 (05:28 +0200)]
Handle connectors number shrinking at template reload.
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Tue, 28 Sep 2021 21:49:09 +0000 (23:49 +0200)]
Flag DiagnosticsStatusNotification as a supported OCPP command
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Tue, 28 Sep 2021 21:34:14 +0000 (23:34 +0200)]
Version 1.1.16
Jérôme Benoit [Tue, 28 Sep 2021 21:28:09 +0000 (23:28 +0200)]
Revert promise resolve/reject value
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Tue, 28 Sep 2021 21:05:00 +0000 (23:05 +0200)]
Version 1.1.15
Jérôme Benoit [Tue, 28 Sep 2021 20:56:01 +0000 (22:56 +0200)]
Plug one more memory leak in the OCPP stack in case of WS closed.
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Tue, 28 Sep 2021 18:17:05 +0000 (20:17 +0200)]
Version 1.1.14
Jérôme Benoit [Tue, 28 Sep 2021 18:04:01 +0000 (20:04 +0200)]
Ensure the OCPP message sending stop if the WS is not open
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Tue, 28 Sep 2021 13:16:48 +0000 (15:16 +0200)]
Apply dependency update
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Tue, 28 Sep 2021 07:18:06 +0000 (09:18 +0200)]
Version 1.1.13
Jérôme Benoit [Tue, 28 Sep 2021 07:06:57 +0000 (09:06 +0200)]
Improve OCPP stack error messages
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Mon, 27 Sep 2021 23:08:12 +0000 (01:08 +0200)]
Version 1.1.12
Jérôme Benoit [Mon, 27 Sep 2021 23:03:56 +0000 (01:03 +0200)]
Always consider sent response to OCPP request as sucessfuly sent
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Mon, 27 Sep 2021 22:43:14 +0000 (00:43 +0200)]
OCPP stack bug fixes:
+ Readd OCPP message send timeout;
+ Fix memory leak in the requests cache;
+ Fix buffered message handling.
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Mon, 27 Sep 2021 16:34:35 +0000 (18:34 +0200)]
Spell fixlets
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 27 Sep 2021 12:54:50 +0000 (14:54 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sun, 26 Sep 2021 12:03:11 +0000 (14:03 +0200)]
Rename tsconfig for MikroORM
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sun, 26 Sep 2021 10:49:02 +0000 (12:49 +0200)]
Version 1.1.11
Jérôme Benoit [Sun, 26 Sep 2021 10:47:45 +0000 (12:47 +0200)]
Add more ATG internal states tracking
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sun, 26 Sep 2021 09:34:06 +0000 (11:34 +0200)]
Version 1.1.10
Jérôme Benoit [Sun, 26 Sep 2021 09:29:48 +0000 (11:29 +0200)]
Untangle charging station worker types from the generic ones
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sun, 26 Sep 2021 08:18:34 +0000 (10:18 +0200)]
ATG: unify start/stop on connector API
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sat, 25 Sep 2021 20:51:12 +0000 (22:51 +0200)]
Version 1.1.9
Jérôme Benoit [Sat, 25 Sep 2021 20:44:55 +0000 (22:44 +0200)]
Ensure the ATG connector status is not overwritten at stop
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sat, 25 Sep 2021 20:25:18 +0000 (22:25 +0200)]
Push down at the connector level ATG states
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sat, 25 Sep 2021 16:28:14 +0000 (18:28 +0200)]
Version 1.1.8
Jérôme Benoit [Sat, 25 Sep 2021 16:26:38 +0000 (18:26 +0200)]
Ensure the ATG will stop on unavaible connector
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sat, 25 Sep 2021 16:16:43 +0000 (18:16 +0200)]
Track ATG status on a per connector basis.
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sat, 25 Sep 2021 11:27:22 +0000 (13:27 +0200)]
Add sanity check to ATG start
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sat, 25 Sep 2021 11:01:46 +0000 (13:01 +0200)]
Add node.js memory tuning to docker image
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sat, 25 Sep 2021 10:21:51 +0000 (12:21 +0200)]
Fine tune node.js CF heap size
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Fri, 24 Sep 2021 11:59:12 +0000 (13:59 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Thu, 23 Sep 2021 10:42:25 +0000 (12:42 +0200)]
Ignore performance file lock
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 23 Sep 2021 10:04:12 +0000 (12:04 +0200)]
Version 1.1.7
Jérôme Benoit [Thu, 23 Sep 2021 09:48:20 +0000 (11:48 +0200)]
Spell fixlet in ATG log message
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 23 Sep 2021 09:46:03 +0000 (11:46 +0200)]
Consistently use idTag for RFID tag
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 22 Sep 2021 08:30:43 +0000 (10:30 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Tue, 21 Sep 2021 22:37:53 +0000 (00:37 +0200)]
Guard transaction id fetching in ATG
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 21 Sep 2021 22:24:55 +0000 (00:24 +0200)]
Remove uneeded condition on transaction status in ATG
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Tue, 21 Sep 2021 21:03:10 +0000 (23:03 +0200)]
Use the proper CF manifest tunable for health check timeout
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Tue, 21 Sep 2021 20:40:12 +0000 (22:40 +0200)]
Version 1.1.6
Jérôme Benoit [Tue, 21 Sep 2021 20:36:42 +0000 (22:36 +0200)]
Fix ATG run duration computation
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Tue, 21 Sep 2021 18:20:11 +0000 (20:20 +0200)]
Optimize heap tunable for CF
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 21 Sep 2021 16:40:41 +0000 (18:40 +0200)]
Version 1.1.5
Jérôme Benoit [Tue, 21 Sep 2021 16:34:04 +0000 (18:34 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Tue, 21 Sep 2021 16:29:42 +0000 (18:29 +0200)]
Fix negative values in meter values
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 21 Sep 2021 11:41:24 +0000 (13:41 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 19 Sep 2021 20:33:52 +0000 (22:33 +0200)]
Add missing file in types directory
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 19 Sep 2021 19:41:14 +0000 (21:41 +0200)]
Add empty object type and use it on some ocpp responses type
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sun, 19 Sep 2021 09:34:00 +0000 (11:34 +0200)]
Privatize some attributes in the ChargingStation class
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 19 Sep 2021 09:12:51 +0000 (11:12 +0200)]
Version 1.1.4
Jérôme Benoit [Sun, 19 Sep 2021 09:07:47 +0000 (11:07 +0200)]
Add sanity checks to random integer generation
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sun, 19 Sep 2021 00:20:54 +0000 (02:20 +0200)]
Add sanity checks to random number generation code
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sat, 18 Sep 2021 14:04:58 +0000 (16:04 +0200)]
Optimize ATG run duration handling
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sat, 18 Sep 2021 12:28:34 +0000 (14:28 +0200)]
Simplify Connectors type definition
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 18 Sep 2021 12:12:41 +0000 (14:12 +0200)]
Keep track of ATG running time
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sat, 18 Sep 2021 11:38:40 +0000 (13:38 +0200)]
Factor out reconnection timeout calculation
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sat, 18 Sep 2021 11:32:43 +0000 (13:32 +0200)]
Force WS connection opened closing at connection retries
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sat, 18 Sep 2021 11:23:03 +0000 (13:23 +0200)]
Version 1.1.3
Jérôme Benoit [Sat, 18 Sep 2021 11:16:32 +0000 (13:16 +0200)]
Simplify calculation at duration formatting
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 18 Sep 2021 11:08:58 +0000 (13:08 +0200)]
Display milliseconds at duration formatting
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sat, 18 Sep 2021 10:58:54 +0000 (12:58 +0200)]
Fix duration formatting for large one
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sat, 18 Sep 2021 07:50:53 +0000 (09:50 +0200)]
Secure random integer generator inputs
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Fri, 17 Sep 2021 16:30:29 +0000 (18:30 +0200)]
Add scope to helper methods in Utils class.
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Fri, 17 Sep 2021 07:56:51 +0000 (09:56 +0200)]
Refine a method documentation
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Fri, 17 Sep 2021 07:23:21 +0000 (09:23 +0200)]
Version 1.1.2
Jérôme Benoit [Fri, 17 Sep 2021 07:22:15 +0000 (09:22 +0200)]
Fix and secure random number generation code
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Fri, 17 Sep 2021 05:33:03 +0000 (07:33 +0200)]
Silence sonar a bit
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 16 Sep 2021 21:49:50 +0000 (23:49 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 16 Sep 2021 21:26:50 +0000 (23:26 +0200)]
Version 1.1.1
Jérôme Benoit [Thu, 16 Sep 2021 21:23:36 +0000 (23:23 +0200)]
Fix ATG execution time accuracy.
And parallel run on each CS connectors
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 15 Sep 2021 21:13:37 +0000 (23:13 +0200)]
Silence a sonar warning
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 15 Sep 2021 20:55:33 +0000 (22:55 +0200)]
Version 1.1.0
Jérôme Benoit [Wed, 15 Sep 2021 20:54:35 +0000 (22:54 +0200)]
Apply dependency update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 15 Sep 2021 16:10:13 +0000 (18:10 +0200)]
Consistently name charging stations run on CF on multiple instances
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 15 Sep 2021 13:36:24 +0000 (15:36 +0200)]
Fix .cfignore file for templates.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 15 Sep 2021 07:22:39 +0000 (09:22 +0200)]
Version 1.0.62
Jérôme Benoit [Tue, 14 Sep 2021 21:48:58 +0000 (23:48 +0200)]
Fix misplaced parenthesis
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 14 Sep 2021 21:39:26 +0000 (23:39 +0200)]
Cleanup OCPP message sending and error code
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Tue, 14 Sep 2021 19:33:35 +0000 (21:33 +0200)]
Version 1.0.61
Jérôme Benoit [Tue, 14 Sep 2021 19:32:32 +0000 (21:32 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 14 Sep 2021 19:16:38 +0000 (21:16 +0200)]
Fix log message quoting
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Mon, 13 Sep 2021 21:40:07 +0000 (23:40 +0200)]
Version 1.0.60
Jérôme Benoit [Mon, 13 Sep 2021 21:33:18 +0000 (23:33 +0200)]
Fix performance storage jsonfile consistency at write:
+ Use a lock file to avoid concurrent read->write
+ Switch to synchronous fs operations
+ Ensure a unique id will be used as a performance mark
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Mon, 13 Sep 2021 19:23:28 +0000 (21:23 +0200)]
Constity and factor out last performance entry
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 13 Sep 2021 17:07:10 +0000 (19:07 +0200)]
Log also ws closing reason
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 12 Sep 2021 19:07:58 +0000 (21:07 +0200)]
Cleanup fs operations encoding
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 12 Sep 2021 18:56:45 +0000 (20:56 +0200)]
Only GitHub action sonar with node.js 14 on that repository
Jérôme Benoit [Sun, 12 Sep 2021 17:51:56 +0000 (19:51 +0200)]
Add node.js 16.x to CI for testing purpose
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sun, 12 Sep 2021 14:08:23 +0000 (16:08 +0200)]
Version 1.0.59
Jérôme Benoit [Sun, 12 Sep 2021 14:07:12 +0000 (16:07 +0200)]
Use the same message for git and GitHub version releasing
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 12 Sep 2021 13:59:35 +0000 (15:59 +0200)]
Release 1.0.58
Jérôme Benoit [Sun, 12 Sep 2021 13:56:36 +0000 (15:56 +0200)]
Refine issue templates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 12 Sep 2021 13:53:18 +0000 (15:53 +0200)]
Fix issue template escaping
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 12 Sep 2021 13:51:22 +0000 (15:51 +0200)]
Fix escaping in issue templates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 12 Sep 2021 13:46:06 +0000 (15:46 +0200)]
Fix escaping in issue templates
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sun, 12 Sep 2021 13:42:22 +0000 (15:42 +0200)]
Add GitHub issue templates
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sun, 12 Sep 2021 13:03:51 +0000 (15:03 +0200)]
Cleanup CF and docker deployment support
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>