Add a possibility to work with Anthos/MinIO.
Hello!
We implemented Seismic DMS for Anthos
environment with MinIO as a storage backend. MinIO implementation works with s3
and mostly follows AWS implementation.
For sdutil
, all we needed was overriding a single method of AwsStorageService
service; we just added MinIO endpoint.
(seismic-store-sdutil!50 (diffs))
The problem is that Open VDS
and Open ZGY
convertors use seismic-cpp-lib
and there is no way to access MinIO storage to manipulate files.
I found that the library gets the information about Cloud provider for choosing a storage class from the response header of Seismic (https://community.opengroup.org/osdu/platform/domain-data-mgmt-services/seismic/seismic-dms-suite/seismic-store-cpp-lib/-/blob/master/src/src/lib/cloud/SeismicStore.cc#L704).
This value is taken from CLOUDPROVIDER
env var of Seismic deployment. As our CLOUDPROVIDER
's value is anthos
, seismic-cpp-lib
chooses GcsAccessorStorage
(
https://community.opengroup.org/osdu/platform/domain-data-mgmt-services/seismic/seismic-dms-suite/seismic-store-cpp-lib/-/blob/master/src/src/lib/cloud/Storage.cc#L172)
What we need:
- Choose
AwsStorage
if cloud provider isanthos
; - Possibility to override AWS's Endpoint URL with the environmental variable's value.
SDMS MR: seismic-store-service!322 (merged)
Thanks.