Skip to content

Added support for Get storage and retrieval instructions

Krishna Nikhil Vedurumudi requested to merge fileSdk into master

Type of change

  • Bug Fix
  • Feature

Please provide link to gitlab issue or ADR(Architecture Decision Record)

Does this introduce a change in the core logic?

  • [NO]

Does this introduce a change in the cloud provider implementation, if so which cloud?

  • AWS
  • Azure
  • GCP
  • IBM

Does this introduce a breaking change?

  • [NO]

What is the current behavior?

N/A

What is the new/expected behavior?

Added Azure implementation for getStorageInstructions and getRetrievalInstructions by connecting to File Service.

Sample "getStorageInstructions" response

{
    "storageLocation": {
        "FileID": "9b953aba8fbe424582e21106f78d2560",
        "Location": {
            "SignedURL": "<SignedURL>",
            "FileSource": "<Path to file>"
        }
    },
    "providerKey": "AZURE"
}

Sample "getRetrievalInstructions" response

{
    "delivery": [
        {
            "datasetRegistryId": "opendes:dataset--File.Generic:2e7b25f2-c987-4406-b201-843560a6c173",
            "retrievalProperties": {
                "SignedUrl": "<Signed URL>"
            },
            "providerKey": "AZURE"
        }
    ]
}

Have you added/updated Unit Tests and Integration Tests?

Next MR.

Any other useful information

Edited by Krishna Nikhil Vedurumudi

Merge request reports

Loading