-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
We're standardizing on the collection name throughout our stack, on the Edge-URID side, but also we need to make this change within DDM for consistency.
The collection name is more general than dataset and when new content is uploaded to an Edge node, it will be tagged with its collection, which will be managed in DDM when the dealmaking logic happens.
Changes to be made:
- Rename
Datasetdb struct toCollection - Change reference columns (ex,
DatasetIDinWalletDatasetstoCollectionID) - Write DB migration in
db/migrations.gofor the table and column renames - Rename
api/datasets.go->api/collections.go - Update
api/collections.go, renamingdatasettocollectioneverywhere, changing routes so they are at/api/v1/collectionsinstead of/api/v1/datasets - Update all other API routes that refer to
dataset, change tocollection - Rename
/cmd/dataset.go, to/cmd/collection.go. Renamedatasettocollectioneverywhere in thecmdcli commands - Update documentation
/docs/, update API docs and CMD docs. Updatereadme.mdand change all references ofdatasettocollection
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels