Skip to content

Commit

Permalink
log: mock gcp
Browse files Browse the repository at this point in the history
  • Loading branch information
Camila-B committed Dec 2, 2024
1 parent 05e982a commit 7d56b77
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Content-Type: application/json
User-Agent: Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager

404 Not Found
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Server: ESF
Vary: Origin
Expand Down Expand Up @@ -34,6 +35,7 @@ User-Agent: Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 t
}

200 OK
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Server: ESF
Vary: Origin
Expand All @@ -46,17 +48,19 @@ X-Xss-Protection: 0
{
"done": true,
"metadata": {
"@type": "type.googleapis.com/google.cloud.apigee.v1.OperationMetadata",
"@type": "type.googleapis.com/google.cloud.apigee.v1.GoogleCloudApigeeV1OperationMetadata",
"operationType": "INSERT",
"state": "FINISHED",
"targetResourceName": "organizations/${projectId}/envgroups/apigeeenvgroup-${uniqueId}"
},
"name": "organizations/${projectId}/operations/${operationID}",
"response": {
"@type": "type.googleapis.com/google.cloud.apigee.v1.EnvironmentGroup",
"@type": "type.googleapis.com/google.cloud.apigee.v1.GoogleCloudApigeeV1EnvironmentGroup",
"createdAt": "2024-04-01T12:34:56.123456Z",
"hostnames": [
"${uniqueId}.mytesthost.net"
],
"lastModifiedAt": "2024-04-01T12:34:56.123456Z",
"name": "apigeeenvgroup-${uniqueId}",
"state": "ACTIVE"
}
Expand All @@ -69,6 +73,7 @@ Content-Type: application/json
User-Agent: Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager

200 OK
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Server: ESF
Vary: Origin
Expand All @@ -95,6 +100,7 @@ Content-Type: application/json
User-Agent: Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager

200 OK
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Server: ESF
Vary: Origin
Expand All @@ -107,7 +113,7 @@ X-Xss-Protection: 0
{
"done": true,
"metadata": {
"@type": "type.googleapis.com/google.cloud.apigee.v1.OperationMetadata",
"@type": "type.googleapis.com/google.cloud.apigee.v1.GoogleCloudApigeeV1OperationMetadata",
"operationType": "DELETE",
"state": "FINISHED",
"targetResourceName": "organizations/${projectId}/envgroups/apigeeenvgroup-${uniqueId}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Content-Type: application/json
User-Agent: Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager

404 Not Found
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Server: ESF
Vary: Origin
Expand Down Expand Up @@ -34,6 +35,7 @@ User-Agent: Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 t
}

200 OK
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Server: ESF
Vary: Origin
Expand All @@ -46,17 +48,19 @@ X-Xss-Protection: 0
{
"done": true,
"metadata": {
"@type": "type.googleapis.com/google.cloud.apigee.v1.OperationMetadata",
"@type": "type.googleapis.com/google.cloud.apigee.v1.GoogleCloudApigeeV1OperationMetadata",
"operationType": "INSERT",
"state": "FINISHED",
"targetResourceName": "organizations/${projectId}/envgroups/apigeeenvgroup-full-${uniqueId}"
},
"name": "organizations/${projectId}/operations/${operationID}",
"response": {
"@type": "type.googleapis.com/google.cloud.apigee.v1.EnvironmentGroup",
"@type": "type.googleapis.com/google.cloud.apigee.v1.GoogleCloudApigeeV1EnvironmentGroup",
"createdAt": "2024-04-01T12:34:56.123456Z",
"hostnames": [
"${uniqueId}.mytesthost.net"
],
"lastModifiedAt": "2024-04-01T12:34:56.123456Z",
"name": "apigeeenvgroup-full-${uniqueId}",
"state": "ACTIVE"
}
Expand All @@ -69,6 +73,7 @@ Content-Type: application/json
User-Agent: Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager

200 OK
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Server: ESF
Vary: Origin
Expand All @@ -95,6 +100,7 @@ Content-Type: application/json
User-Agent: Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager

200 OK
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Server: ESF
Vary: Origin
Expand All @@ -107,7 +113,7 @@ X-Xss-Protection: 0
{
"done": true,
"metadata": {
"@type": "type.googleapis.com/google.cloud.apigee.v1.OperationMetadata",
"@type": "type.googleapis.com/google.cloud.apigee.v1.GoogleCloudApigeeV1OperationMetadata",
"operationType": "DELETE",
"state": "FINISHED",
"targetResourceName": "organizations/${projectId}/envgroups/apigeeenvgroup-full-${uniqueId}"
Expand Down

0 comments on commit 7d56b77

Please sign in to comment.