Skip to content
This repository was archived by the owner on Mar 17, 2025. It is now read-only.
This repository was archived by the owner on Mar 17, 2025. It is now read-only.

Using project in CPO role #1

@mrbig

Description

@mrbig

Hello,

thank you for this great implementation.

I'm considering using this in my project, but I need to implement a CPO. As I see currently the class hierarchy is built with an eMSP in mind. While the models are shared, the requests/responses are somewhat representing the other side of the table.

Do you have any suggestions how should I proceed with this?

For example there is now a \Chargemap\OCPI\Versions\V2_1_1\Client\Locations\Get\GetLocationRequest available, wich theoretically is the same request a CPO would receive. Would you rather

  • use this as-is in a CPO endpoint
  • move it to a \Chargemap\OCPI\Versions\V2_1_1\CPO\Locations locations namespace
  • or create a very similar request class there?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions