Skip to content

Allow to create value streams in GraphQL

Felipe Artur requested to merge issue_410340-create_value_streams into master

What does this MR do and why?

Introduce GraphQL type for value streams and a mutation to create value streams.

For now, the only supported parameter is name, on follow-up MRs we will accept parameters for stages and settings.

part of #410340 (closed)

How to set up and validate locally

  1. Make sure you have premium license
  2. Create a namespace(project or group) and write its full path
  3. Execute the following mutation on GraphQL explorer
mutation createValueStream {
  valueStreamCreate(input: {
    namespacePath: "PATH_TO_NAMESPACE",
    name: "Test Value Stream"
  }) {
    valueStream {
      id
      name
      namespace {
        name
      }
    }
    errors
  }
}

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Felipe Artur

Merge request reports