Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bulk_imports/groups/graphql/get_group_query.rb')
-rw-r--r--lib/bulk_imports/groups/graphql/get_group_query.rb32
1 files changed, 22 insertions, 10 deletions
diff --git a/lib/bulk_imports/groups/graphql/get_group_query.rb b/lib/bulk_imports/groups/graphql/get_group_query.rb
index 2bc0f60baa2..169c61247c3 100644
--- a/lib/bulk_imports/groups/graphql/get_group_query.rb
+++ b/lib/bulk_imports/groups/graphql/get_group_query.rb
@@ -12,18 +12,18 @@ module BulkImports
group(fullPath: $full_path) {
name
path
- fullPath
+ full_path: fullPath
description
visibility
- emailsDisabled
- lfsEnabled
- mentionsDisabled
- projectCreationLevel
- requestAccessEnabled
- requireTwoFactorAuthentication
- shareWithGroupLock
- subgroupCreationLevel
- twoFactorGracePeriod
+ emails_disabled: emailsDisabled
+ lfs_enabled: lfsEnabled
+ mentions_disabled: mentionsDisabled
+ project_creation_level: projectCreationLevel
+ request_access_enabled: requestAccessEnabled
+ require_two_factor_authentication: requireTwoFactorAuthentication
+ share_with_group_lock: shareWithGroupLock
+ subgroup_creation_level: subgroupCreationLevel
+ two_factor_grace_period: twoFactorGracePeriod
}
}
GRAPHQL
@@ -32,6 +32,18 @@ module BulkImports
def variables(entity)
{ full_path: entity.source_full_path }
end
+
+ def base_path
+ %w[data group]
+ end
+
+ def data_path
+ base_path
+ end
+
+ def page_info_path
+ base_path << 'page_info'
+ end
end
end
end