Open kaveenr opened 5 years ago
Thank you for your proposal.
For now the expectation is that the status APIs growth will not be insurmountable and given the repetitive nature of the content, will gzip nicely. ETags is also being considered to reduce the volume of data transferred.
Granularity of the remaining APIs may be considered in future iterations but will not be considered for the beginning of the regime
Thanks,
Just making sure the emphasis is on, as said on the original posting.
This proposal will allow DHs to do JIT(Just In Time) provisioning of metadata instead of periodically having to completely retrieve the whole metadata list from the CDR registry.
That will allow getting ADR statuses on a need to know basis, instead of keeping all ADR data by the DH.
cheers, Kaveen Rodrigo
@kaveenr your emphasis is definitely noted. We will keep this ticket in place for future considerations of optimisation
Crosspost of https://github.com/ConsumerDataStandardsAustralia/standards-maintenance/issues/37
Description
Currently, the Data Holder Metadata Management takes place using periodic polling and Metadata AdminAPI call from the CDR registry for immediate updates.
The concern is scalability, Hypothetically with a large number of ADRs on-boarded with the CDR registry, the DH will have to query the complete ADR statuses through the Registry API.
The proposal is to make the APIs more granular allowing query of individual ADRs for metadata updating.
Area Affected
GET /{industry}/data-recipients/brands/software-products/status
GET /{industry}/data-recipients/status
POST /admin/register/metadata
Change Proposed
GET /{industry}/data-recipients/brands/software-products/status
softwareProductId
using a query parameter or path parameter.GET /{industry}/data-recipients/status
dataRecipientId
usingPOST /admin/register/metadata
softwareProductId
ordataRecipientId
allowing invalidation of a singular software product/ data recipient.This proposal will allow DHs to do JIT(Just In Time) provisioning of metadata instead of periodically having to completely retrieve the whole metadata list from the CDR registry.