Skip to content

Split location PrivacyDescriptor by OCPI version#17

Open
reidmiller-geotab wants to merge 1 commit intoocpi:mainfrom
reidmiller-geotab:split-location-privacydescriptor-by-version
Open

Split location PrivacyDescriptor by OCPI version#17
reidmiller-geotab wants to merge 1 commit intoocpi:mainfrom
reidmiller-geotab:split-location-privacydescriptor-by-version

Conversation

@reidmiller-geotab
Copy link

When performing a get locations operation against an OCPI 2.1.1 endpoint, the ocpi-tool would fail. OCPI 2.1.1 expects location.evses[].connectors[].tariff_id, OCPI 2.2.1 expects location.evses[].connectors[].tariff_ids[].

I tried to split the versioned PrivacyDescriptor similar to what was done in session.ts.

When performing a get locations operation against an OCPI 2.1.1
endpoint, the ocpi-tool would fail. OCPI 2.1.1 expects
location.evses[].connectors[].tariff_id, OCPI 2.2.1 expects
location.evses[].connectors[].tariff_ids[].

I tried to split the versioned PrivacyDescriptor similar to what was
done in session.ts.
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

Comments