Pull applied suggesstions for formatting and resolve merge conflicts
Signed-off-by: Stephen Barry <sbarry@poppulo.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-catalog-backend-module-gitlab': patch
|
||||
'@backstage/plugin-catalog-backend-module-gitlab': minor
|
||||
---
|
||||
|
||||
Fix Gitlab.com user ingestion by scoping GitlabOrgDiscoveryEntityProvider to a group.
|
||||
|
||||
@@ -117,13 +117,13 @@ export class GitLabClient {
|
||||
groupMembers(first: 100, relations: [DESCENDANTS], after: $endCursor) {
|
||||
nodes {
|
||||
user {
|
||||
id
|
||||
username
|
||||
id
|
||||
username
|
||||
publicEmail
|
||||
name
|
||||
state
|
||||
webUrl
|
||||
avatarUrl
|
||||
avatarUrl
|
||||
}
|
||||
}
|
||||
pageInfo {
|
||||
@@ -188,24 +188,24 @@ export class GitLabClient {
|
||||
body: JSON.stringify({
|
||||
variables: { group: groupPath, endCursor },
|
||||
query: `query listDescendantGroups($group: ID!, $endCursor: String) {
|
||||
group(fullPath: $group) {
|
||||
descendantGroups(first: 100, after: $endCursor){
|
||||
nodes{
|
||||
id
|
||||
name
|
||||
description
|
||||
fullPath
|
||||
parent{
|
||||
id
|
||||
}
|
||||
}
|
||||
pageInfo {
|
||||
endCursor
|
||||
hasNextPage
|
||||
group(fullPath: $group) {
|
||||
descendantGroups(first: 100, after: $endCursor) {
|
||||
nodes {
|
||||
id
|
||||
name
|
||||
description
|
||||
fullPath
|
||||
parent {
|
||||
id
|
||||
}
|
||||
}
|
||||
pageInfo {
|
||||
endCursor
|
||||
hasNextPage
|
||||
}
|
||||
}
|
||||
}
|
||||
}`,
|
||||
}
|
||||
}`,
|
||||
}),
|
||||
},
|
||||
).then(r => r.json());
|
||||
|
||||
Reference in New Issue
Block a user