Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • Wellbore Domain Services Wellbore Domain Services
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 16
    • Issues 16
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 9
    • Merge requests 9
  • 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
  • Domain Data Management Services
  • Wellbore
  • Wellbore Domain ServicesWellbore Domain Services
  • Merge requests
  • !500

Validate record id at API level

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Yannick requested to merge record_id_regex_crud_v3 into master Apr 11, 2022
  • Overview 0
  • Commits 6
  • Pipelines 4
  • Changes 11
  • All CRUD v3 {record_id} parameter validated using RegEx from its associated schema (was only 'str' before), check by FastAPI/Pyndatic.
  • Returns 422 error code if the record id doesn't match the regex.
  • Regex unified API spec & models
  • Unit tests update to test all changed API in both success case and invalid record id case. (replacing some obsolete ones)
Edited Apr 19, 2022 by Yannick
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: record_id_regex_crud_v3