Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • P Pre Shipping
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 82
    • Issues 82
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • 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

Upcoming Change to GitLab Pages The GitLab Pages URL is planned to migrate from the current *.pages.community.opengroup.org to a simpler domain: *.pages.opengroup.org. At the same time, HTTPS will be enabled for the server. This change is planned for May 21, 2022.

If you have questions or concerns, please email forum-support@opengroup.org.

  • Open Subsurface Data Universe Software
  • Platform
  • Pre Shipping
  • Issues
  • #192

Closed
Open
Created Dec 30, 2021 by Debasis Chatterjee@debasiscOwner

Azure - R3M9-patch - Manifest-based Ingestion (Wp-wpc-dataset-file) Surrogate key

Please check

Azure-Manifest-based-Ingestion-wp-wpc-issue-surrogate-key.txt

This is the error from validate_schema step. I was using surrogate key approach to link work-product component with Dataset record.

[2021-12-30 13:49:34,665] {validate_schema.py:293} ERROR - Manifest kind: osdu:wks:work-product-component--WellboreTrajectory:1.1.0 [2021-12-30 13:49:34,666] {validate_schema.py:294} ERROR - Error: 'surrogate-key:file-1:' does not match '^[\w\-\.]+:dataset\-\-[\w\-\.]+:[\w\-\.\:\%]+:[0-9]*$'

Failed validating 'pattern' in schema['properties']['data']['allOf'][1]['properties']['Datasets']['items']: {'description': 'The SRN which identifies this OSDU File resource.', 'pattern': '^[\w\-\.]+:dataset\-\-[\w\-\.]+:[\w\-\.\:\%]+:[0-9]*$', 'type': 'string', 'x-osdu-relationship': [{'GroupType': 'dataset'}]}

On instance['data']['Datasets'][0]: 'surrogate-key:file-1:' [2021-12-30 13:49:34,669] {connectionpool.py:230} DEBUG - Starting new HTTP connection (1): schema.osdu-azure.svc.cluster.local:80

cc - @sje7253bp , @chad , @esmira.rafigayeva , @todaiks , @manishk for information

Edited Dec 30, 2021 by Debasis Chatterjee
Assignee
Assign to
Time tracking