Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • I Ingestion Workflow
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 42
    • Issues 42
    • 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
  • Data Flow
  • Data IngestionData Ingestion
  • Ingestion Workflow
  • Merge requests
  • !78

Get all workflows

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Mayank Saggar [Microsoft] requested to merge get-all-workflows into h2-ingestion Jan 27, 2021
  • Overview 0
  • Commits 5
  • Pipelines 2
  • Changes 18

Added a new workflow api with UTs and ITs.

Get All Workflows starting with prefix API with rest end point : /workflow/?prefix="test"

3 Parameters can be specified for this get request namely: prefix(required) limit and cursor.

Queries the database for all the workflows having the specified prefix. The resulting items are sorted by timestamp in descending order. Limit specified provides the first no. of items from the list. cursor is a continuation token to query further records.

ITs for the api:

  • Success cases when:
    • only prefix is provided
    • prefix and limit are provided
    • prefix, limit and cursor are provided
  • Bad request when:
    • no parameters given
    • no prefix is given
    • invalid limit : less than or equal to 0, or more than a defined limit(50 currently).
    • invalid cursor
  • Unauthorized case with no access token and no data access token.
  • Unauthorized when given invalid partition id
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: get-all-workflows