Jérôme Benoit [Tue, 25 Jun 2024 19:40:09 +0000 (21:40 +0200)]
Update tests/ocpp-server/server.py
Jérôme Benoit [Tue, 25 Jun 2024 19:39:59 +0000 (21:39 +0200)]
Update tests/ocpp-server/server.py
Sekiya [Tue, 25 Jun 2024 10:55:58 +0000 (19:55 +0900)]
fix: updated .gitignore to exclude temporary files
Sekiya [Tue, 25 Jun 2024 08:30:30 +0000 (17:30 +0900)]
feat: modified OCPP2.0 test
autofix-ci[bot] [Mon, 24 Jun 2024 18:18:02 +0000 (18:18 +0000)]
[autofix.ci] apply automated fixes
Jérôme Benoit [Mon, 24 Jun 2024 18:16:48 +0000 (20:16 +0200)]
Merge branch 'main' into issue39-ocpp2
Jérôme Benoit [Mon, 24 Jun 2024 18:13:39 +0000 (20:13 +0200)]
build(ci): fix task name for autofix
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Mon, 24 Jun 2024 18:06:35 +0000 (20:06 +0200)]
build(ci): install pnpm deps only once
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Mon, 24 Jun 2024 18:01:00 +0000 (20:01 +0200)]
build(ci): run autofix in a unique job
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
autofix-ci[bot] [Mon, 24 Jun 2024 17:25:25 +0000 (17:25 +0000)]
[autofix.ci] apply automated fixes
Jérôme Benoit [Mon, 24 Jun 2024 17:24:16 +0000 (19:24 +0200)]
Merge branch 'main' into issue39-ocpp2
Jérôme Benoit [Mon, 24 Jun 2024 17:22:44 +0000 (19:22 +0200)]
build(ci): cache python poetry deps
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Mon, 24 Jun 2024 17:15:55 +0000 (19:15 +0200)]
fix(ci): fix autofix jobs
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Mon, 24 Jun 2024 17:12:02 +0000 (19:12 +0200)]
feat(ci): add autofix.ci action on PR
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sat, 22 Jun 2024 21:26:58 +0000 (23:26 +0200)]
build(deps): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Fri, 21 Jun 2024 19:20:31 +0000 (21:20 +0200)]
build(deps): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Fri, 21 Jun 2024 10:42:47 +0000 (12:42 +0200)]
refactor: silence linter
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Fri, 21 Jun 2024 10:18:37 +0000 (12:18 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Thu, 20 Jun 2024 21:10:17 +0000 (23:10 +0200)]
build(ocpp-server): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
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>
Sekiya [Tue, 18 Jun 2024 07:15:01 +0000 (16:15 +0900)]
modified conflict
Sekiya [Tue, 18 Jun 2024 06:25:21 +0000 (15:25 +0900)]
Related issue39
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>