Thema / Theme
Objecten API
Omschrijving / Description
From #550
The idea is to add the ObjectTypes API into the Objects API, making use of the same database. This to avoid requests between the two (improves performance) and simplify the architecture and deployments. Discussed with Utrecht and Den Haag
Initial estimation:
For OpenObjecten: the migration path from Objects API+ObjectTypes API will be quite complicated, as we don't see a workable path to convert the Objects API to OpenObjecten (this would require calling the OT API during datamigrations which feels hacky). So the best alternative would be to create a new OpenObjecten component and add a management command to migrate the data from an existing ObjectsAPI+ObjectTypes API to the new OpenObjecten component: 2-3 months of work.
DH mentions that a migration would be workable if the API paths remain intact, then the objecttypes-api domainname would simply point to the objects-api domainname.
TODO:
To be discussed:
Toegevoegde waarde / Added value
Improved performance
Simplification of architecture
Simplification of deployments
Thema / Theme
Objecten API
Omschrijving / Description
From #550
The idea is to add the ObjectTypes API into the Objects API, making use of the same database. This to avoid requests between the two (improves performance) and simplify the architecture and deployments. Discussed with Utrecht and Den Haag
Initial estimation:
DH mentions that a migration would be workable if the API paths remain intact, then the objecttypes-api domainname would simply point to the objects-api domainname.
TODO:
check_objecttype_cachedadd an extra code path to use the local ObjectType schema if it exists, if not it should keep the current behavior (retrieving and caching the objecttype info from objecttypes API). This way it's still backwards compatibleimport_objecttypescommand executable from the admin interface. It would be nice if we have some sort of generic interface for this to make sure that we can apply this for other commands as wellTo be discussed:
/api/v2/? E.g./api/v2/objects/and/api/v2/objecttypes/Toegevoegde waarde / Added value
Improved performance
Simplification of architecture
Simplification of deployments