Skip to content

Gcp support open vds (GONRG-1425)

Rustam Lotsmanenko (EPAM) requested to merge gcp-support-open-vds into master

Description:

  • GCP: Introduce DownScopedCredentialsService which provides DownScopedCredentials to support OpenVDS case.
  • GCP: Uses new service in the GCP GoogleCloudStorageServiceImpl to provide DownScoped token as a value of the SignedUrl.connectionString for OVDS resources
  • Common: Added an endpoint POST /v1/files/downloadURL to support requests of multiple files in one request.
  • SonarLint fixes
  • Extend downloadURL response with additional optional connectionString properties to support OpenVDS case:
[{
                "signeUrl": 
                "unsignedUrl": "gs://osdu-cicd-file/my-vds",
                "kind": "osdu:osdu:vds:0.3.0",
                "connectionString": "token.,,,,qweqwe21dqwd"
}]

Changes include:

  • Refactor (a non-breaking change that improves code maintainability).
  • Bugfix (a non-breaking change that solves an issue).
  • New feature (a non-breaking change that adds functionality).
  • Breaking change (a change that is not backward-compatible and/or changes current functionality).

Changes in:

  • GCP
  • Azure
  • AWS
  • IBM

Dev Checklist:

  • Added Unit Tests, wherever applicable.
  • Updated the Readme, if applicable.
  • Existing Tests pass
  • Verified functionality locally
  • Self Reviewed my code for formatting and complex business logic.
Edited by Dmitriy Rudko

Merge request reports