Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • daiquiri daiquiri
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 42
    • Issues 42
    • List
    • Boards
    • Service Desk
    • Milestones
  • Jira
    • Jira
  • Merge requests 18
    • Merge requests 18
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ui
  • daiquiridaiquiri
  • Merge requests
  • !506

Datacollection plans

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Stuart Fisher requested to merge feature/plans into main Apr 26, 2022
  • Overview 1
  • Commits 33
  • Pipelines 22
  • Changes 10

This implements the relevant resource to access data collection plans

GET
/api/metadata/datacollections/plans
PATCH
/api/metadata/datacollections/plans/<planid>
DELETE
/api/metadata/datacollections/plans/<planid>

It also adds a new option to actors save, if this is truthy then the actor parameters are saved into a datacollectionplan and linked to the currently selected sample. This saved plan can be executed by calling

/api/samplescan/queue/{datacollectionplanid}

This will take the parameters from datacollectionplan, revalidate them, create a new actor with the parameters, and add it to the queue.

The plans can be reordering by patching planorder in the datacollectionplan

Need to do some work on the front end to hide execute / queue if save is ticked.

Edited May 04, 2022 by Stuart Fisher
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: feature/plans