Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • S Storage
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 55
    • Issues 55
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Open Subsurface Data Universe SoftwareOpen Subsurface Data Universe Software
  • Platform
  • System
  • Storage
  • Merge requests
  • !76

Rollback datastoreFactory.getDatastoreDefaultNamespace() (GONRG-837)

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Riabokon Stanislav(EPAM)[GCP] requested to merge namespace_datastore into master Oct 02, 2020
  • Overview 0
  • Commits 1
  • Pipelines 3
  • Changes 1

Type of change

  • Bug Fix
  • Feature

Does this introduce a change in the core logic?

  • [NO]

Does this introduce a change in the cloud provider implementation, if so which cloud?

  • AWS
  • Azure
  • GCP
  • IBM

Does this introduce a breaking change?

  • [NO]

What is the current behavior?

Current version of Storage service in Community (deployed from Opengroup GitLab) works with default namespace. But all data, uploaded with storage service from EpamGit (d773a274 version), stored in osdu namespace. this.datastoreFactory.getDatastore();

`public Datastore getDatastore() {

DatastoreCredential credential = getDatastoreCredential();

return DatastoreOptions.newBuilder()
    .setRetrySettings(RETRY_SETTINGS)
    .setTransportOptions(TRANSPORT_OPTIONS)
    .setCredentials(credential)
    .setProjectId(this.tenant.getProjectId())
    .setNamespace(this.tenant.getName())
    .build().getService();

} `

What is the new/expected behavior?

  • Namespace configuration with TenantInfo in DatastoreFactory

Storage service can work with all namespaces in Datastore.

Have you added/updated Unit Tests and Integration Tests?

Any other useful information

Edited Oct 02, 2020 by Riabokon Stanislav(EPAM)[GCP]
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: namespace_datastore