Update exclusions graphql endpoints to handle groups
What does this MR do and why?
Update exclusions graphql endpoints to handle groups
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
How to set up and validate locally
Try creating and deleting groups through graphql queries/mutations. For example:
- Create a group
- Create a project in that group
- Create an exclusion for the project
- Create an create an exclusion for the group
Example queries:
mutation integrationExclusionCreate($input: IntegrationExclusionCreateInput!) {
integrationExclusionCreate(input: $input) {
exclusions {
project {
id
name
},
group {
id
name
}
}
errors
}
}
query integrationExclusion {
integrationExclusions(integrationName: BEYOND_IDENTITY) {
nodes {
project {
name
id
fullPath
}
group {
name
id
}
}
}
}
mutation integrationExclusionDelete($input: IntegrationExclusionDeleteInput!) {
integrationExclusionDelete(input: $input) {
exclusions {
project {
id
name
}
group {
id
name
}
}
errors
}
}
Related to #454372 (closed)
Edited by Jerry Seto