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 20
    • Merge requests 20
  • 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
  • #44
Closed
Open
Issue created Jan 22, 2021 by ethiraj krishnamanaidu@ethirajReporter

Storage Record Id logic update

Storage Record Id logic update based on the R3 Schema pattern.

RecordId(Storage Service)

Current Logic

  • System Generated: Storage service generates a RecordId using data-partition-id from the HTTP header + doc + uuid.

    Example :

opendes:doc:eb862870b6234e6a9c924afc6d59331a

  • Input from Request : Storage Service validates the first part of the record id with data-partition-id from the HTTP header + Pattern check.

    Example :

opendes:xyx:test

Proposal for OSDU R3

  • System Generated: Storage service generates a RecordId using data-partition-id from the HTTP header + append groupType—IndividualType from the kind + uuid.

    Example :

opendes:work-product-component--WellLog:a6d6-63fc9a0bbac1",

  • Input from Request : Storage Service validates the first part of the record id with data-partition-id from the HTTP header + should match with group-type-indiviualType + Pattern check.

    Example :

opendes:work-product-component--WellLog:xyx

Validation in createUpdateRecords

Edited Jan 25, 2021 by ethiraj krishnamanaidu
Assignee
Assign to
Time tracking