Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • S Schema
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 30
    • Issues 30
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 7
    • Merge requests 7
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & 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 Software
  • Platform
  • System
  • Schema
  • Merge requests
  • !117

[azure] Adding new API to create public schemas in azure

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Aman Verma requested to merge users/amaverma/addNewAPI into master Jun 23, 2021
  • Overview 40
  • Commits 48
  • Pipelines 33
  • Changes 24

Changes in the MR:

  1. A new azure only API named /system/schema Find details here: #51
  2. The API works with service principal authorization only
  3. All the classes interacting with cosmosStore and blobStore have this intelligence added to identify whether any schema has to be created in system related cosmos/ blob or tenant specific cosmos/ blob. This identification is done using the data-partition-id header.
  4. The older way of creating public schemas is still supported.
  5. The new API sets data-partition-id as shared.tenant.name to induce the public schema scenraio.
  6. Both entry points to create public schemas converge at provider/schema-azure level, hence all the public schemas would be created at system resources only. Even the older API is passing common as data-partition-id, in reality there is no common tenant; as far as public schemas are concerned.
Edited Jun 23, 2021 by Aman Verma
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: users/amaverma/addNewAPI