DiversityTree data model and services
This issue is to implement the data model for
DiversityTree as described in #528 (closed).
DiversityTree entity is a copy of the current
Subset model (except for
owner because trees are not managed by partners). The
accessionRefs remain. Versioning remains.
A tree only links to a single
crop. A tree should specify the repository file on which it is based (the
_tree.json file within the crop). This should be a
String treeFile (and not a reference to
DiversityTreeAccessionRef includes one additional property:
String nodeKey. This is related to genesys-pgr/diversity-tree-editor#29 and for each accessionRef the full node path must be provided (required field).
Only users with
DIVTREE role are allowed to manage this data.
DiversityTreeand update as described above
- Add updates to
DiversityTreeService, comment out any methods we don't need.