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
4abcbf90
Commit
4abcbf90
authored
4 years ago
by
Philip Cunningham
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Deprecate globalId for id in DastScannerProfile
Deprecate globalId and undeprecate id in DastScannerProfile.
parent
7e423209
No related merge requests found
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
38 additions
and
33 deletions
+38
-33
doc/api/graphql/reference/gitlab_schema.graphql
doc/api/graphql/reference/gitlab_schema.graphql
+8
-8
doc/api/graphql/reference/gitlab_schema.json
doc/api/graphql/reference/gitlab_schema.json
+14
-14
doc/api/graphql/reference/index.md
doc/api/graphql/reference/index.md
+4
-4
ee/app/graphql/mutations/dast_scanner_profiles/create.rb
ee/app/graphql/mutations/dast_scanner_profiles/create.rb
+4
-4
ee/app/graphql/types/dast_scanner_profile_type.rb
ee/app/graphql/types/dast_scanner_profile_type.rb
+3
-3
ee/changelogs/unreleased/switch-back-to-id-instead-of-global-id-in-dast-scanner-profile-mutatio.yml
...-instead-of-global-id-in-dast-scanner-profile-mutatio.yml
+5
-0
No files found.
doc/api/graphql/reference/gitlab_schema.graphql
View file @
4abcbf90
...
...
@@ -4483,14 +4483,14 @@ type DastScannerProfile {
editPath
:
String
"""
ID
of
the
DAST
scanner
profile
ID
of
the
DAST
scanner
profile
.
Deprecated
in
13.6
:
Use
`
id
`
"""
globalId
:
DastScannerProfileID
!
globalId
:
DastScannerProfileID
!
@
deprecated
(
reason
:
"
Use
`
id
`.
Deprecated
in
13.6"
)
"""
ID
of
the
DAST
scanner
profile
.
Deprecated
in
13.4
:
Use
`
global_id
`
ID
of
the
DAST
scanner
profile
"""
id
:
ID
!
@
deprecated
(
reason
:
"
Use
`
global_id
`.
Deprecated
in
13.4"
)
id
:
DastScannerProfileID
!
"""
Name
of
the
DAST
scanner
profile
...
...
@@ -4607,14 +4607,14 @@ type DastScannerProfileCreatePayload {
errors
:
[
String
!]!
"""
ID
of
the
scanner
profile
.
ID
of
the
scanner
profile
.
.
Deprecated
in
13.6
:
Use
`
id
`
"""
globalId
:
DastScannerProfileID
globalId
:
DastScannerProfileID
@
deprecated
(
reason
:
"
Use
`
id
`.
Deprecated
in
13.6"
)
"""
ID
of
the
scanner
profile
.
.
Deprecated
in
13.4
:
Use
`
global_id
`
ID
of
the
scanner
profile
.
"""
id
:
ID
@
deprecated
(
reason
:
"
Use
`
global_id
`.
Deprecated
in
13.4"
)
id
:
DastScannerProfileID
}
"""
...
...
This diff is collapsed.
Click to expand it.
doc/api/graphql/reference/gitlab_schema.json
View file @
4abcbf90
...
...
@@ -12232,7 +12232,7 @@
},
{
"name": "globalId",
"description": "ID of the DAST scanner profile",
"description": "ID of the DAST scanner profile
. Deprecated in 13.6: Use `id`
",
"args": [
],
...
...
@@ -12245,12 +12245,12 @@
"ofType": null
}
},
"isDeprecated":
fals
e,
"deprecationReason":
null
"isDeprecated":
tru
e,
"deprecationReason":
"Use `id`. Deprecated in 13.6"
},
{
"name": "id",
"description": "ID of the DAST scanner profile
. Deprecated in 13.4: Use `global_id`
",
"description": "ID of the DAST scanner profile",
"args": [
],
...
...
@@ -12259,12 +12259,12 @@
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "ID",
"name": "
DastScannerProfile
ID",
"ofType": null
}
},
"isDeprecated":
tru
e,
"deprecationReason":
"Use `global_id`. Deprecated in 13.4"
"isDeprecated":
fals
e,
"deprecationReason":
null
},
{
"name": "profileName",
...
...
@@ -12579,7 +12579,7 @@
},
{
"name": "globalId",
"description": "ID of the scanner profile.",
"description": "ID of the scanner profile.
. Deprecated in 13.6: Use `id`
",
"args": [
],
...
...
@@ -12588,22 +12588,22 @@
"name": "DastScannerProfileID",
"ofType": null
},
"isDeprecated":
fals
e,
"deprecationReason":
null
"isDeprecated":
tru
e,
"deprecationReason":
"Use `id`. Deprecated in 13.6"
},
{
"name": "id",
"description": "ID of the scanner profile.
. Deprecated in 13.4: Use `global_id`
",
"description": "ID of the scanner profile.",
"args": [
],
"type": {
"kind": "SCALAR",
"name": "ID",
"name": "
DastScannerProfile
ID",
"ofType": null
},
"isDeprecated":
tru
e,
"deprecationReason":
"Use `global_id`. Deprecated in 13.4"
"isDeprecated":
fals
e,
"deprecationReason":
null
}
],
"inputFields": null,
This diff is collapsed.
Click to expand it.
doc/api/graphql/reference/index.md
View file @
4abcbf90
...
...
@@ -737,8 +737,8 @@ Represents a DAST scanner profile.
| Field | Type | Description |
| ----- | ---- | ----------- |
|
`editPath`
| String | Relative web path to the edit page of a scanner profile |
|
`globalId`
| DastScannerProfileID! | ID of the DAST scanner profile
|
|
`id`
**{warning-solid}**
| ID! |
**Deprecated:**
Use
`global_id`
. Deprecated in 13.4
|
|
`globalId`
**{warning-solid}**
| DastScannerProfileID! |
**Deprecated:**
Use
`id`
. Deprecated in 13.6
|
|
`id`
| DastScannerProfileID! | ID of the DAST scanner profile
|
|
`profileName`
| String | Name of the DAST scanner profile |
|
`scanType`
| DastScanTypeEnum | Indicates the type of DAST scan that will run. Either a Passive Scan or an Active Scan. |
|
`showDebugMessages`
| Boolean! | Indicates if debug messages should be included in DAST console output. True to include the debug messages. |
...
...
@@ -754,8 +754,8 @@ Autogenerated return type of DastScannerProfileCreate.
| ----- | ---- | ----------- |
|
`clientMutationId`
| String | A unique identifier for the client performing the mutation. |
|
`errors`
| String! => Array | Errors encountered during execution of the mutation. |
|
`globalId`
| DastScannerProfileID | ID of the scanner profile.
|
|
`id`
**{warning-solid}**
| ID |
**Deprecated:**
Use
`global_id`
. Deprecated in 13.4
|
|
`globalId`
**{warning-solid}**
| DastScannerProfileID |
**Deprecated:**
Use
`id`
. Deprecated in 13.6
|
|
`id`
| DastScannerProfileID | ID of the scanner profile.
|
### DastScannerProfileDeletePayload
...
...
This diff is collapsed.
Click to expand it.
ee/app/graphql/mutations/dast_scanner_profiles/create.rb
View file @
4abcbf90
...
...
@@ -7,14 +7,14 @@ module Mutations
graphql_name
'DastScannerProfileCreate'
field
:id
,
GraphQL
::
ID_TYPE
,
field
:id
,
::
Types
::
GlobalIDType
[
::
DastScannerProfile
]
,
null:
true
,
description:
'ID of the scanner profile.'
,
deprecated:
{
reason:
'Use `global_id`'
,
milestone:
'13.4'
}
description:
'ID of the scanner profile.'
field
:global_id
,
::
Types
::
GlobalIDType
[
::
DastScannerProfile
],
null:
true
,
description:
'ID of the scanner profile.'
description:
'ID of the scanner profile.'
,
deprecated:
{
reason:
'Use `id`'
,
milestone:
'13.6'
}
argument
:full_path
,
GraphQL
::
ID_TYPE
,
required:
true
,
...
...
This diff is collapsed.
Click to expand it.
ee/app/graphql/types/dast_scanner_profile_type.rb
View file @
4abcbf90
...
...
@@ -7,12 +7,12 @@ module Types
authorize
:create_on_demand_dast_scan
field
:id
,
GraphQL
::
ID_TYPE
,
null:
false
,
description:
'ID of the DAST scanner profile'
,
deprecated:
{
reason:
'Use `global_id`'
,
milestone:
'13.4'
}
field
:id
,
::
Types
::
GlobalIDType
[
::
DastScannerProfile
],
null:
false
,
description:
'ID of the DAST scanner profile'
field
:global_id
,
::
Types
::
GlobalIDType
[
::
DastScannerProfile
],
null:
false
,
description:
'ID of the DAST scanner profile'
,
deprecated:
{
reason:
'Use `id`'
,
milestone:
'13.6'
},
method: :id
field
:profile_name
,
GraphQL
::
STRING_TYPE
,
null:
true
,
...
...
This diff is collapsed.
Click to expand it.
ee/changelogs/unreleased/switch-back-to-id-instead-of-global-id-in-dast-scanner-profile-mutatio.yml
0 → 100644
View file @
4abcbf90
---
title
:
Deprecate globalId and undeprecate id for DastScannerProfile
merge_request
:
47559
author
:
type
:
deprecated
This diff is collapsed.
Click to expand it.
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