Added common interfaces and models for DMS StorageInstructions API
- Added Models for StorageInstructions, RetrievalInstructions and DMS Copy API Request and Response
- Added Interface for DMS APIs that are approved at osdu/platform/system/file#29 (closed)
- Added interface for Dataset Staging containers support approved at osdu/platform/system/dataset#21
- Added Dataset service specific users - osdu/platform/system/dataset#24 (closed)
Sample Storage Instructions Response will be as follows
{
"storageLocation": {
"key1": "value1",
"key2": "value2"
},
"providerKey": "AZURE"
}
Sample Retrieval Instructions response will be as follows
{
"datasets": [{
"datasetRegistryId": "value1",
"retrievalProperties": {}
},{
"datasetRegistryId": "value2",
"retrievalProperties": {}
}],
"providerKey": "AZURE"
}
Sample copy dms request
{
"datasetSources": [{
"kind": "{{partition-id}}:wks:dataset--File.Generic:1.0.0",
"acl": {
},
"legal": {
},
"data": {
"DatasetProperties": {
"FileSourceInfo": {
"FileSource": "{{fileSource}}"
}
}
}
}]
}
Sample copy dms response
[
{
"success": true,
"datasetBlobStoragePath": "<url at which the dataset is copied to>"
}
]
Edited by Krishna Nikhil Vedurumudi