Skip to content

feat: add SCSP role (sessions + chargingprofiles receiver)#26

Merged
nghildebrandt merged 1 commit into
mainfrom
feature/smatrics-scsp-sessions
Jun 24, 2026
Merged

feat: add SCSP role (sessions + chargingprofiles receiver)#26
nghildebrandt merged 1 commit into
mainfrom
feature/smatrics-scsp-sessions

Conversation

@nghildebrandt

Copy link
Copy Markdown
Contributor

Adds the SCSP (Smart Charging Service Provider) role. It reuses the existing eMSP receiver-side module routers and get_application mounts them under the /scsp/ prefix when RoleEnum.scsp is enabled — e.g. /ocpi/scsp/2.2.1/sessions/{country_code}/{party_id}/{session_id}.

Mirrors the PTP role wiring; no behaviour change for existing roles. Enables the elu-charge SMATRICS SCSP sessions integration.

No development branch in this repo → targeted main.

🤖 Generated with Claude Code

The SCSP (Smart Charging Service Provider) is a receiver of Sessions and
ChargingProfiles, so it reuses the existing eMSP receiver-side module routers.
get_application now mounts them under the /scsp/ prefix when RoleEnum.scsp is
enabled, e.g. /ocpi/scsp/2.2.1/sessions/{country_code}/{party_id}/{session_id}.

Mirrors the PTP role wiring; no behaviour change for existing roles.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@nghildebrandt nghildebrandt merged commit 7b8e2ed into main Jun 24, 2026
1 of 4 checks passed
@nghildebrandt nghildebrandt deleted the feature/smatrics-scsp-sessions branch June 24, 2026 07:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant