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
783126ea
Commit
783126ea
authored
Mar 11, 2021
by
Sean Arnold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add to documentation for oncall rotation types
parent
41fa8e2d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
ee/app/graphql/mutations/incident_management/oncall_rotation/create.rb
...l/mutations/incident_management/oncall_rotation/create.rb
+1
-1
ee/app/graphql/mutations/incident_management/oncall_rotation/update.rb
...l/mutations/incident_management/oncall_rotation/update.rb
+1
-1
ee/app/graphql/types/incident_management/oncall_rotation_active_period_input_type.rb
...nt_management/oncall_rotation_active_period_input_type.rb
+2
-2
No files found.
ee/app/graphql/mutations/incident_management/oncall_rotation/create.rb
View file @
783126ea
...
...
@@ -40,7 +40,7 @@ module Mutations
argument
:participants
,
[
Types
::
IncidentManagement
::
OncallUserInputType
],
required:
true
,
description:
'The usernames of users participating in the on-call rotation.'
description:
'The usernames of users participating in the on-call rotation.
A maximum limit of 100 participants applies.
'
def
resolve
(
iid
:,
project_path
:,
participants
:,
**
args
)
project
=
Project
.
find_by_full_path
(
project_path
)
...
...
ee/app/graphql/mutations/incident_management/oncall_rotation/update.rb
View file @
783126ea
...
...
@@ -35,7 +35,7 @@ module Mutations
argument
:participants
,
[
Types
::
IncidentManagement
::
OncallUserInputType
],
required:
false
,
description:
'The usernames of users participating in the on-call rotation.'
description:
'The usernames of users participating in the on-call rotation.
A maximum limit of 100 participants applies.
'
def
resolve
(
id
:,
**
args
)
rotation
=
authorized_find!
(
id:
id
)
...
...
ee/app/graphql/types/incident_management/oncall_rotation_active_period_input_type.rb
View file @
783126ea
...
...
@@ -9,11 +9,11 @@ module Types
argument
:start_time
,
GraphQL
::
STRING_TYPE
,
required:
true
,
description:
'The start of the rotation active period.'
description:
'The start of the rotation active period
in 24 hour format, for example "18:30"
.'
argument
:end_time
,
GraphQL
::
STRING_TYPE
,
required:
true
,
description:
'The end of the rotation active period.'
description:
'The end of the rotation active period
in 24 hour format, for example "18:30"
.'
end
# rubocop: enable Graphql/AuthorizeTypes
end
...
...
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