dependabot[bot] [Wed, 12 Jun 2024 19:16:39 +0000 (19:16 +0000)]
build(deps): bump actions/setup-python from 4 to 5
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4...v5)
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Jérôme Benoit [Wed, 12 Jun 2024 19:15:31 +0000 (21:15 +0200)]
build(deps): add dependabot configuration for ocpp-server
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 12 Jun 2024 19:00:29 +0000 (21:00 +0200)]
build(ci): silence warning at building OCPP mock server
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 12 Jun 2024 18:53:41 +0000 (20:53 +0200)]
build(ci): add ocpp-server code linter check
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 12 Jun 2024 18:30:20 +0000 (20:30 +0200)]
test(ocpp-server): add tasks to format/lint code
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 12 Jun 2024 17:48:54 +0000 (19:48 +0200)]
test: add .gitignore for ocpp-server
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 12 Jun 2024 16:57:47 +0000 (18:57 +0200)]
refactor(ocpp-server): format code with black
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 12 Jun 2024 10:26:07 +0000 (12:26 +0200)]
refactor(ocpp-server): add a few types
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Tue, 11 Jun 2024 22:13:50 +0000 (00:13 +0200)]
refactor(ocpp-server): code formatting
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Tue, 11 Jun 2024 19:29:49 +0000 (21:29 +0200)]
test(ocpp-server): add TransactionEvent handler
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Tue, 11 Jun 2024 19:06:54 +0000 (21:06 +0200)]
test(ocpp-server): add more request handlers
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Tue, 11 Jun 2024 18:46:32 +0000 (20:46 +0200)]
test(ocpp-server): add StatusNotification handler
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Tue, 11 Jun 2024 18:40:05 +0000 (20:40 +0200)]
test(ocpp-server): add heartbeart command handler
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Tue, 11 Jun 2024 18:27:32 +0000 (20:27 +0200)]
test: fix OCPP 2 server startup
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Tue, 11 Jun 2024 12:58:01 +0000 (14:58 +0200)]
test(ocpp-server): add RepeatTimer class to allow to emit OCPP messages on a regular
basis
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Tue, 11 Jun 2024 10:20:39 +0000 (12:20 +0200)]
test: align OCPP2 server messages
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Tue, 11 Jun 2024 10:07:27 +0000 (12:07 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Mon, 10 Jun 2024 22:47:44 +0000 (00:47 +0200)]
test: add clear cache implementation example in ocpp2 server
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Mon, 10 Jun 2024 22:10:08 +0000 (00:10 +0200)]
refactor: setup repo configuration to handle python code
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Mon, 10 Jun 2024 20:27:29 +0000 (22:27 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Mon, 10 Jun 2024 19:14:18 +0000 (21:14 +0200)]
test: remove GetBaseReport ocpp server handler
The CSMS is supposed to emit the request
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Mon, 10 Jun 2024 18:51:11 +0000 (20:51 +0200)]
test: reformat ocpp server python using pep8 rules
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Mon, 10 Jun 2024 18:37:18 +0000 (20:37 +0200)]
test: migrate ocpp server to poetry to ease usage
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Mon, 10 Jun 2024 16:59:21 +0000 (18:59 +0200)]
refactor: refine OCPP 2 mock server defaults
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Mon, 10 Jun 2024 16:54:57 +0000 (18:54 +0200)]
Merge pull request #1041 from syuusei3/issue39-ocpp2
Add GetBaseReport Command Handling to OCPP 2.0.1 Server
Jérôme Benoit [Mon, 10 Jun 2024 15:46:09 +0000 (17:46 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Mon, 10 Jun 2024 15:30:35 +0000 (17:30 +0200)]
chore: version 1.3.6
Jérôme Benoit [Mon, 10 Jun 2024 15:29:45 +0000 (17:29 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Mon, 10 Jun 2024 15:11:34 +0000 (17:11 +0200)]
refactor: cleanup power limitation code
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Mon, 10 Jun 2024 14:20:09 +0000 (16:20 +0200)]
build: apply volta pnpm update
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Mon, 10 Jun 2024 14:13:26 +0000 (16:13 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Mon, 10 Jun 2024 13:41:44 +0000 (15:41 +0200)]
feat: handle CHARGE_POINT_MAX_PROFILE charging profiles at power
limitation
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Mon, 10 Jun 2024 11:20:13 +0000 (13:20 +0200)]
Merge branch 'main' into issue39-ocpp2
Jérôme Benoit [Sun, 9 Jun 2024 21:00:48 +0000 (23:00 +0200)]
refactor: cleanup charging profiles handling code
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sun, 9 Jun 2024 14:00:35 +0000 (16:00 +0200)]
fix: fix TxProfile removal with transaction id defined at Tx stop
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sun, 9 Jun 2024 13:52:02 +0000 (15:52 +0200)]
fix: ensure no charging profile purpose TxProfile is loaded at startup
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sun, 9 Jun 2024 11:28:52 +0000 (13:28 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sun, 9 Jun 2024 11:14:20 +0000 (13:14 +0200)]
chore: version 1.3.5
Jérôme Benoit [Sun, 9 Jun 2024 11:08:07 +0000 (13:08 +0200)]
feat: handle charging profile purpose TxProfile
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sat, 8 Jun 2024 19:36:07 +0000 (21:36 +0200)]
fix: avoid to modify stored charging profiles
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sat, 8 Jun 2024 18:51:37 +0000 (20:51 +0200)]
fix: allow to set charging profile with TxProfile purpose
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sat, 8 Jun 2024 16:57:16 +0000 (18:57 +0200)]
perf: add fastpath in array sorting helper
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sat, 8 Jun 2024 16:26:51 +0000 (18:26 +0200)]
fix: restart metervalues interval if MeterValueSampleInterval is changed
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sat, 8 Jun 2024 15:54:14 +0000 (17:54 +0200)]
perf: compute power limitation only once
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sat, 8 Jun 2024 14:39:02 +0000 (16:39 +0200)]
fix: fix start transaction response handling with authorize
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sat, 8 Jun 2024 11:52:32 +0000 (13:52 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Fri, 7 Jun 2024 21:00:49 +0000 (23:00 +0200)]
fix: ensure ATG status is refreshed in the UI at stop
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Fri, 7 Jun 2024 19:43:20 +0000 (21:43 +0200)]
fix: add sanity check in ATG on connector id
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Fri, 7 Jun 2024 19:14:47 +0000 (21:14 +0200)]
fix: fix condition at ATG configuration handling
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Fri, 7 Jun 2024 16:15:30 +0000 (18:15 +0200)]
test: improve ConfigurationUtils coverage
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Fri, 7 Jun 2024 15:49:59 +0000 (17:49 +0200)]
refactor: rename Storage.handleDBError -> Storage.handleDBStorageError
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Fri, 7 Jun 2024 14:29:32 +0000 (16:29 +0200)]
test: add Utils insertAt() test
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Fri, 7 Jun 2024 14:24:59 +0000 (16:24 +0200)]
test: improve ConfigurationUtils coverage
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Fri, 7 Jun 2024 14:19:18 +0000 (16:19 +0200)]
test: improve coverage on existing tests
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Fri, 7 Jun 2024 13:08:17 +0000 (15:08 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Fri, 7 Jun 2024 13:02:00 +0000 (15:02 +0200)]
test: improve ErrorUtils coverage
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Fri, 7 Jun 2024 12:11:55 +0000 (14:11 +0200)]
test: trivial refinements
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Fri, 7 Jun 2024 12:04:44 +0000 (14:04 +0200)]
test: add tests
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Fri, 7 Jun 2024 11:36:22 +0000 (13:36 +0200)]
test: add ConfigurationUtils test
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Fri, 7 Jun 2024 10:45:19 +0000 (12:45 +0200)]
fix: refine default configuration
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Fri, 7 Jun 2024 02:30:22 +0000 (04:30 +0200)]
test: add ErrorUtils test
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Thu, 6 Jun 2024 21:53:21 +0000 (23:53 +0200)]
chore: version 1.3.4
Jérôme Benoit [Thu, 6 Jun 2024 21:49:39 +0000 (23:49 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Thu, 6 Jun 2024 21:42:27 +0000 (23:42 +0200)]
fix: avoid endless loop at remote start transaction
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Thu, 6 Jun 2024 20:37:49 +0000 (22:37 +0200)]
fix: ensure inflight requests id cannot be duplicated
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Thu, 6 Jun 2024 19:57:22 +0000 (21:57 +0200)]
fix: fix date handling connectorsStatus configuration file section
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Thu, 6 Jun 2024 18:33:22 +0000 (20:33 +0200)]
refactor: cleanup boot notification response handling
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Thu, 6 Jun 2024 16:50:14 +0000 (18:50 +0200)]
fix: ensure charging profiles not related to the current transaction are
removed
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Thu, 6 Jun 2024 14:36:50 +0000 (16:36 +0200)]
fix: reset authorize fields connector status after reservation
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Thu, 6 Jun 2024 10:28:01 +0000 (12:28 +0200)]
refactor: cleanup eslint usage
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Thu, 6 Jun 2024 10:07:12 +0000 (12:07 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 5 Jun 2024 22:57:42 +0000 (00:57 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 5 Jun 2024 22:00:22 +0000 (00:00 +0200)]
fix(ci): silence linter
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 5 Jun 2024 20:04:25 +0000 (22:04 +0200)]
refactor: cleanup OCPP utils
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 5 Jun 2024 19:11:29 +0000 (21:11 +0200)]
refactor: cleanup connection retries logic
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 5 Jun 2024 18:58:17 +0000 (20:58 +0200)]
docs: refine code comments
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 5 Jun 2024 18:40:19 +0000 (20:40 +0200)]
refactor: cleanup boot notification handling internal handling
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 5 Jun 2024 18:36:34 +0000 (20:36 +0200)]
refactor: cleanup boot notification response assignation
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 5 Jun 2024 17:55:44 +0000 (19:55 +0200)]
fix: fix remote transaction start debug log
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 5 Jun 2024 17:31:57 +0000 (19:31 +0200)]
fix: ensure registration status is deleted if invalid boot notification
response is received
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 5 Jun 2024 17:04:08 +0000 (19:04 +0200)]
fix: fix firmware update in progress detection
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 5 Jun 2024 15:29:50 +0000 (17:29 +0200)]
fix: pickup not reserved connector at remote start transaction
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 5 Jun 2024 15:11:29 +0000 (17:11 +0200)]
fix: properly handle undefined connector id at remote start transaction
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 5 Jun 2024 14:30:29 +0000 (16:30 +0200)]
fix: fix error handling default options definition
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Sekiya [Wed, 5 Jun 2024 14:03:50 +0000 (23:03 +0900)]
Add missing types for GetBaseReport payload handling
Jérôme Benoit [Wed, 5 Jun 2024 12:09:24 +0000 (14:09 +0200)]
fix: fix clear charging profiles with no connector in payload
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 5 Jun 2024 10:28:28 +0000 (12:28 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 5 Jun 2024 09:58:26 +0000 (11:58 +0200)]
refactor: helper cleanup
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 5 Jun 2024 00:39:42 +0000 (02:39 +0200)]
fix: fix log files path resolution at GetDiagnostics
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Tue, 4 Jun 2024 23:17:08 +0000 (01:17 +0200)]
refactor: refine OCPP message sending error handling
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Tue, 4 Jun 2024 20:31:17 +0000 (22:31 +0200)]
fix: ensure only circular buffer is converted to array
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 4 Jun 2024 10:04:57 +0000 (12:04 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Mon, 3 Jun 2024 10:57:40 +0000 (12:57 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sun, 2 Jun 2024 19:57:56 +0000 (21:57 +0200)]
refactor: cleanup string literal variables handling
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sun, 2 Jun 2024 19:54:50 +0000 (21:54 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sat, 1 Jun 2024 13:02:18 +0000 (15:02 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Fri, 31 May 2024 21:41:33 +0000 (23:41 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Thu, 30 May 2024 22:02:48 +0000 (00:02 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Thu, 30 May 2024 01:54:15 +0000 (03:54 +0200)]
fix: start web socket ping interval at successful connection
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 29 May 2024 20:07:53 +0000 (22:07 +0200)]
fix: start heartbeat once
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>