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 18, 2024
1 parent d60abe9 commit fa3d6c7
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ GET https://apigee.googleapis.com/v1/organizations/${projectId}/envgroups/apigee
User-Agent: kcc/controller-manager

404 Not Found
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Server: ESF
Vary: Origin
Expand Down Expand Up @@ -33,6 +34,7 @@ User-Agent: kcc/controller-manager
}

200 OK
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Server: ESF
Vary: Origin
Expand All @@ -45,14 +47,14 @@ 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",
"hostnames": [
"${uniqueId}.mytesthost.net"
],
Expand All @@ -67,6 +69,7 @@ GET https://apigee.googleapis.com/v1/organizations/${projectId}/operations/${ope
User-Agent: kcc/controller-manager

200 OK
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Server: ESF
Vary: Origin
Expand All @@ -79,14 +82,14 @@ 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",
"hostnames": [
"${uniqueId}.mytesthost.net"
],
Expand All @@ -101,6 +104,7 @@ GET https://apigee.googleapis.com/v1/organizations/${projectId}/envgroups/apigee
User-Agent: kcc/controller-manager

200 OK
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Server: ESF
Vary: Origin
Expand Down Expand Up @@ -135,6 +139,7 @@ User-Agent: kcc/controller-manager
}

200 OK
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Server: ESF
Vary: Origin
Expand All @@ -147,14 +152,14 @@ 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": "UPDATE",
"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",
Expand All @@ -172,6 +177,7 @@ GET https://apigee.googleapis.com/v1/organizations/${projectId}/operations/${ope
User-Agent: kcc/controller-manager

200 OK
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Server: ESF
Vary: Origin
Expand All @@ -184,14 +190,14 @@ 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": "UPDATE",
"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",
Expand All @@ -209,6 +215,7 @@ GET https://apigee.googleapis.com/v1/organizations/${projectId}/envgroups/apigee
User-Agent: kcc/controller-manager

200 OK
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Server: ESF
Vary: Origin
Expand All @@ -235,6 +242,7 @@ DELETE https://apigee.googleapis.com/v1/organizations/${projectId}/envgroups/api
User-Agent: kcc/controller-manager

200 OK
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Server: ESF
Vary: Origin
Expand All @@ -247,7 +255,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 All @@ -264,6 +272,7 @@ GET https://apigee.googleapis.com/v1/organizations/${projectId}/operations/${ope
User-Agent: kcc/controller-manager

200 OK
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Server: ESF
Vary: Origin
Expand All @@ -276,7 +285,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 @@ -2,6 +2,7 @@ GET https://apigee.googleapis.com/v1/organizations/${projectId}/envgroups/apigee
User-Agent: kcc/controller-manager

404 Not Found
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Server: ESF
Vary: Origin
Expand Down Expand Up @@ -33,6 +34,7 @@ User-Agent: kcc/controller-manager
}

200 OK
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Server: ESF
Vary: Origin
Expand All @@ -45,14 +47,14 @@ 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",
"hostnames": [
"${uniqueId}.mytesthost.net"
],
Expand All @@ -67,6 +69,7 @@ GET https://apigee.googleapis.com/v1/organizations/${projectId}/operations/${ope
User-Agent: kcc/controller-manager

200 OK
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Server: ESF
Vary: Origin
Expand All @@ -79,14 +82,14 @@ 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",
"hostnames": [
"${uniqueId}.mytesthost.net"
],
Expand All @@ -101,6 +104,7 @@ GET https://apigee.googleapis.com/v1/organizations/${projectId}/envgroups/apigee
User-Agent: kcc/controller-manager

200 OK
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Server: ESF
Vary: Origin
Expand Down Expand Up @@ -135,6 +139,7 @@ User-Agent: kcc/controller-manager
}

200 OK
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Server: ESF
Vary: Origin
Expand All @@ -147,14 +152,14 @@ 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": "UPDATE",
"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",
Expand All @@ -172,6 +177,7 @@ GET https://apigee.googleapis.com/v1/organizations/${projectId}/operations/${ope
User-Agent: kcc/controller-manager

200 OK
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Server: ESF
Vary: Origin
Expand All @@ -184,14 +190,14 @@ 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": "UPDATE",
"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",
Expand All @@ -209,6 +215,7 @@ GET https://apigee.googleapis.com/v1/organizations/${projectId}/envgroups/apigee
User-Agent: kcc/controller-manager

200 OK
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Server: ESF
Vary: Origin
Expand All @@ -235,6 +242,7 @@ DELETE https://apigee.googleapis.com/v1/organizations/${projectId}/envgroups/api
User-Agent: kcc/controller-manager

200 OK
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Server: ESF
Vary: Origin
Expand All @@ -247,7 +255,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 All @@ -264,6 +272,7 @@ GET https://apigee.googleapis.com/v1/organizations/${projectId}/operations/${ope
User-Agent: kcc/controller-manager

200 OK
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Server: ESF
Vary: Origin
Expand All @@ -276,7 +285,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 fa3d6c7

Please sign in to comment.