]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/log
e-mobility-charging-stations-simulator.git
13 days agofeat(ocpp2): add RequestStopTransaction command (#1587)
Jérôme Benoit [Wed, 12 Nov 2025 14:01:19 +0000 (15:01 +0100)] 
feat(ocpp2): add RequestStopTransaction command (#1587)

* feat(ocpp2): add RequestStopTransaction command

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* test: improve charging station mock tests

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* chore: refine AI agent configurations

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* chore: refine serena memories

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* chore: ocpp log messages harmonization

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* chore: harmonize string casting

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* chore: improve debug level logging in OCPP stack

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* Update src/charging-station/ocpp/1.6/OCPP16ResponseService.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update src/charging-station/ocpp/1.6/OCPP16ResponseService.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Apply suggestion from @Copilot

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* [autofix.ci] apply automated fixes

* fix: properly resolve evse id

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* refactor: add helper to lookup evse id

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* refactor: cleanup payload validation code

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* chore: cleanup logging code

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* refactor: cleanup payload validation code

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* refactor: align more with specs

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* refactor: constify some emums

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* chore: move opencode configuration to its directory

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* test: fix tests

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
---------

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
13 days agotest: fix tests
Jérôme Benoit [Wed, 12 Nov 2025 13:57:19 +0000 (14:57 +0100)] 
test: fix tests

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
2 weeks agochore: move opencode configuration to its directory
Jérôme Benoit [Tue, 11 Nov 2025 16:54:11 +0000 (17:54 +0100)] 
chore: move opencode configuration to its directory

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
2 weeks agochore(deps-dev): apply updates
Jérôme Benoit [Tue, 11 Nov 2025 13:25:14 +0000 (14:25 +0100)] 
chore(deps-dev): apply updates

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
2 weeks agorefactor: constify some emums
Jérôme Benoit [Tue, 11 Nov 2025 13:15:26 +0000 (14:15 +0100)] 
refactor: constify some emums

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
2 weeks agobuild(deps-dev): bump esbuild in the regular group (#1593)
dependabot[bot] [Tue, 11 Nov 2025 11:46:07 +0000 (12:46 +0100)] 
build(deps-dev): bump esbuild in the regular group (#1593)

Bumps the regular group with 1 update: [esbuild](https://github.com/evanw/esbuild).

Updates `esbuild` from 0.25.12 to 0.27.0
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md)
- [Commits](https://github.com/evanw/esbuild/compare/v0.25.12...v0.27.0)

---
updated-dependencies:
- dependency-name: esbuild
  dependency-version: 0.27.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: regular
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 weeks agorefactor: align more with specs
Jérôme Benoit [Mon, 10 Nov 2025 19:33:52 +0000 (20:33 +0100)] 
refactor: align more with specs

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
2 weeks agorefactor: cleanup payload validation code
Jérôme Benoit [Mon, 10 Nov 2025 16:23:17 +0000 (17:23 +0100)] 
refactor: cleanup payload validation code

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
2 weeks agochore: cleanup logging code
Jérôme Benoit [Mon, 10 Nov 2025 15:27:00 +0000 (16:27 +0100)] 
chore: cleanup logging code

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
2 weeks agorefactor: cleanup payload validation code
Jérôme Benoit [Mon, 10 Nov 2025 14:30:23 +0000 (15:30 +0100)] 
refactor: cleanup payload validation code

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
2 weeks agorefactor: add helper to lookup evse id
Jérôme Benoit [Sun, 9 Nov 2025 20:32:22 +0000 (21:32 +0100)] 
refactor: add helper to lookup evse id

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
2 weeks agoMerge branch 'feat/request-stop-transaction' of github.com:SAP/e-mobility-charging...
Jérôme Benoit [Sun, 9 Nov 2025 18:23:32 +0000 (19:23 +0100)] 
Merge branch 'feat/request-stop-transaction' of github.com:SAP/e-mobility-charging-stations-simulator into feat/request-stop-transaction

2 weeks agofix: properly resolve evse id
Jérôme Benoit [Sun, 9 Nov 2025 18:22:46 +0000 (19:22 +0100)] 
fix: properly resolve evse id

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
2 weeks ago[autofix.ci] apply automated fixes
autofix-ci[bot] [Sun, 9 Nov 2025 17:46:27 +0000 (17:46 +0000)] 
[autofix.ci] apply automated fixes

2 weeks agoApply suggestion from @Copilot
Jérôme Benoit [Sun, 9 Nov 2025 17:44:42 +0000 (18:44 +0100)] 
Apply suggestion from @Copilot

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2 weeks agoMerge branch 'main' into feat/request-stop-transaction
Jérôme Benoit [Sun, 9 Nov 2025 17:31:16 +0000 (18:31 +0100)] 
Merge branch 'main' into feat/request-stop-transaction

2 weeks agochore(deps-dev): apply updates
Jérôme Benoit [Sun, 9 Nov 2025 17:29:47 +0000 (18:29 +0100)] 
chore(deps-dev): apply updates

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
2 weeks agoMerge branch 'main' into feat/request-stop-transaction
Jérôme Benoit [Sun, 9 Nov 2025 17:23:12 +0000 (18:23 +0100)] 
Merge branch 'main' into feat/request-stop-transaction

2 weeks agochore: remove report
Jérôme Benoit [Sun, 9 Nov 2025 17:20:28 +0000 (18:20 +0100)] 
chore: remove report

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
2 weeks agoMerge branch 'main' into feat/request-stop-transaction
Jérôme Benoit [Sun, 9 Nov 2025 17:11:45 +0000 (18:11 +0100)] 
Merge branch 'main' into feat/request-stop-transaction

2 weeks agoUpdate src/charging-station/ocpp/1.6/OCPP16ResponseService.ts
Jérôme Benoit [Sun, 9 Nov 2025 17:11:32 +0000 (18:11 +0100)] 
Update src/charging-station/ocpp/1.6/OCPP16ResponseService.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2 weeks agoUpdate src/charging-station/ocpp/1.6/OCPP16ResponseService.ts
Jérôme Benoit [Sun, 9 Nov 2025 17:11:17 +0000 (18:11 +0100)] 
Update src/charging-station/ocpp/1.6/OCPP16ResponseService.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2 weeks agoMerge pull request #1589 from SAP/dependabot/npm_and_yarn/mongodb-7.0.0
Jérôme Benoit [Sun, 9 Nov 2025 17:10:21 +0000 (18:10 +0100)] 
Merge pull request #1589 from SAP/dependabot/npm_and_yarn/mongodb-7.0.0

build(deps): bump mongodb from 6.20.0 to 7.0.0

2 weeks agoMerge pull request #1591 from SAP/dependabot/npm_and_yarn/regular-931e5280ff
Jérôme Benoit [Sun, 9 Nov 2025 17:10:03 +0000 (18:10 +0100)] 
Merge pull request #1591 from SAP/dependabot/npm_and_yarn/regular-931e5280ff

build(deps): bump the regular group across 1 directory with 5 updates

2 weeks agoMerge pull request #1592 from SAP/dependabot/pip/tests/ocpp-server/regular-a11f95fe2b
Jérôme Benoit [Sun, 9 Nov 2025 17:09:43 +0000 (18:09 +0100)] 
Merge pull request #1592 from SAP/dependabot/pip/tests/ocpp-server/regular-a11f95fe2b

build(deps-dev): bump ruff from 0.14.3 to 0.14.4 in /tests/ocpp-server in the regular group

2 weeks agochore: improve debug level logging in OCPP stack feat/request-stop-transaction
Jérôme Benoit [Sun, 9 Nov 2025 16:30:23 +0000 (17:30 +0100)] 
chore: improve debug level logging in OCPP stack

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
2 weeks agochore: harmonize string casting
Jérôme Benoit [Sun, 9 Nov 2025 13:50:02 +0000 (14:50 +0100)] 
chore: harmonize string casting

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
2 weeks agochore: ocpp log messages harmonization
Jérôme Benoit [Sun, 9 Nov 2025 12:11:50 +0000 (13:11 +0100)] 
chore: ocpp log messages harmonization

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
2 weeks agochore: refine serena memories
Jérôme Benoit [Fri, 7 Nov 2025 20:58:52 +0000 (21:58 +0100)] 
chore: refine serena memories

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
2 weeks agobuild(deps-dev): bump ruff in /tests/ocpp-server in the regular group
dependabot[bot] [Fri, 7 Nov 2025 16:11:23 +0000 (16:11 +0000)] 
build(deps-dev): bump ruff in /tests/ocpp-server in the regular group

Bumps the regular group in /tests/ocpp-server with 1 update: [ruff](https://github.com/astral-sh/ruff).

Updates `ruff` from 0.14.3 to 0.14.4
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/0.14.3...0.14.4)

---
updated-dependencies:
- dependency-name: ruff
  dependency-version: 0.14.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: regular
...

Signed-off-by: dependabot[bot] <support@github.com>
2 weeks agobuild(deps): bump the regular group across 1 directory with 5 updates
dependabot[bot] [Fri, 7 Nov 2025 16:07:05 +0000 (16:07 +0000)] 
build(deps): bump the regular group across 1 directory with 5 updates

Bumps the regular group with 5 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [@cspell/eslint-plugin](https://github.com/streetsidesoftware/cspell/tree/HEAD/packages/cspell-eslint-plugin) | `9.2.2` | `9.3.0` |
| [vue](https://github.com/vuejs/core) | `3.5.22` | `3.5.24` |
| [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8) | `4.0.7` | `4.0.8` |
| [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) | `7.2.0` | `7.2.2` |
| [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) | `4.0.7` | `4.0.8` |

Updates `@cspell/eslint-plugin` from 9.2.2 to 9.3.0
- [Release notes](https://github.com/streetsidesoftware/cspell/releases)
- [Changelog](https://github.com/streetsidesoftware/cspell/blob/main/packages/cspell-eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/streetsidesoftware/cspell/commits/v9.3.0/packages/cspell-eslint-plugin)

Updates `vue` from 3.5.22 to 3.5.24
- [Release notes](https://github.com/vuejs/core/releases)
- [Changelog](https://github.com/vuejs/core/blob/main/CHANGELOG.md)
- [Commits](https://github.com/vuejs/core/compare/v3.5.22...v3.5.24)

Updates `@vitest/coverage-v8` from 4.0.7 to 4.0.8
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v4.0.8/packages/coverage-v8)

Updates `vite` from 7.2.0 to 7.2.2
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v7.2.2/packages/vite)

Updates `vitest` from 4.0.7 to 4.0.8
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v4.0.8/packages/vitest)

---
updated-dependencies:
- dependency-name: "@cspell/eslint-plugin"
  dependency-version: 9.3.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: regular
- dependency-name: vue
  dependency-version: 3.5.24
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: regular
- dependency-name: "@vitest/coverage-v8"
  dependency-version: 4.0.8
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: regular
- dependency-name: vite
  dependency-version: 7.2.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: regular
- dependency-name: vitest
  dependency-version: 4.0.8
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: regular
...

Signed-off-by: dependabot[bot] <support@github.com>
2 weeks agochore: refine AI agent configurations
Jérôme Benoit [Thu, 6 Nov 2025 22:36:49 +0000 (23:36 +0100)] 
chore: refine AI agent configurations

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
2 weeks ago[autofix.ci] apply automated fixes
autofix-ci[bot] [Thu, 6 Nov 2025 16:08:53 +0000 (16:08 +0000)] 
[autofix.ci] apply automated fixes

2 weeks agobuild(deps): bump mongodb from 6.20.0 to 7.0.0
dependabot[bot] [Thu, 6 Nov 2025 16:07:16 +0000 (16:07 +0000)] 
build(deps): bump mongodb from 6.20.0 to 7.0.0

Bumps [mongodb](https://github.com/mongodb/node-mongodb-native) from 6.20.0 to 7.0.0.
- [Release notes](https://github.com/mongodb/node-mongodb-native/releases)
- [Changelog](https://github.com/mongodb/node-mongodb-native/blob/main/HISTORY.md)
- [Commits](https://github.com/mongodb/node-mongodb-native/compare/v6.20.0...v7.0.0)

---
updated-dependencies:
- dependency-name: mongodb
  dependency-version: 7.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2 weeks agoCreate AI-Driven Development Report
Jérôme Benoit [Thu, 6 Nov 2025 15:53:50 +0000 (16:53 +0100)] 
Create AI-Driven Development Report

2 weeks agotest: improve charging station mock tests
Jérôme Benoit [Wed, 5 Nov 2025 17:13:17 +0000 (18:13 +0100)] 
test: improve charging station mock tests

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
2 weeks agofeat(ocpp2): add RequestStopTransaction command
Jérôme Benoit [Wed, 5 Nov 2025 16:15:19 +0000 (17:15 +0100)] 
feat(ocpp2): add RequestStopTransaction command

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
2 weeks agochore(deps-dev): apply updates
Jérôme Benoit [Wed, 5 Nov 2025 11:58:44 +0000 (12:58 +0100)] 
chore(deps-dev): apply updates

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
3 weeks agochore(deps-dev): apply updates
Jérôme Benoit [Tue, 4 Nov 2025 23:35:45 +0000 (00:35 +0100)] 
chore(deps-dev): apply updates

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
3 weeks agorefactor: factor out meter values generation code (#1585)
Jérôme Benoit [Tue, 4 Nov 2025 23:30:03 +0000 (00:30 +0100)] 
refactor: factor out meter values generation code (#1585)

* refactor: factor out meter values generation code

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* refactor: use helpers in both ocpp version code path

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* refactor: align helpers namespace

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* refactor: consolidate type definitions

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* refactor: cleanup meter values payload defaults handling

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* Apply suggestion from @Copilot

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
---------

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
3 weeks agochore: update openspec configuration
Jérôme Benoit [Tue, 4 Nov 2025 11:59:39 +0000 (12:59 +0100)] 
chore: update openspec configuration

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
3 weeks agochore: cleanup npm configuration
Jérôme Benoit [Mon, 3 Nov 2025 23:44:48 +0000 (00:44 +0100)] 
chore: cleanup npm configuration

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
3 weeks agofix(ocpp2): reset properly connector at start transaction failure
Jérôme Benoit [Mon, 3 Nov 2025 18:01:02 +0000 (19:01 +0100)] 
fix(ocpp2): reset properly connector at start transaction failure

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
3 weeks agoMerge pull request #1584 from SAP/dependabot/npm_and_yarn/regular-d3f8f17dfc
Jérôme Benoit [Mon, 3 Nov 2025 17:09:57 +0000 (18:09 +0100)] 
Merge pull request #1584 from SAP/dependabot/npm_and_yarn/regular-d3f8f17dfc

build(deps-dev): bump the regular group with 4 updates

3 weeks agobuild(deps-dev): bump the regular group with 4 updates
dependabot[bot] [Mon, 3 Nov 2025 17:09:38 +0000 (17:09 +0000)] 
build(deps-dev): bump the regular group with 4 updates

Bumps the regular group with 4 updates: [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js), [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node), [eslint](https://github.com/eslint/eslint) and [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc).

Updates `@eslint/js` from 9.38.0 to 9.39.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](https://github.com/eslint/eslint/commits/v9.39.0/packages/js)

Updates `@types/node` from 24.9.2 to 24.10.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `eslint` from 9.38.0 to 9.39.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](https://github.com/eslint/eslint/compare/v9.38.0...v9.39.0)

Updates `eslint-plugin-jsdoc` from 61.1.11 to 61.1.12
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases)
- [Changelog](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/.releaserc)
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v61.1.11...v61.1.12)

---
updated-dependencies:
- dependency-name: "@eslint/js"
  dependency-version: 9.39.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: regular
- dependency-name: "@types/node"
  dependency-version: 24.10.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: regular
- dependency-name: eslint
  dependency-version: 9.39.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: regular
- dependency-name: eslint-plugin-jsdoc
  dependency-version: 61.1.12
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: regular
...

Signed-off-by: dependabot[bot] <support@github.com>
3 weeks agofeat(ocpp2): add RequestStartTransaction command (#1583)
Jérôme Benoit [Mon, 3 Nov 2025 16:44:04 +0000 (17:44 +0100)] 
feat(ocpp2): add RequestStartTransaction command (#1583)

* feat(ocpp2): add RequestStartTransaction command

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* chore: refine opencode configuration

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* chore: refine opencode configuration

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* refactor: cleanups OCPP2 type definition

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* fix: ocpp2 type definition

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* refactor: standardize OCPP2 unit references using enum constants

- Replace hardcoded unit strings with OCPP20UnitEnumType enum references in Variable Registry
- Add CHARS custom extension to OCPP20UnitEnumType for non-standard character count units
- Update OCPP20UnitOfMeasure interface to use enum type for better type safety
- Improves type safety and maintains single source of truth for OCPP2 units

* refactor: move OCPP20UnitEnumType enum to Common.ts for better architectural organization

* chore: cleanup meter values types integration

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* refactor: cleanup OCPP stack error messages

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* refactor: use enums in variables registry

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* Update tests/ChargingStationFactory.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* fix: proper type definition for SampledValueTemplate

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* refactor: code formatting

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* Apply suggestion from @Copilot

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* test: refine request transaction payload

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* refactor: handle remoteStartId

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* docs: update README.md

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
---------

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
3 weeks agorefactor: factor out OCPP2 MeterValues types definition
Jérôme Benoit [Sun, 2 Nov 2025 12:44:07 +0000 (13:44 +0100)] 
refactor: factor out OCPP2 MeterValues types definition

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
3 weeks agochore(deps-dev): apply updates
Jérôme Benoit [Sun, 2 Nov 2025 12:18:08 +0000 (13:18 +0100)] 
chore(deps-dev): apply updates

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
3 weeks agoMerge branch 'main' of github.com:SAP/e-mobility-charging-stations-simulator
Jérôme Benoit [Sun, 2 Nov 2025 11:53:58 +0000 (12:53 +0100)] 
Merge branch 'main' of github.com:SAP/e-mobility-charging-stations-simulator

3 weeks agochore: refine GH copilot instructions
Jérôme Benoit [Sun, 2 Nov 2025 11:53:28 +0000 (12:53 +0100)] 
chore: refine GH copilot instructions

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
3 weeks agobuild(deps-dev): bump ruff from 0.14.2 to 0.14.3 in /tests/ocpp-server in the regular...
dependabot[bot] [Fri, 31 Oct 2025 18:22:08 +0000 (19:22 +0100)] 
build(deps-dev): bump ruff from 0.14.2 to 0.14.3 in /tests/ocpp-server in the regular group

Approved automatically; merging Dependabot PR after checks.

3 weeks agobuild(deps-dev): bump the regular group with 4 updates
dependabot[bot] [Fri, 31 Oct 2025 18:20:54 +0000 (19:20 +0100)] 
build(deps-dev): bump the regular group with 4 updates

Approved automatically; merging Dependabot PR after checks.

3 weeks agoMerge pull request #1580 from SAP/dependabot/npm_and_yarn/tar-7.5.2
Jérôme Benoit [Fri, 31 Oct 2025 14:55:14 +0000 (15:55 +0100)] 
Merge pull request #1580 from SAP/dependabot/npm_and_yarn/tar-7.5.2

build(deps): bump tar from 7.5.1 to 7.5.2

3 weeks agobuild(deps): bump tar from 7.5.1 to 7.5.2
dependabot[bot] [Fri, 31 Oct 2025 10:04:19 +0000 (10:04 +0000)] 
build(deps): bump tar from 7.5.1 to 7.5.2

Bumps [tar](https://github.com/isaacs/node-tar) from 7.5.1 to 7.5.2.
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-tar/compare/v7.5.1...v7.5.2)

---
updated-dependencies:
- dependency-name: tar
  dependency-version: 7.5.2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
3 weeks agoMerge pull request #1579 from SAP/dependabot/npm_and_yarn/regular-6257a3fdb2
Jérôme Benoit [Fri, 31 Oct 2025 10:02:59 +0000 (11:02 +0100)] 
Merge pull request #1579 from SAP/dependabot/npm_and_yarn/regular-6257a3fdb2

build(deps-dev): bump eslint-plugin-jsdoc from 61.1.10 to 61.1.11 in the regular group

3 weeks agobuild(deps-dev): bump eslint-plugin-jsdoc in the regular group
dependabot[bot] [Thu, 30 Oct 2025 16:06:25 +0000 (16:06 +0000)] 
build(deps-dev): bump eslint-plugin-jsdoc in the regular group

Bumps the regular group with 1 update: [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc).

Updates `eslint-plugin-jsdoc` from 61.1.10 to 61.1.11
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases)
- [Changelog](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/.releaserc)
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v61.1.10...v61.1.11)

---
updated-dependencies:
- dependency-name: eslint-plugin-jsdoc
  dependency-version: 61.1.11
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: regular
...

Signed-off-by: dependabot[bot] <support@github.com>
3 weeks agofix(ocpp2): refine variables handling
Jérôme Benoit [Thu, 30 Oct 2025 14:44:58 +0000 (15:44 +0100)] 
fix(ocpp2): refine variables handling

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
3 weeks agorefactor(ocpp2): introduce measurand enum and use it
Jérôme Benoit [Thu, 30 Oct 2025 12:13:37 +0000 (13:13 +0100)] 
refactor(ocpp2): introduce measurand enum and use it

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
3 weeks agochore: add opencode commands to run simulator tests
Jérôme Benoit [Thu, 30 Oct 2025 09:49:51 +0000 (10:49 +0100)] 
chore: add opencode commands to run simulator tests

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
3 weeks agotest(ocpp20): fix invalid list formats test for read-only FileTransferProtocols
Jérôme Benoit [Wed, 29 Oct 2025 22:33:37 +0000 (23:33 +0100)] 
test(ocpp20): fix invalid list formats test for read-only FileTransferProtocols

3 weeks agotest(ocpp20): add read-only FileTransferProtocols regression test
Jérôme Benoit [Wed, 29 Oct 2025 22:29:12 +0000 (23:29 +0100)] 
test(ocpp20): add read-only FileTransferProtocols regression test

3 weeks agotest(ocpp20): add GetVariables list defaults coverage and update registry enumerations
Jérôme Benoit [Wed, 29 Oct 2025 22:25:09 +0000 (23:25 +0100)] 
test(ocpp20): add GetVariables list defaults coverage and update registry enumerations

3 weeks agofix(ocpp20): align TxStartPoint/TxStopPoint defaults and enumerations with OCPP 2...
Jérôme Benoit [Wed, 29 Oct 2025 22:02:33 +0000 (23:02 +0100)] 
fix(ocpp20): align TxStartPoint/TxStopPoint defaults and enumerations with OCPP 2.0.1 errata

3 weeks agofeat(ocpp20): add SetVariables handling with runtime + persistent var… (#1576)
Jérôme Benoit [Wed, 29 Oct 2025 21:34:04 +0000 (22:34 +0100)] 
feat(ocpp20): add SetVariables handling with runtime + persistent var… (#1576)

* feat(ocpp20): add SetVariables handling with runtime + persistent variable support and tests

* refactor(ocpp20): unify validation messages and remove success reason codes

* feat(ocpp20): extend variable manager with EVSE support, runtime overrides + validation refactor

* chore(openspec): add EVSE AuthorizeRemoteStart support proposal and spec delta

* chore(openspec): mark EVSE AuthorizeRemoteStart tasks completed (except validation/archive)

* chore(openspec): archive add-evse-authorizeremotestart-support change

* chore(openspec): archive refactor-ocpp20-variable-proxy change

* refactor: drop resetRuntimeVariables\n\nBREAKING CHANGE: use resetRuntimeOverrides() instead

* refactor(config): enum comparisons with explicit string casting

* refactor(charging-station): conditionally reset OCPP 2.x runtime overrides

* refactor(tests): use date-fns helper for heartbeat interval conversion

* refactor(tests,config): replace manual heartbeat conversions and minor cleanups

* refactor: cleanup OCPP stack stop API

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* test(ocpp20): consolidate setVariables tests into main VariableManager suite

* refactor: variable namespace alignment

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* refactor(validation): simplify configuration value integer checks with Number.isInteger

* test(ocpp20): add edge case validation tests and rename trimmed variable

* refactor: cleanup configuration value validation

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* feat(validation): tighten positive integer checks for OCPP 2.0 variables

* test(ocpp20): simplify BootNotification interval

* feat(ocpp20): add variable metadata constraints

* refactor: cleanups variable value validation

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* refactor: ocpp2 spec alignment

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* fix: handle variables in a case incensitive way

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* feat(ocpp20): add Items/Bytes limits, ReportingValueSize, AuthCtrlr; adopt void tests

* refactor(ocpp20): wrap int parsing in VariableManager with tolerant toIntOrNaN

* refactor(ocpp20): use tolerant int parsing in IncomingRequestService for Items/Bytes limits

* refactor(ocpp20): centralize toIntOrNaN via shared util

* test(utils): add convertToIntOrNaN coverage and remove redundant aliases in OCPP20 services

* refactor: use getter to access configuration key

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* feat(ocpp20): integrate registry-driven characteristics & combined reboot logic in SetVariables

* refactor(ocpp20): restore variable manager logic; migrate to enums

* feat(ocpp20): add variable characteristics registry for enum-backed SetVariables

* refactor(ocpp20): migrate variable manager to unified registry and drop legacy metadata

* chore(lint): add JSDoc for variable registry helpers and whitelist deauthorize

* refactor(ocpp20): remove legacy alias/case-insensitive paths and relocate component variables

* refactor(ocpp20): harmonize variable metadata param naming (variableMetaData)

* refactor(ocpp20): standardize metadata identifier casing (variableMetadata)

* Apply suggestion from @Copilot

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* test(ocpp20): adjust SetVariables propagation tests and HeartbeatInterval component

* feat(ocpp20): enhance variable registry, size limits, MinSet/MaxSet

- Add MinSet/MaxSet overrides and retrieval
- Refine ConfigurationValueSize/ValueSize effective limit logic
- Skip auto-create for unset size limit vars and instance-scoped persistent vars
- Enrich FullInventory report with registry variable data
- Improve integer validation and reason codes (decimal, zero, bounds)
- Persist measurementTimeSeries (CircularBuffer to array) safely
- Adjust persistence (OrganizationName non-overwrite, instance-scoped skip)
- Refactor has() and validateUUID for broader type safety
- Use valid WebSocket URLs for ConnectionUrl size tests
- Add public accessors for base report status and data

* feat(ocpp20): set 2500 max value length; use TooLargeElement reason

* feat(ocpp20): add absolute max constant; align truncation logic and persistence tests

* refactor(ocpp20): use OCPP_VALUE_ABSOLUTE_MAX_LENGTH constant for size limit metadata

* chore(tests,ui): normalize comments, centralize UI timeout and size limit references

* refactor: cleanup variable namespace

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* feat(ocpp20): flatten MessageAttemptInterval instance for persistent config key

* chore(ocpp20): add TODO for generic instance flattening handling

* refactor: revert incorrects changes

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* refactor: align variable namespace

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* refactor: remove unneeded public wrappers for UTs only purpose

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* refactor: cleanup code comments

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* feat(ocpp20,get-variables): accept empty Target (B06.FR.13) and add edge case tests\ndocs(ocpp20): add GetVariables gap analysis, mark B06.FR.13 conformant

* fix: silence linter issues

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* test: remove incorrect tests

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* docs(ocpp20): update GetVariables gap analysis and simplify lint-staged cache usage

* chore: revert lint-staged caching removal

* feat(ocpp20): add write-only variable, MinSet/MaxSet support and instance auto-create skip

* fix(ocpp20): remove MinSet/MaxSet from ConnectionUrl supportedAttributes for spec compliance

* docs(ocpp20): clarify removal of MinSet/MaxSet from ConnectionUrl variable

* fix(ocpp20): remove HeartbeatInterval MinSet/MaxSet

* fix(ocpp20): restrict GetBaseReport and variable registry to Actual attribute only

* docs(changelog): add unreleased section for ocpp20 attribute restriction fix

* chore(ocpp20): remove obsolete comments after attribute restriction refactor

* test(ocpp20): adjust MessageAttemptInterval & GetBaseReport to Actual-only validation

* chore(ocpp20): streamline variable registry comments and group sections

* feat(ocpp20): add missing ChargingStation vars AvailabilityState Available SupplyPhases

* fix: refine variable registry

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* refactor: use existing enum

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* test: add configuration utils tests

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* docs: removed outdated markdown

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* refactor: factor out common logic

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* refactor: use builtin helpers

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* refactor: remove unneeded comment

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
---------

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
3 weeks agobuild(deps-dev): bump the regular group with 4 updates
dependabot[bot] [Wed, 29 Oct 2025 16:41:30 +0000 (17:41 +0100)] 
build(deps-dev): bump the regular group with 4 updates

Bump dev dependencies: @types/node 24.9.2; eslint-plugin-jsdoc 61.1.10; @vitest/coverage-v8 4.0.5; vitest 4.0.5.

4 weeks agoMerge pull request #1577 from SAP/dependabot/npm_and_yarn/regular-60f3370af4
Jérôme Benoit [Mon, 27 Oct 2025 20:01:58 +0000 (21:01 +0100)] 
Merge pull request #1577 from SAP/dependabot/npm_and_yarn/regular-60f3370af4

build(deps-dev): bump the regular group with 3 updates

4 weeks agobuild(deps-dev): bump the regular group with 3 updates
dependabot[bot] [Mon, 27 Oct 2025 16:26:33 +0000 (16:26 +0000)] 
build(deps-dev): bump the regular group with 3 updates

Bumps the regular group with 3 updates: [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc), [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8) and [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest).

Updates `eslint-plugin-jsdoc` from 61.1.8 to 61.1.9
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases)
- [Changelog](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/.releaserc)
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v61.1.8...v61.1.9)

Updates `@vitest/coverage-v8` from 4.0.3 to 4.0.4
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v4.0.4/packages/coverage-v8)

Updates `vitest` from 4.0.3 to 4.0.4
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v4.0.4/packages/vitest)

---
updated-dependencies:
- dependency-name: eslint-plugin-jsdoc
  dependency-version: 61.1.9
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: regular
- dependency-name: "@vitest/coverage-v8"
  dependency-version: 4.0.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: regular
- dependency-name: vitest
  dependency-version: 4.0.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: regular
...

Signed-off-by: dependabot[bot] <support@github.com>
4 weeks agochore: refine openspec configuration
Jérôme Benoit [Mon, 27 Oct 2025 00:03:02 +0000 (01:03 +0100)] 
chore: refine openspec configuration

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
4 weeks agochore: refine openspec project.md
Jérôme Benoit [Sun, 26 Oct 2025 22:13:30 +0000 (23:13 +0100)] 
chore: refine openspec project.md

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
4 weeks agochore: add openspec + opencode configuration structure
Jérôme Benoit [Sun, 26 Oct 2025 21:32:55 +0000 (22:32 +0100)] 
chore: add openspec + opencode configuration structure

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
4 weeks agochore: refine Serena memories
Jérôme Benoit [Sun, 26 Oct 2025 21:25:24 +0000 (22:25 +0100)] 
chore: refine Serena memories

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
4 weeks agochore(deps-dev): apply updates
Jérôme Benoit [Fri, 24 Oct 2025 21:29:59 +0000 (23:29 +0200)] 
chore(deps-dev): apply updates

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
4 weeks agoMerge branch 'main' of github.com:SAP/e-mobility-charging-stations-simulator
Jérôme Benoit [Fri, 24 Oct 2025 19:19:34 +0000 (21:19 +0200)] 
Merge branch 'main' of github.com:SAP/e-mobility-charging-stations-simulator

4 weeks agofeat(ocpp2): add Reset command support
Jérôme Benoit [Fri, 24 Oct 2025 19:14:46 +0000 (21:14 +0200)] 
feat(ocpp2): add Reset command support

References #39

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
4 weeks agobuild(deps-dev): bump ruff in /tests/ocpp-server in the regular group (#1575)
dependabot[bot] [Fri, 24 Oct 2025 17:23:01 +0000 (19:23 +0200)] 
build(deps-dev): bump ruff in /tests/ocpp-server in the regular group (#1575)

Bumps the regular group in /tests/ocpp-server with 1 update: [ruff](https://github.com/astral-sh/ruff).

Updates `ruff` from 0.14.1 to 0.14.2
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/0.14.1...0.14.2)

---
updated-dependencies:
- dependency-name: ruff
  dependency-version: 0.14.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: regular
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 weeks agobuild(deps-dev): bump the regular group with 3 updates (#1574)
dependabot[bot] [Fri, 24 Oct 2025 17:21:43 +0000 (19:21 +0200)] 
build(deps-dev): bump the regular group with 3 updates (#1574)

Bumps the regular group with 3 updates: [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc), [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8) and [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest).

Updates `eslint-plugin-jsdoc` from 61.1.5 to 61.1.7
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases)
- [Changelog](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/.releaserc)
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v61.1.5...v61.1.7)

Updates `@vitest/coverage-v8` from 4.0.1 to 4.0.3
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v4.0.3/packages/coverage-v8)

Updates `vitest` from 4.0.1 to 4.0.3
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v4.0.3/packages/vitest)

---
updated-dependencies:
- dependency-name: eslint-plugin-jsdoc
  dependency-version: 61.1.7
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: regular
- dependency-name: "@vitest/coverage-v8"
  dependency-version: 4.0.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: regular
- dependency-name: vitest
  dependency-version: 4.0.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: regular
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 weeks agofeat(ocpp2): add GetVariables command support (#1568)
Jérôme Benoit [Fri, 24 Oct 2025 15:00:43 +0000 (17:00 +0200)] 
feat(ocpp2): add GetVariables command support (#1568)

* feat(ocpp2): add GetVariables command support

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* test: add GetVariables command UTs

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* test: fix ocpp2 test expectation

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* refactor: refine OCPP2 type definitions and usages

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* test: factor out mock charging station instance creation code

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* test: add OCPP2 GetBaseReport command tests

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* refactor: cleanup GetBaseReport implementation

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* refactor: address review comment

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* test: add OCPP 2 BootNotification and NotifyReport commands tests

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* test: improve OCPP2 mock server commands support

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* fix: request handler are not supposed to throw OCPPError

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* chore: refine Serena MCP setup

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* chore: refine Serena MCP configuration

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* test: add more OCPP2 commands UTs

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* fix: variable manager compliance with specs

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* refactor: cleanup OCPP2 namespace

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
---------

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
4 weeks agotest: align sleep related tests
Jérôme Benoit [Fri, 24 Oct 2025 13:04:07 +0000 (15:04 +0200)] 
test: align sleep related tests

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
4 weeks agofix: avoid circular module dependency
Jérôme Benoit [Thu, 23 Oct 2025 21:57:38 +0000 (23:57 +0200)] 
fix: avoid circular module dependency

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
4 weeks agobuild(deps): bump the regular group with 7 updates (#1572)
Jérôme Benoit [Thu, 23 Oct 2025 20:46:24 +0000 (22:46 +0200)] 
build(deps): bump the regular group with 7 updates (#1572)

Mise à jour automatique des dépendances par Dependabot:
- @mikro-orm/core, @mikro-orm/mariadb, @mikro-orm/reflection, @mikro-orm/sqlite, @mikro-orm/cli
- lint-staged
- vite

4 weeks agobuild(deps): bump the regular group with 7 updates
dependabot[bot] [Thu, 23 Oct 2025 16:07:21 +0000 (16:07 +0000)] 
build(deps): bump the regular group with 7 updates

Bumps the regular group with 7 updates:

| Package | From | To |
| --- | --- | --- |
| [@mikro-orm/core](https://github.com/mikro-orm/mikro-orm) | `6.5.8` | `6.5.9` |
| [@mikro-orm/mariadb](https://github.com/mikro-orm/mikro-orm) | `6.5.8` | `6.5.9` |
| [@mikro-orm/reflection](https://github.com/mikro-orm/mikro-orm) | `6.5.8` | `6.5.9` |
| [@mikro-orm/sqlite](https://github.com/mikro-orm/mikro-orm) | `6.5.8` | `6.5.9` |
| [@mikro-orm/cli](https://github.com/mikro-orm/mikro-orm) | `6.5.8` | `6.5.9` |
| [lint-staged](https://github.com/lint-staged/lint-staged) | `16.2.5` | `16.2.6` |
| [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) | `7.1.11` | `7.1.12` |

Updates `@mikro-orm/core` from 6.5.8 to 6.5.9
- [Release notes](https://github.com/mikro-orm/mikro-orm/releases)
- [Changelog](https://github.com/mikro-orm/mikro-orm/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mikro-orm/mikro-orm/compare/v6.5.8...v6.5.9)

Updates `@mikro-orm/mariadb` from 6.5.8 to 6.5.9
- [Release notes](https://github.com/mikro-orm/mikro-orm/releases)
- [Changelog](https://github.com/mikro-orm/mikro-orm/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mikro-orm/mikro-orm/compare/v6.5.8...v6.5.9)

Updates `@mikro-orm/reflection` from 6.5.8 to 6.5.9
- [Release notes](https://github.com/mikro-orm/mikro-orm/releases)
- [Changelog](https://github.com/mikro-orm/mikro-orm/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mikro-orm/mikro-orm/compare/v6.5.8...v6.5.9)

Updates `@mikro-orm/sqlite` from 6.5.8 to 6.5.9
- [Release notes](https://github.com/mikro-orm/mikro-orm/releases)
- [Changelog](https://github.com/mikro-orm/mikro-orm/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mikro-orm/mikro-orm/compare/v6.5.8...v6.5.9)

Updates `@mikro-orm/cli` from 6.5.8 to 6.5.9
- [Release notes](https://github.com/mikro-orm/mikro-orm/releases)
- [Changelog](https://github.com/mikro-orm/mikro-orm/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mikro-orm/mikro-orm/compare/v6.5.8...v6.5.9)

Updates `lint-staged` from 16.2.5 to 16.2.6
- [Release notes](https://github.com/lint-staged/lint-staged/releases)
- [Changelog](https://github.com/lint-staged/lint-staged/blob/main/CHANGELOG.md)
- [Commits](https://github.com/lint-staged/lint-staged/compare/v16.2.5...v16.2.6)

Updates `vite` from 7.1.11 to 7.1.12
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v7.1.12/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v7.1.12/packages/vite)

---
updated-dependencies:
- dependency-name: "@mikro-orm/core"
  dependency-version: 6.5.9
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: regular
- dependency-name: "@mikro-orm/mariadb"
  dependency-version: 6.5.9
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: regular
- dependency-name: "@mikro-orm/reflection"
  dependency-version: 6.5.9
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: regular
- dependency-name: "@mikro-orm/sqlite"
  dependency-version: 6.5.9
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: regular
- dependency-name: "@mikro-orm/cli"
  dependency-version: 6.5.9
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: regular
- dependency-name: lint-staged
  dependency-version: 16.2.6
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: regular
- dependency-name: vite
  dependency-version: 7.1.12
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: regular
...

Signed-off-by: dependabot[bot] <support@github.com>
4 weeks agobuild(deps-dev): bump vitest from 3.2.4 to 4.0.1 in the vitest group (#1570)
dependabot[bot] [Wed, 22 Oct 2025 20:59:25 +0000 (22:59 +0200)] 
build(deps-dev): bump vitest from 3.2.4 to 4.0.1 in the vitest group (#1570)

Bumps the vitest group with 1 update: vitest.

Updates `vitest` from 3.2.4 to 4.0.1
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Changelog](https://github.com/vitest-dev/vitest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/vitest-dev/vitest/compare/v3.2.4...v4.0.1)

---
updated-dependencies:
- dependency-name: vitest
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
4 weeks agobuild(deps-dev): bump @cspell/eslint-plugin from 9.2.1 to 9.2.2 in the regular group...
dependabot[bot] [Wed, 22 Oct 2025 20:58:56 +0000 (22:58 +0200)] 
build(deps-dev): bump @cspell/eslint-plugin from 9.2.1 to 9.2.2 in the regular group (#1569)

Bumps the regular group with 1 update: @cspell/eslint-plugin.

Updates `@cspell/eslint-plugin` from 9.2.1 to 9.2.2
- [Release notes](https://github.com/streetsidesoftware/cspell/releases)
- [Changelog](https://github.com/streetsidesoftware/cspell/blob/main/CHANGELOG.md)
- [Commits](https://github.com/streetsidesoftware/cspell/compare/@cspell/eslint-plugin@9.2.1...@cspell/eslint-plugin@9.2.2)

---
updated-dependencies:
- dependency-name: "@cspell/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
4 weeks agobuild(deps-dev): bump @vitest/coverage-v8 from 3.2.4 to 4.0.1
dependabot[bot] [Wed, 22 Oct 2025 20:57:12 +0000 (22:57 +0200)] 
build(deps-dev): bump @vitest/coverage-v8 from 3.2.4 to 4.0.1

Bumps @vitest/coverage-v8 from 3.2.4 to 4.0.1.

This update includes bug fixes and breaking changes for the major version upgrade to v4.0.1.

4 weeks agotest: fix OCPP 2 CS template expectations
Jérôme Benoit [Wed, 22 Oct 2025 09:23:09 +0000 (11:23 +0200)] 
test: fix OCPP 2 CS template expectations

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
4 weeks agochore: refine GH copilot instructions
Jérôme Benoit [Wed, 22 Oct 2025 09:02:53 +0000 (11:02 +0200)] 
chore: refine GH copilot instructions

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
5 weeks agobuild(deps-dev): bump the regular group with 2 updates (#1567)
dependabot[bot] [Tue, 21 Oct 2025 21:03:00 +0000 (23:03 +0200)] 
build(deps-dev): bump the regular group with 2 updates (#1567)

Bumps the regular group with 2 updates: [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) and [lint-staged](https://github.com/lint-staged/lint-staged).

Updates `@types/node` from 24.9.0 to 24.9.1
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `lint-staged` from 16.2.4 to 16.2.5
- [Release notes](https://github.com/lint-staged/lint-staged/releases)
- [Changelog](https://github.com/lint-staged/lint-staged/blob/main/CHANGELOG.md)
- [Commits](https://github.com/lint-staged/lint-staged/compare/v16.2.4...v16.2.5)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 24.9.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: regular
- dependency-name: lint-staged
  dependency-version: 16.2.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: regular
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 weeks agoperf: emit events only if needed
Jérôme Benoit [Tue, 21 Oct 2025 20:47:09 +0000 (22:47 +0200)] 
perf: emit events only if needed

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
5 weeks agodocs(README.md): update to reflect OCPP2 status
Jérôme Benoit [Tue, 21 Oct 2025 19:53:34 +0000 (21:53 +0200)] 
docs(README.md): update to reflect OCPP2 status

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
5 weeks agofix: make NotifyReport OCPP2 spec compliant
Jérôme Benoit [Tue, 21 Oct 2025 19:11:50 +0000 (21:11 +0200)] 
fix: make NotifyReport OCPP2 spec compliant

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
5 weeks agorefactor: cleanups OCPP2 types
Jérôme Benoit [Tue, 21 Oct 2025 17:05:08 +0000 (19:05 +0200)] 
refactor: cleanups OCPP2 types

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
5 weeks agorefactor: cleanup OCPP2 commands implementation
Jérôme Benoit [Tue, 21 Oct 2025 16:26:03 +0000 (18:26 +0200)] 
refactor: cleanup OCPP2 commands implementation

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
5 weeks agofeat(ocpp2): implement GetBaseReport and NotifyReport commands (#1556)
Copilot [Tue, 21 Oct 2025 14:18:42 +0000 (16:18 +0200)] 
feat(ocpp2): implement GetBaseReport and NotifyReport commands (#1556)

* Initial plan

* Add GetBaseReport OCPP 2.0 command implementation

Co-authored-by: jerome-benoit <6537332+jerome-benoit@users.noreply.github.com>
* fix: correct enum ordering and add NotifyReport handler to mock server

Co-authored-by: jerome-benoit <6537332+jerome-benoit@users.noreply.github.com>
* feat: add NotifyReport command and trigger from GetBaseReport

Co-authored-by: jerome-benoit <6537332+jerome-benoit@users.noreply.github.com>
* feat: populate NotifyReport with device model data based on reportBase

Co-authored-by: jerome-benoit <6537332+jerome-benoit@users.noreply.github.com>
* refactor: improve code quality with typing, validation and constants

Co-authored-by: jerome-benoit <6537332+jerome-benoit@users.noreply.github.com>
* refactor: export types, separate concerns, move constants

Co-authored-by: jerome-benoit <6537332+jerome-benoit@users.noreply.github.com>
* refactor: use event emission pattern and static class properties

Co-authored-by: jerome-benoit <6537332+jerome-benoit@users.noreply.github.com>
* refactor: use direct method call pattern for NotifyReport

Co-authored-by: jerome-benoit <6537332+jerome-benoit@users.noreply.github.com>
* refactor: use event emission pattern for GetBaseReport/NotifyReport

Co-authored-by: jerome-benoit <6537332+jerome-benoit@users.noreply.github.com>
* Update src/charging-station/ocpp/2.0/OCPP20IncomingRequestService.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update src/charging-station/ocpp/2.0/OCPP20IncomingRequestService.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: jerome-benoit <6537332+jerome-benoit@users.noreply.github.com>
Co-authored-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
5 weeks agobuild(deps-dev): bump the regular group with 6 updates (#1566)
dependabot[bot] [Mon, 20 Oct 2025 19:11:14 +0000 (21:11 +0200)] 
build(deps-dev): bump the regular group with 6 updates (#1566)

Bumps the regular group with 6 updates:

| Package | From | To |
| --- | --- | --- |
| [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) | `9.37.0` | `9.38.0` |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `24.8.1` | `24.9.0` |
| [eslint](https://github.com/eslint/eslint) | `9.37.0` | `9.38.0` |
| [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) | `61.1.4` | `61.1.5` |
| [jsdom](https://github.com/jsdom/jsdom) | `27.0.0` | `27.0.1` |
| [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) | `7.1.10` | `7.1.11` |

Updates `@eslint/js` from 9.37.0 to 9.38.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](https://github.com/eslint/eslint/commits/v9.38.0/packages/js)

Updates `@types/node` from 24.8.1 to 24.9.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `eslint` from 9.37.0 to 9.38.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](https://github.com/eslint/eslint/compare/v9.37.0...v9.38.0)

Updates `eslint-plugin-jsdoc` from 61.1.4 to 61.1.5
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases)
- [Changelog](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/.releaserc)
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v61.1.4...v61.1.5)

Updates `jsdom` from 27.0.0 to 27.0.1
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Changelog](https://github.com/jsdom/jsdom/blob/main/Changelog.md)
- [Commits](https://github.com/jsdom/jsdom/compare/27.0.0...27.0.1)

Updates `vite` from 7.1.10 to 7.1.11
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v7.1.11/packages/vite)

---
updated-dependencies:
- dependency-name: "@eslint/js"
  dependency-version: 9.38.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: regular
- dependency-name: "@types/node"
  dependency-version: 24.9.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: regular
- dependency-name: eslint
  dependency-version: 9.38.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: regular
- dependency-name: eslint-plugin-jsdoc
  dependency-version: 61.1.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: regular
- dependency-name: jsdom
  dependency-version: 27.0.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: regular
- dependency-name: vite
  dependency-version: 7.1.11
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: regular
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 weeks agobuild(deps-dev): bump @types/node from 24.8.0 to 24.8.1 in the regular group (#1564)
dependabot[bot] [Fri, 17 Oct 2025 19:12:19 +0000 (21:12 +0200)] 
build(deps-dev): bump @types/node from 24.8.0 to 24.8.1 in the regular group (#1564)

Bumps the regular group with 1 update: @types/node.

Updates @types/node from 24.8.0 to 24.8.1

5 weeks agobuild(deps-dev): bump ruff from 0.14.0 to 0.14.1 in /tests/ocpp-server in the regular...
dependabot[bot] [Fri, 17 Oct 2025 19:11:59 +0000 (21:11 +0200)] 
build(deps-dev): bump ruff from 0.14.0 to 0.14.1 in /tests/ocpp-server in the regular group (#1565)

Bumps the regular group in /tests/ocpp-server with 1 update: ruff.

Updates ruff from 0.14.0 to 0.14.1

5 weeks agobuild(deps): bump actions/setup-node from 5 to 6 (#1560)
dependabot[bot] [Fri, 17 Oct 2025 10:21:41 +0000 (12:21 +0200)] 
build(deps): bump actions/setup-node from 5 to 6 (#1560)

Bumps [actions/setup-node](https://github.com/actions/setup-node) from 5 to 6.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 weeks agochore(deps-dev): apply updates
Jérôme Benoit [Thu, 16 Oct 2025 22:52:49 +0000 (00:52 +0200)] 
chore(deps-dev): apply updates

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
6 weeks agochore: refine GH copilot instructions
Jérôme Benoit [Sat, 11 Oct 2025 12:32:03 +0000 (14:32 +0200)] 
chore: refine GH copilot instructions

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
6 weeks agochore: refine GH copilot instructions
Jérôme Benoit [Sat, 11 Oct 2025 12:12:12 +0000 (14:12 +0200)] 
chore: refine GH copilot instructions

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>