Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move pipeline routes under ee src tree #2110

Merged
merged 1 commit into from
May 10, 2023

Conversation

knolleary
Copy link
Member

Description

Moves the pipeline specific routes into the EE src tree.

Routes affected:

  • GET /api/v1/application/:id/pipelines - get pipelines in an application
  • POST /api/v1/application/:id/pipelines - create a new pipeline
  • DELETE /api/v1/application/:id/pipelines/:pipelineId - delete a pipeline
  • POST /api/v1/pipelines/:pipelineId/stages - create new pipeline stage
  • GET /api/v1/pipelines/:pipelineId/stages/:stageId - get pipeline stage details

Adds the following set of permissions for these routes:

'pipeline:view': { description: 'View a pipeline', role: Roles.Member },
'pipeline:edit': { description: 'Edit a pipeline', role: Roles.Owner },
'application:pipelines:create': { description: 'Create a pipeline within an application', role: Roles.Owner },
'application:pipelines:list': { description: 'List pipelines within an application', role: Roles.Member },
'application:pipelines:delete': { description: 'Delete a pipeline from an application', role: Roles.Owner }

Related Issue(s)

#2075

@knolleary knolleary requested a review from joepavitt May 9, 2023 23:32
@Pezmc
Copy link
Contributor

Pezmc commented May 10, 2023

I'm going to approve and merge this into 2075-application-pipelines, so I can do further work in that branch before the wider team is awake.

@Pezmc Pezmc merged commit bcc9148 into 2075-application-pipelines May 10, 2023
1 of 3 checks passed
@Pezmc Pezmc deleted the 2075-move-pipeliens-to-ee branch May 10, 2023 03:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants