TigerData is a comprehensive set of data storage and management tools and services that provides storage capacity, reliability, functionality, and performance to meet the needs of a rapidly changing research landscape and to enable new opportunities for leveraging the power of institutional data.
Apache License 2.0
6
stars
0
forks
source link
Create a class for MediafluxRootCollectionAsset #791
A MediafluxRootCollectionAsset is a top level asset that all collections get created into. It's not a Project collection, it is the root of the Mediaflux system. Each project would be a "branch" off of this.
Acceptance criteria
[ ] Calling MediafluxRootCollectionAsset.create! should ensure the root/trunk asset exists, and create it if it does not
[ ] asset_create_request.rb is the class that currently does this, but it doesn't have a #create! method
[ ] The #create! method should be idempotent -- if it exists already, do not recreate it
User story
A
MediafluxRootCollectionAsset
is a top level asset that all collections get created into. It's not aProject
collection, it is theroot
of the Mediaflux system. Each project would be a "branch" off of this.Acceptance criteria
MediafluxRootCollectionAsset.create!
should ensure the root/trunk asset exists, and create it if it does notasset_create_request.rb
is the class that currently does this, but it doesn't have a#create!
method#create!
method should be idempotent -- if it exists already, do not recreate itImplementation notes, if any