Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • S Storage
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 46
    • Issues 46
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 21
    • Merge requests 21
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • 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
  • Issues
  • #63
Closed
Open
Issue created Apr 14, 2021 by Florent Fourcade@florent.fourcade

Storage API /query/kinds behaviour is different on GCP compared to other CSPs

According to storage API documentation :

a given kind can have zero or exactly one schema associated with.

While testing storage API record creation on Azure, I created a record with a non tied to schema kind. When requesting /query/kinds after record creation, the kind is absent from the returned results.

Doing the same test on a GCP instance, my kind (not tied to a schema) does appears when requesting /query/kinds.

I took a look at the code and I saw that to get the kinds, GCP retrieve all kinds from a RecordMetadata Database, so all kinds are returned, even if not tied to a schema. On other CSPs, it seems that kinds are returned from a Schema database, so only kinds tied to a schema are returned.

Edited Apr 15, 2021 by Florent Fourcade
Assignee
Assign to
Time tracking