-
Notifications
You must be signed in to change notification settings - Fork 231
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generate set-unset golden output for gkehubfeaturemembership from DCL
- Loading branch information
Showing
13 changed files
with
2,576 additions
and
0 deletions.
There are no files selected for viewing
843 changes: 843 additions & 0 deletions
843
tests/e2e/testdata/scenarios/fields/gkehubfeaturemembership/set_unset/_http00.log
Large diffs are not rendered by default.
Oops, something went wrong.
194 changes: 194 additions & 0 deletions
194
tests/e2e/testdata/scenarios/fields/gkehubfeaturemembership/set_unset/_http01.log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,194 @@ | ||
GET https://gkehub.googleapis.com/v1beta/projects/${projectId}/locations/global/features/configmanagement?alt=json | ||
Content-Type: application/json | ||
User-Agent: kcc/controller-manager DeclarativeClientLib/0.0.1 | ||
|
||
404 Not Found | ||
Cache-Control: private | ||
Content-Type: application/json; charset=UTF-8 | ||
Server: ESF | ||
Vary: Origin | ||
Vary: X-Origin | ||
Vary: Referer | ||
X-Content-Type-Options: nosniff | ||
X-Frame-Options: SAMEORIGIN | ||
X-Xss-Protection: 0 | ||
|
||
{ | ||
"error": { | ||
"code": 404, | ||
"message": "feature \"projects/${projectId}/locations/global/features/configmanagement\" not found", | ||
"status": "NOT_FOUND" | ||
} | ||
} | ||
|
||
--- | ||
|
||
GET https://gkehub.googleapis.com/v1beta/projects/${projectId}/locations/global/features/configmanagement?alt=json | ||
Content-Type: application/json | ||
User-Agent: kcc/controller-manager DeclarativeClientLib/0.0.1 | ||
|
||
404 Not Found | ||
Cache-Control: private | ||
Content-Type: application/json; charset=UTF-8 | ||
Server: ESF | ||
Vary: Origin | ||
Vary: X-Origin | ||
Vary: Referer | ||
X-Content-Type-Options: nosniff | ||
X-Frame-Options: SAMEORIGIN | ||
X-Xss-Protection: 0 | ||
|
||
{ | ||
"error": { | ||
"code": 404, | ||
"message": "feature \"projects/${projectId}/locations/global/features/configmanagement\" not found", | ||
"status": "NOT_FOUND" | ||
} | ||
} | ||
|
||
--- | ||
|
||
GET https://gkehub.googleapis.com/v1beta/projects/${projectId}/locations/global/features/configmanagement?alt=json | ||
Content-Type: application/json | ||
User-Agent: kcc/controller-manager DeclarativeClientLib/0.0.1 | ||
|
||
404 Not Found | ||
Cache-Control: private | ||
Content-Type: application/json; charset=UTF-8 | ||
Server: ESF | ||
Vary: Origin | ||
Vary: X-Origin | ||
Vary: Referer | ||
X-Content-Type-Options: nosniff | ||
X-Frame-Options: SAMEORIGIN | ||
X-Xss-Protection: 0 | ||
|
||
{ | ||
"error": { | ||
"code": 404, | ||
"message": "feature \"projects/${projectId}/locations/global/features/configmanagement\" not found", | ||
"status": "NOT_FOUND" | ||
} | ||
} | ||
|
||
--- | ||
|
||
POST https://gkehub.googleapis.com/v1beta/projects/${projectId}/locations/global/features?alt=json&featureId=configmanagement | ||
Content-Type: application/json | ||
User-Agent: kcc/controller-manager DeclarativeClientLib/0.0.1 | ||
|
||
{ | ||
"labels": { | ||
"managed-by-cnrm": "true" | ||
}, | ||
"name": "projects/${projectId}/locations/global/features/configmanagement" | ||
} | ||
|
||
200 OK | ||
Cache-Control: private | ||
Content-Type: application/json; charset=UTF-8 | ||
Server: ESF | ||
Vary: Origin | ||
Vary: X-Origin | ||
Vary: Referer | ||
X-Content-Type-Options: nosniff | ||
X-Frame-Options: SAMEORIGIN | ||
X-Xss-Protection: 0 | ||
|
||
{ | ||
"metadata": { | ||
"@type": "type.googleapis.com/google.cloud.gkehub.v1beta.OperationMetadata", | ||
"createTime": "2024-04-01T12:34:56.123456Z", | ||
"endTime": "2024-04-01T12:34:56.123456Z", | ||
"target": "projects/${projectId}/locations/global/features/configmanagement" | ||
}, | ||
"name": "projects/${projectId}/locations/global/features/configmanagement/operations/${operationID}" | ||
} | ||
|
||
--- | ||
|
||
GET https://gkehub.googleapis.com/v1beta1/projects/${projectId}/locations/global/features/configmanagement/operations/${operationID}?alt=json | ||
Content-Type: application/json | ||
User-Agent: kcc/controller-manager DeclarativeClientLib/0.0.1 | ||
|
||
200 OK | ||
Cache-Control: private | ||
Content-Type: application/json; charset=UTF-8 | ||
Server: ESF | ||
Vary: Origin | ||
Vary: X-Origin | ||
Vary: Referer | ||
X-Content-Type-Options: nosniff | ||
X-Frame-Options: SAMEORIGIN | ||
X-Xss-Protection: 0 | ||
|
||
{ | ||
"done": true, | ||
"metadata": { | ||
"@type": "type.googleapis.com/google.cloud.gkehub.v1beta.OperationMetadata", | ||
"createTime": "2024-04-01T12:34:56.123456Z", | ||
"endTime": "2024-04-01T12:34:56.123456Z", | ||
"target": "projects/${projectId}/locations/global/features/configmanagement" | ||
}, | ||
"name": "projects/${projectId}/locations/global/features/configmanagement/operations/${operationID}", | ||
"response": { | ||
"@type": "type.googleapis.com/google.cloud.gkehub.v1beta.Feature", | ||
"createTime": "2024-04-01T12:34:56.123456Z", | ||
"labels": { | ||
"managed-by-cnrm": "true" | ||
}, | ||
"name": "projects/${projectId}/locations/global/features/configmanagement", | ||
"resourceState": { | ||
"state": "ACTIVE" | ||
}, | ||
"updateTime": "2024-04-01T12:34:56.123456Z" | ||
} | ||
} | ||
|
||
--- | ||
|
||
GET https://gkehub.googleapis.com/v1beta/projects/${projectId}/locations/global/features/configmanagement?alt=json | ||
Content-Type: application/json | ||
User-Agent: kcc/controller-manager DeclarativeClientLib/0.0.1 | ||
|
||
200 OK | ||
Cache-Control: private | ||
Content-Type: application/json; charset=UTF-8 | ||
Server: ESF | ||
Vary: Origin | ||
Vary: X-Origin | ||
Vary: Referer | ||
X-Content-Type-Options: nosniff | ||
X-Frame-Options: SAMEORIGIN | ||
X-Xss-Protection: 0 | ||
|
||
{ | ||
"labels": { | ||
"managed-by-cnrm": "true" | ||
}, | ||
"name": "projects/${projectId}/locations/global/features/configmanagement" | ||
} | ||
|
||
--- | ||
|
||
GET https://gkehub.googleapis.com/v1beta/projects/${projectId}/locations/global/features/configmanagement?alt=json | ||
Content-Type: application/json | ||
User-Agent: kcc/controller-manager DeclarativeClientLib/0.0.1 | ||
|
||
200 OK | ||
Cache-Control: private | ||
Content-Type: application/json; charset=UTF-8 | ||
Server: ESF | ||
Vary: Origin | ||
Vary: X-Origin | ||
Vary: Referer | ||
X-Content-Type-Options: nosniff | ||
X-Frame-Options: SAMEORIGIN | ||
X-Xss-Protection: 0 | ||
|
||
{ | ||
"labels": { | ||
"managed-by-cnrm": "true" | ||
}, | ||
"name": "projects/${projectId}/locations/global/features/configmanagement" | ||
} |
Oops, something went wrong.