Issue 10484
Registry-API: Remove inheritance on WritableDataset
10484
Reporter: trobertson
Assignee: kbraak
Type: Task
Summary: Registry-API: Remove inheritance on WritableDataset
Priority: Critical
Resolution: Fixed
Status: Closed
Created: 2011-12-08 16:48:27.773
Updated: 2013-12-16 17:50:39.725
Resolved: 2011-12-12 17:36:26.376
Description: Currently the RegistryAPI:WritableDataset extends NetworkEntity.
This needs to be changed as it makes little sense. Things like the address etc are not applicable for a dataset, and are confusing to the user of the API.
This task requires:
- Stop WritableDataset extending NetworkEntity
- Evaluation of the fields that need to be included in WritableDataset
- Update builders in WritableDataset and (?) Dataset
- Modify the factories that create dataset (registry-service)
- Modify the services exposing Dataset (registry-service and registry-ws)
- Update all unit tests
- Remove the NetworkEntity as it will always be a UUID so does not need to be genericised
- Modify all uses of NetworkEntity and remove the generics component
]]>
Author: trobertson@gbif.org
Comment: Fancy a decent sized task?
Created: 2011-12-08 16:48:48.289
Updated: 2011-12-08 16:48:48.289
Author: kbraak@gbif.org
Comment: Of course! I'll pick this one up tomorrow..
Created: 2011-12-08 17:01:16.226
Updated: 2011-12-08 17:01:16.226
Author: kbraak@gbif.org
Created: 2011-12-12 17:09:12.18
Updated: 2011-12-12 17:09:12.18
Hit the source tab to see the related changes that have been made.
The bulk of the work is done, I'm just debugging the ws - a couple of the ws requests like /dataset/ for example do not work.