[GCP] Seismic store doesn't use Partition Service to get a GCP project-id of Google Cloud Project
The main problems are following:
- See no signs that SSDMS uses Partition Service at all, it accepts requests with no data-partition-id header
- When we create SSDMS tenant, we have to specify
gcpid
, the project where data will be stored if we use this tenant in oursd-path
.
It causes two problems:
- users have to know the actual
gcpid
- users can specify the
gcpid
that doesn’t corresponddata-partition-id
Example of create tenant request:
{
"gcpid": "{{gcp_project_id}}",
"esd": "{{data-partition-id}}.osdu-gcp.go3-nrg.projects.epam.com",
"default_acl": "data.default.owners@{{data-partition-id}}.osdu-gcp.go3-nrg.projects.epam.com"
}
Solution is to use Partition Service to get GCP project-id, thus users don't need to specify gcpid
manually and the GCP project-id is chosen correctly.