SAP / e-mobility-charging-stations-simulator

OCPP-J charging stations simulator
Apache License 2.0
125 stars 51 forks source link

Fix GetBaseReport Implementation and Add Request Handlers and CLI Parsing Server-Side #1053

Closed syuusei3 closed 1 month ago

syuusei3 commented 2 months ago

This pull request rectifies the server-side implementation of the GetBaseReport. It resolves the mistaken role of the CSMS as the receiver instead of the request emitter.

Key updates include:

  1. Addition of request handlers server-side, beginning with the GetBaseReport.
  2. Incorporation of an API capable of manually triggering these handlers on any connected Charging Station (CS). Initialization can be achieved via CLI options such as --request --delay , or --period .

The primary purpose of these changes is to facilitate the sending of an OCPP command to any connected CS, hence the inclusion of CLI parsing server-side. This allows for the periodic initiation of a given OCPP command, useful for testing its handling simulator side.

cla-assistant[bot] commented 2 months ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 3 committers have signed the CLA.

:white_check_mark: jerome-benoit
:x: Sekiya
:x: autofix-ci[bot]


Sekiya seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.