Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • O OS Core Common
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 22
    • Issues 22
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Open Subsurface Data Universe SoftwareOpen Subsurface Data Universe Software
  • Platform
  • System
  • Lib
  • core
  • OS Core Common
  • Merge requests
  • !99

Added common interfaces and models for DMS StorageInstructions API

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Krishna Nikhil Vedurumudi requested to merge dmsStubs into master Jul 05, 2021
  • Overview 11
  • Commits 3
  • Pipelines 14
  • Changes 8
  • 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
  • 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 Jul 12, 2021 by Krishna Nikhil Vedurumudi
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: dmsStubs