Jérôme Benoit [Thu, 20 Jun 2024 12:48:35 +0000 (14:48 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 19 Jun 2024 11:52:28 +0000 (13:52 +0200)]
docs: refine README.md
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 19 Jun 2024 11:42:21 +0000 (13:42 +0200)]
build: fix pnpm lock file
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 19 Jun 2024 11:40:12 +0000 (13:40 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Tue, 18 Jun 2024 18:40:00 +0000 (20:40 +0200)]
build(ocpp-server): sync poetry lock file
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Tue, 18 Jun 2024 18:10:28 +0000 (20:10 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Tue, 18 Jun 2024 18:04:17 +0000 (20:04 +0200)]
build: recommend vscode ruff extension for ocpp-server python code
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Tue, 18 Jun 2024 17:28:15 +0000 (19:28 +0200)]
docs: document volta usage for development
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Tue, 18 Jun 2024 16:28:39 +0000 (18:28 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Mon, 17 Jun 2024 19:58:16 +0000 (21:58 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sun, 16 Jun 2024 20:25:19 +0000 (22:25 +0200)]
refactor(ocpp-server): refine log message
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sun, 16 Jun 2024 19:42:26 +0000 (21:42 +0200)]
fix(ocpp-server): properly handle charge point disconnection
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sun, 16 Jun 2024 17:43:42 +0000 (19:43 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sun, 16 Jun 2024 09:24:15 +0000 (11:24 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sat, 15 Jun 2024 20:33:49 +0000 (22:33 +0200)]
test(ocpp-server): keep track of connected CS
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sat, 15 Jun 2024 18:46:41 +0000 (20:46 +0200)]
test(ocpp-server): switch to ruff to assess coding style
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sat, 15 Jun 2024 10:21:11 +0000 (12:21 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Fri, 14 Jun 2024 18:29:18 +0000 (20:29 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Fri, 14 Jun 2024 18:26:10 +0000 (20:26 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Fri, 14 Jun 2024 11:10:53 +0000 (13:10 +0200)]
build(deps): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Thu, 13 Jun 2024 21:23:30 +0000 (23:23 +0200)]
chore: bump volta node version
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Thu, 13 Jun 2024 20:49:54 +0000 (22:49 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Thu, 13 Jun 2024 20:31:23 +0000 (20:31 +0000)]
Merge pull request #1048 from SAP/dependabot/github_actions/sonarsource/sonarcloud-github-action-2.3.0
build(deps): bump sonarsource/sonarcloud-github-action from 2.2.0 to 2.3.0
dependabot[bot] [Thu, 13 Jun 2024 16:27:45 +0000 (16:27 +0000)]
build(deps): bump sonarsource/sonarcloud-github-action
Bumps [sonarsource/sonarcloud-github-action](https://github.com/sonarsource/sonarcloud-github-action) from 2.2.0 to 2.3.0.
- [Release notes](https://github.com/sonarsource/sonarcloud-github-action/releases)
- [Commits](https://github.com/sonarsource/sonarcloud-github-action/compare/v2.2.0...v2.3.0)
---
updated-dependencies:
- dependency-name: sonarsource/sonarcloud-github-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Jérôme Benoit [Thu, 13 Jun 2024 07:58:12 +0000 (09:58 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Thu, 13 Jun 2024 07:55:28 +0000 (09:55 +0200)]
docs(ocpp-server): refine README.md
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 12 Jun 2024 20:48:51 +0000 (22:48 +0200)]
chore: cleanup editorconfig config
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 12 Jun 2024 20:45:04 +0000 (22:45 +0200)]
chore: move configuration specific to ocpp-server to its folder
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 12 Jun 2024 20:09:50 +0000 (22:09 +0200)]
Merge branch 'main' of github.com:SAP/e-mobility-charging-stations-simulator
Jérôme Benoit [Wed, 12 Jun 2024 20:05:24 +0000 (20:05 +0000)]
Merge pull request #1043 from SAP/dependabot/github_actions/actions/setup-python-5
build(deps): bump actions/setup-python from 4 to 5
Jérôme Benoit [Wed, 12 Jun 2024 19:20:36 +0000 (21:20 +0200)]
test(ocpp-server): add task to run server
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 12 Jun 2024 19:16:51 +0000 (21:16 +0200)]
refactor: cleanup dependabot configuration
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
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>