Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
e472eb2e
Commit
e472eb2e
authored
Jul 21, 2021
by
Brett Walker
Committed by
Matthias Käppler
Jul 26, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Convert old graphql types to newer types
in prep for interpreter
parent
4b78115b
Changes
65
Hide whitespace changes
Inline
Side-by-side
Showing
65 changed files
with
185 additions
and
236 deletions
+185
-236
.rubocop_manual_todo.yml
.rubocop_manual_todo.yml
+0
-51
ee/app/graphql/ee/mutations/ci/ci_cd_settings_update.rb
ee/app/graphql/ee/mutations/ci/ci_cd_settings_update.rb
+2
-2
ee/app/graphql/ee/resolvers/issues_resolver.rb
ee/app/graphql/ee/resolvers/issues_resolver.rb
+3
-3
ee/app/graphql/ee/resolvers/namespace_projects_resolver.rb
ee/app/graphql/ee/resolvers/namespace_projects_resolver.rb
+2
-2
ee/app/graphql/ee/types/board_list_type.rb
ee/app/graphql/ee/types/board_list_type.rb
+3
-3
ee/app/graphql/ee/types/board_type.rb
ee/app/graphql/ee/types/board_type.rb
+1
-1
ee/app/graphql/ee/types/boards/board_issue_input_base_type.rb
...pp/graphql/ee/types/boards/board_issue_input_base_type.rb
+2
-2
ee/app/graphql/ee/types/group_type.rb
ee/app/graphql/ee/types/group_type.rb
+2
-2
ee/app/graphql/ee/types/issue_connection_type.rb
ee/app/graphql/ee/types/issue_connection_type.rb
+1
-1
ee/app/graphql/ee/types/issue_type.rb
ee/app/graphql/ee/types/issue_type.rb
+5
-5
ee/app/graphql/ee/types/issues/negated_issue_filter_input_type.rb
...raphql/ee/types/issues/negated_issue_filter_input_type.rb
+3
-3
ee/app/graphql/ee/types/merge_request_type.rb
ee/app/graphql/ee/types/merge_request_type.rb
+6
-6
ee/app/graphql/ee/types/namespace_type.rb
ee/app/graphql/ee/types/namespace_type.rb
+3
-3
ee/app/graphql/ee/types/project_type.rb
ee/app/graphql/ee/types/project_type.rb
+1
-1
ee/app/graphql/mutations/app_sec/fuzzing/api/ci_configuration/create.rb
.../mutations/app_sec/fuzzing/api/ci_configuration/create.rb
+8
-8
ee/app/graphql/mutations/boards/epic_boards/create.rb
ee/app/graphql/mutations/boards/epic_boards/create.rb
+1
-1
ee/app/graphql/mutations/boards/epics/create.rb
ee/app/graphql/mutations/boards/epics/create.rb
+2
-2
ee/app/graphql/mutations/boards/lists/update_limit_metrics.rb
...pp/graphql/mutations/boards/lists/update_limit_metrics.rb
+2
-2
ee/app/graphql/mutations/boards/scoped_board_mutation.rb
ee/app/graphql/mutations/boards/scoped_board_mutation.rb
+1
-1
ee/app/graphql/mutations/boards/scoped_issue_board_arguments.rb
.../graphql/mutations/boards/scoped_issue_board_arguments.rb
+1
-1
ee/app/graphql/mutations/boards/update_epic_user_preferences.rb
.../graphql/mutations/boards/update_epic_user_preferences.rb
+1
-1
ee/app/graphql/mutations/clusters/agent_tokens/create.rb
ee/app/graphql/mutations/clusters/agent_tokens/create.rb
+3
-3
ee/app/graphql/mutations/clusters/agents/create.rb
ee/app/graphql/mutations/clusters/agents/create.rb
+2
-2
ee/app/graphql/mutations/compliance_management/frameworks/create.rb
...phql/mutations/compliance_management/frameworks/create.rb
+1
-1
ee/app/graphql/mutations/concerns/mutations/shared_epic_arguments.rb
...hql/mutations/concerns/mutations/shared_epic_arguments.rb
+10
-10
ee/app/graphql/mutations/dast/profiles/create.rb
ee/app/graphql/mutations/dast/profiles/create.rb
+6
-6
ee/app/graphql/mutations/dast/profiles/run.rb
ee/app/graphql/mutations/dast/profiles/run.rb
+2
-2
ee/app/graphql/mutations/dast/profiles/update.rb
ee/app/graphql/mutations/dast/profiles/update.rb
+6
-6
ee/app/graphql/mutations/dast_on_demand_scans/create.rb
ee/app/graphql/mutations/dast_on_demand_scans/create.rb
+2
-2
ee/app/graphql/mutations/dast_scanner_profiles/create.rb
ee/app/graphql/mutations/dast_scanner_profiles/create.rb
+6
-6
ee/app/graphql/mutations/dast_scanner_profiles/delete.rb
ee/app/graphql/mutations/dast_scanner_profiles/delete.rb
+1
-1
ee/app/graphql/mutations/dast_scanner_profiles/update.rb
ee/app/graphql/mutations/dast_scanner_profiles/update.rb
+6
-6
ee/app/graphql/mutations/dast_site_profiles/create.rb
ee/app/graphql/mutations/dast_site_profiles/create.rb
+5
-5
ee/app/graphql/mutations/dast_site_profiles/delete.rb
ee/app/graphql/mutations/dast_site_profiles/delete.rb
+1
-1
ee/app/graphql/mutations/dast_site_profiles/update.rb
ee/app/graphql/mutations/dast_site_profiles/update.rb
+5
-5
ee/app/graphql/mutations/dast_site_tokens/create.rb
ee/app/graphql/mutations/dast_site_tokens/create.rb
+3
-3
ee/app/graphql/mutations/dast_site_validations/create.rb
ee/app/graphql/mutations/dast_site_validations/create.rb
+2
-2
ee/app/graphql/mutations/dast_site_validations/revoke.rb
ee/app/graphql/mutations/dast_site_validations/revoke.rb
+2
-2
ee/app/graphql/mutations/epics/add_issue.rb
ee/app/graphql/mutations/epics/add_issue.rb
+2
-2
ee/app/graphql/mutations/epics/base.rb
ee/app/graphql/mutations/epics/base.rb
+2
-2
ee/app/graphql/mutations/epics/set_subscription.rb
ee/app/graphql/mutations/epics/set_subscription.rb
+1
-1
ee/app/graphql/mutations/gitlab_subscriptions/activate.rb
ee/app/graphql/mutations/gitlab_subscriptions/activate.rb
+1
-1
ee/app/graphql/mutations/incident_management/escalation_policy/create.rb
...mutations/incident_management/escalation_policy/create.rb
+3
-3
ee/app/graphql/mutations/incident_management/escalation_policy/update.rb
...mutations/incident_management/escalation_policy/update.rb
+2
-2
ee/app/graphql/mutations/incident_management/oncall_rotation/create.rb
...l/mutations/incident_management/oncall_rotation/create.rb
+3
-3
ee/app/graphql/mutations/incident_management/oncall_rotation/destroy.rb
.../mutations/incident_management/oncall_rotation/destroy.rb
+2
-2
ee/app/graphql/mutations/incident_management/oncall_rotation/update.rb
...l/mutations/incident_management/oncall_rotation/update.rb
+1
-1
ee/app/graphql/mutations/incident_management/oncall_schedule/create.rb
...l/mutations/incident_management/oncall_schedule/create.rb
+4
-4
ee/app/graphql/mutations/incident_management/oncall_schedule/destroy.rb
.../mutations/incident_management/oncall_schedule/destroy.rb
+2
-2
ee/app/graphql/mutations/incident_management/oncall_schedule/update.rb
...l/mutations/incident_management/oncall_schedule/update.rb
+5
-5
ee/app/graphql/mutations/issues/common_ee_mutation_arguments.rb
.../graphql/mutations/issues/common_ee_mutation_arguments.rb
+1
-1
ee/app/graphql/mutations/issues/promote_to_epic.rb
ee/app/graphql/mutations/issues/promote_to_epic.rb
+1
-1
ee/app/graphql/mutations/issues/set_weight.rb
ee/app/graphql/mutations/issues/set_weight.rb
+1
-1
ee/app/graphql/mutations/iterations/cadences/create.rb
ee/app/graphql/mutations/iterations/cadences/create.rb
+8
-8
ee/app/graphql/mutations/iterations/cadences/update.rb
ee/app/graphql/mutations/iterations/cadences/update.rb
+7
-7
ee/app/graphql/mutations/iterations/create.rb
ee/app/graphql/mutations/iterations/create.rb
+4
-4
ee/app/graphql/mutations/iterations/update.rb
ee/app/graphql/mutations/iterations/update.rb
+6
-6
ee/app/graphql/mutations/quality_management/test_cases/create.rb
...graphql/mutations/quality_management/test_cases/create.rb
+4
-4
ee/app/graphql/mutations/requirements_management/base_requirement.rb
...hql/mutations/requirements_management/base_requirement.rb
+3
-3
ee/app/graphql/mutations/requirements_management/export_requirements.rb
.../mutations/requirements_management/export_requirements.rb
+2
-2
ee/app/graphql/mutations/requirements_management/update_requirement.rb
...l/mutations/requirements_management/update_requirement.rb
+1
-1
ee/app/graphql/mutations/security_policy/assign_security_policy_project.rb
...tations/security_policy/assign_security_policy_project.rb
+1
-1
ee/app/graphql/mutations/security_policy/commit_scan_execution_policy.rb
...mutations/security_policy/commit_scan_execution_policy.rb
+3
-3
ee/app/graphql/mutations/security_policy/create_security_policy_project.rb
...tations/security_policy/create_security_policy_project.rb
+1
-1
ee/app/graphql/mutations/vulnerabilities/dismiss.rb
ee/app/graphql/mutations/vulnerabilities/dismiss.rb
+1
-1
No files found.
.rubocop_manual_todo.yml
View file @
e472eb2e
...
@@ -88,57 +88,6 @@ Graphql/OldTypes:
...
@@ -88,57 +88,6 @@ Graphql/OldTypes:
-
'
ee/app/graphql/ee/types/merge_request_type.rb'
-
'
ee/app/graphql/ee/types/merge_request_type.rb'
-
'
ee/app/graphql/ee/types/namespace_type.rb'
-
'
ee/app/graphql/ee/types/namespace_type.rb'
-
'
ee/app/graphql/ee/types/project_type.rb'
-
'
ee/app/graphql/ee/types/project_type.rb'
-
'
ee/app/graphql/mutations/app_sec/fuzzing/api/ci_configuration/create.rb'
-
'
ee/app/graphql/mutations/boards/epic_boards/create.rb'
-
'
ee/app/graphql/mutations/boards/epics/create.rb'
-
'
ee/app/graphql/mutations/boards/lists/update_limit_metrics.rb'
-
'
ee/app/graphql/mutations/boards/scoped_issue_board_arguments.rb'
-
'
ee/app/graphql/mutations/boards/update_epic_user_preferences.rb'
-
'
ee/app/graphql/mutations/clusters/agent_tokens/create.rb'
-
'
ee/app/graphql/mutations/clusters/agents/create.rb'
-
'
ee/app/graphql/mutations/compliance_management/frameworks/create.rb'
-
'
ee/app/graphql/mutations/concerns/mutations/shared_epic_arguments.rb'
-
'
ee/app/graphql/mutations/dast/profiles/create.rb'
-
'
ee/app/graphql/mutations/dast/profiles/run.rb'
-
'
ee/app/graphql/mutations/dast/profiles/update.rb'
-
'
ee/app/graphql/mutations/dast_on_demand_scans/create.rb'
-
'
ee/app/graphql/mutations/dast_scanner_profiles/create.rb'
-
'
ee/app/graphql/mutations/dast_scanner_profiles/delete.rb'
-
'
ee/app/graphql/mutations/dast_scanner_profiles/update.rb'
-
'
ee/app/graphql/mutations/dast_site_profiles/create.rb'
-
'
ee/app/graphql/mutations/dast_site_profiles/delete.rb'
-
'
ee/app/graphql/mutations/dast_site_profiles/update.rb'
-
'
ee/app/graphql/mutations/dast_site_tokens/create.rb'
-
'
ee/app/graphql/mutations/dast_site_validations/create.rb'
-
'
ee/app/graphql/mutations/dast_site_validations/revoke.rb'
-
'
ee/app/graphql/mutations/epics/add_issue.rb'
-
'
ee/app/graphql/mutations/epics/base.rb'
-
'
ee/app/graphql/mutations/epics/set_subscription.rb'
-
'
ee/app/graphql/mutations/gitlab_subscriptions/activate.rb'
-
'
ee/app/graphql/mutations/incident_management/escalation_policy/create.rb'
-
'
ee/app/graphql/mutations/incident_management/escalation_policy/update.rb'
-
'
ee/app/graphql/mutations/incident_management/oncall_rotation/create.rb'
-
'
ee/app/graphql/mutations/incident_management/oncall_rotation/destroy.rb'
-
'
ee/app/graphql/mutations/incident_management/oncall_rotation/update.rb'
-
'
ee/app/graphql/mutations/incident_management/oncall_schedule/create.rb'
-
'
ee/app/graphql/mutations/incident_management/oncall_schedule/destroy.rb'
-
'
ee/app/graphql/mutations/incident_management/oncall_schedule/update.rb'
-
'
ee/app/graphql/mutations/issues/common_ee_mutation_arguments.rb'
-
'
ee/app/graphql/mutations/issues/promote_to_epic.rb'
-
'
ee/app/graphql/mutations/issues/set_weight.rb'
-
'
ee/app/graphql/mutations/iterations/cadences/create.rb'
-
'
ee/app/graphql/mutations/iterations/cadences/update.rb'
-
'
ee/app/graphql/mutations/iterations/create.rb'
-
'
ee/app/graphql/mutations/iterations/update.rb'
-
'
ee/app/graphql/mutations/quality_management/test_cases/create.rb'
-
'
ee/app/graphql/mutations/requirements_management/base_requirement.rb'
-
'
ee/app/graphql/mutations/requirements_management/export_requirements.rb'
-
'
ee/app/graphql/mutations/requirements_management/update_requirement.rb'
-
'
ee/app/graphql/mutations/security/ci_configuration/configure_dependency_scanning.rb'
-
'
ee/app/graphql/mutations/security_policy/assign_security_policy_project.rb'
-
'
ee/app/graphql/mutations/security_policy/commit_scan_execution_policy.rb'
-
'
ee/app/graphql/mutations/security_policy/create_security_policy_project.rb'
-
'
ee/app/graphql/mutations/vulnerabilities/dismiss.rb'
-
'
ee/app/graphql/resolvers/alert_management/payload_alert_field_resolver.rb'
-
'
ee/app/graphql/resolvers/alert_management/payload_alert_field_resolver.rb'
-
'
ee/app/graphql/resolvers/clusters/agents_resolver.rb'
-
'
ee/app/graphql/resolvers/clusters/agents_resolver.rb'
-
'
ee/app/graphql/resolvers/concerns/common_requirement_arguments.rb'
-
'
ee/app/graphql/resolvers/concerns/common_requirement_arguments.rb'
...
...
ee/app/graphql/ee/mutations/ci/ci_cd_settings_update.rb
View file @
e472eb2e
...
@@ -8,11 +8,11 @@ module EE
...
@@ -8,11 +8,11 @@ module EE
extend
::
Gitlab
::
Utils
::
Override
extend
::
Gitlab
::
Utils
::
Override
prepended
do
prepended
do
argument
:merge_pipelines_enabled
,
GraphQL
::
BOOLEAN_TYPE
,
argument
:merge_pipelines_enabled
,
GraphQL
::
Types
::
Boolean
,
required:
false
,
required:
false
,
description:
'Indicates if merge pipelines are enabled for the project.'
description:
'Indicates if merge pipelines are enabled for the project.'
argument
:merge_trains_enabled
,
GraphQL
::
BOOLEAN_TYPE
,
argument
:merge_trains_enabled
,
GraphQL
::
Types
::
Boolean
,
required:
false
,
required:
false
,
description:
'Indicates if merge trains are enabled for the project.'
description:
'Indicates if merge trains are enabled for the project.'
end
end
...
...
ee/app/graphql/ee/resolvers/issues_resolver.rb
View file @
e472eb2e
...
@@ -7,16 +7,16 @@ module EE
...
@@ -7,16 +7,16 @@ module EE
extend
::
Gitlab
::
Utils
::
Override
extend
::
Gitlab
::
Utils
::
Override
prepended
do
prepended
do
argument
:iteration_id
,
[
::
GraphQL
::
ID_TYPE
,
null:
true
],
argument
:iteration_id
,
[
::
GraphQL
::
Types
::
ID
,
null:
true
],
required:
false
,
required:
false
,
description:
'List of iteration Global IDs applied to the issue.'
description:
'List of iteration Global IDs applied to the issue.'
argument
:iteration_wildcard_id
,
::
Types
::
IterationWildcardIdEnum
,
argument
:iteration_wildcard_id
,
::
Types
::
IterationWildcardIdEnum
,
required:
false
,
required:
false
,
description:
'Filter by iteration ID wildcard.'
description:
'Filter by iteration ID wildcard.'
argument
:epic_id
,
GraphQL
::
STRING_TYPE
,
argument
:epic_id
,
GraphQL
::
Types
::
String
,
required:
false
,
required:
false
,
description:
'ID of an epic associated with the issues, "none" and "any" values are supported.'
description:
'ID of an epic associated with the issues, "none" and "any" values are supported.'
argument
:weight
,
GraphQL
::
STRING_TYPE
,
argument
:weight
,
GraphQL
::
Types
::
String
,
required:
false
,
required:
false
,
description:
'Weight applied to the issue, "none" and "any" values are supported.'
description:
'Weight applied to the issue, "none" and "any" values are supported.'
end
end
...
...
ee/app/graphql/ee/resolvers/namespace_projects_resolver.rb
View file @
e472eb2e
...
@@ -7,12 +7,12 @@ module EE
...
@@ -7,12 +7,12 @@ module EE
extend
::
Gitlab
::
Utils
::
Override
extend
::
Gitlab
::
Utils
::
Override
prepended
do
prepended
do
argument
:has_code_coverage
,
GraphQL
::
BOOLEAN_TYPE
,
argument
:has_code_coverage
,
GraphQL
::
Types
::
Boolean
,
required:
false
,
required:
false
,
default_value:
false
,
default_value:
false
,
description:
'Returns only the projects which have code coverage.'
description:
'Returns only the projects which have code coverage.'
argument
:has_vulnerabilities
,
GraphQL
::
BOOLEAN_TYPE
,
argument
:has_vulnerabilities
,
GraphQL
::
Types
::
Boolean
,
required:
false
,
required:
false
,
default_value:
false
,
default_value:
false
,
description:
'Returns only the projects which have vulnerabilities.'
description:
'Returns only the projects which have vulnerabilities.'
...
...
ee/app/graphql/ee/types/board_list_type.rb
View file @
e472eb2e
...
@@ -10,15 +10,15 @@ module EE
...
@@ -10,15 +10,15 @@ module EE
description:
'Milestone of the list.'
description:
'Milestone of the list.'
field
:iteration
,
::
Types
::
IterationType
,
null:
true
,
field
:iteration
,
::
Types
::
IterationType
,
null:
true
,
description:
'Iteration of the list.'
description:
'Iteration of the list.'
field
:max_issue_count
,
GraphQL
::
INT_TYPE
,
null:
true
,
field
:max_issue_count
,
GraphQL
::
Types
::
Int
,
null:
true
,
description:
'Maximum number of issues in the list.'
description:
'Maximum number of issues in the list.'
field
:max_issue_weight
,
GraphQL
::
INT_TYPE
,
null:
true
,
field
:max_issue_weight
,
GraphQL
::
Types
::
Int
,
null:
true
,
description:
'Maximum weight of issues in the list.'
description:
'Maximum weight of issues in the list.'
field
:assignee
,
::
Types
::
UserType
,
null:
true
,
field
:assignee
,
::
Types
::
UserType
,
null:
true
,
description:
'Assignee in the list.'
description:
'Assignee in the list.'
field
:limit_metric
,
::
EE
::
Types
::
ListLimitMetricEnum
,
null:
true
,
field
:limit_metric
,
::
EE
::
Types
::
ListLimitMetricEnum
,
null:
true
,
description:
'The current limit metric for the list.'
description:
'The current limit metric for the list.'
field
:total_weight
,
GraphQL
::
INT_TYPE
,
null:
true
,
field
:total_weight
,
GraphQL
::
Types
::
Int
,
null:
true
,
description:
'Total weight of all issues in the list.'
description:
'Total weight of all issues in the list.'
def
milestone
def
milestone
...
...
ee/app/graphql/ee/types/board_type.rb
View file @
e472eb2e
...
@@ -23,7 +23,7 @@ module EE
...
@@ -23,7 +23,7 @@ module EE
field
:iteration
,
type:
::
Types
::
IterationType
,
null:
true
,
field
:iteration
,
type:
::
Types
::
IterationType
,
null:
true
,
description:
'The board iteration.'
description:
'The board iteration.'
field
:weight
,
type:
GraphQL
::
INT_TYPE
,
null:
true
,
field
:weight
,
type:
GraphQL
::
Types
::
Int
,
null:
true
,
description:
'Weight of the board.'
description:
'Weight of the board.'
end
end
end
end
...
...
ee/app/graphql/ee/types/boards/board_issue_input_base_type.rb
View file @
e472eb2e
...
@@ -11,11 +11,11 @@ module EE
...
@@ -11,11 +11,11 @@ module EE
required:
false
,
required:
false
,
description:
'Filter by epic ID. Incompatible with epicWildcardId.'
description:
'Filter by epic ID. Incompatible with epicWildcardId.'
argument
:iteration_title
,
GraphQL
::
STRING_TYPE
,
argument
:iteration_title
,
GraphQL
::
Types
::
String
,
required:
false
,
required:
false
,
description:
'Filter by iteration title.'
description:
'Filter by iteration title.'
argument
:weight
,
GraphQL
::
STRING_TYPE
,
argument
:weight
,
GraphQL
::
Types
::
String
,
required:
false
,
required:
false
,
description:
'Filter by weight.'
description:
'Filter by weight.'
...
...
ee/app/graphql/ee/types/group_type.rb
View file @
e472eb2e
...
@@ -7,7 +7,7 @@ module EE
...
@@ -7,7 +7,7 @@ module EE
prepended
do
prepended
do
%i[epics]
.
each
do
|
feature
|
%i[epics]
.
each
do
|
feature
|
field
"
#{
feature
}
_enabled"
,
GraphQL
::
BOOLEAN_TYPE
,
null:
true
,
field
"
#{
feature
}
_enabled"
,
GraphQL
::
Types
::
Boolean
,
null:
true
,
description:
"Indicates if
#{
feature
.
to_s
.
humanize
}
are enabled for namespace"
description:
"Indicates if
#{
feature
.
to_s
.
humanize
}
are enabled for namespace"
define_method
"
#{
feature
}
_enabled"
do
define_method
"
#{
feature
}
_enabled"
do
...
@@ -83,7 +83,7 @@ module EE
...
@@ -83,7 +83,7 @@ module EE
description:
'Group statistics.'
,
description:
'Group statistics.'
,
method: :itself
method: :itself
field
:billable_members_count
,
::
GraphQL
::
INT_TYPE
,
field
:billable_members_count
,
::
GraphQL
::
Types
::
Int
,
null:
true
,
null:
true
,
description:
'The number of billable users in the group.'
description:
'The number of billable users in the group.'
...
...
ee/app/graphql/ee/types/issue_connection_type.rb
View file @
e472eb2e
...
@@ -6,7 +6,7 @@ module EE
...
@@ -6,7 +6,7 @@ module EE
extend
ActiveSupport
::
Concern
extend
ActiveSupport
::
Concern
prepended
do
prepended
do
field
:weight
,
GraphQL
::
INT_TYPE
,
null:
false
,
description:
'Total weight of issues collection.'
field
:weight
,
GraphQL
::
Types
::
Int
,
null:
false
,
description:
'Total weight of issues collection.'
end
end
def
weight
def
weight
...
...
ee/app/graphql/ee/types/issue_type.rb
View file @
e472eb2e
...
@@ -12,17 +12,17 @@ module EE
...
@@ -12,17 +12,17 @@ module EE
field
:iteration
,
::
Types
::
IterationType
,
null:
true
,
field
:iteration
,
::
Types
::
IterationType
,
null:
true
,
description:
'Iteration of the issue.'
description:
'Iteration of the issue.'
field
:weight
,
GraphQL
::
INT_TYPE
,
null:
true
,
field
:weight
,
GraphQL
::
Types
::
Int
,
null:
true
,
description:
'Weight of the issue.'
description:
'Weight of the issue.'
field
:blocked
,
GraphQL
::
BOOLEAN_TYPE
,
null:
false
,
field
:blocked
,
GraphQL
::
Types
::
Boolean
,
null:
false
,
description:
'Indicates the issue is blocked.'
description:
'Indicates the issue is blocked.'
field
:blocking_count
,
GraphQL
::
INT_TYPE
,
null:
false
,
field
:blocking_count
,
GraphQL
::
Types
::
Int
,
null:
false
,
method: :blocking_issues_count
,
method: :blocking_issues_count
,
description:
'Count of issues this issue is blocking.'
description:
'Count of issues this issue is blocking.'
field
:blocked_by_count
,
GraphQL
::
INT_TYPE
,
null:
true
,
field
:blocked_by_count
,
GraphQL
::
Types
::
Int
,
null:
true
,
description:
'Count of issues blocking this issue.'
description:
'Count of issues blocking this issue.'
field
:blocked_by_issues
,
::
Types
::
IssueType
.
connection_type
,
null:
true
,
field
:blocked_by_issues
,
::
Types
::
IssueType
.
connection_type
,
null:
true
,
...
@@ -32,7 +32,7 @@ module EE
...
@@ -32,7 +32,7 @@ module EE
field
:health_status
,
::
Types
::
HealthStatusEnum
,
null:
true
,
field
:health_status
,
::
Types
::
HealthStatusEnum
,
null:
true
,
description:
'Current health status.'
description:
'Current health status.'
field
:status_page_published_incident
,
GraphQL
::
BOOLEAN_TYPE
,
null:
true
,
field
:status_page_published_incident
,
GraphQL
::
Types
::
Boolean
,
null:
true
,
description:
'Indicates whether an issue is published to the status page.'
description:
'Indicates whether an issue is published to the status page.'
field
:sla_due_at
,
::
Types
::
TimeType
,
null:
true
,
field
:sla_due_at
,
::
Types
::
TimeType
,
null:
true
,
...
...
ee/app/graphql/ee/types/issues/negated_issue_filter_input_type.rb
View file @
e472eb2e
...
@@ -7,13 +7,13 @@ module EE
...
@@ -7,13 +7,13 @@ module EE
extend
ActiveSupport
::
Concern
extend
ActiveSupport
::
Concern
prepended
do
prepended
do
argument
:epic_id
,
GraphQL
::
STRING_TYPE
,
argument
:epic_id
,
GraphQL
::
Types
::
String
,
required:
false
,
required:
false
,
description:
'ID of an epic not associated with the issues.'
description:
'ID of an epic not associated with the issues.'
argument
:weight
,
GraphQL
::
STRING_TYPE
,
argument
:weight
,
GraphQL
::
Types
::
String
,
required:
false
,
required:
false
,
description:
'Weight not applied to the issue.'
description:
'Weight not applied to the issue.'
argument
:iteration_id
,
[
::
GraphQL
::
ID_TYPE
],
argument
:iteration_id
,
[
::
GraphQL
::
Types
::
ID
],
required:
false
,
required:
false
,
description:
'List of iteration Global IDs not applied to the issue.'
description:
'List of iteration Global IDs not applied to the issue.'
argument
:iteration_wildcard_id
,
::
Types
::
IterationWildcardIdEnum
,
argument
:iteration_wildcard_id
,
::
Types
::
IterationWildcardIdEnum
,
...
...
ee/app/graphql/ee/types/merge_request_type.rb
View file @
e472eb2e
...
@@ -6,20 +6,20 @@ module EE
...
@@ -6,20 +6,20 @@ module EE
extend
ActiveSupport
::
Concern
extend
ActiveSupport
::
Concern
prepended
do
prepended
do
field
:approved
,
GraphQL
::
BOOLEAN_TYPE
,
method: :approved?
,
null:
false
,
calls_gitaly:
true
,
field
:approved
,
GraphQL
::
Types
::
Boolean
,
method: :approved?
,
null:
false
,
calls_gitaly:
true
,
description:
'Indicates if the merge request has all the required approvals. Returns true if no required approvals are configured.'
description:
'Indicates if the merge request has all the required approvals. Returns true if no required approvals are configured.'
field
:approvals_left
,
GraphQL
::
INT_TYPE
,
null:
true
,
calls_gitaly:
true
,
field
:approvals_left
,
GraphQL
::
Types
::
Int
,
null:
true
,
calls_gitaly:
true
,
description:
'Number of approvals left.'
description:
'Number of approvals left.'
field
:approvals_required
,
GraphQL
::
INT_TYPE
,
null:
true
,
field
:approvals_required
,
GraphQL
::
Types
::
Int
,
null:
true
,
description:
'Number of approvals required.'
description:
'Number of approvals required.'
field
:merge_trains_count
,
GraphQL
::
INT_TYPE
,
null:
true
,
field
:merge_trains_count
,
GraphQL
::
Types
::
Int
,
null:
true
,
description:
'Number of merge requests in the merge train.'
description:
'Number of merge requests in the merge train.'
field
:has_security_reports
,
GraphQL
::
BOOLEAN_TYPE
,
field
:has_security_reports
,
GraphQL
::
Types
::
Boolean
,
null:
false
,
calls_gitaly:
true
,
null:
false
,
calls_gitaly:
true
,
method: :has_security_reports?
,
method: :has_security_reports?
,
description:
'Indicates if the source branch has any security reports.'
description:
'Indicates if the source branch has any security reports.'
field
:security_reports_up_to_date_on_target_branch
,
GraphQL
::
BOOLEAN_TYPE
,
field
:security_reports_up_to_date_on_target_branch
,
GraphQL
::
Types
::
Boolean
,
null:
false
,
calls_gitaly:
true
,
null:
false
,
calls_gitaly:
true
,
method: :security_reports_up_to_date?
,
method: :security_reports_up_to_date?
,
description:
'Indicates if the target branch security reports are out of date.'
description:
'Indicates if the target branch security reports are out of date.'
...
...
ee/app/graphql/ee/types/namespace_type.rb
View file @
e472eb2e
...
@@ -22,13 +22,13 @@ module EE
...
@@ -22,13 +22,13 @@ module EE
description:
'Total repository size of all projects in the root namespace in bytes.'
description:
'Total repository size of all projects in the root namespace in bytes.'
field
:contains_locked_projects
,
field
:contains_locked_projects
,
GraphQL
::
BOOLEAN_TYPE
,
GraphQL
::
Types
::
Boolean
,
null:
false
,
null:
false
,
description:
'Includes at least one project where the repository size exceeds the limit.'
,
description:
'Includes at least one project where the repository size exceeds the limit.'
,
method: :contains_locked_projects?
method: :contains_locked_projects?
field
:repository_size_excess_project_count
,
field
:repository_size_excess_project_count
,
GraphQL
::
INT_TYPE
,
GraphQL
::
Types
::
Int
,
null:
false
,
null:
false
,
description:
'Number of projects in the root namespace where the repository size exceeds the limit.'
description:
'Number of projects in the root namespace where the repository size exceeds the limit.'
...
@@ -44,7 +44,7 @@ module EE
...
@@ -44,7 +44,7 @@ module EE
description:
'Total storage limit of the root namespace in bytes.'
description:
'Total storage limit of the root namespace in bytes.'
field
:is_temporary_storage_increase_enabled
,
field
:is_temporary_storage_increase_enabled
,
GraphQL
::
BOOLEAN_TYPE
,
GraphQL
::
Types
::
Boolean
,
null:
false
,
null:
false
,
description:
'Status of the temporary storage increase.'
,
description:
'Status of the temporary storage increase.'
,
method: :temporary_storage_increase_enabled?
method: :temporary_storage_increase_enabled?
...
...
ee/app/graphql/ee/types/project_type.rb
View file @
e472eb2e
...
@@ -48,7 +48,7 @@ module EE
...
@@ -48,7 +48,7 @@ module EE
description:
'Compliance frameworks associated with the project.'
,
description:
'Compliance frameworks associated with the project.'
,
null:
true
null:
true
field
:security_dashboard_path
,
GraphQL
::
STRING_TYPE
,
field
:security_dashboard_path
,
GraphQL
::
Types
::
String
,
description:
"Path to project's security dashboard."
,
description:
"Path to project's security dashboard."
,
null:
true
null:
true
...
...
ee/app/graphql/mutations/app_sec/fuzzing/api/ci_configuration/create.rb
View file @
e472eb2e
...
@@ -10,20 +10,20 @@ module Mutations
...
@@ -10,20 +10,20 @@ module Mutations
graphql_name
'ApiFuzzingCiConfigurationCreate'
graphql_name
'ApiFuzzingCiConfigurationCreate'
argument
:project_path
,
GraphQL
::
ID_TYPE
,
argument
:project_path
,
GraphQL
::
Types
::
ID
,
required:
true
,
required:
true
,
description:
'Full path of the project.'
description:
'Full path of the project.'
argument
:api_specification_file
,
GraphQL
::
STRING_TYPE
,
argument
:api_specification_file
,
GraphQL
::
Types
::
String
,
required:
true
,
required:
true
,
description:
'File path or URL to the file that defines the API surface for scanning. '
\
description:
'File path or URL to the file that defines the API surface for scanning. '
\
'Must be in the format specified by the `scanMode` argument.'
'Must be in the format specified by the `scanMode` argument.'
argument
:auth_password
,
GraphQL
::
STRING_TYPE
,
argument
:auth_password
,
GraphQL
::
Types
::
String
,
required:
false
,
required:
false
,
description:
'CI variable containing the password for authenticating with the target API.'
description:
'CI variable containing the password for authenticating with the target API.'
argument
:auth_username
,
GraphQL
::
STRING_TYPE
,
argument
:auth_username
,
GraphQL
::
Types
::
String
,
required:
false
,
required:
false
,
description:
'CI variable containing the username for authenticating with the target API.'
description:
'CI variable containing the username for authenticating with the target API.'
...
@@ -31,20 +31,20 @@ module Mutations
...
@@ -31,20 +31,20 @@ module Mutations
required:
true
,
required:
true
,
description:
'The mode for API fuzzing scans.'
description:
'The mode for API fuzzing scans.'
argument
:scan_profile
,
GraphQL
::
STRING_TYPE
,
argument
:scan_profile
,
GraphQL
::
Types
::
String
,
required:
false
,
required:
false
,
description:
'Name of a default profile to use for scanning. Ex: Quick-10.'
description:
'Name of a default profile to use for scanning. Ex: Quick-10.'
argument
:target
,
GraphQL
::
STRING_TYPE
,
argument
:target
,
GraphQL
::
Types
::
String
,
required:
true
,
required:
true
,
description:
'URL for the target of API fuzzing scans.'
description:
'URL for the target of API fuzzing scans.'
field
:configuration_yaml
,
GraphQL
::
STRING_TYPE
,
field
:configuration_yaml
,
GraphQL
::
Types
::
String
,
null:
true
,
null:
true
,
description:
"A YAML snippet that can be inserted into the project's "
\
description:
"A YAML snippet that can be inserted into the project's "
\
'`.gitlab-ci.yml` to set up API fuzzing scans.'
'`.gitlab-ci.yml` to set up API fuzzing scans.'
field
:gitlab_ci_yaml_edit_path
,
GraphQL
::
STRING_TYPE
,
field
:gitlab_ci_yaml_edit_path
,
GraphQL
::
Types
::
String
,
null:
true
,
null:
true
,
description:
"The location at which the project's `.gitlab-ci.yml` file can be edited in the browser."
description:
"The location at which the project's `.gitlab-ci.yml` file can be edited in the browser."
...
...
ee/app/graphql/mutations/boards/epic_boards/create.rb
View file @
e472eb2e
...
@@ -12,7 +12,7 @@ module Mutations
...
@@ -12,7 +12,7 @@ module Mutations
authorize
:admin_epic_board
authorize
:admin_epic_board
argument
:group_path
,
GraphQL
::
ID_TYPE
,
argument
:group_path
,
GraphQL
::
Types
::
ID
,
required:
false
,
required:
false
,
description:
'Full path of the group with which the resource is associated.'
description:
'Full path of the group with which the resource is associated.'
...
...
ee/app/graphql/mutations/boards/epics/create.rb
View file @
e472eb2e
...
@@ -8,7 +8,7 @@ module Mutations
...
@@ -8,7 +8,7 @@ module Mutations
graphql_name
'BoardEpicCreate'
graphql_name
'BoardEpicCreate'
argument
:group_path
,
GraphQL
::
ID_TYPE
,
argument
:group_path
,
GraphQL
::
Types
::
ID
,
required:
true
,
required:
true
,
description:
'Group the epic to create is in.'
description:
'Group the epic to create is in.'
...
@@ -21,7 +21,7 @@ module Mutations
...
@@ -21,7 +21,7 @@ module Mutations
description:
'Global ID of the epic board list in which epic will be created.'
description:
'Global ID of the epic board list in which epic will be created.'
argument
:title
,
argument
:title
,
GraphQL
::
STRING_TYPE
,
GraphQL
::
Types
::
String
,
required:
true
,
required:
true
,
description:
'Title of the epic.'
description:
'Title of the epic.'
...
...
ee/app/graphql/mutations/boards/lists/update_limit_metrics.rb
View file @
e472eb2e
...
@@ -17,12 +17,12 @@ module Mutations
...
@@ -17,12 +17,12 @@ module Mutations
description:
'The new limit metric type for the list.'
description:
'The new limit metric type for the list.'
argument
:max_issue_count
,
argument
:max_issue_count
,
GraphQL
::
INT_TYPE
,
GraphQL
::
Types
::
Int
,
required:
false
,
required:
false
,
description:
'The new maximum issue count limit.'
description:
'The new maximum issue count limit.'
argument
:max_issue_weight
,
argument
:max_issue_weight
,
GraphQL
::
INT_TYPE
,
GraphQL
::
Types
::
Int
,
required:
false
,
required:
false
,
description:
'The new maximum issue weight limit.'
description:
'The new maximum issue weight limit.'
...
...
ee/app/graphql/mutations/boards/scoped_board_mutation.rb
View file @
e472eb2e
...
@@ -6,7 +6,7 @@ module Mutations
...
@@ -6,7 +6,7 @@ module Mutations
extend
ActiveSupport
::
Concern
extend
ActiveSupport
::
Concern
prepended
do
prepended
do
argument
:labels
,
[
GraphQL
::
STRING_TYPE
],
argument
:labels
,
[
GraphQL
::
Types
::
String
],
required:
false
,
required:
false
,
description:
copy_field_description
(
::
Types
::
IssueType
,
:labels
)
description:
copy_field_description
(
::
Types
::
IssueType
,
:labels
)
...
...
ee/app/graphql/mutations/boards/scoped_issue_board_arguments.rb
View file @
e472eb2e
...
@@ -26,7 +26,7 @@ module Mutations
...
@@ -26,7 +26,7 @@ module Mutations
description:
'ID of iteration to be assigned to the board.'
description:
'ID of iteration to be assigned to the board.'
argument
:weight
,
argument
:weight
,
GraphQL
::
INT_TYPE
,
GraphQL
::
Types
::
Int
,
required:
false
,
required:
false
,
description:
'Weight value to be assigned to the board.'
description:
'Weight value to be assigned to the board.'
end
end
...
...
ee/app/graphql/mutations/boards/update_epic_user_preferences.rb
View file @
e472eb2e
...
@@ -16,7 +16,7 @@ module Mutations
...
@@ -16,7 +16,7 @@ module Mutations
description:
'ID of an epic to set preferences for.'
description:
'ID of an epic to set preferences for.'
argument
:collapsed
,
argument
:collapsed
,
GraphQL
::
BOOLEAN_TYPE
,
GraphQL
::
Types
::
Boolean
,
required:
true
,
required:
true
,
description:
'Whether the epic should be collapsed in the board.'
description:
'Whether the epic should be collapsed in the board.'
...
...
ee/app/graphql/mutations/clusters/agent_tokens/create.rb
View file @
e472eb2e
...
@@ -16,17 +16,17 @@ module Mutations
...
@@ -16,17 +16,17 @@ module Mutations
description:
'Global ID of the cluster agent that will be associated with the new token.'
description:
'Global ID of the cluster agent that will be associated with the new token.'
argument
:description
,
argument
:description
,
GraphQL
::
STRING_TYPE
,
GraphQL
::
Types
::
String
,
required:
false
,
required:
false
,
description:
'Description of the token.'
description:
'Description of the token.'
argument
:name
,
argument
:name
,
GraphQL
::
STRING_TYPE
,
GraphQL
::
Types
::
String
,
required:
true
,
required:
true
,
description:
'Name of the token.'
description:
'Name of the token.'
field
:secret
,
field
:secret
,
GraphQL
::
STRING_TYPE
,
GraphQL
::
Types
::
String
,
null:
true
,
null:
true
,
description:
"Token secret value. Make sure you save it - you won't be able to access it again."
description:
"Token secret value. Make sure you save it - you won't be able to access it again."
...
...
ee/app/graphql/mutations/clusters/agents/create.rb
View file @
e472eb2e
...
@@ -10,11 +10,11 @@ module Mutations
...
@@ -10,11 +10,11 @@ module Mutations
graphql_name
'CreateClusterAgent'
graphql_name
'CreateClusterAgent'
argument
:project_path
,
GraphQL
::
ID_TYPE
,
argument
:project_path
,
GraphQL
::
Types
::
ID
,
required:
true
,
required:
true
,
description:
'Full path of the associated project for this cluster agent.'
description:
'Full path of the associated project for this cluster agent.'
argument
:name
,
GraphQL
::
STRING_TYPE
,
argument
:name
,
GraphQL
::
Types
::
String
,
required:
true
,
required:
true
,
description:
'Name of the cluster agent.'
description:
'Name of the cluster agent.'
...
...
ee/app/graphql/mutations/compliance_management/frameworks/create.rb
View file @
e472eb2e
...
@@ -11,7 +11,7 @@ module Mutations
...
@@ -11,7 +11,7 @@ module Mutations
null:
true
,
null:
true
,
description:
'The created compliance framework.'
description:
'The created compliance framework.'
argument
:namespace_path
,
GraphQL
::
ID_TYPE
,
argument
:namespace_path
,
GraphQL
::
Types
::
ID
,
required:
true
,
required:
true
,
description:
'Full path of the namespace to add the compliance framework to.'
description:
'Full path of the namespace to add the compliance framework to.'
...
...
ee/app/graphql/mutations/concerns/mutations/shared_epic_arguments.rb
View file @
e472eb2e
...
@@ -5,50 +5,50 @@ module Mutations
...
@@ -5,50 +5,50 @@ module Mutations
extend
ActiveSupport
::
Concern
extend
ActiveSupport
::
Concern
prepended
do
prepended
do
argument
:group_path
,
GraphQL
::
ID_TYPE
,
argument
:group_path
,
GraphQL
::
Types
::
ID
,
required:
true
,
required:
true
,
description:
"The group the epic to mutate is in."
description:
"The group the epic to mutate is in."
argument
:title
,
argument
:title
,
GraphQL
::
STRING_TYPE
,
GraphQL
::
Types
::
String
,
required:
false
,
required:
false
,
description:
'The title of the epic.'
description:
'The title of the epic.'
argument
:description
,
argument
:description
,
GraphQL
::
STRING_TYPE
,
GraphQL
::
Types
::
String
,
required:
false
,
required:
false
,
description:
'The description of the epic.'
description:
'The description of the epic.'
argument
:confidential
,
argument
:confidential
,
GraphQL
::
BOOLEAN_TYPE
,
GraphQL
::
Types
::
Boolean
,
required:
false
,
required:
false
,
description:
'Indicates if the epic is confidential.'
description:
'Indicates if the epic is confidential.'
argument
:start_date_fixed
,
argument
:start_date_fixed
,
GraphQL
::
STRING_TYPE
,
GraphQL
::
Types
::
String
,
required:
false
,
required:
false
,
description:
'The start date of the epic.'
description:
'The start date of the epic.'
argument
:due_date_fixed
,
argument
:due_date_fixed
,
GraphQL
::
STRING_TYPE
,
GraphQL
::
Types
::
String
,
required:
false
,
required:
false
,
description:
'The end date of the epic.'
description:
'The end date of the epic.'
argument
:start_date_is_fixed
,
argument
:start_date_is_fixed
,
GraphQL
::
BOOLEAN_TYPE
,
GraphQL
::
Types
::
Boolean
,
required:
false
,
required:
false
,
description:
'Indicates start date should be sourced from start_date_fixed field not the issue milestones.'
description:
'Indicates start date should be sourced from start_date_fixed field not the issue milestones.'
argument
:due_date_is_fixed
,
argument
:due_date_is_fixed
,
GraphQL
::
BOOLEAN_TYPE
,
GraphQL
::
Types
::
Boolean
,
required:
false
,
required:
false
,
description:
'Indicates end date should be sourced from due_date_fixed field not the issue milestones.'
description:
'Indicates end date should be sourced from due_date_fixed field not the issue milestones.'
argument
:add_label_ids
,
argument
:add_label_ids
,
[
GraphQL
::
ID_TYPE
],
[
GraphQL
::
Types
::
ID
],
required:
false
,
required:
false
,
description:
'The IDs of labels to be added to the epic.'
description:
'The IDs of labels to be added to the epic.'
argument
:remove_label_ids
,
argument
:remove_label_ids
,
[
GraphQL
::
ID_TYPE
],
[
GraphQL
::
Types
::
ID
],
required:
false
,
required:
false
,
description:
'The IDs of labels to be removed from the epic.'
description:
'The IDs of labels to be removed from the epic.'
end
end
...
...
ee/app/graphql/mutations/dast/profiles/create.rb
View file @
e472eb2e
...
@@ -12,24 +12,24 @@ module Mutations
...
@@ -12,24 +12,24 @@ module Mutations
null:
true
,
null:
true
,
description:
'The created profile.'
description:
'The created profile.'
field
:pipeline_url
,
GraphQL
::
STRING_TYPE
,
field
:pipeline_url
,
GraphQL
::
Types
::
String
,
null:
true
,
null:
true
,
description:
'The URL of the pipeline that was created. Requires `runAfterCreate` to be set to `true`.'
description:
'The URL of the pipeline that was created. Requires `runAfterCreate` to be set to `true`.'
argument
:full_path
,
GraphQL
::
ID_TYPE
,
argument
:full_path
,
GraphQL
::
Types
::
ID
,
required:
true
,
required:
true
,
description:
'The project the profile belongs to.'
description:
'The project the profile belongs to.'
argument
:name
,
GraphQL
::
STRING_TYPE
,
argument
:name
,
GraphQL
::
Types
::
String
,
required:
true
,
required:
true
,
description:
'The name of the profile.'
description:
'The name of the profile.'
argument
:description
,
GraphQL
::
STRING_TYPE
,
argument
:description
,
GraphQL
::
Types
::
String
,
required:
false
,
required:
false
,
description:
'The description of the profile. Defaults to an empty string.'
,
description:
'The description of the profile. Defaults to an empty string.'
,
default_value:
''
default_value:
''
argument
:branch_name
,
GraphQL
::
STRING_TYPE
,
argument
:branch_name
,
GraphQL
::
Types
::
String
,
required:
false
,
required:
false
,
description:
'The associated branch.'
description:
'The associated branch.'
...
@@ -41,7 +41,7 @@ module Mutations
...
@@ -41,7 +41,7 @@ module Mutations
required:
true
,
required:
true
,
description:
'ID of the scanner profile to be associated.'
description:
'ID of the scanner profile to be associated.'
argument
:run_after_create
,
GraphQL
::
BOOLEAN_TYPE
,
argument
:run_after_create
,
GraphQL
::
Types
::
Boolean
,
required:
false
,
required:
false
,
description:
'Run scan using profile after creation. Defaults to false.'
,
description:
'Run scan using profile after creation. Defaults to false.'
,
default_value:
false
default_value:
false
...
...
ee/app/graphql/mutations/dast/profiles/run.rb
View file @
e472eb2e
...
@@ -10,11 +10,11 @@ module Mutations
...
@@ -10,11 +10,11 @@ module Mutations
ProfileID
=
::
Types
::
GlobalIDType
[
::
Dast
::
Profile
]
ProfileID
=
::
Types
::
GlobalIDType
[
::
Dast
::
Profile
]
field
:pipeline_url
,
GraphQL
::
STRING_TYPE
,
field
:pipeline_url
,
GraphQL
::
Types
::
String
,
null:
true
,
null:
true
,
description:
'URL of the pipeline that was created.'
description:
'URL of the pipeline that was created.'
argument
:full_path
,
GraphQL
::
ID_TYPE
,
argument
:full_path
,
GraphQL
::
Types
::
ID
,
required:
true
,
required:
true
,
description:
'Full path for the project the scanner profile belongs to.'
description:
'Full path for the project the scanner profile belongs to.'
...
...
ee/app/graphql/mutations/dast/profiles/update.rb
View file @
e472eb2e
...
@@ -16,7 +16,7 @@ module Mutations
...
@@ -16,7 +16,7 @@ module Mutations
null:
true
,
null:
true
,
description:
'The updated profile.'
description:
'The updated profile.'
field
:pipeline_url
,
GraphQL
::
STRING_TYPE
,
field
:pipeline_url
,
GraphQL
::
Types
::
String
,
null:
true
,
null:
true
,
description:
'The URL of the pipeline that was created. Requires the input '
\
description:
'The URL of the pipeline that was created. Requires the input '
\
'argument `runAfterUpdate` to be set to `true` when calling the '
\
'argument `runAfterUpdate` to be set to `true` when calling the '
\
...
@@ -26,20 +26,20 @@ module Mutations
...
@@ -26,20 +26,20 @@ module Mutations
required:
true
,
required:
true
,
description:
'ID of the profile to be deleted.'
description:
'ID of the profile to be deleted.'
argument
:full_path
,
GraphQL
::
ID_TYPE
,
argument
:full_path
,
GraphQL
::
Types
::
ID
,
required:
true
,
required:
true
,
description:
'The project the profile belongs to.'
description:
'The project the profile belongs to.'
argument
:name
,
GraphQL
::
STRING_TYPE
,
argument
:name
,
GraphQL
::
Types
::
String
,
required:
false
,
required:
false
,
description:
'The name of the profile.'
description:
'The name of the profile.'
argument
:description
,
GraphQL
::
STRING_TYPE
,
argument
:description
,
GraphQL
::
Types
::
String
,
required:
false
,
required:
false
,
description:
'The description of the profile. Defaults to an empty string.'
,
description:
'The description of the profile. Defaults to an empty string.'
,
default_value:
''
default_value:
''
argument
:branch_name
,
GraphQL
::
STRING_TYPE
,
argument
:branch_name
,
GraphQL
::
Types
::
String
,
required:
false
,
required:
false
,
description:
'The associated branch.'
description:
'The associated branch.'
...
@@ -51,7 +51,7 @@ module Mutations
...
@@ -51,7 +51,7 @@ module Mutations
required:
false
,
required:
false
,
description:
'ID of the scanner profile to be associated.'
description:
'ID of the scanner profile to be associated.'
argument
:run_after_update
,
GraphQL
::
BOOLEAN_TYPE
,
argument
:run_after_update
,
GraphQL
::
Types
::
Boolean
,
required:
false
,
required:
false
,
description:
'Run scan using profile after update. Defaults to false.'
,
description:
'Run scan using profile after update. Defaults to false.'
,
default_value:
false
default_value:
false
...
...
ee/app/graphql/mutations/dast_on_demand_scans/create.rb
View file @
e472eb2e
...
@@ -9,11 +9,11 @@ module Mutations
...
@@ -9,11 +9,11 @@ module Mutations
graphql_name
'DastOnDemandScanCreate'
graphql_name
'DastOnDemandScanCreate'
field
:pipeline_url
,
GraphQL
::
STRING_TYPE
,
field
:pipeline_url
,
GraphQL
::
Types
::
String
,
null:
true
,
null:
true
,
description:
'URL of the pipeline that was created.'
description:
'URL of the pipeline that was created.'
argument
:full_path
,
GraphQL
::
ID_TYPE
,
argument
:full_path
,
GraphQL
::
Types
::
ID
,
required:
true
,
required:
true
,
description:
'The project the site profile belongs to.'
description:
'The project the site profile belongs to.'
...
...
ee/app/graphql/mutations/dast_scanner_profiles/create.rb
View file @
e472eb2e
...
@@ -11,19 +11,19 @@ module Mutations
...
@@ -11,19 +11,19 @@ module Mutations
null:
true
,
null:
true
,
description:
'ID of the scanner profile.'
description:
'ID of the scanner profile.'
argument
:full_path
,
GraphQL
::
ID_TYPE
,
argument
:full_path
,
GraphQL
::
Types
::
ID
,
required:
true
,
required:
true
,
description:
'The project the scanner profile belongs to.'
description:
'The project the scanner profile belongs to.'
argument
:profile_name
,
GraphQL
::
STRING_TYPE
,
argument
:profile_name
,
GraphQL
::
Types
::
String
,
required:
true
,
required:
true
,
description:
'The name of the scanner profile.'
description:
'The name of the scanner profile.'
argument
:spider_timeout
,
GraphQL
::
INT_TYPE
,
argument
:spider_timeout
,
GraphQL
::
Types
::
Int
,
required:
false
,
required:
false
,
description:
'The maximum number of minutes allowed for the spider to traverse the site.'
description:
'The maximum number of minutes allowed for the spider to traverse the site.'
argument
:target_timeout
,
GraphQL
::
INT_TYPE
,
argument
:target_timeout
,
GraphQL
::
Types
::
Int
,
required:
false
,
required:
false
,
description:
'The maximum number of seconds allowed for the site under test to respond to a request.'
description:
'The maximum number of seconds allowed for the site under test to respond to a request.'
...
@@ -33,13 +33,13 @@ module Mutations
...
@@ -33,13 +33,13 @@ module Mutations
'Either a Passive Scan or an Active Scan.'
,
'Either a Passive Scan or an Active Scan.'
,
default_value:
'passive'
default_value:
'passive'
argument
:use_ajax_spider
,
GraphQL
::
BOOLEAN_TYPE
,
argument
:use_ajax_spider
,
GraphQL
::
Types
::
Boolean
,
required:
false
,
required:
false
,
description:
'Indicates if the AJAX spider should be used to crawl the target site. '
\
description:
'Indicates if the AJAX spider should be used to crawl the target site. '
\
'True to run the AJAX spider in addition to the traditional spider, and false to run only the traditional spider.'
,
'True to run the AJAX spider in addition to the traditional spider, and false to run only the traditional spider.'
,
default_value:
false
default_value:
false
argument
:show_debug_messages
,
GraphQL
::
BOOLEAN_TYPE
,
argument
:show_debug_messages
,
GraphQL
::
Types
::
Boolean
,
required:
false
,
required:
false
,
description:
'Indicates if debug messages should be included in DAST console output. '
\
description:
'Indicates if debug messages should be included in DAST console output. '
\
'True to include the debug messages.'
,
'True to include the debug messages.'
,
...
...
ee/app/graphql/mutations/dast_scanner_profiles/delete.rb
View file @
e472eb2e
...
@@ -9,7 +9,7 @@ module Mutations
...
@@ -9,7 +9,7 @@ module Mutations
ScannerProfileID
=
::
Types
::
GlobalIDType
[
::
DastScannerProfile
]
ScannerProfileID
=
::
Types
::
GlobalIDType
[
::
DastScannerProfile
]
argument
:full_path
,
GraphQL
::
ID_TYPE
,
argument
:full_path
,
GraphQL
::
Types
::
ID
,
required:
true
,
required:
true
,
description:
'Full path for the project the scanner profile belongs to.'
description:
'Full path for the project the scanner profile belongs to.'
...
...
ee/app/graphql/mutations/dast_scanner_profiles/update.rb
View file @
e472eb2e
...
@@ -11,7 +11,7 @@ module Mutations
...
@@ -11,7 +11,7 @@ module Mutations
null:
true
,
null:
true
,
description:
'ID of the scanner profile.'
description:
'ID of the scanner profile.'
argument
:full_path
,
GraphQL
::
ID_TYPE
,
argument
:full_path
,
GraphQL
::
Types
::
ID
,
required:
true
,
required:
true
,
description:
'The project the scanner profile belongs to.'
description:
'The project the scanner profile belongs to.'
...
@@ -19,15 +19,15 @@ module Mutations
...
@@ -19,15 +19,15 @@ module Mutations
required:
true
,
required:
true
,
description:
'ID of the scanner profile to be updated.'
description:
'ID of the scanner profile to be updated.'
argument
:profile_name
,
GraphQL
::
STRING_TYPE
,
argument
:profile_name
,
GraphQL
::
Types
::
String
,
required:
true
,
required:
true
,
description:
'The name of the scanner profile.'
description:
'The name of the scanner profile.'
argument
:spider_timeout
,
GraphQL
::
INT_TYPE
,
argument
:spider_timeout
,
GraphQL
::
Types
::
Int
,
required:
true
,
required:
true
,
description:
'The maximum number of minutes allowed for the spider to traverse the site.'
description:
'The maximum number of minutes allowed for the spider to traverse the site.'
argument
:target_timeout
,
GraphQL
::
INT_TYPE
,
argument
:target_timeout
,
GraphQL
::
Types
::
Int
,
required:
true
,
required:
true
,
description:
'The maximum number of seconds allowed for the site under test to respond to a request.'
description:
'The maximum number of seconds allowed for the site under test to respond to a request.'
...
@@ -36,12 +36,12 @@ module Mutations
...
@@ -36,12 +36,12 @@ module Mutations
description:
'Indicates the type of DAST scan that will run. '
\
description:
'Indicates the type of DAST scan that will run. '
\
'Either a Passive Scan or an Active Scan.'
'Either a Passive Scan or an Active Scan.'
argument
:use_ajax_spider
,
GraphQL
::
BOOLEAN_TYPE
,
argument
:use_ajax_spider
,
GraphQL
::
Types
::
Boolean
,
required:
false
,
required:
false
,
description:
'Indicates if the AJAX spider should be used to crawl the target site. '
\
description:
'Indicates if the AJAX spider should be used to crawl the target site. '
\
'True to run the AJAX spider in addition to the traditional spider, and false to run only the traditional spider.'
'True to run the AJAX spider in addition to the traditional spider, and false to run only the traditional spider.'
argument
:show_debug_messages
,
GraphQL
::
BOOLEAN_TYPE
,
argument
:show_debug_messages
,
GraphQL
::
Types
::
Boolean
,
required:
false
,
required:
false
,
description:
'Indicates if debug messages should be included in DAST console output. '
\
description:
'Indicates if debug messages should be included in DAST console output. '
\
'True to include the debug messages.'
'True to include the debug messages.'
...
...
ee/app/graphql/mutations/dast_site_profiles/create.rb
View file @
e472eb2e
...
@@ -11,15 +11,15 @@ module Mutations
...
@@ -11,15 +11,15 @@ module Mutations
null:
true
,
null:
true
,
description:
'ID of the site profile.'
description:
'ID of the site profile.'
argument
:full_path
,
GraphQL
::
ID_TYPE
,
argument
:full_path
,
GraphQL
::
Types
::
ID
,
required:
true
,
required:
true
,
description:
'The project the site profile belongs to.'
description:
'The project the site profile belongs to.'
argument
:profile_name
,
GraphQL
::
STRING_TYPE
,
argument
:profile_name
,
GraphQL
::
Types
::
String
,
required:
true
,
required:
true
,
description:
'The name of the site profile.'
description:
'The name of the site profile.'
argument
:target_url
,
GraphQL
::
STRING_TYPE
,
argument
:target_url
,
GraphQL
::
Types
::
String
,
required:
false
,
required:
false
,
description:
'The URL of the target to be scanned.'
description:
'The URL of the target to be scanned.'
...
@@ -27,12 +27,12 @@ module Mutations
...
@@ -27,12 +27,12 @@ module Mutations
required:
false
,
required:
false
,
description:
'The type of target to be scanned.'
description:
'The type of target to be scanned.'
argument
:excluded_urls
,
[
GraphQL
::
STRING_TYPE
],
argument
:excluded_urls
,
[
GraphQL
::
Types
::
String
],
required:
false
,
required:
false
,
default_value:
[],
default_value:
[],
description:
'The URLs to skip during an authenticated scan. Defaults to `[]`.'
description:
'The URLs to skip during an authenticated scan. Defaults to `[]`.'
argument
:request_headers
,
GraphQL
::
STRING_TYPE
,
argument
:request_headers
,
GraphQL
::
Types
::
String
,
required:
false
,
required:
false
,
description:
'Comma-separated list of request header names and values to be '
\
description:
'Comma-separated list of request header names and values to be '
\
'added to every request made by DAST.'
'added to every request made by DAST.'
...
...
ee/app/graphql/mutations/dast_site_profiles/delete.rb
View file @
e472eb2e
...
@@ -5,7 +5,7 @@ module Mutations
...
@@ -5,7 +5,7 @@ module Mutations
class
Delete
<
BaseMutation
class
Delete
<
BaseMutation
graphql_name
'DastSiteProfileDelete'
graphql_name
'DastSiteProfileDelete'
argument
:full_path
,
GraphQL
::
ID_TYPE
,
argument
:full_path
,
GraphQL
::
Types
::
ID
,
required:
true
,
required:
true
,
description:
'The project the site profile belongs to.'
description:
'The project the site profile belongs to.'
...
...
ee/app/graphql/mutations/dast_site_profiles/update.rb
View file @
e472eb2e
...
@@ -13,7 +13,7 @@ module Mutations
...
@@ -13,7 +13,7 @@ module Mutations
null:
true
,
null:
true
,
description:
'ID of the site profile.'
description:
'ID of the site profile.'
argument
:full_path
,
GraphQL
::
ID_TYPE
,
argument
:full_path
,
GraphQL
::
Types
::
ID
,
required:
true
,
required:
true
,
description:
'The project the site profile belongs to.'
description:
'The project the site profile belongs to.'
...
@@ -21,11 +21,11 @@ module Mutations
...
@@ -21,11 +21,11 @@ module Mutations
required:
true
,
required:
true
,
description:
'ID of the site profile to be updated.'
description:
'ID of the site profile to be updated.'
argument
:profile_name
,
GraphQL
::
STRING_TYPE
,
argument
:profile_name
,
GraphQL
::
Types
::
String
,
required:
true
,
required:
true
,
description:
'The name of the site profile.'
description:
'The name of the site profile.'
argument
:target_url
,
GraphQL
::
STRING_TYPE
,
argument
:target_url
,
GraphQL
::
Types
::
String
,
required:
false
,
required:
false
,
description:
'The URL of the target to be scanned.'
description:
'The URL of the target to be scanned.'
...
@@ -33,11 +33,11 @@ module Mutations
...
@@ -33,11 +33,11 @@ module Mutations
required:
false
,
required:
false
,
description:
'The type of target to be scanned.'
description:
'The type of target to be scanned.'
argument
:excluded_urls
,
[
GraphQL
::
STRING_TYPE
],
argument
:excluded_urls
,
[
GraphQL
::
Types
::
String
],
required:
false
,
required:
false
,
description:
'The URLs to skip during an authenticated scan.'
description:
'The URLs to skip during an authenticated scan.'
argument
:request_headers
,
GraphQL
::
STRING_TYPE
,
argument
:request_headers
,
GraphQL
::
Types
::
String
,
required:
false
,
required:
false
,
description:
'Comma-separated list of request header names and values to be '
\
description:
'Comma-separated list of request header names and values to be '
\
'added to every request made by DAST.'
'added to every request made by DAST.'
...
...
ee/app/graphql/mutations/dast_site_tokens/create.rb
View file @
e472eb2e
...
@@ -11,7 +11,7 @@ module Mutations
...
@@ -11,7 +11,7 @@ module Mutations
null:
true
,
null:
true
,
description:
'ID of the site token.'
description:
'ID of the site token.'
field
:token
,
GraphQL
::
STRING_TYPE
,
field
:token
,
GraphQL
::
Types
::
String
,
null:
true
,
null:
true
,
description:
'Token string.'
description:
'Token string.'
...
@@ -19,11 +19,11 @@ module Mutations
...
@@ -19,11 +19,11 @@ module Mutations
null:
true
,
null:
true
,
description:
'The current validation status of the target.'
description:
'The current validation status of the target.'
argument
:full_path
,
GraphQL
::
ID_TYPE
,
argument
:full_path
,
GraphQL
::
Types
::
ID
,
required:
true
,
required:
true
,
description:
'The project the site token belongs to.'
description:
'The project the site token belongs to.'
argument
:target_url
,
GraphQL
::
STRING_TYPE
,
argument
:target_url
,
GraphQL
::
Types
::
String
,
required:
false
,
required:
false
,
description:
'The URL of the target to be validated.'
description:
'The URL of the target to be validated.'
...
...
ee/app/graphql/mutations/dast_site_validations/create.rb
View file @
e472eb2e
...
@@ -15,7 +15,7 @@ module Mutations
...
@@ -15,7 +15,7 @@ module Mutations
null:
true
,
null:
true
,
description:
'The current validation status.'
description:
'The current validation status.'
argument
:full_path
,
GraphQL
::
ID_TYPE
,
argument
:full_path
,
GraphQL
::
Types
::
ID
,
required:
true
,
required:
true
,
description:
'The project the site profile belongs to.'
description:
'The project the site profile belongs to.'
...
@@ -23,7 +23,7 @@ module Mutations
...
@@ -23,7 +23,7 @@ module Mutations
required:
true
,
required:
true
,
description:
'ID of the site token.'
description:
'ID of the site token.'
argument
:validation_path
,
GraphQL
::
STRING_TYPE
,
argument
:validation_path
,
GraphQL
::
Types
::
String
,
required:
true
,
required:
true
,
description:
'The path to be requested during validation.'
description:
'The path to be requested during validation.'
...
...
ee/app/graphql/mutations/dast_site_validations/revoke.rb
View file @
e472eb2e
...
@@ -7,11 +7,11 @@ module Mutations
...
@@ -7,11 +7,11 @@ module Mutations
graphql_name
'DastSiteValidationRevoke'
graphql_name
'DastSiteValidationRevoke'
argument
:full_path
,
GraphQL
::
ID_TYPE
,
argument
:full_path
,
GraphQL
::
Types
::
ID
,
required:
true
,
required:
true
,
description:
'The project the site validation belongs to.'
description:
'The project the site validation belongs to.'
argument
:normalized_target_url
,
GraphQL
::
STRING_TYPE
,
argument
:normalized_target_url
,
GraphQL
::
Types
::
String
,
required:
true
,
required:
true
,
description:
'Normalized URL of the target to be revoked.'
description:
'Normalized URL of the target to be revoked.'
...
...
ee/app/graphql/mutations/epics/add_issue.rb
View file @
e472eb2e
...
@@ -9,11 +9,11 @@ module Mutations
...
@@ -9,11 +9,11 @@ module Mutations
authorize
:admin_epic
authorize
:admin_epic
argument
:project_path
,
GraphQL
::
ID_TYPE
,
argument
:project_path
,
GraphQL
::
Types
::
ID
,
required:
true
,
required:
true
,
description:
'The full path of the project the issue belongs to.'
description:
'The full path of the project the issue belongs to.'
argument
:issue_iid
,
GraphQL
::
STRING_TYPE
,
argument
:issue_iid
,
GraphQL
::
Types
::
String
,
required:
true
,
required:
true
,
description:
'The IID of the issue to be added.'
description:
'The IID of the issue to be added.'
...
...
ee/app/graphql/mutations/epics/base.rb
View file @
e472eb2e
...
@@ -5,11 +5,11 @@ module Mutations
...
@@ -5,11 +5,11 @@ module Mutations
class
Base
<
::
Mutations
::
BaseMutation
class
Base
<
::
Mutations
::
BaseMutation
include
Mutations
::
ResolvesIssuable
include
Mutations
::
ResolvesIssuable
argument
:iid
,
GraphQL
::
ID_TYPE
,
argument
:iid
,
GraphQL
::
Types
::
ID
,
required:
true
,
required:
true
,
description:
"The IID of the epic to mutate."
description:
"The IID of the epic to mutate."
argument
:group_path
,
GraphQL
::
ID_TYPE
,
argument
:group_path
,
GraphQL
::
Types
::
ID
,
required:
true
,
required:
true
,
description:
'The group the epic to mutate belongs to.'
description:
'The group the epic to mutate belongs to.'
...
...
ee/app/graphql/mutations/epics/set_subscription.rb
View file @
e472eb2e
...
@@ -7,7 +7,7 @@ module Mutations
...
@@ -7,7 +7,7 @@ module Mutations
authorize
:read_epic
authorize
:read_epic
argument
:subscribed_state
,
GraphQL
::
BOOLEAN_TYPE
,
argument
:subscribed_state
,
GraphQL
::
Types
::
Boolean
,
required:
true
,
required:
true
,
description:
'The desired state of the subscription.'
description:
'The desired state of the subscription.'
...
...
ee/app/graphql/mutations/gitlab_subscriptions/activate.rb
View file @
e472eb2e
...
@@ -7,7 +7,7 @@ module Mutations
...
@@ -7,7 +7,7 @@ module Mutations
authorize
:manage_subscription
authorize
:manage_subscription
argument
:activation_code
,
GraphQL
::
STRING_TYPE
,
argument
:activation_code
,
GraphQL
::
Types
::
String
,
required:
true
,
required:
true
,
description:
'Activation code received after purchasing a GitLab subscription.'
description:
'Activation code received after purchasing a GitLab subscription.'
...
...
ee/app/graphql/mutations/incident_management/escalation_policy/create.rb
View file @
e472eb2e
...
@@ -8,15 +8,15 @@ module Mutations
...
@@ -8,15 +8,15 @@ module Mutations
graphql_name
'EscalationPolicyCreate'
graphql_name
'EscalationPolicyCreate'
argument
:project_path
,
GraphQL
::
ID_TYPE
,
argument
:project_path
,
GraphQL
::
Types
::
ID
,
required:
true
,
required:
true
,
description:
'The project to create the escalation policy for.'
description:
'The project to create the escalation policy for.'
argument
:name
,
GraphQL
::
STRING_TYPE
,
argument
:name
,
GraphQL
::
Types
::
String
,
required:
true
,
required:
true
,
description:
'The name of the escalation policy.'
description:
'The name of the escalation policy.'
argument
:description
,
GraphQL
::
STRING_TYPE
,
argument
:description
,
GraphQL
::
Types
::
String
,
required:
false
,
required:
false
,
description:
'The description of the escalation policy.'
description:
'The description of the escalation policy.'
...
...
ee/app/graphql/mutations/incident_management/escalation_policy/update.rb
View file @
e472eb2e
...
@@ -10,11 +10,11 @@ module Mutations
...
@@ -10,11 +10,11 @@ module Mutations
required:
true
,
required:
true
,
description:
'The ID of the on-call schedule to create the on-call rotation in.'
description:
'The ID of the on-call schedule to create the on-call rotation in.'
argument
:name
,
GraphQL
::
STRING_TYPE
,
argument
:name
,
GraphQL
::
Types
::
String
,
required:
false
,
required:
false
,
description:
'The name of the escalation policy.'
description:
'The name of the escalation policy.'
argument
:description
,
GraphQL
::
STRING_TYPE
,
argument
:description
,
GraphQL
::
Types
::
String
,
required:
false
,
required:
false
,
description:
'The description of the escalation policy.'
description:
'The description of the escalation policy.'
...
...
ee/app/graphql/mutations/incident_management/oncall_rotation/create.rb
View file @
e472eb2e
...
@@ -8,16 +8,16 @@ module Mutations
...
@@ -8,16 +8,16 @@ module Mutations
graphql_name
'OncallRotationCreate'
graphql_name
'OncallRotationCreate'
argument
:project_path
,
GraphQL
::
ID_TYPE
,
argument
:project_path
,
GraphQL
::
Types
::
ID
,
required:
true
,
required:
true
,
description:
'The project to create the on-call schedule in.'
description:
'The project to create the on-call schedule in.'
argument
:schedule_iid
,
GraphQL
::
STRING_TYPE
,
argument
:schedule_iid
,
GraphQL
::
Types
::
String
,
required:
true
,
required:
true
,
description:
'The IID of the on-call schedule to create the on-call rotation in.'
,
description:
'The IID of the on-call schedule to create the on-call rotation in.'
,
as: :iid
as: :iid
argument
:name
,
GraphQL
::
STRING_TYPE
,
argument
:name
,
GraphQL
::
Types
::
String
,
required:
true
,
required:
true
,
description:
'The name of the on-call rotation.'
description:
'The name of the on-call rotation.'
...
...
ee/app/graphql/mutations/incident_management/oncall_rotation/destroy.rb
View file @
e472eb2e
...
@@ -6,11 +6,11 @@ module Mutations
...
@@ -6,11 +6,11 @@ module Mutations
class
Destroy
<
Base
class
Destroy
<
Base
graphql_name
'OncallRotationDestroy'
graphql_name
'OncallRotationDestroy'
argument
:project_path
,
GraphQL
::
ID_TYPE
,
argument
:project_path
,
GraphQL
::
Types
::
ID
,
required:
true
,
required:
true
,
description:
'The project to remove the on-call schedule from.'
description:
'The project to remove the on-call schedule from.'
argument
:schedule_iid
,
GraphQL
::
STRING_TYPE
,
argument
:schedule_iid
,
GraphQL
::
Types
::
String
,
required:
true
,
required:
true
,
description:
'The IID of the on-call schedule to the on-call rotation belongs to.'
description:
'The IID of the on-call schedule to the on-call rotation belongs to.'
...
...
ee/app/graphql/mutations/incident_management/oncall_rotation/update.rb
View file @
e472eb2e
...
@@ -12,7 +12,7 @@ module Mutations
...
@@ -12,7 +12,7 @@ module Mutations
required:
true
,
required:
true
,
description:
'The ID of the on-call schedule to create the on-call rotation in.'
description:
'The ID of the on-call schedule to create the on-call rotation in.'
argument
:name
,
GraphQL
::
STRING_TYPE
,
argument
:name
,
GraphQL
::
Types
::
String
,
required:
false
,
required:
false
,
description:
'The name of the on-call rotation.'
description:
'The name of the on-call rotation.'
...
...
ee/app/graphql/mutations/incident_management/oncall_schedule/create.rb
View file @
e472eb2e
...
@@ -8,19 +8,19 @@ module Mutations
...
@@ -8,19 +8,19 @@ module Mutations
graphql_name
'OncallScheduleCreate'
graphql_name
'OncallScheduleCreate'
argument
:project_path
,
GraphQL
::
ID_TYPE
,
argument
:project_path
,
GraphQL
::
Types
::
ID
,
required:
true
,
required:
true
,
description:
'The project to create the on-call schedule in.'
description:
'The project to create the on-call schedule in.'
argument
:name
,
GraphQL
::
STRING_TYPE
,
argument
:name
,
GraphQL
::
Types
::
String
,
required:
true
,
required:
true
,
description:
'The name of the on-call schedule.'
description:
'The name of the on-call schedule.'
argument
:description
,
GraphQL
::
STRING_TYPE
,
argument
:description
,
GraphQL
::
Types
::
String
,
required:
false
,
required:
false
,
description:
'The description of the on-call schedule.'
description:
'The description of the on-call schedule.'
argument
:timezone
,
GraphQL
::
STRING_TYPE
,
argument
:timezone
,
GraphQL
::
Types
::
String
,
required:
true
,
required:
true
,
description:
'The timezone of the on-call schedule.'
description:
'The timezone of the on-call schedule.'
...
...
ee/app/graphql/mutations/incident_management/oncall_schedule/destroy.rb
View file @
e472eb2e
...
@@ -6,11 +6,11 @@ module Mutations
...
@@ -6,11 +6,11 @@ module Mutations
class
Destroy
<
OncallScheduleBase
class
Destroy
<
OncallScheduleBase
graphql_name
'OncallScheduleDestroy'
graphql_name
'OncallScheduleDestroy'
argument
:project_path
,
GraphQL
::
ID_TYPE
,
argument
:project_path
,
GraphQL
::
Types
::
ID
,
required:
true
,
required:
true
,
description:
'The project to remove the on-call schedule from.'
description:
'The project to remove the on-call schedule from.'
argument
:iid
,
GraphQL
::
STRING_TYPE
,
argument
:iid
,
GraphQL
::
Types
::
String
,
required:
true
,
required:
true
,
description:
'The on-call schedule internal ID to remove.'
description:
'The on-call schedule internal ID to remove.'
...
...
ee/app/graphql/mutations/incident_management/oncall_schedule/update.rb
View file @
e472eb2e
...
@@ -6,23 +6,23 @@ module Mutations
...
@@ -6,23 +6,23 @@ module Mutations
class
Update
<
OncallScheduleBase
class
Update
<
OncallScheduleBase
graphql_name
'OncallScheduleUpdate'
graphql_name
'OncallScheduleUpdate'
argument
:project_path
,
GraphQL
::
ID_TYPE
,
argument
:project_path
,
GraphQL
::
Types
::
ID
,
required:
true
,
required:
true
,
description:
'The project to update the on-call schedule in.'
description:
'The project to update the on-call schedule in.'
argument
:iid
,
GraphQL
::
STRING_TYPE
,
argument
:iid
,
GraphQL
::
Types
::
String
,
required:
true
,
required:
true
,
description:
'The on-call schedule internal ID to update.'
description:
'The on-call schedule internal ID to update.'
argument
:name
,
GraphQL
::
STRING_TYPE
,
argument
:name
,
GraphQL
::
Types
::
String
,
required:
false
,
required:
false
,
description:
'The name of the on-call schedule.'
description:
'The name of the on-call schedule.'
argument
:description
,
GraphQL
::
STRING_TYPE
,
argument
:description
,
GraphQL
::
Types
::
String
,
required:
false
,
required:
false
,
description:
'The description of the on-call schedule.'
description:
'The description of the on-call schedule.'
argument
:timezone
,
GraphQL
::
STRING_TYPE
,
argument
:timezone
,
GraphQL
::
Types
::
String
,
required:
false
,
required:
false
,
description:
'The timezone of the on-call schedule.'
description:
'The timezone of the on-call schedule.'
...
...
ee/app/graphql/mutations/issues/common_ee_mutation_arguments.rb
View file @
e472eb2e
...
@@ -11,7 +11,7 @@ module Mutations
...
@@ -11,7 +11,7 @@ module Mutations
required:
false
,
required:
false
,
description:
'The desired health status.'
description:
'The desired health status.'
argument
:weight
,
GraphQL
::
INT_TYPE
,
argument
:weight
,
GraphQL
::
Types
::
Int
,
required:
false
,
required:
false
,
description:
'The weight of the issue.'
description:
'The weight of the issue.'
end
end
...
...
ee/app/graphql/mutations/issues/promote_to_epic.rb
View file @
e472eb2e
...
@@ -7,7 +7,7 @@ module Mutations
...
@@ -7,7 +7,7 @@ module Mutations
graphql_name
'PromoteToEpic'
graphql_name
'PromoteToEpic'
argument
:group_path
,
GraphQL
::
ID_TYPE
,
argument
:group_path
,
GraphQL
::
Types
::
ID
,
required:
false
,
required:
false
,
description:
'The group the promoted epic will belong to.'
description:
'The group the promoted epic will belong to.'
...
...
ee/app/graphql/mutations/issues/set_weight.rb
View file @
e472eb2e
...
@@ -6,7 +6,7 @@ module Mutations
...
@@ -6,7 +6,7 @@ module Mutations
graphql_name
'IssueSetWeight'
graphql_name
'IssueSetWeight'
argument
:weight
,
argument
:weight
,
GraphQL
::
INT_TYPE
,
GraphQL
::
Types
::
Int
,
required:
false
,
required:
false
,
description:
'The desired weight for the issue. '
\
description:
'The desired weight for the issue. '
\
'If set to null, weight is removed.'
'If set to null, weight is removed.'
...
...
ee/app/graphql/mutations/iterations/cadences/create.rb
View file @
e472eb2e
...
@@ -10,31 +10,31 @@ module Mutations
...
@@ -10,31 +10,31 @@ module Mutations
authorize
:create_iteration_cadence
authorize
:create_iteration_cadence
argument
:group_path
,
GraphQL
::
ID_TYPE
,
required:
true
,
argument
:group_path
,
GraphQL
::
Types
::
ID
,
required:
true
,
description:
"The group where the iteration cadence is created."
description:
"The group where the iteration cadence is created."
argument
:title
,
GraphQL
::
STRING_TYPE
,
required:
false
,
argument
:title
,
GraphQL
::
Types
::
String
,
required:
false
,
description:
copy_field_description
(
Types
::
Iterations
::
CadenceType
,
:title
)
description:
copy_field_description
(
Types
::
Iterations
::
CadenceType
,
:title
)
argument
:duration_in_weeks
,
GraphQL
::
INT_TYPE
,
required:
false
,
argument
:duration_in_weeks
,
GraphQL
::
Types
::
Int
,
required:
false
,
description:
copy_field_description
(
Types
::
Iterations
::
CadenceType
,
:duration_in_weeks
)
description:
copy_field_description
(
Types
::
Iterations
::
CadenceType
,
:duration_in_weeks
)
argument
:iterations_in_advance
,
GraphQL
::
INT_TYPE
,
required:
false
,
argument
:iterations_in_advance
,
GraphQL
::
Types
::
Int
,
required:
false
,
description:
copy_field_description
(
Types
::
Iterations
::
CadenceType
,
:iterations_in_advance
)
description:
copy_field_description
(
Types
::
Iterations
::
CadenceType
,
:iterations_in_advance
)
argument
:start_date
,
Types
::
TimeType
,
required:
false
,
argument
:start_date
,
Types
::
TimeType
,
required:
false
,
description:
copy_field_description
(
Types
::
Iterations
::
CadenceType
,
:start_date
)
description:
copy_field_description
(
Types
::
Iterations
::
CadenceType
,
:start_date
)
argument
:automatic
,
GraphQL
::
BOOLEAN_TYPE
,
required:
true
,
argument
:automatic
,
GraphQL
::
Types
::
Boolean
,
required:
true
,
description:
copy_field_description
(
Types
::
Iterations
::
CadenceType
,
:automatic
)
description:
copy_field_description
(
Types
::
Iterations
::
CadenceType
,
:automatic
)
argument
:active
,
GraphQL
::
BOOLEAN_TYPE
,
required:
true
,
argument
:active
,
GraphQL
::
Types
::
Boolean
,
required:
true
,
description:
copy_field_description
(
Types
::
Iterations
::
CadenceType
,
:active
)
description:
copy_field_description
(
Types
::
Iterations
::
CadenceType
,
:active
)
argument
:roll_over
,
GraphQL
::
BOOLEAN_TYPE
,
required:
false
,
argument
:roll_over
,
GraphQL
::
Types
::
Boolean
,
required:
false
,
description:
copy_field_description
(
Types
::
Iterations
::
CadenceType
,
:roll_over
)
description:
copy_field_description
(
Types
::
Iterations
::
CadenceType
,
:roll_over
)
argument
:description
,
GraphQL
::
STRING_TYPE
,
required:
false
,
argument
:description
,
GraphQL
::
Types
::
String
,
required:
false
,
description:
copy_field_description
(
Types
::
Iterations
::
CadenceType
,
:description
)
description:
copy_field_description
(
Types
::
Iterations
::
CadenceType
,
:description
)
field
:iteration_cadence
,
Types
::
Iterations
::
CadenceType
,
null:
true
,
field
:iteration_cadence
,
Types
::
Iterations
::
CadenceType
,
null:
true
,
...
...
ee/app/graphql/mutations/iterations/cadences/update.rb
View file @
e472eb2e
...
@@ -11,28 +11,28 @@ module Mutations
...
@@ -11,28 +11,28 @@ module Mutations
argument
:id
,
::
Types
::
GlobalIDType
[
::
Iterations
::
Cadence
],
required:
true
,
argument
:id
,
::
Types
::
GlobalIDType
[
::
Iterations
::
Cadence
],
required:
true
,
description:
copy_field_description
(
Types
::
Iterations
::
CadenceType
,
:id
)
description:
copy_field_description
(
Types
::
Iterations
::
CadenceType
,
:id
)
argument
:title
,
GraphQL
::
STRING_TYPE
,
required:
false
,
argument
:title
,
GraphQL
::
Types
::
String
,
required:
false
,
description:
copy_field_description
(
Types
::
Iterations
::
CadenceType
,
:title
)
description:
copy_field_description
(
Types
::
Iterations
::
CadenceType
,
:title
)
argument
:duration_in_weeks
,
GraphQL
::
INT_TYPE
,
required:
false
,
argument
:duration_in_weeks
,
GraphQL
::
Types
::
Int
,
required:
false
,
description:
copy_field_description
(
Types
::
Iterations
::
CadenceType
,
:duration_in_weeks
)
description:
copy_field_description
(
Types
::
Iterations
::
CadenceType
,
:duration_in_weeks
)
argument
:iterations_in_advance
,
GraphQL
::
INT_TYPE
,
required:
false
,
argument
:iterations_in_advance
,
GraphQL
::
Types
::
Int
,
required:
false
,
description:
copy_field_description
(
Types
::
Iterations
::
CadenceType
,
:iterations_in_advance
)
description:
copy_field_description
(
Types
::
Iterations
::
CadenceType
,
:iterations_in_advance
)
argument
:start_date
,
Types
::
TimeType
,
required:
false
,
argument
:start_date
,
Types
::
TimeType
,
required:
false
,
description:
copy_field_description
(
Types
::
Iterations
::
CadenceType
,
:start_date
)
description:
copy_field_description
(
Types
::
Iterations
::
CadenceType
,
:start_date
)
argument
:automatic
,
GraphQL
::
BOOLEAN_TYPE
,
required:
false
,
argument
:automatic
,
GraphQL
::
Types
::
Boolean
,
required:
false
,
description:
copy_field_description
(
Types
::
Iterations
::
CadenceType
,
:automatic
)
description:
copy_field_description
(
Types
::
Iterations
::
CadenceType
,
:automatic
)
argument
:active
,
GraphQL
::
BOOLEAN_TYPE
,
required:
false
,
argument
:active
,
GraphQL
::
Types
::
Boolean
,
required:
false
,
description:
copy_field_description
(
Types
::
Iterations
::
CadenceType
,
:active
)
description:
copy_field_description
(
Types
::
Iterations
::
CadenceType
,
:active
)
argument
:roll_over
,
GraphQL
::
BOOLEAN_TYPE
,
required:
false
,
argument
:roll_over
,
GraphQL
::
Types
::
Boolean
,
required:
false
,
description:
copy_field_description
(
Types
::
Iterations
::
CadenceType
,
:roll_over
)
description:
copy_field_description
(
Types
::
Iterations
::
CadenceType
,
:roll_over
)
argument
:description
,
GraphQL
::
STRING_TYPE
,
required:
false
,
argument
:description
,
GraphQL
::
Types
::
String
,
required:
false
,
description:
copy_field_description
(
Types
::
Iterations
::
CadenceType
,
:description
)
description:
copy_field_description
(
Types
::
Iterations
::
CadenceType
,
:description
)
field
:iteration_cadence
,
Types
::
Iterations
::
CadenceType
,
null:
true
,
field
:iteration_cadence
,
Types
::
Iterations
::
CadenceType
,
null:
true
,
...
...
ee/app/graphql/mutations/iterations/create.rb
View file @
e472eb2e
...
@@ -21,22 +21,22 @@ module Mutations
...
@@ -21,22 +21,22 @@ module Mutations
description:
'Global ID of the iterations cadence to be assigned to newly created iteration.'
description:
'Global ID of the iterations cadence to be assigned to newly created iteration.'
argument
:title
,
argument
:title
,
GraphQL
::
STRING_TYPE
,
GraphQL
::
Types
::
String
,
required:
false
,
required:
false
,
description:
'The title of the iteration.'
description:
'The title of the iteration.'
argument
:description
,
argument
:description
,
GraphQL
::
STRING_TYPE
,
GraphQL
::
Types
::
String
,
required:
false
,
required:
false
,
description:
'The description of the iteration.'
description:
'The description of the iteration.'
argument
:start_date
,
argument
:start_date
,
GraphQL
::
STRING_TYPE
,
GraphQL
::
Types
::
String
,
required:
false
,
required:
false
,
description:
'The start date of the iteration.'
description:
'The start date of the iteration.'
argument
:due_date
,
argument
:due_date
,
GraphQL
::
STRING_TYPE
,
GraphQL
::
Types
::
String
,
required:
false
,
required:
false
,
description:
'The end date of the iteration.'
description:
'The end date of the iteration.'
...
...
ee/app/graphql/mutations/iterations/update.rb
View file @
e472eb2e
...
@@ -15,34 +15,34 @@ module Mutations
...
@@ -15,34 +15,34 @@ module Mutations
null:
true
,
null:
true
,
description:
'Updated iteration.'
description:
'Updated iteration.'
argument
:group_path
,
GraphQL
::
ID_TYPE
,
argument
:group_path
,
GraphQL
::
Types
::
ID
,
required:
true
,
required:
true
,
description:
'Group of the iteration.'
description:
'Group of the iteration.'
# rubocop:disable Graphql/IDType
# rubocop:disable Graphql/IDType
argument
:id
,
argument
:id
,
GraphQL
::
ID_TYPE
,
GraphQL
::
Types
::
ID
,
required:
true
,
required:
true
,
description:
'Global ID of the iteration.'
description:
'Global ID of the iteration.'
# rubocop:enable Graphql/IDType
# rubocop:enable Graphql/IDType
argument
:title
,
argument
:title
,
GraphQL
::
STRING_TYPE
,
GraphQL
::
Types
::
String
,
required:
false
,
required:
false
,
description:
'Title of the iteration.'
description:
'Title of the iteration.'
argument
:description
,
argument
:description
,
GraphQL
::
STRING_TYPE
,
GraphQL
::
Types
::
String
,
required:
false
,
required:
false
,
description:
'Description of the iteration.'
description:
'Description of the iteration.'
argument
:start_date
,
argument
:start_date
,
GraphQL
::
STRING_TYPE
,
GraphQL
::
Types
::
String
,
required:
false
,
required:
false
,
description:
'Start date of the iteration.'
description:
'Start date of the iteration.'
argument
:due_date
,
argument
:due_date
,
GraphQL
::
STRING_TYPE
,
GraphQL
::
Types
::
String
,
required:
false
,
required:
false
,
description:
'End date of the iteration.'
description:
'End date of the iteration.'
...
...
ee/app/graphql/mutations/quality_management/test_cases/create.rb
View file @
e472eb2e
...
@@ -10,20 +10,20 @@ module Mutations
...
@@ -10,20 +10,20 @@ module Mutations
authorize
:create_test_case
authorize
:create_test_case
argument
:title
,
GraphQL
::
STRING_TYPE
,
argument
:title
,
GraphQL
::
Types
::
String
,
required:
true
,
required:
true
,
description:
'The test case title.'
description:
'The test case title.'
argument
:description
,
GraphQL
::
STRING_TYPE
,
argument
:description
,
GraphQL
::
Types
::
String
,
required:
false
,
required:
false
,
description:
'The test case description.'
description:
'The test case description.'
argument
:label_ids
,
argument
:label_ids
,
[
GraphQL
::
ID_TYPE
],
[
GraphQL
::
Types
::
ID
],
required:
false
,
required:
false
,
description:
'The IDs of labels to be added to the test case.'
description:
'The IDs of labels to be added to the test case.'
argument
:project_path
,
GraphQL
::
ID_TYPE
,
argument
:project_path
,
GraphQL
::
Types
::
ID
,
required:
true
,
required:
true
,
description:
'The project full path to create the test case.'
description:
'The project full path to create the test case.'
...
...
ee/app/graphql/mutations/requirements_management/base_requirement.rb
View file @
e472eb2e
...
@@ -9,15 +9,15 @@ module Mutations
...
@@ -9,15 +9,15 @@ module Mutations
null:
true
,
null:
true
,
description:
'Requirement after mutation.'
description:
'Requirement after mutation.'
argument
:title
,
GraphQL
::
STRING_TYPE
,
argument
:title
,
GraphQL
::
Types
::
String
,
required:
false
,
required:
false
,
description:
'Title of the requirement.'
description:
'Title of the requirement.'
argument
:description
,
GraphQL
::
STRING_TYPE
,
argument
:description
,
GraphQL
::
Types
::
String
,
required:
false
,
required:
false
,
description:
'Description of the requirement.'
description:
'Description of the requirement.'
argument
:project_path
,
GraphQL
::
ID_TYPE
,
argument
:project_path
,
GraphQL
::
Types
::
ID
,
required:
true
,
required:
true
,
description:
'Full project path the requirement is associated with.'
description:
'Full project path the requirement is associated with.'
end
end
...
...
ee/app/graphql/mutations/requirements_management/export_requirements.rb
View file @
e472eb2e
...
@@ -10,11 +10,11 @@ module Mutations
...
@@ -10,11 +10,11 @@ module Mutations
authorize
:export_requirements
authorize
:export_requirements
argument
:project_path
,
GraphQL
::
ID_TYPE
,
argument
:project_path
,
GraphQL
::
Types
::
ID
,
required:
true
,
required:
true
,
description:
'Full project path the requirements are associated with.'
description:
'Full project path the requirements are associated with.'
argument
:selected_fields
,
[
GraphQL
::
STRING_TYPE
],
argument
:selected_fields
,
[
GraphQL
::
Types
::
String
],
required:
false
,
required:
false
,
description:
'List of selected requirements fields to be exported.'
description:
'List of selected requirements fields to be exported.'
...
...
ee/app/graphql/mutations/requirements_management/update_requirement.rb
View file @
e472eb2e
...
@@ -11,7 +11,7 @@ module Mutations
...
@@ -11,7 +11,7 @@ module Mutations
required:
false
,
required:
false
,
description:
'State of the requirement.'
description:
'State of the requirement.'
argument
:iid
,
GraphQL
::
STRING_TYPE
,
argument
:iid
,
GraphQL
::
Types
::
String
,
required:
true
,
required:
true
,
description:
'The IID of the requirement to update.'
description:
'The IID of the requirement to update.'
...
...
ee/app/graphql/mutations/security_policy/assign_security_policy_project.rb
View file @
e472eb2e
...
@@ -9,7 +9,7 @@ module Mutations
...
@@ -9,7 +9,7 @@ module Mutations
authorize
:update_security_orchestration_policy_project
authorize
:update_security_orchestration_policy_project
argument
:project_path
,
GraphQL
::
ID_TYPE
,
argument
:project_path
,
GraphQL
::
Types
::
ID
,
required:
true
,
required:
true
,
description:
'Full path of the project.'
description:
'Full path of the project.'
...
...
ee/app/graphql/mutations/security_policy/commit_scan_execution_policy.rb
View file @
e472eb2e
...
@@ -9,11 +9,11 @@ module Mutations
...
@@ -9,11 +9,11 @@ module Mutations
authorize
:security_orchestration_policies
authorize
:security_orchestration_policies
argument
:project_path
,
GraphQL
::
ID_TYPE
,
argument
:project_path
,
GraphQL
::
Types
::
ID
,
required:
true
,
required:
true
,
description:
'Full path of the project.'
description:
'Full path of the project.'
argument
:policy_yaml
,
GraphQL
::
STRING_TYPE
,
argument
:policy_yaml
,
GraphQL
::
Types
::
String
,
required:
true
,
required:
true
,
description:
'YAML snippet of the policy.'
description:
'YAML snippet of the policy.'
...
@@ -23,7 +23,7 @@ module Mutations
...
@@ -23,7 +23,7 @@ module Mutations
description:
'Changes the operation mode.'
description:
'Changes the operation mode.'
field
:branch
,
field
:branch
,
GraphQL
::
STRING_TYPE
,
GraphQL
::
Types
::
String
,
null:
true
,
null:
true
,
description:
'Name of the branch to which the policy changes are committed.'
description:
'Name of the branch to which the policy changes are committed.'
...
...
ee/app/graphql/mutations/security_policy/create_security_policy_project.rb
View file @
e472eb2e
...
@@ -9,7 +9,7 @@ module Mutations
...
@@ -9,7 +9,7 @@ module Mutations
authorize
:update_security_orchestration_policy_project
authorize
:update_security_orchestration_policy_project
argument
:project_path
,
GraphQL
::
ID_TYPE
,
argument
:project_path
,
GraphQL
::
Types
::
ID
,
required:
true
,
required:
true
,
description:
'Full path of the project.'
description:
'Full path of the project.'
...
...
ee/app/graphql/mutations/vulnerabilities/dismiss.rb
View file @
e472eb2e
...
@@ -17,7 +17,7 @@ module Mutations
...
@@ -17,7 +17,7 @@ module Mutations
description:
'ID of the vulnerability to be dismissed.'
description:
'ID of the vulnerability to be dismissed.'
argument
:comment
,
argument
:comment
,
GraphQL
::
STRING_TYPE
,
GraphQL
::
Types
::
String
,
required:
false
,
required:
false
,
description:
'Comment why vulnerability should be dismissed.'
description:
'Comment why vulnerability should be dismissed.'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment