Unique bucket name across GCP (GONRG-701)
Description:
-
Fixed a bug related to getting of bucket name (Bucket name should be unique across GCP. We had to add ProjectID to the naming to fix the issue with provisioning of a new bucket)
-
Added a property 'enable.full.bucket.name'. If it is 'true', the bucket name will be
tenantInfo.getProjectId() + "-" + tenantInfo.getName() + "-" + BUCKET_NAME
, otherwise,tenantInfo.getName() + "-" + BUCKET_NAME
. Moreover, This bucket name will betenantInfo.getName() + "-" + BUCKET_NAME
for a case related to 'enable.full.bucket.name=null'
How to test:
Check business logic.
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.
Other comments:
Any comments to approvers here
Edited by Riabokon Stanislav(EPAM)[GCP]