eclipse-tractusx / bpdm

bpdm
Apache License 2.0
6 stars 15 forks source link

Pool-API: Create administrative Level 1 endpoint #499

Closed nicoprow closed 1 year ago

nicoprow commented 1 year ago

Currently, in our data model the postal addresses contain a field for setting the administrative level 1 value. We expect here an ISO norm region code to be entered. For this, we created earlier metadata endpoints in the Pool which have the path "api/catena/regions". For a user it is confusing to have two different terminologies for the same concept, on time being called administrative level 1 and at another place called region.

Therefore we should align the naming by introducing a new Pool Metadata endpoint and deprecating the old ones.

Tasks

nicoprow commented 1 year ago

We should rename regions in the new endpoint with administrative level 1. Also: regionCode -> code regionName -> name