File issueshttps://community.opengroup.org/osdu/platform/system/file/-/issues2023-04-13T10:39:15Zhttps://community.opengroup.org/osdu/platform/system/file/-/issues/35File should get download with actual filename and extension after hitting dow...2023-04-13T10:39:15Zsachin GuptaFile should get download with actual filename and extension after hitting downloadUrl### Problem Statement
Currently, the file service stores file in the persistent location with some random name and without extension. When we download the file using download SignedURL, it's download without extension and to see the co...### Problem Statement
Currently, the file service stores file in the persistent location with some random name and without extension. When we download the file using download SignedURL, it's download without extension and to see the content of the file we need to explicitly give an extension.
### Solution
We can overcome this problem by adding Content-Disposition and Content-Type header at the time of download signed URL creation. We can get file name from file metadata payload and based on file extension we can get content type of the file, both name and content type we can use to create download URL.
Note: the name field in the metadata payload is optional and if it is not present in the payload, then the above solution won't work for that and follow the current implementation of download URL creation.M9 - Release 0.12Paresh BehedeParesh Behedehttps://community.opengroup.org/osdu/platform/system/file/-/issues/39Implement CSP specific changes for File DMS APIs support2021-10-19T19:22:38ZKrishna Nikhil VedurumudiImplement CSP specific changes for File DMS APIs supportFollow up for https://community.opengroup.org/osdu/platform/system/file/-/issues/29 where the Core and Azure changes for File DMS changes were completed.
Implementation Updates:
* Core Common changes with skeleton interfaces and model...Follow up for https://community.opengroup.org/osdu/platform/system/file/-/issues/29 where the Core and Azure changes for File DMS changes were completed.
Implementation Updates:
* Core Common changes with skeleton interfaces and model objects - https://community.opengroup.org/osdu/platform/system/lib/core/os-core-common/-/merge_requests/99
* File service changes with Core and Azure implementation for File DMS APIs - https://community.opengroup.org/osdu/platform/system/file/-/merge_requests/128
* Dataset Service changes consuming the APIs - https://community.opengroup.org/osdu/platform/system/dataset/-/merge_requests/109
* Entitlements changes - New role for dataset - https://community.opengroup.org/osdu/platform/security-and-compliance/entitlements/-/merge_requests/90
Work for Other CSPs
* Using the feature flag in Dataset Service, use the latest DMS API endpoints.
* Create new role in Entitlements -> https://community.opengroup.org/osdu/platform/security-and-compliance/entitlements/-/merge_requests/90
* File Service changes - Implement `final IStorageService storageService;` for interactions with CSP Specific Blob store providers.M9 - Release 0.12https://community.opengroup.org/osdu/platform/system/file/-/issues/43File service is not ingesting additional metadata2022-01-18T04:04:46ZPramesh PatilFile service is not ingesting additional metadataOld Implementation - we have created fixed set of schema for extension properties block and user not able to send additional metadata while posting metadata thought POST endpoint.
Changes - Updated model that accept addition metadata th...Old Implementation - we have created fixed set of schema for extension properties block and user not able to send additional metadata while posting metadata thought POST endpoint.
Changes - Updated model that accept addition metadata through extensionProperties.
example - (NewKey and NewValue added as addition metadata)
```
"ExtensionProperties": {
"Classification": "Raw File",
"newKey" :"newValue",
"Description": "An text further describing this file example.",
"ExternalIds": [
"string"
],
"FileDateCreated": {},
"FileDateModified": {},
}
```
MR - https://community.opengroup.org/osdu/platform/system/file/-/merge_requests/157M9 - Release 0.12