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.
ProjectMetadata class is now a Plain Old Ruby Object (PORO) with no dependencies to the Project model or Mediaflux.
Use this new ProjectMetadata PORO instead of a hash in the Project model and everywhere where we need the project metadata...which was a lot of places.
Move some of the functionality from ProjectMetadata to Project (e.g. approve and activate now live on the Project class rather than the ProjectMetadata class)
Refactoring project#metadata to be a Metadata class instead of a hash Co-authored-by: Hector Correa hectorcorrea@users.noreply.github.com
closes #769
The main changes in this PR are:
ProjectMetadata
class is now a Plain Old Ruby Object (PORO) with no dependencies to theProject
model orMediaflux
.ProjectMetadata
PORO instead of a hash in theProject
model and everywhere where we need the project metadata...which was a lot of places.ProjectMetadata
toProject
(e.g.approve
andactivate
now live on theProject
class rather than theProjectMetadata
class)