Missing storageInstructions endpoint in dataset service for Python SDK
As per the ADR osdu/platform/system/dataset#29 (closed), the dataset API has been updated to follow the REST Convention. The existing APIs are still available, but in sunset period.
In the Python SDK, the dataset client is missing the new storageInstructions
endpoint https://community.opengroup.org/osdu/platform/system/sdks/common-python-sdk/-/blob/master/osdu_api/clients/dataset/dataset_dms_client.py
Functionality | Existing API (Sunset) | New REST Endpoint | Implemented in Python SDK |
---|---|---|---|
Dataset Get-Storage Instructions | GET /getStorageInstructions?kindSubType={dmsType}
|
POST /storageInstructions?kindSubType={dmsType}
|
|
Dataset Get-Retrieval Instructions | GET /getRetrievalInstructions?id={dataset-id}
|
GET /retrievalInstructions?id={dataset-id}
|
|
Dataset Batch Get-Retrieval Instructions | POST /getRetrievalInstructions
|
POST /retrievalInstructions
|
|
This is causing issue in the implementation on improvement on manifest ingestion DAG on IBM. osdu/platform/data-flow/ingestion/osdu-airflow-lib!17 (comment 139224)