From bc0f2cd50c8d4dbc65ab1d1f744beae89a9c948f Mon Sep 17 00:00:00 2001 From: MRHwick Date: Wed, 23 Sep 2020 21:47:27 -0400 Subject: [PATCH 01/16] add a length check to bdd tooling --- tests/scenarios.go | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/tests/scenarios.go b/tests/scenarios.go index 2c51f898ffe..eaf98795d96 100644 --- a/tests/scenarios.go +++ b/tests/scenarios.go @@ -296,6 +296,21 @@ func expectEqualValue(t gobdd.StepTest, ctx gobdd.Context, responsePath string, } } +func expectLengthEqual(t gobdd.StepTest, ctx gobdd.Context, responsePath string, fixtureLength string) { + lengthInt, err := strconv.Atoi(fixtureLength) + if err != nil { + t.Fatalf("assertion length value is not a number %s: %v", fixtureLength, err) + } + responseValue, err := lookup.LookupStringI(GetResponse(ctx)[0].Interface(), SnakeToCamelCase(responsePath)) + if err != nil { + t.Fatalf("could not lookup response value %s: %v", responsePath, err) + } + cmp := is.Len(responseValue.Interface(), lengthInt)() + if !cmp.Success() { + t.Errorf("%v", cmp) + } +} + func expectFalse(t gobdd.StepTest, ctx gobdd.Context, responsePath string) { responseValue, err := lookup.LookupStringI(GetResponse(ctx)[0].Interface(), SnakeToCamelCase(responsePath)) if err != nil { @@ -316,6 +331,7 @@ func ConfigureSteps(s *gobdd.Suite) { `body (.*)`: body, `the response "([^"]+)" is equal to (.*)`: expectEqual, `the response "([^"]+)" has the same value as "([^"]+)"`: expectEqualValue, + `the response "([^"]+)" has length "([0-9]+)"`: expectLengthEqual, `the response "([^"]+)" is false`: expectFalse, } for expr, step := range steps { From b15faee742d587409f1cf8e949186f23ef7cd6a8 Mon Sep 17 00:00:00 2001 From: MRHwick Date: Thu, 24 Sep 2020 01:03:15 -0400 Subject: [PATCH 02/16] Add scenario tests for incidents endpoints --- ...incident_returns__CREATED__response.freeze | 1 + ...w_incident_returns__CREATED__response.yaml | 163 ++++++++++++++++++ ...ting_incident_returns__OK__response.freeze | 1 + ...isting_incident_returns__OK__response.yaml | 154 +++++++++++++++++ ..._of_incidents_returns__OK__response.freeze | 1 + ...st_of_incidents_returns__OK__response.yaml | 108 ++++++++++++ ...f_an_incident_returns__OK__response.freeze | 1 + ..._of_an_incident_returns__OK__response.yaml | 108 ++++++++++++ ...ting_incident_returns__OK__response.freeze | 1 + ...isting_incident_returns__OK__response.yaml | 111 ++++++++++++ tests/api/v2/datadog/scenarios_test.go | 46 ++++- 11 files changed, 693 insertions(+), 2 deletions(-) create mode 100644 tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Create_a_new_incident_returns__CREATED__response.freeze create mode 100644 tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Create_a_new_incident_returns__CREATED__response.yaml create mode 100644 tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Delete_an_existing_incident_returns__OK__response.freeze create mode 100644 tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Delete_an_existing_incident_returns__OK__response.yaml create mode 100644 tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_a_list_of_incidents_returns__OK__response.freeze create mode 100644 tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_a_list_of_incidents_returns__OK__response.yaml create mode 100644 tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_the_details_of_an_incident_returns__OK__response.freeze create mode 100644 tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_the_details_of_an_incident_returns__OK__response.yaml create mode 100644 tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Update_an_existing_incident_returns__OK__response.freeze create mode 100644 tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Update_an_existing_incident_returns__OK__response.yaml diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Create_a_new_incident_returns__CREATED__response.freeze b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Create_a_new_incident_returns__CREATED__response.freeze new file mode 100644 index 00000000000..632184eb115 --- /dev/null +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Create_a_new_incident_returns__CREATED__response.freeze @@ -0,0 +1 @@ +2020-09-24T01:02:05.020372-04:00 \ No newline at end of file diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Create_a_new_incident_returns__CREATED__response.yaml b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Create_a_new_incident_returns__CREATED__response.yaml new file mode 100644 index 00000000000..6ba7d5ae1b2 --- /dev/null +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Create_a_new_incident_returns__CREATED__response.yaml @@ -0,0 +1,163 @@ +--- +version: 1 +interactions: +- request: + body: | + {"data":{"attributes":{"email":"go-testscenarios-feature_incidents-scenario_create_a_new_incident_returns__created__response-given_there_is_a_valid__user__in_the_system-local-1600923725@datadoghq.com","name":"go-testscenarios-feature_incidents-scenario_","title":"Big boss"},"type":"users"}} + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + Dd-Operation-Id: + - CreateUser + User-Agent: + - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "5732374272700095313" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "6734411428936839737" + url: https://api.datadoghq.com/api/v2/users + method: POST + response: + body: '{"data":{"type":"users","id":"16f714e8-fe23-11ea-b262-4bd164e14f5d","attributes":{"name":"go-testscenarios-feature_incidents-scenario_","handle":"go-testscenarios-feature_incidents-scenario_create_a_new_incident_returns__created__response-given_there_is_a_valid__user__in_the_system-local-1600923725@datadoghq.com","created_at":"2020-09-24T05:02:05.081100+00:00","email":"go-testscenarios-feature_incidents-scenario_create_a_new_incident_returns__created__response-given_there_is_a_valid__user__in_the_system-local-1600923725@datadoghq.com","icon":"https://secure.gravatar.com/avatar/1e18c36499dec13ede711e2a6ecd3327?s=48&d=retro","title":"Big + boss","verified":false,"disabled":false,"allowed_login_methods":[],"status":"Pending"},"relationships":{"roles":{"data":[]},"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}}' + headers: + Cache-Control: + - no-cache + Connection: + - keep-alive + Content-Length: + - "845" + Content-Type: + - application/json + Date: + - Thu, 24 Sep 2020 05:02:05 GMT + Dd-Pool: + - dogweb + Pragma: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 01-Oct-2020 05:02:05 GMT; + secure; HttpOnly + Strict-Transport-Security: + - max-age=15724800; + X-Content-Type-Options: + - nosniff + X-Dd-Debug: + - WMqkdiu/k4tYC8oJLm7ZFuFlnIXAYAXwOPQoxLtj7bgJQppYJErVkGl/2/O/+zpm + X-Dd-Version: + - "35.3085403" + X-Frame-Options: + - SAMEORIGIN + status: 201 Created + code: 201 + duration: "" +- request: + body: | + {"data":{"attributes":{"customer_impacted":false,"title":"go-Feature_Incidents-Scenario_Create_a_new_incident_returns__CREATED__response-local-1600923725"},"relationships":{"commander":{"data":{"id":"16f714e8-fe23-11ea-b262-4bd164e14f5d","type":"users"}}},"type":"incidents"}} + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + Dd-Operation-Id: + - CreateIncident + User-Agent: + - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "6992755361123298117" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "6734411428936839737" + url: https://api.datadoghq.com/api/v2/incidents + method: POST + response: + body: '{"data":{"type":"incidents","id":"795ebf4b-89c9-5df0-943b-c8b2d93b63e4","attributes":{"public_id":89,"postmortem_id":null,"title":"go-Feature_Incidents-Scenario_Create_a_new_incident_returns__CREATED__response-local-1600923725","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"last_modified_by_uuid":null,"created":"2020-09-24T05:02:05.271014+00:00","modified":"2020-09-24T05:02:05.271014+00:00","commander":{"data":{"type":"users","id":"16f714e8-fe23-11ea-b262-4bd164e14f5d","attributes":{"uuid":"16f714e8-fe23-11ea-b262-4bd164e14f5d","handle":"go-testscenarios-feature_incidents-scenario_create_a_new_incident_returns__created__response-given_there_is_a_valid__user__in_the_system-local-1600923725@datadoghq.com","email":"go-testscenarios-feature_incidents-scenario_create_a_new_incident_returns__created__response-given_there_is_a_valid__user__in_the_system-local-1600923725@datadoghq.com","name":"go-testscenarios-feature_incidents-scenario_","icon":"https://secure.gravatar.com/avatar/1e18c36499dec13ede711e2a6ecd3327?s=48&d=retro"}}},"state":"active","detected":"2020-09-24T05:02:05.269194+00:00","created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"created_by_uuid":null,"creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null,"additional_notifications":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":null},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[]},"user_defined_fields":{"data":[]},"postmortem":{"data":null},"integrations":{"data":[]}}}}' + headers: + Cache-Control: + - no-cache + Connection: + - keep-alive + Content-Length: + - "2449" + Content-Type: + - application/json + Date: + - Thu, 24 Sep 2020 05:02:07 GMT + Dd-Pool: + - dogweb + Pragma: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 01-Oct-2020 05:02:05 GMT; + secure; HttpOnly + Strict-Transport-Security: + - max-age=15724800; + X-Content-Type-Options: + - nosniff + X-Dd-Debug: + - SjSxykLY0gTr3VkJbxmjvoevebB2pxQifq0h5HklwYksG7/9u16HyBsdYlpi9mGW + X-Dd-Version: + - "35.3085403" + X-Frame-Options: + - SAMEORIGIN + status: 201 Created + code: 201 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Dd-Operation-Id: + - DisableUser + User-Agent: + - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "3446002744465404056" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "6734411428936839737" + url: https://api.datadoghq.com/api/v2/users/16f714e8-fe23-11ea-b262-4bd164e14f5d + method: DELETE + response: + body: "" + headers: + Cache-Control: + - no-cache + Connection: + - keep-alive + Content-Length: + - "0" + Content-Type: + - application/json + Date: + - Thu, 24 Sep 2020 05:02:08 GMT + Dd-Pool: + - dogweb + Pragma: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 01-Oct-2020 05:02:07 GMT; + secure; HttpOnly + Strict-Transport-Security: + - max-age=15724800; + X-Content-Type-Options: + - nosniff + X-Dd-Debug: + - POuDbGLugqXrJfoVh1EySG2rrzsK54DWLRF5/pTAPkxizo7RlYf80RrCYTzc0hnv + X-Dd-Version: + - "35.3085403" + X-Frame-Options: + - SAMEORIGIN + status: 204 No Content + code: 204 + duration: "" diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Delete_an_existing_incident_returns__OK__response.freeze b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Delete_an_existing_incident_returns__OK__response.freeze new file mode 100644 index 00000000000..3ef25171938 --- /dev/null +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Delete_an_existing_incident_returns__OK__response.freeze @@ -0,0 +1 @@ +2020-09-24T01:02:08.070683-04:00 \ No newline at end of file diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Delete_an_existing_incident_returns__OK__response.yaml b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Delete_an_existing_incident_returns__OK__response.yaml new file mode 100644 index 00000000000..48c10df3aed --- /dev/null +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Delete_an_existing_incident_returns__OK__response.yaml @@ -0,0 +1,154 @@ +--- +version: 1 +interactions: +- request: + body: | + {"data":{"attributes":{"customer_impacted":false,"title":"go-TestScenarios-Feature_Incidents-Scenario_Delete_an_existing_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600923728"},"type":"incidents"}} + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + Dd-Operation-Id: + - CreateIncident + User-Agent: + - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "1951883051256396322" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "5363955431391707939" + url: https://api.datadoghq.com/api/v2/incidents + method: POST + response: + body: '{"data":{"type":"incidents","id":"a393e4e2-1869-5ec3-a23d-719bb0230f71","attributes":{"public_id":90,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Delete_an_existing_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600923728","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"last_modified_by_uuid":null,"created":"2020-09-24T05:02:08.141300+00:00","modified":"2020-09-24T05:02:08.141300+00:00","commander":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"state":"active","detected":"2020-09-24T05:02:08.139326+00:00","created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"created_by_uuid":null,"creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null,"additional_notifications":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[]},"user_defined_fields":{"data":[]},"postmortem":{"data":null},"integrations":{"data":[]}}}}' + headers: + Cache-Control: + - no-cache + Connection: + - keep-alive + Content-Length: + - "2228" + Content-Type: + - application/json + Date: + - Thu, 24 Sep 2020 05:02:10 GMT + Dd-Pool: + - dogweb + Pragma: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 01-Oct-2020 05:02:08 GMT; + secure; HttpOnly + Strict-Transport-Security: + - max-age=15724800; + X-Content-Type-Options: + - nosniff + X-Dd-Debug: + - KZy0Z61AelGSMiW0wwPuJyNwjEfJ0APCpzGlt7XM1KaE6e4cHzuLEBcvgVZz4sZ0 + X-Dd-Version: + - "35.3085403" + X-Frame-Options: + - SAMEORIGIN + status: 201 Created + code: 201 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Dd-Operation-Id: + - DeleteIncident + User-Agent: + - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "3924934413112854993" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "5363955431391707939" + url: https://api.datadoghq.com/api/v2/incidents/a393e4e2-1869-5ec3-a23d-719bb0230f71 + method: DELETE + response: + body: "" + headers: + Cache-Control: + - no-cache + Connection: + - keep-alive + Content-Length: + - "0" + Content-Type: + - application/json + Date: + - Thu, 24 Sep 2020 05:02:10 GMT + Dd-Pool: + - dogweb + Pragma: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 01-Oct-2020 05:02:10 GMT; + secure; HttpOnly + Strict-Transport-Security: + - max-age=15724800; + X-Content-Type-Options: + - nosniff + X-Dd-Debug: + - G84mPdYpSAGk3Cn+ow9K78cPip5wn5xve1MIezJYJmKYQLcpCyyPvAIMLsVAC7W/ + X-Dd-Version: + - "35.3085403" + X-Frame-Options: + - SAMEORIGIN + status: 204 No Content + code: 204 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Dd-Operation-Id: + - DeleteIncident + User-Agent: + - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "6598404869501682296" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "5363955431391707939" + url: https://api.datadoghq.com/api/v2/incidents/a393e4e2-1869-5ec3-a23d-719bb0230f71 + method: DELETE + response: + body: '{"errors": ["incident a393e4e2-1869-5ec3-a23d-719bb0230f71 not found"]}' + headers: + Cache-Control: + - no-cache + Connection: + - keep-alive + Content-Type: + - application/json + Date: + - Thu, 24 Sep 2020 05:02:10 GMT + Dd-Pool: + - dogweb + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=15724800; + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + X-Dd-Version: + - "35.3085403" + X-Frame-Options: + - SAMEORIGIN + status: 404 Not Found + code: 404 + duration: "" diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_a_list_of_incidents_returns__OK__response.freeze b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_a_list_of_incidents_returns__OK__response.freeze new file mode 100644 index 00000000000..3a4b0fa44df --- /dev/null +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_a_list_of_incidents_returns__OK__response.freeze @@ -0,0 +1 @@ +2020-09-24T01:02:01.202048-04:00 \ No newline at end of file diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_a_list_of_incidents_returns__OK__response.yaml b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_a_list_of_incidents_returns__OK__response.yaml new file mode 100644 index 00000000000..87d8431b477 --- /dev/null +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_a_list_of_incidents_returns__OK__response.yaml @@ -0,0 +1,108 @@ +--- +version: 1 +interactions: +- request: + body: | + {"data":{"attributes":{"customer_impacted":false,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600923721"},"type":"incidents"}} + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + Dd-Operation-Id: + - CreateIncident + User-Agent: + - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "95312229203702330" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "2180662505528179411" + url: https://api.datadoghq.com/api/v2/incidents + method: POST + response: + body: '{"data":{"type":"incidents","id":"7c3245fb-2407-5654-b4de-84d6d1210007","attributes":{"public_id":88,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600923721","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"last_modified_by_uuid":null,"created":"2020-09-24T05:02:01.492686+00:00","modified":"2020-09-24T05:02:01.492686+00:00","commander":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"state":"active","detected":"2020-09-24T05:02:01.489147+00:00","created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"created_by_uuid":null,"creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null,"additional_notifications":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[]},"user_defined_fields":{"data":[]},"postmortem":{"data":null},"integrations":{"data":[]}}}}' + headers: + Cache-Control: + - no-cache + Connection: + - keep-alive + Content-Length: + - "2224" + Content-Type: + - application/json + Date: + - Thu, 24 Sep 2020 05:02:04 GMT + Dd-Pool: + - dogweb + Pragma: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 01-Oct-2020 05:02:01 GMT; + secure; HttpOnly + Strict-Transport-Security: + - max-age=15724800; + X-Content-Type-Options: + - nosniff + X-Dd-Debug: + - jrdNt2QvGarP6yOsylH3GAxdMWXM4CYDKNbO7i0omswFkFozD11pdA/9Rp2czovd + X-Dd-Version: + - "35.3085403" + X-Frame-Options: + - SAMEORIGIN + status: 201 Created + code: 201 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Dd-Operation-Id: + - ListIncidents + User-Agent: + - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "1303284850647043092" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "2180662505528179411" + url: https://api.datadoghq.com/api/v2/incidents + method: GET + response: + body: '{"meta":{"pagination":{"size":25,"next_offset":25,"offset":0}},"data":[{"type":"incidents","id":"7a059827-672a-57ed-9078-56ce8e79409d","attributes":{"public_id":1,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600911868","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T01:44:31.075654+00:00","modified":"2020-09-24T01:44:31.075654+00:00","state":"active","detected":"2020-09-24T01:44:31.071338+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"f1ae671f-bf2d-5a65-ac8b-eb16699eb685"},{"type":"user_defined_selection","id":"a907a8e5-ead6-57a8-8460-272e96f21c7a"},{"type":"user_defined_selection","id":"a5c83b76-a203-51b5-8e86-7fd9f6f24998"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"86010071-0d9b-5260-93e8-ac019cee7dfd","attributes":{"public_id":2,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600911894","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T01:44:54.402280+00:00","modified":"2020-09-24T01:44:54.402280+00:00","state":"active","detected":"2020-09-24T01:44:54.387089+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"6da6dc59-7f2e-5803-8360-7888a171c49a"},{"type":"user_defined_selection","id":"c03f9d26-a6e9-5231-ac8f-13595a37570b"},{"type":"user_defined_selection","id":"f2e46d01-3014-5cb7-b17f-2b41bf874012"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"36434fb1-bf5d-564c-a543-bae0878be63d","attributes":{"public_id":3,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600920195","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:03:16.150218+00:00","modified":"2020-09-24T04:03:16.150218+00:00","state":"active","detected":"2020-09-24T04:03:16.137784+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"e2d39ab9-60a3-5572-bfcf-6351b9e84c09"},{"type":"user_defined_selection","id":"9354acc4-b06f-5436-abe7-46fe551be70d"},{"type":"user_defined_selection","id":"294ed2aa-998a-56b7-9961-c84ad293c773"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"897bd983-f917-5c81-b8cb-3ef77e25a669","attributes":{"public_id":4,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600920542","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:09:02.406595+00:00","modified":"2020-09-24T04:09:02.406595+00:00","state":"active","detected":"2020-09-24T04:09:02.403938+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"b8ce1e99-9186-50c1-85f8-838280ee9a6c"},{"type":"user_defined_selection","id":"14e31798-a57f-52ed-9c83-7fb34ec44770"},{"type":"user_defined_selection","id":"bfb59cba-995f-53d1-89f0-644b34d1c9be"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"f4c72afc-b259-5ce5-a25b-318c6b488dcc","attributes":{"public_id":5,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600920774","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:12:54.649152+00:00","modified":"2020-09-24T04:12:54.649152+00:00","state":"active","detected":"2020-09-24T04:12:54.647619+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"ea45817d-979e-54bd-8789-a4a102c07afa"},{"type":"user_defined_selection","id":"4540ccd6-df93-524f-a915-21f9279f52c2"},{"type":"user_defined_selection","id":"b4d39bd2-6997-50fb-a6b0-0036c0c47d02"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"4e9687e9-2ce2-58a6-b647-2047675202fa","attributes":{"public_id":6,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600920822","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:13:42.856251+00:00","modified":"2020-09-24T04:13:42.856251+00:00","state":"active","detected":"2020-09-24T04:13:42.854350+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"79f37183-b2c8-525c-8b93-edd2dabd43c6"},{"type":"user_defined_selection","id":"aa82b105-e68a-5abe-9eda-dfe6de2eedd1"},{"type":"user_defined_selection","id":"f3da7f81-63bd-5a44-9d0b-02b7ee1c6d0f"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"135bb2e7-2bd3-5ec2-b6e4-0d83adeb5ee9","attributes":{"public_id":7,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600920842","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:14:03.212980+00:00","modified":"2020-09-24T04:14:03.212980+00:00","state":"active","detected":"2020-09-24T04:14:03.211283+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"6060fd9b-d382-571c-a47d-31b1d6e72d5b"},{"type":"user_defined_selection","id":"9e2649d8-cd6d-52f7-98a8-2887118a2df0"},{"type":"user_defined_selection","id":"9c2ddf5f-5e15-5f9a-a871-11d071199f1c"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"0cf15030-1e11-54eb-b662-86d044b407d7","attributes":{"public_id":8,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600921077","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:17:57.765225+00:00","modified":"2020-09-24T04:17:57.765225+00:00","state":"active","detected":"2020-09-24T04:17:57.762690+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"1fa8a7aa-6b1d-58d0-acb3-0a3803d5ea9b"},{"type":"user_defined_selection","id":"64f671b4-887b-5d5e-9091-f7cd3843365b"},{"type":"user_defined_selection","id":"d9eddcd1-0855-5af7-aa1b-7be4cd8f3c1a"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"627a881a-ed42-51dd-b3f7-12fb598e51b7","attributes":{"public_id":9,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600921223","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:20:23.444263+00:00","modified":"2020-09-24T04:20:23.444263+00:00","state":"active","detected":"2020-09-24T04:20:23.442590+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"0e769331-9d9c-515c-9a4e-824d70d27d71"},{"type":"user_defined_selection","id":"45d7a21c-9d61-5fce-b16f-3b551f06d424"},{"type":"user_defined_selection","id":"9a56758e-f622-5941-9551-7a520ba8ba39"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"fc275f70-e1bb-5aea-b583-eb5afbd97e84","attributes":{"public_id":10,"postmortem_id":null,"title":"go-Feature_Incidents-Scenario_Create_a_new_incident_returns__CREATED__response-local-1600921226","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:20:27.042285+00:00","modified":"2020-09-24T04:20:27.042285+00:00","state":"active","detected":"2020-09-24T04:20:27.040509+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"45e7ad7c-fe1d-11ea-b260-47e9f3637f3b"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"9f7c0f4a-d5c1-5e4e-97ad-e7518e2fd1c2"},{"type":"user_defined_selection","id":"31a9737f-a7e3-5385-932f-6c92656c16e9"},{"type":"user_defined_selection","id":"8dc87737-d57f-531c-9a95-887a14b54f8b"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"80318a1d-8a64-59e8-9a3e-7370af8eb927","attributes":{"public_id":11,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600921418","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:23:39.224605+00:00","modified":"2020-09-24T04:23:39.224605+00:00","state":"active","detected":"2020-09-24T04:23:39.223050+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"b9e5c503-36ec-5a1f-9e52-bbd634cffd37"},{"type":"user_defined_selection","id":"d599f052-8917-5057-b58f-b13191cc53cc"},{"type":"user_defined_selection","id":"9d815c16-5993-5442-b195-d40053be3a3b"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"f5552e0d-d07e-5345-9368-ed8f46ac0e8a","attributes":{"public_id":12,"postmortem_id":null,"title":"go-Feature_Incidents-Scenario_Create_a_new_incident_returns__CREATED__response-local-1600921422","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:23:42.249562+00:00","modified":"2020-09-24T04:23:42.249562+00:00","state":"active","detected":"2020-09-24T04:23:42.247961+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"ba47465a-fe1d-11ea-b260-cf511b8ddff0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"215a4ddb-2dbd-5c30-8fea-918969ccf1e4"},{"type":"user_defined_selection","id":"6e23efe0-d1ec-517e-9fe3-df92d6532633"},{"type":"user_defined_selection","id":"b18a026e-0ad0-5a8c-ba51-b5a52d452dac"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"9c10bb37-2a22-5aa0-baca-d7b9998f7ace","attributes":{"public_id":14,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600921446","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:24:06.487148+00:00","modified":"2020-09-24T04:24:06.487148+00:00","state":"active","detected":"2020-09-24T04:24:06.474493+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"6c3d4c9f-07f2-5c65-9f51-f094efe6b491"},{"type":"user_defined_selection","id":"b24ecc35-d5bd-5f49-9a14-1d886408ff74"},{"type":"user_defined_selection","id":"ec705344-6abb-56a5-8149-107a62271444"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"14882f8c-2c80-546f-a60b-5740102cc9af","attributes":{"public_id":15,"postmortem_id":null,"title":"go-Feature_Incidents-Scenario_Create_a_new_incident_returns__CREATED__response-local-1600921449","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:24:09.490794+00:00","modified":"2020-09-24T04:24:09.490794+00:00","state":"active","detected":"2020-09-24T04:24:09.488828+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"ca79d3d0-fe1d-11ea-b260-ef7399d6b59c"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"ca1172b0-c74d-5c7a-8663-85b87d373ae9"},{"type":"user_defined_selection","id":"14f6377d-e55e-5aa7-ae62-0d18c8c2bbe3"},{"type":"user_defined_selection","id":"f149ac5d-1831-580b-aff0-608335f21b94"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"03e1a113-9c81-5eb1-8103-ea690c87cc33","attributes":{"public_id":17,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600921947","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:32:27.710485+00:00","modified":"2020-09-24T04:32:27.710485+00:00","state":"active","detected":"2020-09-24T04:32:27.708946+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"e5cc2693-bae6-540c-a309-1ee2c8b94b52"},{"type":"user_defined_selection","id":"fde43c1d-cfc7-5a01-99bc-a27cdef791d7"},{"type":"user_defined_selection","id":"74ca3061-3765-5130-a0df-7d70a1f9ee59"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"e4985af9-21c6-52e3-a507-e10be43991a5","attributes":{"public_id":18,"postmortem_id":null,"title":"go-Feature_Incidents-Scenario_Create_a_new_incident_returns__CREATED__response-local-1600921949","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:32:29.904017+00:00","modified":"2020-09-24T04:32:29.904017+00:00","state":"active","detected":"2020-09-24T04:32:29.902156+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"f4bddb72-fe1e-11ea-b260-f3aa2ee52ab4"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"36e9a81e-56b2-5d9f-853a-7ad6f1e8f848"},{"type":"user_defined_selection","id":"f8e76aeb-68dc-5529-9f5f-093af1e8577e"},{"type":"user_defined_selection","id":"80fc245e-237b-54e1-b778-74dd4746287f"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"8b6e056f-3c50-5083-96e8-a5b83411e17a","attributes":{"public_id":20,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_the_details_of_an_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600921958","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:32:39.029294+00:00","modified":"2020-09-24T04:32:39.029294+00:00","state":"active","detected":"2020-09-24T04:32:39.027571+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"5634b98b-bc4b-55ba-838e-427c5b5b0747"},{"type":"user_defined_selection","id":"28e7b453-36bc-5524-9109-c602f5f77965"},{"type":"user_defined_selection","id":"45d9b024-e6bf-53f3-8e1b-92be19d26f75"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"9a0dfc7a-9d9e-5439-9b2d-f1a8307053cc","attributes":{"public_id":21,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Update_an_existing_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600921959","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:32:39.860407+00:00","modified":"2020-09-24T04:32:39.860407+00:00","state":"active","detected":"2020-09-24T04:32:39.858584+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"0abb5528-4c6e-54f4-bc80-f2908dcc0a8a"},{"type":"user_defined_selection","id":"38ccf875-9413-5d4b-99d4-732331c6e995"},{"type":"user_defined_selection","id":"2756d06a-c3e3-5387-8a56-61af7724fd9a"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"9af253a0-5687-5305-bf05-c617c70ad091","attributes":{"public_id":22,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600922065","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:34:25.966710+00:00","modified":"2020-09-24T04:34:25.966710+00:00","state":"active","detected":"2020-09-24T04:34:25.948795+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"8c06dde7-31f4-56ae-bab6-d3180d22b247"},{"type":"user_defined_selection","id":"d06a6ebb-1292-5386-b0a0-1fc37e3f73ed"},{"type":"user_defined_selection","id":"b436bb9d-c0ff-5e01-b5a5-e6e69bca702c"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"e13f6f74-4b76-52e9-b33e-59e5f3bec034","attributes":{"public_id":23,"postmortem_id":null,"title":"go-Feature_Incidents-Scenario_Create_a_new_incident_returns__CREATED__response-local-1600922068","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:34:28.748849+00:00","modified":"2020-09-24T04:34:28.748849+00:00","state":"active","detected":"2020-09-24T04:34:28.746476+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3b995896-fe1f-11ea-b260-b3178cb0e7d1"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"c90ea1ff-f800-5ae5-9b8a-8a6aba73fc6b"},{"type":"user_defined_selection","id":"01d10f9e-73bc-5fcd-9169-94cf73e25a23"},{"type":"user_defined_selection","id":"f039a4cc-bce6-5a4c-9653-90ed33b3ffd1"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"5b9dfec0-e5c9-522c-9651-a14ba2cc9a00","attributes":{"public_id":25,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_the_details_of_an_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600922072","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:34:32.720745+00:00","modified":"2020-09-24T04:34:32.720745+00:00","state":"active","detected":"2020-09-24T04:34:32.719019+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"9ccdb5a3-f627-58d6-b972-e36ceda85b70"},{"type":"user_defined_selection","id":"71a88f49-5ca0-5ec2-80f4-cc4bfe177f77"},{"type":"user_defined_selection","id":"92fc5503-c711-5fbc-80ab-fce1ee7585b5"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"fbfde4c0-ec20-5466-b95f-efe135510590","attributes":{"public_id":26,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Update_an_existing_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600922074","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:34:34.467879+00:00","modified":"2020-09-24T04:34:34.467879+00:00","state":"active","detected":"2020-09-24T04:34:34.466051+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"8c855a34-07e4-5443-9072-0cf27251a92d"},{"type":"user_defined_selection","id":"4963739c-2921-526c-ab05-b4fb22558ecf"},{"type":"user_defined_selection","id":"6879f703-e0b9-592e-ab17-e8cc104a1118"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"7f300f39-9f01-52da-89c2-0610917d5f67","attributes":{"public_id":27,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600922138","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:35:39.039986+00:00","modified":"2020-09-24T04:35:39.039986+00:00","state":"active","detected":"2020-09-24T04:35:39.025803+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"c56538b0-9c5f-58a7-b47d-ea1be1bad876"},{"type":"user_defined_selection","id":"59de340c-0542-55e8-8e83-ce436716d64d"},{"type":"user_defined_selection","id":"cc4b2003-d5d6-5023-98c6-362d4aabb547"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"0c6cab54-404d-5776-8503-2e45d25dd8f8","attributes":{"public_id":28,"postmortem_id":null,"title":"go-Feature_Incidents-Scenario_Create_a_new_incident_returns__CREATED__response-local-1600922142","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:35:43.503245+00:00","modified":"2020-09-24T04:35:43.503245+00:00","state":"active","detected":"2020-09-24T04:35:43.498533+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"68087c36-fe1f-11ea-b260-abe4ca1ff356"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"9cc94679-0f62-5b4a-bcb2-6acdeddc95a6"},{"type":"user_defined_selection","id":"5107818f-1713-589e-86f4-919430f04eea"},{"type":"user_defined_selection","id":"c8ef95c0-2ff1-5bd5-bdb0-fc116051661e"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"6c307bba-b1d0-5fc7-a3df-db4c5c4ea6c9","attributes":{"public_id":30,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_the_details_of_an_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600922148","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:35:48.383356+00:00","modified":"2020-09-24T04:35:48.383356+00:00","state":"active","detected":"2020-09-24T04:35:48.381856+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"40fa55fa-f78d-5c0d-b4b9-b58d3f865df3"},{"type":"user_defined_selection","id":"1f50715f-58f7-5790-98c0-9a197a15cb89"},{"type":"user_defined_selection","id":"7d98f78d-a278-5753-9c80-2ef3cd7eaa95"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}}]}' + headers: + Cache-Control: + - no-cache + Connection: + - keep-alive + Content-Type: + - application/json + Date: + - Thu, 24 Sep 2020 05:02:04 GMT + Dd-Pool: + - dogweb + Pragma: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 01-Oct-2020 05:02:04 GMT; + secure; HttpOnly + Strict-Transport-Security: + - max-age=15724800; + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + X-Dd-Debug: + - UPwGSEkEo+aTtV9/qlvsM9xVIKq1xypRG0bv22kO1eeJfu8bY+H+f1xOa3JlvZhZ + X-Dd-Version: + - "35.3085403" + X-Frame-Options: + - SAMEORIGIN + status: 200 OK + code: 200 + duration: "" diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_the_details_of_an_incident_returns__OK__response.freeze b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_the_details_of_an_incident_returns__OK__response.freeze new file mode 100644 index 00000000000..5d6faf0a5d4 --- /dev/null +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_the_details_of_an_incident_returns__OK__response.freeze @@ -0,0 +1 @@ +2020-09-24T01:02:10.85016-04:00 \ No newline at end of file diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_the_details_of_an_incident_returns__OK__response.yaml b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_the_details_of_an_incident_returns__OK__response.yaml new file mode 100644 index 00000000000..851c0eb4310 --- /dev/null +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_the_details_of_an_incident_returns__OK__response.yaml @@ -0,0 +1,108 @@ +--- +version: 1 +interactions: +- request: + body: | + {"data":{"attributes":{"customer_impacted":false,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_the_details_of_an_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600923730"},"type":"incidents"}} + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + Dd-Operation-Id: + - CreateIncident + User-Agent: + - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "5767730595334197239" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "3326874530820909300" + url: https://api.datadoghq.com/api/v2/incidents + method: POST + response: + body: '{"data":{"type":"incidents","id":"bb60765c-69e2-57ec-a839-e4676fbb3d79","attributes":{"public_id":91,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_the_details_of_an_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600923730","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"last_modified_by_uuid":null,"created":"2020-09-24T05:02:10.921908+00:00","modified":"2020-09-24T05:02:10.921908+00:00","commander":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"state":"active","detected":"2020-09-24T05:02:10.919612+00:00","created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"created_by_uuid":null,"creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null,"additional_notifications":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[]},"user_defined_fields":{"data":[]},"postmortem":{"data":null},"integrations":{"data":[]}}}}' + headers: + Cache-Control: + - no-cache + Connection: + - keep-alive + Content-Length: + - "2231" + Content-Type: + - application/json + Date: + - Thu, 24 Sep 2020 05:02:13 GMT + Dd-Pool: + - dogweb + Pragma: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 01-Oct-2020 05:02:10 GMT; + secure; HttpOnly + Strict-Transport-Security: + - max-age=15724800; + X-Content-Type-Options: + - nosniff + X-Dd-Debug: + - shSARNU4/WQFPOKM8NVdagbh/ZoS+zYzlyviY3k5npVGETiEU89iNTNvqiMXn1f6 + X-Dd-Version: + - "35.3085403" + X-Frame-Options: + - SAMEORIGIN + status: 201 Created + code: 201 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Dd-Operation-Id: + - GetIncident + User-Agent: + - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "4839307967907875482" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "3326874530820909300" + url: https://api.datadoghq.com/api/v2/incidents/bb60765c-69e2-57ec-a839-e4676fbb3d79 + method: GET + response: + body: '{"data":{"type":"incidents","id":"bb60765c-69e2-57ec-a839-e4676fbb3d79","attributes":{"public_id":91,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_the_details_of_an_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600923730","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T05:02:10.921908+00:00","modified":"2020-09-24T05:02:10.921908+00:00","state":"active","detected":"2020-09-24T05:02:10.919612+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"aa6f411b-3dcc-51ad-9b20-2aea2128e59c"},{"type":"user_defined_selection","id":"e1fe4b9b-da33-5a21-bceb-f0c241a08dab"},{"type":"user_defined_selection","id":"bfe0caae-8d29-5336-ba14-85806072b21e"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}}}' + headers: + Cache-Control: + - no-cache + Connection: + - keep-alive + Content-Type: + - application/json + Date: + - Thu, 24 Sep 2020 05:02:13 GMT + Dd-Pool: + - dogweb + Pragma: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 01-Oct-2020 05:02:13 GMT; + secure; HttpOnly + Strict-Transport-Security: + - max-age=15724800; + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + X-Dd-Debug: + - 6IhQMEQHjYL1ZYwBd1xPnaqhoM5GIKrVP4vKHrLdyvV0W9ZbpSld8lY0ehD40SZe + X-Dd-Version: + - "35.3085403" + X-Frame-Options: + - SAMEORIGIN + status: 200 OK + code: 200 + duration: "" diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Update_an_existing_incident_returns__OK__response.freeze b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Update_an_existing_incident_returns__OK__response.freeze new file mode 100644 index 00000000000..e293cbb44ec --- /dev/null +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Update_an_existing_incident_returns__OK__response.freeze @@ -0,0 +1 @@ +2020-09-24T01:02:13.33486-04:00 \ No newline at end of file diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Update_an_existing_incident_returns__OK__response.yaml b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Update_an_existing_incident_returns__OK__response.yaml new file mode 100644 index 00000000000..0259c89d6fb --- /dev/null +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Update_an_existing_incident_returns__OK__response.yaml @@ -0,0 +1,111 @@ +--- +version: 1 +interactions: +- request: + body: | + {"data":{"attributes":{"customer_impacted":false,"title":"go-TestScenarios-Feature_Incidents-Scenario_Update_an_existing_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600923733"},"type":"incidents"}} + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + Dd-Operation-Id: + - CreateIncident + User-Agent: + - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "119953827658617842" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "4630820116397043077" + url: https://api.datadoghq.com/api/v2/incidents + method: POST + response: + body: '{"data":{"type":"incidents","id":"6c79a3ef-ad72-533b-a361-13a3f44d1230","attributes":{"public_id":92,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Update_an_existing_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600923733","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"last_modified_by_uuid":null,"created":"2020-09-24T05:02:13.430863+00:00","modified":"2020-09-24T05:02:13.430863+00:00","commander":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"state":"active","detected":"2020-09-24T05:02:13.427976+00:00","created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"created_by_uuid":null,"creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null,"additional_notifications":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[]},"user_defined_fields":{"data":[]},"postmortem":{"data":null},"integrations":{"data":[]}}}}' + headers: + Cache-Control: + - no-cache + Connection: + - keep-alive + Content-Length: + - "2228" + Content-Type: + - application/json + Date: + - Thu, 24 Sep 2020 05:02:14 GMT + Dd-Pool: + - dogweb + Pragma: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 01-Oct-2020 05:02:13 GMT; + secure; HttpOnly + Strict-Transport-Security: + - max-age=15724800; + X-Content-Type-Options: + - nosniff + X-Dd-Debug: + - lqMB0JFM99VhRtxXIpWUr9JgjDFKxnlkUv1nxFsIcQfFO0NMuI7D2Hh8tiSgYzCo + X-Dd-Version: + - "35.3085403" + X-Frame-Options: + - SAMEORIGIN + status: 201 Created + code: 201 + duration: "" +- request: + body: | + {"data":{"attributes":{"title":"go-TestScenarios-Feature_Incidents-Scenario_Update_an_existing_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600923733-updated"},"id":"6c79a3ef-ad72-533b-a361-13a3f44d1230","type":"incidents"}} + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + Dd-Operation-Id: + - UpdateIncident + User-Agent: + - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "978027871112754881" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "4630820116397043077" + url: https://api.datadoghq.com/api/v2/incidents/6c79a3ef-ad72-533b-a361-13a3f44d1230 + method: PATCH + response: + body: '{"data":{"type":"incidents","id":"6c79a3ef-ad72-533b-a361-13a3f44d1230","attributes":{"public_id":92,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Update_an_existing_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600923733-updated","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T05:02:13.430863+00:00","modified":"2020-09-24T05:02:14.364233+00:00","commander":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"state":"active","detected":"2020-09-24T05:02:13.427976+00:00","created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"8e2d88c1-f492-5567-8496-7c0429a0f219"},{"type":"user_defined_selection","id":"93275680-3814-59fc-a2cf-74a3ca02902a"},{"type":"user_defined_selection","id":"9add64a4-b812-5233-9d31-a060b971342d"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}}}' + headers: + Cache-Control: + - no-cache + Connection: + - keep-alive + Content-Type: + - application/json + Date: + - Thu, 24 Sep 2020 05:02:14 GMT + Dd-Pool: + - dogweb + Pragma: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 01-Oct-2020 05:02:14 GMT; + secure; HttpOnly + Strict-Transport-Security: + - max-age=15724800; + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + X-Dd-Debug: + - WyPl7Uohyy2nhJ7RWrq85UM5TEMaIEIfRwQveR0xpNBygzZEP8S/qWubDM7SoNjW + X-Dd-Version: + - "35.3085403" + X-Frame-Options: + - SAMEORIGIN + status: 200 OK + code: 200 + duration: "" diff --git a/tests/api/v2/datadog/scenarios_test.go b/tests/api/v2/datadog/scenarios_test.go index 2b624ae08ce..9e3792571d9 100644 --- a/tests/api/v2/datadog/scenarios_test.go +++ b/tests/api/v2/datadog/scenarios_test.go @@ -31,6 +31,12 @@ func undoCreateRole(ctx gobdd.Context) { Client(cctx).RolesApi.DeleteRole(cctx, role.Data.GetId()).Execute() } +func undoCreateIncident(ctx gobdd.Context) { + incident := tests.GetResponse(ctx)[0].Interface().(datadog.IncidentResponse) + cctx := tests.GetCtx(ctx) + Client(cctx).IncidentsApi.DeleteIncident(cctx, incident.Data.GetId()).Execute() +} + func undoCreateService(ctx gobdd.Context) { service := tests.GetResponse(ctx)[0].Interface().(datadog.ServiceResponse) cctx := tests.GetCtx(ctx) @@ -46,30 +52,35 @@ func undoCreateTeam(ctx gobdd.Context) { var requestsUndo = map[string]func(ctx gobdd.Context){ "AddPermissionToRole": undoIgnore, "AddUserToRole": undoIgnore, + "CreateIncident": undoCreateIncident, "CreateRole": undoCreateRole, "CreateService": undoCreateService, "CreateTeam": undoCreateTeam, "CreateUser": undoCreateUser, "DisableUser": undoIgnore, + "DeleteIncident": undoIgnore, "DeleteRole": undoIgnore, "DeleteService": undoIgnore, "DeleteTeam": undoIgnore, + "GetIncident": undoIgnore, "GetInvitation": undoIgnore, "GetRole": undoIgnore, "GetService": undoIgnore, - "GetServices": undoIgnore, "GetTeam": undoIgnore, - "GetTeams": undoIgnore, "GetUser": undoIgnore, + "ListIncidents": undoIgnore, "ListPermissions": undoIgnore, "ListRolePermissions": undoIgnore, "ListRoles": undoIgnore, "ListRoleUsers": undoIgnore, + "ListServices": undoIgnore, + "ListTeams": undoIgnore, "ListUsers": undoIgnore, "ListUserPermissions": undoIgnore, "RemovePermissionFromRole": undoIgnore, "RemoveUserFromRole": undoIgnore, "SendInvitations": undoIgnore, + "UpdateIncident": undoIgnore, "UpdateRole": undoIgnore, "UpdateService": undoIgnore, "UpdateUser": undoIgnore, @@ -136,6 +147,7 @@ func TestScenarios(t *testing.T) { s.AddStep(`a valid "appKeyAuth" key in the system`, aValidAppKeyAuth) s.AddStep(`an instance of "([^"]+)" API`, anInstanceOf) s.AddStep(`operation "([^"]+)" enabled`, enableOperations) + s.AddStep(`there is a valid "incident" in the system`, incident) s.AddStep(`there is a valid "user" in the system`, user) s.AddStep(`there is a valid "role" in the system`, role) s.AddStep(`there is a valid "service" in the system`, service) @@ -303,6 +315,36 @@ func team(t gobdd.StepTest, ctx gobdd.Context) { tests.GetData(ctx)["team"] = response } +func deleteIncident(ctx context.Context, incidentID string) { + _, err := Client(ctx).IncidentsApi.DeleteIncident(ctx, incidentID).Execute() + if err == nil { + return + } + log.Printf("Error deleting incident: %v, Another test may have already deleted this incident: %s", incidentID, err.Error()) +} + +func incident(t gobdd.StepTest, ctx gobdd.Context) { + client := Client(tests.GetCtx(ctx)) + client.GetConfig().SetUnstableOperationEnabled("CreateIncident", true) + + incidentAttributes := datadog.NewIncidentCreateAttributes(false, *tests.UniqueEntityName(tests.GetCtx(ctx), t.(*testing.T))) + incident := datadog.NewIncidentCreateData(datadog.IncidentType("incidents")) + incident.SetAttributes(*incidentAttributes) + incidentRequest := datadog.NewIncidentCreateRequest(*incident) + response, _, err := client.IncidentsApi.CreateIncident(tests.GetCtx(ctx)).Body(*incidentRequest).Execute() + if err != nil { + t.Fatalf("error creating incident: response %s: %v", err.(datadog.GenericOpenAPIError).Body(), err) + } + + responseData := response.GetData() + incidentID := responseData.GetId() + outContext := tests.GetCtx(ctx) + tests.GetCleanup(ctx)["50-incident"] = func() { + deleteIncident(outContext, incidentID) + } + + tests.GetData(ctx)["incident"] = response +} func userHasRole(t gobdd.StepTest, ctx gobdd.Context) { client := Client(tests.GetCtx(ctx)) From 6a57970a516d1e099446088fcbf0c4581f62f6d5 Mon Sep 17 00:00:00 2001 From: MRHwick Date: Thu, 24 Sep 2020 01:33:59 -0400 Subject: [PATCH 03/16] fix teams/services cassettes --- ..._service_returns__CREATED__response.freeze | 2 +- ...ew_service_returns__CREATED__response.yaml | 18 +++---- ...sting_service_returns__OK__response.freeze | 2 +- ...xisting_service_returns__OK__response.yaml | 48 +++++++++---------- ..._all_services_returns__OK__response.freeze | 2 +- ...of_all_services_returns__OK__response.yaml | 36 +++++++------- ..._of_a_service_returns__OK__response.freeze | 2 +- ...ls_of_a_service_returns__OK__response.yaml | 36 +++++++------- ...sting_service_returns__OK__response.freeze | 2 +- ...xisting_service_returns__OK__response.yaml | 38 +++++++-------- ...new_team_returns__CREATED__response.freeze | 2 +- ...a_new_team_returns__CREATED__response.yaml | 18 +++---- ...existing_team_returns__OK__response.freeze | 2 +- ...n_existing_team_returns__OK__response.yaml | 48 +++++++++---------- ..._of_all_teams_returns__OK__response.freeze | 2 +- ...st_of_all_teams_returns__OK__response.yaml | 36 +++++++------- ...ils_of_a_team_returns__OK__response.freeze | 2 +- ...tails_of_a_team_returns__OK__response.yaml | 36 +++++++------- ...existing_team_returns__OK__response.freeze | 2 +- ...n_existing_team_returns__OK__response.yaml | 38 +++++++-------- 20 files changed, 186 insertions(+), 186 deletions(-) diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Create_a_new_service_returns__CREATED__response.freeze b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Create_a_new_service_returns__CREATED__response.freeze index 7b6b262f155..5b53bbb6a7d 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Create_a_new_service_returns__CREATED__response.freeze +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Create_a_new_service_returns__CREATED__response.freeze @@ -1 +1 @@ -2020-09-21T12:18:19.504664+02:00 \ No newline at end of file +2020-09-24T01:33:23.639022-04:00 \ No newline at end of file diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Create_a_new_service_returns__CREATED__response.yaml b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Create_a_new_service_returns__CREATED__response.yaml index 156fbc1a2a7..0c7eac73401 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Create_a_new_service_returns__CREATED__response.yaml +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Create_a_new_service_returns__CREATED__response.yaml @@ -3,7 +3,7 @@ version: 1 interactions: - request: body: | - {"data":{"attributes":{"name":"go-Feature_Services-Scenario_Create_a_new_service_returns__CREATED__response-local-1600683499"},"type":"services"}} + {"data":{"attributes":{"name":"go-Feature_Services-Scenario_Create_a_new_service_returns__CREATED__response-local-1600925603"},"type":"services"}} form: {} headers: Accept: @@ -13,17 +13,17 @@ interactions: Dd-Operation-Id: - CreateService User-Agent: - - datadog-api-client-go/1.0.0-beta.9+dev (go go1.14.3; os darwin; arch amd64) + - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "2277761801433430103" + - "7582826446091674410" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "2753658054943178992" + - "5382342405151180944" url: https://api.datadoghq.com/api/v2/services method: POST response: - body: '{"included":[{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"name":null,"handle":"frog@datadoghq.com","created_at":"2019-10-02T08:15:39.795051+00:00","email":"frog@datadoghq.com","icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro","title":null,"verified":true,"disabled":false,"allowed_login_methods":[],"status":"Active"},"relationships":{"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}],"data":{"type":"services","id":"78da750b-1b8f-59fc-b5a3-8f9ba884db01","attributes":{"name":"go-Feature_Services-Scenario_Create_a_new_service_returns__CREATED__response-local-1600683499","created":"2020-09-21T10:18:19.612743+00:00","modified":"2020-09-21T10:18:19.612743+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}}}' + body: '{"included":[{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"name":null,"handle":"frog@datadoghq.com","created_at":"2019-10-02T08:15:39.795051+00:00","email":"frog@datadoghq.com","icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro","title":null,"verified":true,"disabled":false,"allowed_login_methods":[],"status":"Active"},"relationships":{"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}],"data":{"type":"services","id":"16c0fd28-a8eb-5e0a-a400-242675cea50a","attributes":{"name":"go-Feature_Services-Scenario_Create_a_new_service_returns__CREATED__response-local-1600925603","created":"2020-09-24T05:33:23.725723+00:00","modified":"2020-09-24T05:33:23.725723+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}}}' headers: Cache-Control: - no-cache @@ -34,22 +34,22 @@ interactions: Content-Type: - application/json Date: - - Mon, 21 Sep 2020 10:18:21 GMT + - Thu, 24 Sep 2020 05:33:23 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Mon, 28-Sep-2020 10:18:19 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 01-Oct-2020 05:33:23 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff X-Dd-Debug: - - IEUzjgpnyUrp74lH2dqPweGXNQU7es3CY44HHPIdy7aSNeimMebMvcKCoCgyWWVx + - mjjix3i7KxHakJGjOSXbyjGLp+IPNWPrPaCVopgkuqm46lk1b+kLivuxRokDQC1N X-Dd-Version: - - "35.3066091" + - "35.3085403" X-Frame-Options: - SAMEORIGIN status: 201 Created diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Delete_an_existing_service_returns__OK__response.freeze b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Delete_an_existing_service_returns__OK__response.freeze index 5213c5872e9..6cd6071271d 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Delete_an_existing_service_returns__OK__response.freeze +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Delete_an_existing_service_returns__OK__response.freeze @@ -1 +1 @@ -2020-09-21T12:18:21.487162+02:00 \ No newline at end of file +2020-09-24T01:33:23.829024-04:00 \ No newline at end of file diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Delete_an_existing_service_returns__OK__response.yaml b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Delete_an_existing_service_returns__OK__response.yaml index e7ed308ab7a..6da2856ee81 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Delete_an_existing_service_returns__OK__response.yaml +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Delete_an_existing_service_returns__OK__response.yaml @@ -3,7 +3,7 @@ version: 1 interactions: - request: body: | - {"data":{"attributes":{"name":"go-TestScenarios-Feature_Services-Scenario_Delete_an_existing_service_returns__OK__response-Given_there_is_a_valid__service__in_the_system-local-1600683501"},"type":"services"}} + {"data":{"attributes":{"name":"go-TestScenarios-Feature_Services-Scenario_Delete_an_existing_service_returns__OK__response-Given_there_is_a_valid__service__in_the_system-local-1600925603"},"type":"services"}} form: {} headers: Accept: @@ -13,17 +13,17 @@ interactions: Dd-Operation-Id: - CreateService User-Agent: - - datadog-api-client-go/1.0.0-beta.9+dev (go go1.14.3; os darwin; arch amd64) + - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "8526420223129324211" + - "4487326391402665905" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "2255819824092915915" + - "5626246693395613650" url: https://api.datadoghq.com/api/v2/services method: POST response: - body: '{"included":[{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"name":null,"handle":"frog@datadoghq.com","created_at":"2019-10-02T08:15:39.795051+00:00","email":"frog@datadoghq.com","icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro","title":null,"verified":true,"disabled":false,"allowed_login_methods":[],"status":"Active"},"relationships":{"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}],"data":{"type":"services","id":"1b0fef8f-669f-521a-a821-df3441422f5c","attributes":{"name":"go-TestScenarios-Feature_Services-Scenario_Delete_an_existing_service_returns__OK__response-Given_there_is_a_valid__service__in_the_system-local-1600683501","created":"2020-09-21T10:18:21.613833+00:00","modified":"2020-09-21T10:18:21.613833+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}}}' + body: '{"included":[{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"name":null,"handle":"frog@datadoghq.com","created_at":"2019-10-02T08:15:39.795051+00:00","email":"frog@datadoghq.com","icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro","title":null,"verified":true,"disabled":false,"allowed_login_methods":[],"status":"Active"},"relationships":{"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}],"data":{"type":"services","id":"13299084-51fb-50d7-902b-8a7a5392efdb","attributes":{"name":"go-TestScenarios-Feature_Services-Scenario_Delete_an_existing_service_returns__OK__response-Given_there_is_a_valid__service__in_the_system-local-1600925603","created":"2020-09-24T05:33:23.882449+00:00","modified":"2020-09-24T05:33:23.882449+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}}}' headers: Cache-Control: - no-cache @@ -34,22 +34,22 @@ interactions: Content-Type: - application/json Date: - - Mon, 21 Sep 2020 10:18:21 GMT + - Thu, 24 Sep 2020 05:33:25 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Mon, 28-Sep-2020 10:18:21 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 01-Oct-2020 05:33:23 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff X-Dd-Debug: - - 4XEHrKCjPbSbs1iu1F78+tH4eaIPZCq+IGDoHN/GQcOsLq6w3Zzz7ZK1RqpTUzFS + - yh6YON+7jbeDMg7CO+AYyoesqWeq0Iw5xzcOjFKKupoYHnh4eyLWds2GSgfB/+lP X-Dd-Version: - - "35.3066091" + - "35.3085403" X-Frame-Options: - SAMEORIGIN status: 201 Created @@ -64,14 +64,14 @@ interactions: Dd-Operation-Id: - DeleteService User-Agent: - - datadog-api-client-go/1.0.0-beta.9+dev (go go1.14.3; os darwin; arch amd64) + - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "6111811401423286693" + - "3066420495717145193" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "2255819824092915915" - url: https://api.datadoghq.com/api/v2/services/1b0fef8f-669f-521a-a821-df3441422f5c + - "5626246693395613650" + url: https://api.datadoghq.com/api/v2/services/13299084-51fb-50d7-902b-8a7a5392efdb method: DELETE response: body: "" @@ -85,22 +85,22 @@ interactions: Content-Type: - application/json Date: - - Mon, 21 Sep 2020 10:18:21 GMT + - Thu, 24 Sep 2020 05:33:26 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Mon, 28-Sep-2020 10:18:21 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 01-Oct-2020 05:33:25 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff X-Dd-Debug: - - WMqkdiu/k4tYC8oJLm7ZFuFlnIXAYAXwOPQoxLtj7bgJQppYJErVkGl/2/O/+zpm + - ZTMib3S/rZeXw/RhaeaehRILC7QJAaERfyf3m4/am8FN44e9rxbkPcmk4YzKBISj X-Dd-Version: - - "35.3066091" + - "35.3085403" X-Frame-Options: - SAMEORIGIN status: 204 No Content @@ -115,17 +115,17 @@ interactions: Dd-Operation-Id: - DeleteService User-Agent: - - datadog-api-client-go/1.0.0-beta.9+dev (go go1.14.3; os darwin; arch amd64) + - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "9085566002208311990" + - "4730935802088621257" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "2255819824092915915" - url: https://api.datadoghq.com/api/v2/services/1b0fef8f-669f-521a-a821-df3441422f5c + - "5626246693395613650" + url: https://api.datadoghq.com/api/v2/services/13299084-51fb-50d7-902b-8a7a5392efdb method: DELETE response: - body: '{"errors": ["service 1b0fef8f-669f-521a-a821-df3441422f5c not found"]}' + body: '{"errors": ["service 13299084-51fb-50d7-902b-8a7a5392efdb not found"]}' headers: Cache-Control: - no-cache @@ -134,7 +134,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 21 Sep 2020 10:18:22 GMT + - Thu, 24 Sep 2020 05:33:27 GMT Dd-Pool: - dogweb Pragma: @@ -146,7 +146,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.3066091" + - "35.3085403" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Get_a_list_of_all_services_returns__OK__response.freeze b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Get_a_list_of_all_services_returns__OK__response.freeze index 60c07b19bdc..c2d5fdd964b 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Get_a_list_of_all_services_returns__OK__response.freeze +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Get_a_list_of_all_services_returns__OK__response.freeze @@ -1 +1 @@ -2020-09-21T12:18:18.734125+02:00 \ No newline at end of file +2020-09-24T01:33:23.259498-04:00 \ No newline at end of file diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Get_a_list_of_all_services_returns__OK__response.yaml b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Get_a_list_of_all_services_returns__OK__response.yaml index 4775e63f7c8..f712bbd5f88 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Get_a_list_of_all_services_returns__OK__response.yaml +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Get_a_list_of_all_services_returns__OK__response.yaml @@ -3,7 +3,7 @@ version: 1 interactions: - request: body: | - {"data":{"attributes":{"name":"go-TestScenarios-Feature_Services-Scenario_Get_a_list_of_all_services_returns__OK__response-Given_there_is_a_valid__service__in_the_system-local-1600683498"},"type":"services"}} + {"data":{"attributes":{"name":"go-TestScenarios-Feature_Services-Scenario_Get_a_list_of_all_services_returns__OK__response-Given_there_is_a_valid__service__in_the_system-local-1600925603"},"type":"services"}} form: {} headers: Accept: @@ -13,17 +13,17 @@ interactions: Dd-Operation-Id: - CreateService User-Agent: - - datadog-api-client-go/1.0.0-beta.9+dev (go go1.14.3; os darwin; arch amd64) + - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "4506422814550497030" + - "6163378636693955415" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "1567065634272299299" + - "1263351745717110177" url: https://api.datadoghq.com/api/v2/services method: POST response: - body: '{"included":[{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"name":null,"handle":"frog@datadoghq.com","created_at":"2019-10-02T08:15:39.795051+00:00","email":"frog@datadoghq.com","icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro","title":null,"verified":true,"disabled":false,"allowed_login_methods":[],"status":"Active"},"relationships":{"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}],"data":{"type":"services","id":"d527684e-e4dc-5707-aba3-eafa6d9eb7c2","attributes":{"name":"go-TestScenarios-Feature_Services-Scenario_Get_a_list_of_all_services_returns__OK__response-Given_there_is_a_valid__service__in_the_system-local-1600683498","created":"2020-09-21T10:18:19.215587+00:00","modified":"2020-09-21T10:18:19.215587+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}}}' + body: '{"included":[{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"name":null,"handle":"frog@datadoghq.com","created_at":"2019-10-02T08:15:39.795051+00:00","email":"frog@datadoghq.com","icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro","title":null,"verified":true,"disabled":false,"allowed_login_methods":[],"status":"Active"},"relationships":{"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}],"data":{"type":"services","id":"198c7f45-b8c7-5443-b1d2-128561129a74","attributes":{"name":"go-TestScenarios-Feature_Services-Scenario_Get_a_list_of_all_services_returns__OK__response-Given_there_is_a_valid__service__in_the_system-local-1600925603","created":"2020-09-24T05:33:23.492536+00:00","modified":"2020-09-24T05:33:23.492536+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}}}' headers: Cache-Control: - no-cache @@ -34,22 +34,22 @@ interactions: Content-Type: - application/json Date: - - Mon, 21 Sep 2020 10:18:19 GMT + - Thu, 24 Sep 2020 05:33:23 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Mon, 28-Sep-2020 10:18:19 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 01-Oct-2020 05:33:23 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff X-Dd-Debug: - - FP8Y2ks6/+u/R8ikARtQQYvp9IVj9nSQPYtAt3WVuBjumgKP35t8vnUuGfeHdr64 + - /3efrffY0fOidOw5YXy+ujUt+jIWndj9KkkaQ3CKNiYFs6CCTkTChAR8M9mejUqc X-Dd-Version: - - "35.3066091" + - "35.3085403" X-Frame-Options: - SAMEORIGIN status: 201 Created @@ -62,19 +62,19 @@ interactions: Accept: - application/json Dd-Operation-Id: - - GetServices + - ListServices User-Agent: - - datadog-api-client-go/1.0.0-beta.9+dev (go go1.14.3; os darwin; arch amd64) + - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "3810860809025661283" + - "9142606650649087681" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "1567065634272299299" + - "1263351745717110177" url: https://api.datadoghq.com/api/v2/services method: GET response: - body: '{"meta":{"sort":"ASC","pagination":{"size":25,"next_offset":25,"offset":0}},"data":[{"type":"services","id":"4704e7ba-1a5c-50f3-bd59-2476cc9b4ec4","attributes":{"name":"go-TestScenarios-Feature_Services-Scenario_Get_a_list_of_all_services_returns__OK__response-Given_there_is_a_valid__service__in_the_system-local-1600683203","created":"2020-09-21T10:13:23.670494+00:00","modified":"2020-09-21T10:13:23.670494+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}},{"type":"services","id":"a41ccb79-79d0-54cd-aa21-ebcb7d666ffe","attributes":{"name":"go-Feature_Services-Scenario_Create_a_new_service_returns__CREATED__response-local-1600683203","created":"2020-09-21T10:13:24.047509+00:00","modified":"2020-09-21T10:13:24.047509+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}},{"type":"services","id":"fd341a51-3b84-5b5a-9bde-0c6b44588ddf","attributes":{"name":"go-TestScenarios-Feature_Services-Scenario_Get_details_of_a_service_returns__OK__response-Given_there_is_a_valid__service__in_the_system-local-1600683207","created":"2020-09-21T10:13:28.181614+00:00","modified":"2020-09-21T10:13:28.181614+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}},{"type":"services","id":"aff61dd5-95ef-5b9b-9a39-755000e03078","attributes":{"name":"go-TestScenarios-Feature_Services-Scenario_Update_an_existing_service_returns__OK__response-Given_there_is_a_valid__service__in_the_system-local-1600683209-updated","created":"2020-09-21T10:13:29.570682+00:00","modified":"2020-09-21T10:13:29.842463+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}},{"type":"services","id":"d527684e-e4dc-5707-aba3-eafa6d9eb7c2","attributes":{"name":"go-TestScenarios-Feature_Services-Scenario_Get_a_list_of_all_services_returns__OK__response-Given_there_is_a_valid__service__in_the_system-local-1600683498","created":"2020-09-21T10:18:19.215587+00:00","modified":"2020-09-21T10:18:19.215587+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}}]}' + body: '{"meta":{"sort":"ASC","pagination":{"size":1,"next_offset":1,"offset":0}},"data":[{"type":"services","id":"198c7f45-b8c7-5443-b1d2-128561129a74","attributes":{"name":"go-TestScenarios-Feature_Services-Scenario_Get_a_list_of_all_services_returns__OK__response-Given_there_is_a_valid__service__in_the_system-local-1600925603","created":"2020-09-24T05:33:23.492536+00:00","modified":"2020-09-24T05:33:23.492536+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}}]}' headers: Cache-Control: - no-cache @@ -83,13 +83,13 @@ interactions: Content-Type: - application/json Date: - - Mon, 21 Sep 2020 10:18:19 GMT + - Thu, 24 Sep 2020 05:33:23 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Mon, 28-Sep-2020 10:18:19 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 01-Oct-2020 05:33:23 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; @@ -98,9 +98,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - JywPpt+4BVnbPdSe3Y1Brr4edpaGbhQEf1Cv7s/evHeASrfyUCmzDpnXMXyJJDQz + - lKll3lGDR6bdL87y2ZcIDGBHaKB6Lp4z+AEDmrbX+YH1ArsyWGPfzqrSY7ZJT5EB X-Dd-Version: - - "35.3066091" + - "35.3085403" X-Frame-Options: - SAMEORIGIN status: 200 OK diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Get_details_of_a_service_returns__OK__response.freeze b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Get_details_of_a_service_returns__OK__response.freeze index 2c307a5f9cd..97f56cf0917 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Get_details_of_a_service_returns__OK__response.freeze +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Get_details_of_a_service_returns__OK__response.freeze @@ -1 +1 @@ -2020-09-21T12:18:22.182468+02:00 \ No newline at end of file +2020-09-24T01:33:27.086254-04:00 \ No newline at end of file diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Get_details_of_a_service_returns__OK__response.yaml b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Get_details_of_a_service_returns__OK__response.yaml index 22470ae4b7c..0c12d7fc1cf 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Get_details_of_a_service_returns__OK__response.yaml +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Get_details_of_a_service_returns__OK__response.yaml @@ -3,7 +3,7 @@ version: 1 interactions: - request: body: | - {"data":{"attributes":{"name":"go-TestScenarios-Feature_Services-Scenario_Get_details_of_a_service_returns__OK__response-Given_there_is_a_valid__service__in_the_system-local-1600683502"},"type":"services"}} + {"data":{"attributes":{"name":"go-TestScenarios-Feature_Services-Scenario_Get_details_of_a_service_returns__OK__response-Given_there_is_a_valid__service__in_the_system-local-1600925607"},"type":"services"}} form: {} headers: Accept: @@ -13,17 +13,17 @@ interactions: Dd-Operation-Id: - CreateService User-Agent: - - datadog-api-client-go/1.0.0-beta.9+dev (go go1.14.3; os darwin; arch amd64) + - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "5422121693332621211" + - "1954820718596096085" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "9044175866312680750" + - "8261002339541471792" url: https://api.datadoghq.com/api/v2/services method: POST response: - body: '{"included":[{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"name":null,"handle":"frog@datadoghq.com","created_at":"2019-10-02T08:15:39.795051+00:00","email":"frog@datadoghq.com","icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro","title":null,"verified":true,"disabled":false,"allowed_login_methods":[],"status":"Active"},"relationships":{"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}],"data":{"type":"services","id":"299144f3-aacb-5e87-adf6-6255ea1432e8","attributes":{"name":"go-TestScenarios-Feature_Services-Scenario_Get_details_of_a_service_returns__OK__response-Given_there_is_a_valid__service__in_the_system-local-1600683502","created":"2020-09-21T10:18:22.279622+00:00","modified":"2020-09-21T10:18:22.279622+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}}}' + body: '{"included":[{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"name":null,"handle":"frog@datadoghq.com","created_at":"2019-10-02T08:15:39.795051+00:00","email":"frog@datadoghq.com","icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro","title":null,"verified":true,"disabled":false,"allowed_login_methods":[],"status":"Active"},"relationships":{"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}],"data":{"type":"services","id":"e09b3af4-556c-5960-bc3b-d350d7df8dc4","attributes":{"name":"go-TestScenarios-Feature_Services-Scenario_Get_details_of_a_service_returns__OK__response-Given_there_is_a_valid__service__in_the_system-local-1600925607","created":"2020-09-24T05:33:27.134973+00:00","modified":"2020-09-24T05:33:27.134973+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}}}' headers: Cache-Control: - no-cache @@ -34,22 +34,22 @@ interactions: Content-Type: - application/json Date: - - Mon, 21 Sep 2020 10:18:23 GMT + - Thu, 24 Sep 2020 05:33:28 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Mon, 28-Sep-2020 10:18:22 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 01-Oct-2020 05:33:27 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff X-Dd-Debug: - - gKyXo3ULf4VOW0DRCpK6x6wW7WjimdWLkpQ5lRR6vSBvVWmlphnibJv0tavEU2N8 + - CUBCyaoXY2JdeHi5oQm4sg9onCJMsjgVJ5jLk2ugM2iR7uz4Q+lvjzDdvtcYDFC3 X-Dd-Version: - - "35.3066091" + - "35.3085403" X-Frame-Options: - SAMEORIGIN status: 201 Created @@ -64,17 +64,17 @@ interactions: Dd-Operation-Id: - GetService User-Agent: - - datadog-api-client-go/1.0.0-beta.9+dev (go go1.14.3; os darwin; arch amd64) + - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "981135319760515141" + - "5160600378795186530" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "9044175866312680750" - url: https://api.datadoghq.com/api/v2/services/299144f3-aacb-5e87-adf6-6255ea1432e8 + - "8261002339541471792" + url: https://api.datadoghq.com/api/v2/services/e09b3af4-556c-5960-bc3b-d350d7df8dc4 method: GET response: - body: '{"data":{"type":"services","id":"299144f3-aacb-5e87-adf6-6255ea1432e8","attributes":{"name":"go-TestScenarios-Feature_Services-Scenario_Get_details_of_a_service_returns__OK__response-Given_there_is_a_valid__service__in_the_system-local-1600683502","created":"2020-09-21T10:18:22.279622+00:00","modified":"2020-09-21T10:18:22.279622+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}}}' + body: '{"data":{"type":"services","id":"e09b3af4-556c-5960-bc3b-d350d7df8dc4","attributes":{"name":"go-TestScenarios-Feature_Services-Scenario_Get_details_of_a_service_returns__OK__response-Given_there_is_a_valid__service__in_the_system-local-1600925607","created":"2020-09-24T05:33:27.134973+00:00","modified":"2020-09-24T05:33:27.134973+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}}}' headers: Cache-Control: - no-cache @@ -83,13 +83,13 @@ interactions: Content-Type: - application/json Date: - - Mon, 21 Sep 2020 10:18:23 GMT + - Thu, 24 Sep 2020 05:33:28 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Mon, 28-Sep-2020 10:18:23 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 01-Oct-2020 05:33:28 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; @@ -98,9 +98,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - +TTazL1HF8qoxYARkG/60PGoq8sbkYkmqeurNry46zV0aHqBZfUrKqxtiyo42NRf + - jUMr6d+5J+YuJ6qRYTR2w4bV5pSWL1aOCQq2Fsi4IDQJQgpLmKecXN7enHF4E9hf X-Dd-Version: - - "35.3066091" + - "35.3085403" X-Frame-Options: - SAMEORIGIN status: 200 OK diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Update_an_existing_service_returns__OK__response.freeze b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Update_an_existing_service_returns__OK__response.freeze index a35c3f63489..14942ecc5bf 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Update_an_existing_service_returns__OK__response.freeze +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Update_an_existing_service_returns__OK__response.freeze @@ -1 +1 @@ -2020-09-21T12:18:23.306127+02:00 \ No newline at end of file +2020-09-24T01:33:28.277916-04:00 \ No newline at end of file diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Update_an_existing_service_returns__OK__response.yaml b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Update_an_existing_service_returns__OK__response.yaml index c044c6b903d..00865254e15 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Update_an_existing_service_returns__OK__response.yaml +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Update_an_existing_service_returns__OK__response.yaml @@ -3,7 +3,7 @@ version: 1 interactions: - request: body: | - {"data":{"attributes":{"name":"go-TestScenarios-Feature_Services-Scenario_Update_an_existing_service_returns__OK__response-Given_there_is_a_valid__service__in_the_system-local-1600683503"},"type":"services"}} + {"data":{"attributes":{"name":"go-TestScenarios-Feature_Services-Scenario_Update_an_existing_service_returns__OK__response-Given_there_is_a_valid__service__in_the_system-local-1600925608"},"type":"services"}} form: {} headers: Accept: @@ -13,17 +13,17 @@ interactions: Dd-Operation-Id: - CreateService User-Agent: - - datadog-api-client-go/1.0.0-beta.9+dev (go go1.14.3; os darwin; arch amd64) + - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "8186058303089906575" + - "549743202535481020" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "7470347684003415624" + - "5391786533305751829" url: https://api.datadoghq.com/api/v2/services method: POST response: - body: '{"included":[{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"name":null,"handle":"frog@datadoghq.com","created_at":"2019-10-02T08:15:39.795051+00:00","email":"frog@datadoghq.com","icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro","title":null,"verified":true,"disabled":false,"allowed_login_methods":[],"status":"Active"},"relationships":{"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}],"data":{"type":"services","id":"41bd89a8-33fd-50fa-933b-0ab8c34357f5","attributes":{"name":"go-TestScenarios-Feature_Services-Scenario_Update_an_existing_service_returns__OK__response-Given_there_is_a_valid__service__in_the_system-local-1600683503","created":"2020-09-21T10:18:23.395552+00:00","modified":"2020-09-21T10:18:23.395552+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}}}' + body: '{"included":[{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"name":null,"handle":"frog@datadoghq.com","created_at":"2019-10-02T08:15:39.795051+00:00","email":"frog@datadoghq.com","icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro","title":null,"verified":true,"disabled":false,"allowed_login_methods":[],"status":"Active"},"relationships":{"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}],"data":{"type":"services","id":"7f35bc74-2286-54e7-94b0-36b56019d5aa","attributes":{"name":"go-TestScenarios-Feature_Services-Scenario_Update_an_existing_service_returns__OK__response-Given_there_is_a_valid__service__in_the_system-local-1600925608","created":"2020-09-24T05:33:28.348325+00:00","modified":"2020-09-24T05:33:28.348325+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}}}' headers: Cache-Control: - no-cache @@ -34,22 +34,22 @@ interactions: Content-Type: - application/json Date: - - Mon, 21 Sep 2020 10:18:23 GMT + - Thu, 24 Sep 2020 05:33:30 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Mon, 28-Sep-2020 10:18:23 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 01-Oct-2020 05:33:28 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff X-Dd-Debug: - - P6Akw3EF5CkRD9dRTLe+2D7FUH3E+plOtxsv0XR1d07sSAJOUbLe0N5LZ7Ruz6Fj + - 4XEHrKCjPbSbs1iu1F78+tH4eaIPZCq+IGDoHN/GQcOsLq6w3Zzz7ZK1RqpTUzFS X-Dd-Version: - - "35.3066091" + - "35.3085403" X-Frame-Options: - SAMEORIGIN status: 201 Created @@ -57,7 +57,7 @@ interactions: duration: "" - request: body: | - {"data":{"attributes":{"name":"go-TestScenarios-Feature_Services-Scenario_Update_an_existing_service_returns__OK__response-Given_there_is_a_valid__service__in_the_system-local-1600683503-updated"},"id":"","type":"services"}} + {"data":{"attributes":{"name":"go-TestScenarios-Feature_Services-Scenario_Update_an_existing_service_returns__OK__response-Given_there_is_a_valid__service__in_the_system-local-1600925608-updated"},"id":"","type":"services"}} form: {} headers: Accept: @@ -67,17 +67,17 @@ interactions: Dd-Operation-Id: - UpdateService User-Agent: - - datadog-api-client-go/1.0.0-beta.9+dev (go go1.14.3; os darwin; arch amd64) + - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "1582256753562287971" + - "5752650937785222168" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "7470347684003415624" - url: https://api.datadoghq.com/api/v2/services/41bd89a8-33fd-50fa-933b-0ab8c34357f5 + - "5391786533305751829" + url: https://api.datadoghq.com/api/v2/services/7f35bc74-2286-54e7-94b0-36b56019d5aa method: PATCH response: - body: '{"included":[{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"name":null,"handle":"frog@datadoghq.com","created_at":"2019-10-02T08:15:39.795051+00:00","email":"frog@datadoghq.com","icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro","title":null,"verified":true,"disabled":false,"allowed_login_methods":[],"status":"Active"},"relationships":{"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}],"data":{"type":"services","id":"41bd89a8-33fd-50fa-933b-0ab8c34357f5","attributes":{"name":"go-TestScenarios-Feature_Services-Scenario_Update_an_existing_service_returns__OK__response-Given_there_is_a_valid__service__in_the_system-local-1600683503-updated","created":"2020-09-21T10:18:23.395552+00:00","modified":"2020-09-21T10:18:23.627247+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}}}' + body: '{"included":[{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"name":null,"handle":"frog@datadoghq.com","created_at":"2019-10-02T08:15:39.795051+00:00","email":"frog@datadoghq.com","icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro","title":null,"verified":true,"disabled":false,"allowed_login_methods":[],"status":"Active"},"relationships":{"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}],"data":{"type":"services","id":"7f35bc74-2286-54e7-94b0-36b56019d5aa","attributes":{"name":"go-TestScenarios-Feature_Services-Scenario_Update_an_existing_service_returns__OK__response-Given_there_is_a_valid__service__in_the_system-local-1600925608-updated","created":"2020-09-24T05:33:28.348325+00:00","modified":"2020-09-24T05:33:30.248536+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}}}' headers: Cache-Control: - no-cache @@ -86,13 +86,13 @@ interactions: Content-Type: - application/json Date: - - Mon, 21 Sep 2020 10:18:23 GMT + - Thu, 24 Sep 2020 05:33:30 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Mon, 28-Sep-2020 10:18:23 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 01-Oct-2020 05:33:30 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; @@ -101,9 +101,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - jrdNt2QvGarP6yOsylH3GAxdMWXM4CYDKNbO7i0omswFkFozD11pdA/9Rp2czovd + - qPYq/BsSy2eKq2gMdNyZM6RD036QvDM3UxIO9lNLRZLDhjdGr/32oHrIceCxxIAV X-Dd-Version: - - "35.3066091" + - "35.3085403" X-Frame-Options: - SAMEORIGIN status: 200 OK diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Create_a_new_team_returns__CREATED__response.freeze b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Create_a_new_team_returns__CREATED__response.freeze index f704ecbfe5d..e3730b5c182 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Create_a_new_team_returns__CREATED__response.freeze +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Create_a_new_team_returns__CREATED__response.freeze @@ -1 +1 @@ -2020-09-21T12:17:59.950884+02:00 \ No newline at end of file +2020-09-24T01:33:10.594262-04:00 \ No newline at end of file diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Create_a_new_team_returns__CREATED__response.yaml b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Create_a_new_team_returns__CREATED__response.yaml index 0b55f850ff5..c06b49aae3c 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Create_a_new_team_returns__CREATED__response.yaml +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Create_a_new_team_returns__CREATED__response.yaml @@ -3,7 +3,7 @@ version: 1 interactions: - request: body: | - {"data":{"attributes":{"name":"go-Feature_Teams-Scenario_Create_a_new_team_returns__CREATED__response-local-1600683479"},"type":"teams"}} + {"data":{"attributes":{"name":"go-Feature_Teams-Scenario_Create_a_new_team_returns__CREATED__response-local-1600925590"},"type":"teams"}} form: {} headers: Accept: @@ -13,17 +13,17 @@ interactions: Dd-Operation-Id: - CreateTeam User-Agent: - - datadog-api-client-go/1.0.0-beta.9+dev (go go1.14.3; os darwin; arch amd64) + - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "962224416776974222" + - "5162532253643459966" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "7879427571950012920" + - "2819565571159866412" url: https://api.datadoghq.com/api/v2/teams method: POST response: - body: '{"included":[{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"name":null,"handle":"frog@datadoghq.com","created_at":"2019-10-02T08:15:39.795051+00:00","email":"frog@datadoghq.com","icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro","title":null,"verified":true,"disabled":false,"allowed_login_methods":[],"status":"Active"},"relationships":{"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}],"data":{"type":"teams","id":"92471702-9d95-5b0a-beb8-fe3189cf8e71","attributes":{"name":"go-Feature_Teams-Scenario_Create_a_new_team_returns__CREATED__response-local-1600683479","created":"2020-09-21T10:18:00.076642+00:00","modified":"2020-09-21T10:18:00.076642+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}}}' + body: '{"included":[{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"name":null,"handle":"frog@datadoghq.com","created_at":"2019-10-02T08:15:39.795051+00:00","email":"frog@datadoghq.com","icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro","title":null,"verified":true,"disabled":false,"allowed_login_methods":[],"status":"Active"},"relationships":{"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}],"data":{"type":"teams","id":"910af0d6-db35-5d3d-97a2-49e0de60f5fc","attributes":{"name":"go-Feature_Teams-Scenario_Create_a_new_team_returns__CREATED__response-local-1600925590","created":"2020-09-24T05:33:10.692473+00:00","modified":"2020-09-24T05:33:10.692473+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}}}' headers: Cache-Control: - no-cache @@ -34,22 +34,22 @@ interactions: Content-Type: - application/json Date: - - Mon, 21 Sep 2020 10:18:00 GMT + - Thu, 24 Sep 2020 05:33:12 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Mon, 28-Sep-2020 10:18:00 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 01-Oct-2020 05:33:10 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff X-Dd-Debug: - - gOE+aFCHWuxgDnurm/juvZNkjdmweNjl464qle0N/zRJcc4Hspd926ElnnqPP95G + - 8zBNddJvUHkIbPMeF88y91Hz6JbkP3LresIlBCA27F8xJQ5O1jB8COuYutWaPiaL X-Dd-Version: - - "35.3066091" + - "35.3085403" X-Frame-Options: - SAMEORIGIN status: 201 Created diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Delete_an_existing_team_returns__OK__response.freeze b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Delete_an_existing_team_returns__OK__response.freeze index 9fc37649e77..8e7846030c6 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Delete_an_existing_team_returns__OK__response.freeze +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Delete_an_existing_team_returns__OK__response.freeze @@ -1 +1 @@ -2020-09-21T12:18:00.2107+02:00 \ No newline at end of file +2020-09-24T01:33:12.38194-04:00 \ No newline at end of file diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Delete_an_existing_team_returns__OK__response.yaml b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Delete_an_existing_team_returns__OK__response.yaml index 438056bb363..d27b77fb872 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Delete_an_existing_team_returns__OK__response.yaml +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Delete_an_existing_team_returns__OK__response.yaml @@ -3,7 +3,7 @@ version: 1 interactions: - request: body: | - {"data":{"attributes":{"name":"go-TestScenarios-Feature_Teams-Scenario_Delete_an_existing_team_returns__OK__response-Given_there_is_a_valid__team__in_the_system-local-1600683480"},"type":"teams"}} + {"data":{"attributes":{"name":"go-TestScenarios-Feature_Teams-Scenario_Delete_an_existing_team_returns__OK__response-Given_there_is_a_valid__team__in_the_system-local-1600925592"},"type":"teams"}} form: {} headers: Accept: @@ -13,17 +13,17 @@ interactions: Dd-Operation-Id: - CreateTeam User-Agent: - - datadog-api-client-go/1.0.0-beta.9+dev (go go1.14.3; os darwin; arch amd64) + - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "2086151458286264706" + - "903507663380839040" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "8713644376658391883" + - "2657098308503624465" url: https://api.datadoghq.com/api/v2/teams method: POST response: - body: '{"included":[{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"name":null,"handle":"frog@datadoghq.com","created_at":"2019-10-02T08:15:39.795051+00:00","email":"frog@datadoghq.com","icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro","title":null,"verified":true,"disabled":false,"allowed_login_methods":[],"status":"Active"},"relationships":{"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}],"data":{"type":"teams","id":"e8b70dc9-0d4a-5149-add2-aca6333f3918","attributes":{"name":"go-TestScenarios-Feature_Teams-Scenario_Delete_an_existing_team_returns__OK__response-Given_there_is_a_valid__team__in_the_system-local-1600683480","created":"2020-09-21T10:18:00.320031+00:00","modified":"2020-09-21T10:18:00.320031+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}}}' + body: '{"included":[{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"name":null,"handle":"frog@datadoghq.com","created_at":"2019-10-02T08:15:39.795051+00:00","email":"frog@datadoghq.com","icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro","title":null,"verified":true,"disabled":false,"allowed_login_methods":[],"status":"Active"},"relationships":{"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}],"data":{"type":"teams","id":"b411b2b9-87c5-5f56-8167-10bf8d7cb201","attributes":{"name":"go-TestScenarios-Feature_Teams-Scenario_Delete_an_existing_team_returns__OK__response-Given_there_is_a_valid__team__in_the_system-local-1600925592","created":"2020-09-24T05:33:12.444791+00:00","modified":"2020-09-24T05:33:12.444791+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}}}' headers: Cache-Control: - no-cache @@ -34,22 +34,22 @@ interactions: Content-Type: - application/json Date: - - Mon, 21 Sep 2020 10:18:01 GMT + - Thu, 24 Sep 2020 05:33:12 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Mon, 28-Sep-2020 10:18:00 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 01-Oct-2020 05:33:12 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff X-Dd-Debug: - - gxfSlUtZJz4/cDPBxW1+YhseAnu5514ckuMWbI3rl8N4exeAZPF+KTE0BQhrBgSI + - PXsBn7cqKzggIvyD8j5x5jml9M2/eD36uWUijJ+SgilVHKKIZzr4rqQ7/eRsKvdS X-Dd-Version: - - "35.3066091" + - "35.3085403" X-Frame-Options: - SAMEORIGIN status: 201 Created @@ -64,14 +64,14 @@ interactions: Dd-Operation-Id: - DeleteTeam User-Agent: - - datadog-api-client-go/1.0.0-beta.9+dev (go go1.14.3; os darwin; arch amd64) + - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "1126737367938386311" + - "8081366463369120803" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "8713644376658391883" - url: https://api.datadoghq.com/api/v2/teams/e8b70dc9-0d4a-5149-add2-aca6333f3918 + - "2657098308503624465" + url: https://api.datadoghq.com/api/v2/teams/b411b2b9-87c5-5f56-8167-10bf8d7cb201 method: DELETE response: body: "" @@ -85,22 +85,22 @@ interactions: Content-Type: - application/json Date: - - Mon, 21 Sep 2020 10:18:01 GMT + - Thu, 24 Sep 2020 05:33:12 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Mon, 28-Sep-2020 10:18:01 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 01-Oct-2020 05:33:12 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff X-Dd-Debug: - - g1JN5WIJ1Um2nWq9AQ7orHFBA37V3eIZYgeyDV/dLV8QtbkkvRVVIW0Fy1xXObzE + - fOvn++WNyeGiJqGJ1RGVl2OtzlCSW+9FmhW07NDhLHuS9Ypy2JL89j65gnqIRQTf X-Dd-Version: - - "35.3066091" + - "35.3085403" X-Frame-Options: - SAMEORIGIN status: 204 No Content @@ -115,17 +115,17 @@ interactions: Dd-Operation-Id: - DeleteTeam User-Agent: - - datadog-api-client-go/1.0.0-beta.9+dev (go go1.14.3; os darwin; arch amd64) + - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "5771179958294535054" + - "3243795645899206023" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "8713644376658391883" - url: https://api.datadoghq.com/api/v2/teams/e8b70dc9-0d4a-5149-add2-aca6333f3918 + - "2657098308503624465" + url: https://api.datadoghq.com/api/v2/teams/b411b2b9-87c5-5f56-8167-10bf8d7cb201 method: DELETE response: - body: '{"errors": ["team e8b70dc9-0d4a-5149-add2-aca6333f3918 not found"]}' + body: '{"errors": ["team b411b2b9-87c5-5f56-8167-10bf8d7cb201 not found"]}' headers: Cache-Control: - no-cache @@ -134,7 +134,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 21 Sep 2020 10:18:01 GMT + - Thu, 24 Sep 2020 05:33:13 GMT Dd-Pool: - dogweb Pragma: @@ -146,7 +146,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.3066091" + - "35.3085403" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Get_a_list_of_all_teams_returns__OK__response.freeze b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Get_a_list_of_all_teams_returns__OK__response.freeze index 6556bb78357..3358a0c3854 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Get_a_list_of_all_teams_returns__OK__response.freeze +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Get_a_list_of_all_teams_returns__OK__response.freeze @@ -1 +1 @@ -2020-09-21T12:17:59.058188+02:00 \ No newline at end of file +2020-09-24T01:33:10.198213-04:00 \ No newline at end of file diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Get_a_list_of_all_teams_returns__OK__response.yaml b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Get_a_list_of_all_teams_returns__OK__response.yaml index 9b56e8366f6..c748d2a4bf6 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Get_a_list_of_all_teams_returns__OK__response.yaml +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Get_a_list_of_all_teams_returns__OK__response.yaml @@ -3,7 +3,7 @@ version: 1 interactions: - request: body: | - {"data":{"attributes":{"name":"go-TestScenarios-Feature_Teams-Scenario_Get_a_list_of_all_teams_returns__OK__response-Given_there_is_a_valid__team__in_the_system-local-1600683479"},"type":"teams"}} + {"data":{"attributes":{"name":"go-TestScenarios-Feature_Teams-Scenario_Get_a_list_of_all_teams_returns__OK__response-Given_there_is_a_valid__team__in_the_system-local-1600925590"},"type":"teams"}} form: {} headers: Accept: @@ -13,17 +13,17 @@ interactions: Dd-Operation-Id: - CreateTeam User-Agent: - - datadog-api-client-go/1.0.0-beta.9+dev (go go1.14.3; os darwin; arch amd64) + - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "7781983740983004003" + - "1916636263390242782" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "1548715238849665757" + - "8635113771134181690" url: https://api.datadoghq.com/api/v2/teams method: POST response: - body: '{"included":[{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"name":null,"handle":"frog@datadoghq.com","created_at":"2019-10-02T08:15:39.795051+00:00","email":"frog@datadoghq.com","icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro","title":null,"verified":true,"disabled":false,"allowed_login_methods":[],"status":"Active"},"relationships":{"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}],"data":{"type":"teams","id":"0a024aec-ea74-5c1b-a9a4-4a437d8990c9","attributes":{"name":"go-TestScenarios-Feature_Teams-Scenario_Get_a_list_of_all_teams_returns__OK__response-Given_there_is_a_valid__team__in_the_system-local-1600683479","created":"2020-09-21T10:17:59.628275+00:00","modified":"2020-09-21T10:17:59.628275+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}}}' + body: '{"included":[{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"name":null,"handle":"frog@datadoghq.com","created_at":"2019-10-02T08:15:39.795051+00:00","email":"frog@datadoghq.com","icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro","title":null,"verified":true,"disabled":false,"allowed_login_methods":[],"status":"Active"},"relationships":{"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}],"data":{"type":"teams","id":"b78beae0-33e4-565b-8365-027ef3dc26bf","attributes":{"name":"go-TestScenarios-Feature_Teams-Scenario_Get_a_list_of_all_teams_returns__OK__response-Given_there_is_a_valid__team__in_the_system-local-1600925590","created":"2020-09-24T05:33:10.435701+00:00","modified":"2020-09-24T05:33:10.435701+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}}}' headers: Cache-Control: - no-cache @@ -34,22 +34,22 @@ interactions: Content-Type: - application/json Date: - - Mon, 21 Sep 2020 10:17:59 GMT + - Thu, 24 Sep 2020 05:33:10 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Mon, 28-Sep-2020 10:17:59 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 01-Oct-2020 05:33:10 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff X-Dd-Debug: - - kS9NSnhl4uQ8VlOuLb8SB7TQURuCRIbRwHRx1a1SKX/xDGoogXWL0I8r2t0CM40K + - TlObKNxJC6mRjORAptBjah7X7IZlZoWDhxDuIhUdNUMmnkpihyb67mpyYPwy4Xl5 X-Dd-Version: - - "35.3066091" + - "35.3085403" X-Frame-Options: - SAMEORIGIN status: 201 Created @@ -62,19 +62,19 @@ interactions: Accept: - application/json Dd-Operation-Id: - - GetTeams + - ListTeams User-Agent: - - datadog-api-client-go/1.0.0-beta.9+dev (go go1.14.3; os darwin; arch amd64) + - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "3481552852317222921" + - "2766263508889671771" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "1548715238849665757" + - "8635113771134181690" url: https://api.datadoghq.com/api/v2/teams method: GET response: - body: '{"meta":{"sort":"ASC","pagination":{"size":25,"next_offset":25,"offset":0}},"data":[{"type":"teams","id":"78983c57-d1a9-5650-9092-21da4da9cab8","attributes":{"name":"go-TestScenarios-Feature_Teams-Scenario_Get_a_list_of_all_teams_returns__OK__response-Given_there_is_a_valid__team__in_the_system-local-1600683210","created":"2020-09-21T10:13:30.161761+00:00","modified":"2020-09-21T10:13:30.161761+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}},{"type":"teams","id":"08f97ac9-c8a7-5b52-b351-579b23b689d5","attributes":{"name":"go-Feature_Teams-Scenario_Create_a_new_team_returns__CREATED__response-local-1600683210","created":"2020-09-21T10:13:30.537887+00:00","modified":"2020-09-21T10:13:30.537887+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}},{"type":"teams","id":"118c44e0-ebcc-53c0-bddb-1103225eef3d","attributes":{"name":"go-TestScenarios-Feature_Teams-Scenario_Get_details_of_a_team_returns__OK__response-Given_there_is_a_valid__team__in_the_system-local-1600683213","created":"2020-09-21T10:13:33.403719+00:00","modified":"2020-09-21T10:13:33.403719+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}},{"type":"teams","id":"b97ca1ca-cf42-59ee-8e49-cdd5d56bd86b","attributes":{"name":"go-TestScenarios-Feature_Teams-Scenario_Update_an_existing_team_returns__OK__response-Given_there_is_a_valid__team__in_the_system-local-1600683215-updated","created":"2020-09-21T10:13:35.461832+00:00","modified":"2020-09-21T10:13:37.116212+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}},{"type":"teams","id":"0a024aec-ea74-5c1b-a9a4-4a437d8990c9","attributes":{"name":"go-TestScenarios-Feature_Teams-Scenario_Get_a_list_of_all_teams_returns__OK__response-Given_there_is_a_valid__team__in_the_system-local-1600683479","created":"2020-09-21T10:17:59.628275+00:00","modified":"2020-09-21T10:17:59.628275+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}}]}' + body: '{"meta":{"sort":"ASC","pagination":{"size":1,"next_offset":1,"offset":0}},"data":[{"type":"teams","id":"b78beae0-33e4-565b-8365-027ef3dc26bf","attributes":{"name":"go-TestScenarios-Feature_Teams-Scenario_Get_a_list_of_all_teams_returns__OK__response-Given_there_is_a_valid__team__in_the_system-local-1600925590","created":"2020-09-24T05:33:10.435701+00:00","modified":"2020-09-24T05:33:10.435701+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}}]}' headers: Cache-Control: - no-cache @@ -83,13 +83,13 @@ interactions: Content-Type: - application/json Date: - - Mon, 21 Sep 2020 10:17:59 GMT + - Thu, 24 Sep 2020 05:33:10 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Mon, 28-Sep-2020 10:17:59 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 01-Oct-2020 05:33:10 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; @@ -98,9 +98,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - ZTMib3S/rZeXw/RhaeaehRILC7QJAaERfyf3m4/am8FN44e9rxbkPcmk4YzKBISj + - jrMxFzD6DQaVakCp2nBENh1s4Jr6NTi3qR/BnCfgEGv+61BLJvJGE5mL8dgLrarj X-Dd-Version: - - "35.3066091" + - "35.3085403" X-Frame-Options: - SAMEORIGIN status: 200 OK diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Get_details_of_a_team_returns__OK__response.freeze b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Get_details_of_a_team_returns__OK__response.freeze index 581f70e42c4..26c350c5bec 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Get_details_of_a_team_returns__OK__response.freeze +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Get_details_of_a_team_returns__OK__response.freeze @@ -1 +1 @@ -2020-09-21T12:18:01.977101+02:00 \ No newline at end of file +2020-09-24T01:33:13.591848-04:00 \ No newline at end of file diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Get_details_of_a_team_returns__OK__response.yaml b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Get_details_of_a_team_returns__OK__response.yaml index 592af1820cc..fc3ca1a9c9c 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Get_details_of_a_team_returns__OK__response.yaml +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Get_details_of_a_team_returns__OK__response.yaml @@ -3,7 +3,7 @@ version: 1 interactions: - request: body: | - {"data":{"attributes":{"name":"go-TestScenarios-Feature_Teams-Scenario_Get_details_of_a_team_returns__OK__response-Given_there_is_a_valid__team__in_the_system-local-1600683481"},"type":"teams"}} + {"data":{"attributes":{"name":"go-TestScenarios-Feature_Teams-Scenario_Get_details_of_a_team_returns__OK__response-Given_there_is_a_valid__team__in_the_system-local-1600925593"},"type":"teams"}} form: {} headers: Accept: @@ -13,17 +13,17 @@ interactions: Dd-Operation-Id: - CreateTeam User-Agent: - - datadog-api-client-go/1.0.0-beta.9+dev (go go1.14.3; os darwin; arch amd64) + - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "2822421583610056359" + - "5356015859754063645" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "5779869816185065992" + - "3155525462122728997" url: https://api.datadoghq.com/api/v2/teams method: POST response: - body: '{"included":[{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"name":null,"handle":"frog@datadoghq.com","created_at":"2019-10-02T08:15:39.795051+00:00","email":"frog@datadoghq.com","icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro","title":null,"verified":true,"disabled":false,"allowed_login_methods":[],"status":"Active"},"relationships":{"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}],"data":{"type":"teams","id":"e165fbf9-c3f5-5311-b60a-bbf9d580d2b3","attributes":{"name":"go-TestScenarios-Feature_Teams-Scenario_Get_details_of_a_team_returns__OK__response-Given_there_is_a_valid__team__in_the_system-local-1600683481","created":"2020-09-21T10:18:02.083373+00:00","modified":"2020-09-21T10:18:02.083373+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}}}' + body: '{"included":[{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"name":null,"handle":"frog@datadoghq.com","created_at":"2019-10-02T08:15:39.795051+00:00","email":"frog@datadoghq.com","icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro","title":null,"verified":true,"disabled":false,"allowed_login_methods":[],"status":"Active"},"relationships":{"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}],"data":{"type":"teams","id":"46b0848c-c848-5849-8202-afecd9b8a656","attributes":{"name":"go-TestScenarios-Feature_Teams-Scenario_Get_details_of_a_team_returns__OK__response-Given_there_is_a_valid__team__in_the_system-local-1600925593","created":"2020-09-24T05:33:13.650912+00:00","modified":"2020-09-24T05:33:13.650912+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}}}' headers: Cache-Control: - no-cache @@ -34,22 +34,22 @@ interactions: Content-Type: - application/json Date: - - Mon, 21 Sep 2020 10:18:02 GMT + - Thu, 24 Sep 2020 05:33:15 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Mon, 28-Sep-2020 10:18:02 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 01-Oct-2020 05:33:13 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff X-Dd-Debug: - - M827keIeHgZeqezhGzPP+Gd5GSRighH0alcGV+l2b9IPZcm0Qit9YxQBjvzL4SO1 + - ggwLq3xKl/Ha8goqm1pL+7k2TqCZavl50tQhE6jmOD3Gt22NtGGc693xT7RL9gOb X-Dd-Version: - - "35.3066091" + - "35.3085403" X-Frame-Options: - SAMEORIGIN status: 201 Created @@ -64,17 +64,17 @@ interactions: Dd-Operation-Id: - GetTeam User-Agent: - - datadog-api-client-go/1.0.0-beta.9+dev (go go1.14.3; os darwin; arch amd64) + - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "2710705036009164941" + - "8043389857722391821" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "5779869816185065992" - url: https://api.datadoghq.com/api/v2/teams/e165fbf9-c3f5-5311-b60a-bbf9d580d2b3 + - "3155525462122728997" + url: https://api.datadoghq.com/api/v2/teams/46b0848c-c848-5849-8202-afecd9b8a656 method: GET response: - body: '{"data":{"type":"teams","id":"e165fbf9-c3f5-5311-b60a-bbf9d580d2b3","attributes":{"name":"go-TestScenarios-Feature_Teams-Scenario_Get_details_of_a_team_returns__OK__response-Given_there_is_a_valid__team__in_the_system-local-1600683481","created":"2020-09-21T10:18:02.083373+00:00","modified":"2020-09-21T10:18:02.083373+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}}}' + body: '{"data":{"type":"teams","id":"46b0848c-c848-5849-8202-afecd9b8a656","attributes":{"name":"go-TestScenarios-Feature_Teams-Scenario_Get_details_of_a_team_returns__OK__response-Given_there_is_a_valid__team__in_the_system-local-1600925593","created":"2020-09-24T05:33:13.650912+00:00","modified":"2020-09-24T05:33:13.650912+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}}}' headers: Cache-Control: - no-cache @@ -83,13 +83,13 @@ interactions: Content-Type: - application/json Date: - - Mon, 21 Sep 2020 10:18:02 GMT + - Thu, 24 Sep 2020 05:33:15 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Mon, 28-Sep-2020 10:18:02 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 01-Oct-2020 05:33:15 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; @@ -98,9 +98,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - Xzkwy3Lys2FRGID1+VD70Hwjf/R/QThkPMaRafobZsVEfAegjDigJz2X0I3L4s9r + - QgQu/iPnCQXRgWPQKBm0M4xipFcbwl50MnRHSjKNayyZv/6KjuJNpOhY5+udaeL8 X-Dd-Version: - - "35.3066091" + - "35.3085403" X-Frame-Options: - SAMEORIGIN status: 200 OK diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Update_an_existing_team_returns__OK__response.freeze b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Update_an_existing_team_returns__OK__response.freeze index 55700d9d90c..77a81012483 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Update_an_existing_team_returns__OK__response.freeze +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Update_an_existing_team_returns__OK__response.freeze @@ -1 +1 @@ -2020-09-21T12:18:02.374626+02:00 \ No newline at end of file +2020-09-24T01:33:15.399969-04:00 \ No newline at end of file diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Update_an_existing_team_returns__OK__response.yaml b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Update_an_existing_team_returns__OK__response.yaml index b2e7fa530d7..fe29ff47edb 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Update_an_existing_team_returns__OK__response.yaml +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Update_an_existing_team_returns__OK__response.yaml @@ -3,7 +3,7 @@ version: 1 interactions: - request: body: | - {"data":{"attributes":{"name":"go-TestScenarios-Feature_Teams-Scenario_Update_an_existing_team_returns__OK__response-Given_there_is_a_valid__team__in_the_system-local-1600683482"},"type":"teams"}} + {"data":{"attributes":{"name":"go-TestScenarios-Feature_Teams-Scenario_Update_an_existing_team_returns__OK__response-Given_there_is_a_valid__team__in_the_system-local-1600925595"},"type":"teams"}} form: {} headers: Accept: @@ -13,17 +13,17 @@ interactions: Dd-Operation-Id: - CreateTeam User-Agent: - - datadog-api-client-go/1.0.0-beta.9+dev (go go1.14.3; os darwin; arch amd64) + - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "2931911969128135538" + - "429357434807594498" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "5464743706821744491" + - "7610370278187075581" url: https://api.datadoghq.com/api/v2/teams method: POST response: - body: '{"included":[{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"name":null,"handle":"frog@datadoghq.com","created_at":"2019-10-02T08:15:39.795051+00:00","email":"frog@datadoghq.com","icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro","title":null,"verified":true,"disabled":false,"allowed_login_methods":[],"status":"Active"},"relationships":{"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}],"data":{"type":"teams","id":"4e9e7273-0c62-5625-aad9-c505dfac32ac","attributes":{"name":"go-TestScenarios-Feature_Teams-Scenario_Update_an_existing_team_returns__OK__response-Given_there_is_a_valid__team__in_the_system-local-1600683482","created":"2020-09-21T10:18:02.529171+00:00","modified":"2020-09-21T10:18:02.529171+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}}}' + body: '{"included":[{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"name":null,"handle":"frog@datadoghq.com","created_at":"2019-10-02T08:15:39.795051+00:00","email":"frog@datadoghq.com","icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro","title":null,"verified":true,"disabled":false,"allowed_login_methods":[],"status":"Active"},"relationships":{"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}],"data":{"type":"teams","id":"756e2b11-5732-5382-ba5e-35c179978f07","attributes":{"name":"go-TestScenarios-Feature_Teams-Scenario_Update_an_existing_team_returns__OK__response-Given_there_is_a_valid__team__in_the_system-local-1600925595","created":"2020-09-24T05:33:15.475720+00:00","modified":"2020-09-24T05:33:15.475720+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}}}' headers: Cache-Control: - no-cache @@ -34,22 +34,22 @@ interactions: Content-Type: - application/json Date: - - Mon, 21 Sep 2020 10:18:02 GMT + - Thu, 24 Sep 2020 05:33:15 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Mon, 28-Sep-2020 10:18:02 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 01-Oct-2020 05:33:15 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff X-Dd-Debug: - - 0uWdRml6qahBDARd1CJm6K1SN/TZRSfeTs10desnuzZPhCWC9tfQLSVfNbr08c6A + - sQOy8a0Uobuto7YUtlnbqZIuXh5uDLMP34xhBMJaioPr6917JNPh2PehnbSMnQ69 X-Dd-Version: - - "35.3066091" + - "35.3085403" X-Frame-Options: - SAMEORIGIN status: 201 Created @@ -57,7 +57,7 @@ interactions: duration: "" - request: body: | - {"data":{"attributes":{"name":"go-TestScenarios-Feature_Teams-Scenario_Update_an_existing_team_returns__OK__response-Given_there_is_a_valid__team__in_the_system-local-1600683482-updated"},"id":"","type":"teams"}} + {"data":{"attributes":{"name":"go-TestScenarios-Feature_Teams-Scenario_Update_an_existing_team_returns__OK__response-Given_there_is_a_valid__team__in_the_system-local-1600925595-updated"},"id":"","type":"teams"}} form: {} headers: Accept: @@ -67,17 +67,17 @@ interactions: Dd-Operation-Id: - UpdateTeam User-Agent: - - datadog-api-client-go/1.0.0-beta.9+dev (go go1.14.3; os darwin; arch amd64) + - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "388738853776751653" + - "6160921300589894295" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "5464743706821744491" - url: https://api.datadoghq.com/api/v2/teams/4e9e7273-0c62-5625-aad9-c505dfac32ac + - "7610370278187075581" + url: https://api.datadoghq.com/api/v2/teams/756e2b11-5732-5382-ba5e-35c179978f07 method: PATCH response: - body: '{"included":[{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"name":null,"handle":"frog@datadoghq.com","created_at":"2019-10-02T08:15:39.795051+00:00","email":"frog@datadoghq.com","icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro","title":null,"verified":true,"disabled":false,"allowed_login_methods":[],"status":"Active"},"relationships":{"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}],"data":{"type":"teams","id":"4e9e7273-0c62-5625-aad9-c505dfac32ac","attributes":{"name":"go-TestScenarios-Feature_Teams-Scenario_Update_an_existing_team_returns__OK__response-Given_there_is_a_valid__team__in_the_system-local-1600683482-updated","created":"2020-09-21T10:18:02.529171+00:00","modified":"2020-09-21T10:18:03.125238+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}}}' + body: '{"included":[{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"name":null,"handle":"frog@datadoghq.com","created_at":"2019-10-02T08:15:39.795051+00:00","email":"frog@datadoghq.com","icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro","title":null,"verified":true,"disabled":false,"allowed_login_methods":[],"status":"Active"},"relationships":{"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}],"data":{"type":"teams","id":"756e2b11-5732-5382-ba5e-35c179978f07","attributes":{"name":"go-TestScenarios-Feature_Teams-Scenario_Update_an_existing_team_returns__OK__response-Given_there_is_a_valid__team__in_the_system-local-1600925595-updated","created":"2020-09-24T05:33:15.475720+00:00","modified":"2020-09-24T05:33:15.645537+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}}}' headers: Cache-Control: - no-cache @@ -86,13 +86,13 @@ interactions: Content-Type: - application/json Date: - - Mon, 21 Sep 2020 10:18:03 GMT + - Thu, 24 Sep 2020 05:33:15 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Mon, 28-Sep-2020 10:18:03 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 01-Oct-2020 05:33:15 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; @@ -101,9 +101,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - Y9+v2iJC/5twluKZH+Abk+sCd7+zW2qB+wWhdwPtTfzsXiAGXu1np/KJsw5b93OQ + - yoF4117GjRVNjK5D+NnV1a4ZZK03NlG9+xqwkNudRekVNp0HsN72cHzXM+2uFPHI X-Dd-Version: - - "35.3066091" + - "35.3085403" X-Frame-Options: - SAMEORIGIN status: 200 OK From 8a324d871d6f8eabf45d3b24d4786b360488c670 Mon Sep 17 00:00:00 2001 From: MRHwick Date: Thu, 24 Sep 2020 12:36:52 -0400 Subject: [PATCH 04/16] fix create incident pre-step --- tests/api/v2/datadog/scenarios_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/api/v2/datadog/scenarios_test.go b/tests/api/v2/datadog/scenarios_test.go index 9e3792571d9..9f5f65b1676 100644 --- a/tests/api/v2/datadog/scenarios_test.go +++ b/tests/api/v2/datadog/scenarios_test.go @@ -328,8 +328,7 @@ func incident(t gobdd.StepTest, ctx gobdd.Context) { client.GetConfig().SetUnstableOperationEnabled("CreateIncident", true) incidentAttributes := datadog.NewIncidentCreateAttributes(false, *tests.UniqueEntityName(tests.GetCtx(ctx), t.(*testing.T))) - incident := datadog.NewIncidentCreateData(datadog.IncidentType("incidents")) - incident.SetAttributes(*incidentAttributes) + incident := datadog.NewIncidentCreateData(*incidentAttributes, datadog.IncidentType("incidents")) incidentRequest := datadog.NewIncidentCreateRequest(*incident) response, _, err := client.IncidentsApi.CreateIncident(tests.GetCtx(ctx)).Body(*incidentRequest).Execute() if err != nil { From e7b17f74bdd1aef77e5a3aa159cb7cc1510c2276 Mon Sep 17 00:00:00 2001 From: MRHwick Date: Fri, 25 Sep 2020 11:16:04 -0400 Subject: [PATCH 05/16] operations are enabled in the bdd steps --- ...incident_returns__CREATED__response.freeze | 2 +- ...w_incident_returns__CREATED__response.yaml | 48 +++++----- ...ting_incident_returns__OK__response.freeze | 2 +- ...isting_incident_returns__OK__response.yaml | 44 +++++----- ..._of_incidents_returns__OK__response.freeze | 2 +- ...st_of_incidents_returns__OK__response.yaml | 83 ++++++++++++++---- ...f_an_incident_returns__OK__response.freeze | 2 +- ..._of_an_incident_returns__OK__response.yaml | 85 ++++++++++++++---- ...ting_incident_returns__OK__response.freeze | 2 +- ...isting_incident_returns__OK__response.yaml | 87 +++++++++++++++---- tests/api/v2/datadog/scenarios_test.go | 1 - 11 files changed, 255 insertions(+), 103 deletions(-) diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Create_a_new_incident_returns__CREATED__response.freeze b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Create_a_new_incident_returns__CREATED__response.freeze index 632184eb115..de936770ec5 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Create_a_new_incident_returns__CREATED__response.freeze +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Create_a_new_incident_returns__CREATED__response.freeze @@ -1 +1 @@ -2020-09-24T01:02:05.020372-04:00 \ No newline at end of file +2020-09-25T11:13:19.156814-04:00 \ No newline at end of file diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Create_a_new_incident_returns__CREATED__response.yaml b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Create_a_new_incident_returns__CREATED__response.yaml index 6ba7d5ae1b2..cd97b6547a7 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Create_a_new_incident_returns__CREATED__response.yaml +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Create_a_new_incident_returns__CREATED__response.yaml @@ -3,7 +3,7 @@ version: 1 interactions: - request: body: | - {"data":{"attributes":{"email":"go-testscenarios-feature_incidents-scenario_create_a_new_incident_returns__created__response-given_there_is_a_valid__user__in_the_system-local-1600923725@datadoghq.com","name":"go-testscenarios-feature_incidents-scenario_","title":"Big boss"},"type":"users"}} + {"data":{"attributes":{"email":"go-testscenarios-feature_incidents-scenario_create_a_new_incident_returns__created__response-given_there_is_a_valid__user__in_the_system-local-1601046799@datadoghq.com","name":"go-testscenarios-feature_incidents-scenario_","title":"Big boss"},"type":"users"}} form: {} headers: Accept: @@ -15,15 +15,15 @@ interactions: User-Agent: - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "5732374272700095313" + - "8430091474825393577" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "6734411428936839737" + - "1987171515519065064" url: https://api.datadoghq.com/api/v2/users method: POST response: - body: '{"data":{"type":"users","id":"16f714e8-fe23-11ea-b262-4bd164e14f5d","attributes":{"name":"go-testscenarios-feature_incidents-scenario_","handle":"go-testscenarios-feature_incidents-scenario_create_a_new_incident_returns__created__response-given_there_is_a_valid__user__in_the_system-local-1600923725@datadoghq.com","created_at":"2020-09-24T05:02:05.081100+00:00","email":"go-testscenarios-feature_incidents-scenario_create_a_new_incident_returns__created__response-given_there_is_a_valid__user__in_the_system-local-1600923725@datadoghq.com","icon":"https://secure.gravatar.com/avatar/1e18c36499dec13ede711e2a6ecd3327?s=48&d=retro","title":"Big + body: '{"data":{"type":"users","id":"a4e145a2-ff41-11ea-b329-53e84148c5f0","attributes":{"name":"go-testscenarios-feature_incidents-scenario_","handle":"go-testscenarios-feature_incidents-scenario_create_a_new_incident_returns__created__response-given_there_is_a_valid__user__in_the_system-local-1601046799@datadoghq.com","created_at":"2020-09-25T15:13:19.239029+00:00","email":"go-testscenarios-feature_incidents-scenario_create_a_new_incident_returns__created__response-given_there_is_a_valid__user__in_the_system-local-1601046799@datadoghq.com","icon":"https://secure.gravatar.com/avatar/15c1a4a6806150b9632b8798a97b872b?s=48&d=retro","title":"Big boss","verified":false,"disabled":false,"allowed_login_methods":[],"status":"Pending"},"relationships":{"roles":{"data":[]},"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}}' headers: Cache-Control: @@ -35,22 +35,22 @@ interactions: Content-Type: - application/json Date: - - Thu, 24 Sep 2020 05:02:05 GMT + - Fri, 25 Sep 2020 15:13:37 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 01-Oct-2020 05:02:05 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 15:13:19 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff X-Dd-Debug: - - WMqkdiu/k4tYC8oJLm7ZFuFlnIXAYAXwOPQoxLtj7bgJQppYJErVkGl/2/O/+zpm + - RNjkldB/U7jBomuDwniiFl3adRN7VFY0k6iblOqPBlb/lnmtli0Xp6qAxW+GhOfn X-Dd-Version: - - "35.3085403" + - "35.3093372" X-Frame-Options: - SAMEORIGIN status: 201 Created @@ -58,7 +58,7 @@ interactions: duration: "" - request: body: | - {"data":{"attributes":{"customer_impacted":false,"title":"go-Feature_Incidents-Scenario_Create_a_new_incident_returns__CREATED__response-local-1600923725"},"relationships":{"commander":{"data":{"id":"16f714e8-fe23-11ea-b262-4bd164e14f5d","type":"users"}}},"type":"incidents"}} + {"data":{"attributes":{"customer_impacted":false,"title":"go-Feature_Incidents-Scenario_Create_a_new_incident_returns__CREATED__response-local-1601046799"},"relationships":{"commander":{"data":{"id":"a4e145a2-ff41-11ea-b329-53e84148c5f0","type":"users"}}},"type":"incidents"}} form: {} headers: Accept: @@ -70,41 +70,41 @@ interactions: User-Agent: - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "6992755361123298117" + - "309662768762137501" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "6734411428936839737" + - "1987171515519065064" url: https://api.datadoghq.com/api/v2/incidents method: POST response: - body: '{"data":{"type":"incidents","id":"795ebf4b-89c9-5df0-943b-c8b2d93b63e4","attributes":{"public_id":89,"postmortem_id":null,"title":"go-Feature_Incidents-Scenario_Create_a_new_incident_returns__CREATED__response-local-1600923725","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"last_modified_by_uuid":null,"created":"2020-09-24T05:02:05.271014+00:00","modified":"2020-09-24T05:02:05.271014+00:00","commander":{"data":{"type":"users","id":"16f714e8-fe23-11ea-b262-4bd164e14f5d","attributes":{"uuid":"16f714e8-fe23-11ea-b262-4bd164e14f5d","handle":"go-testscenarios-feature_incidents-scenario_create_a_new_incident_returns__created__response-given_there_is_a_valid__user__in_the_system-local-1600923725@datadoghq.com","email":"go-testscenarios-feature_incidents-scenario_create_a_new_incident_returns__created__response-given_there_is_a_valid__user__in_the_system-local-1600923725@datadoghq.com","name":"go-testscenarios-feature_incidents-scenario_","icon":"https://secure.gravatar.com/avatar/1e18c36499dec13ede711e2a6ecd3327?s=48&d=retro"}}},"state":"active","detected":"2020-09-24T05:02:05.269194+00:00","created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"created_by_uuid":null,"creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null,"additional_notifications":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":null},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[]},"user_defined_fields":{"data":[]},"postmortem":{"data":null},"integrations":{"data":[]}}}}' + body: '{"data":{"type":"incidents","id":"51faddf3-f41d-5857-9347-6babb8892c81","attributes":{"public_id":103,"postmortem_id":null,"title":"go-Feature_Incidents-Scenario_Create_a_new_incident_returns__CREATED__response-local-1601046799","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"last_modified_by_uuid":null,"created":"2020-09-25T15:13:37.464902+00:00","modified":"2020-09-25T15:13:37.464902+00:00","commander":{"data":{"type":"users","id":"a4e145a2-ff41-11ea-b329-53e84148c5f0","attributes":{"uuid":"a4e145a2-ff41-11ea-b329-53e84148c5f0","handle":"go-testscenarios-feature_incidents-scenario_create_a_new_incident_returns__created__response-given_there_is_a_valid__user__in_the_system-local-1601046799@datadoghq.com","email":"go-testscenarios-feature_incidents-scenario_create_a_new_incident_returns__created__response-given_there_is_a_valid__user__in_the_system-local-1601046799@datadoghq.com","name":"go-testscenarios-feature_incidents-scenario_","icon":"https://secure.gravatar.com/avatar/15c1a4a6806150b9632b8798a97b872b?s=48&d=retro"}}},"state":"active","detected":"2020-09-25T15:13:37.463187+00:00","created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"created_by_uuid":null,"creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null,"additional_notifications":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":null},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[]},"user_defined_fields":{"data":[]},"postmortem":{"data":null},"integrations":{"data":[]}}}}' headers: Cache-Control: - no-cache Connection: - keep-alive Content-Length: - - "2449" + - "2450" Content-Type: - application/json Date: - - Thu, 24 Sep 2020 05:02:07 GMT + - Fri, 25 Sep 2020 15:13:38 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 01-Oct-2020 05:02:05 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 15:13:37 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff X-Dd-Debug: - - SjSxykLY0gTr3VkJbxmjvoevebB2pxQifq0h5HklwYksG7/9u16HyBsdYlpi9mGW + - 8fXgGAAoNDkfuneKCnTnqB8DKjHLTs+9UWiAzHHQVcEGbAPX4uItc5+97fNEvGUG X-Dd-Version: - - "35.3085403" + - "35.3093372" X-Frame-Options: - SAMEORIGIN status: 201 Created @@ -121,12 +121,12 @@ interactions: User-Agent: - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "3446002744465404056" + - "5237038404949342257" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "6734411428936839737" - url: https://api.datadoghq.com/api/v2/users/16f714e8-fe23-11ea-b262-4bd164e14f5d + - "1987171515519065064" + url: https://api.datadoghq.com/api/v2/users/a4e145a2-ff41-11ea-b329-53e84148c5f0 method: DELETE response: body: "" @@ -140,22 +140,22 @@ interactions: Content-Type: - application/json Date: - - Thu, 24 Sep 2020 05:02:08 GMT + - Fri, 25 Sep 2020 15:13:39 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 01-Oct-2020 05:02:07 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 15:13:38 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff X-Dd-Debug: - - POuDbGLugqXrJfoVh1EySG2rrzsK54DWLRF5/pTAPkxizo7RlYf80RrCYTzc0hnv + - xRBFY2Rp8NHDG9Rp4RaGjcqlKnbzhHpETMjn37ZNtmzdKqGU6DeuhyyL4o7jfpVZ X-Dd-Version: - - "35.3085403" + - "35.3093372" X-Frame-Options: - SAMEORIGIN status: 204 No Content diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Delete_an_existing_incident_returns__OK__response.freeze b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Delete_an_existing_incident_returns__OK__response.freeze index 3ef25171938..e9bafc4a52f 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Delete_an_existing_incident_returns__OK__response.freeze +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Delete_an_existing_incident_returns__OK__response.freeze @@ -1 +1 @@ -2020-09-24T01:02:08.070683-04:00 \ No newline at end of file +2020-09-25T11:13:39.160052-04:00 \ No newline at end of file diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Delete_an_existing_incident_returns__OK__response.yaml b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Delete_an_existing_incident_returns__OK__response.yaml index 48c10df3aed..340da05c326 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Delete_an_existing_incident_returns__OK__response.yaml +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Delete_an_existing_incident_returns__OK__response.yaml @@ -3,7 +3,7 @@ version: 1 interactions: - request: body: | - {"data":{"attributes":{"customer_impacted":false,"title":"go-TestScenarios-Feature_Incidents-Scenario_Delete_an_existing_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600923728"},"type":"incidents"}} + {"data":{"attributes":{"customer_impacted":false,"title":"go-TestScenarios-Feature_Incidents-Scenario_Delete_an_existing_incident_returns__OK__response-And_there_is_a_valid__incident__in_the_system-local-1601046819"},"type":"incidents"}} form: {} headers: Accept: @@ -15,41 +15,41 @@ interactions: User-Agent: - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "1951883051256396322" + - "4545755805886668476" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "5363955431391707939" + - "8958451833947155178" url: https://api.datadoghq.com/api/v2/incidents method: POST response: - body: '{"data":{"type":"incidents","id":"a393e4e2-1869-5ec3-a23d-719bb0230f71","attributes":{"public_id":90,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Delete_an_existing_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600923728","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"last_modified_by_uuid":null,"created":"2020-09-24T05:02:08.141300+00:00","modified":"2020-09-24T05:02:08.141300+00:00","commander":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"state":"active","detected":"2020-09-24T05:02:08.139326+00:00","created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"created_by_uuid":null,"creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null,"additional_notifications":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[]},"user_defined_fields":{"data":[]},"postmortem":{"data":null},"integrations":{"data":[]}}}}' + body: '{"data":{"type":"incidents","id":"601d02f8-c99e-5b09-a616-feebd3c2dfc6","attributes":{"public_id":104,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Delete_an_existing_incident_returns__OK__response-And_there_is_a_valid__incident__in_the_system-local-1601046819","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"last_modified_by_uuid":null,"created":"2020-09-25T15:13:39.271725+00:00","modified":"2020-09-25T15:13:39.271725+00:00","commander":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"state":"active","detected":"2020-09-25T15:13:39.262645+00:00","created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"created_by_uuid":null,"creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null,"additional_notifications":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[]},"user_defined_fields":{"data":[]},"postmortem":{"data":null},"integrations":{"data":[]}}}}' headers: Cache-Control: - no-cache Connection: - keep-alive Content-Length: - - "2228" + - "2227" Content-Type: - application/json Date: - - Thu, 24 Sep 2020 05:02:10 GMT + - Fri, 25 Sep 2020 15:13:42 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 01-Oct-2020 05:02:08 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 15:13:39 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff X-Dd-Debug: - - KZy0Z61AelGSMiW0wwPuJyNwjEfJ0APCpzGlt7XM1KaE6e4cHzuLEBcvgVZz4sZ0 + - iYQ/kN+Mucmn5lrokThXQXO7/WpLJkz6FPOiR0S18ewUC8B+Ld2MxmzWaRyon32u X-Dd-Version: - - "35.3085403" + - "35.3093372" X-Frame-Options: - SAMEORIGIN status: 201 Created @@ -66,12 +66,12 @@ interactions: User-Agent: - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "3924934413112854993" + - "4247660621466160636" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "5363955431391707939" - url: https://api.datadoghq.com/api/v2/incidents/a393e4e2-1869-5ec3-a23d-719bb0230f71 + - "8958451833947155178" + url: https://api.datadoghq.com/api/v2/incidents/601d02f8-c99e-5b09-a616-feebd3c2dfc6 method: DELETE response: body: "" @@ -85,22 +85,22 @@ interactions: Content-Type: - application/json Date: - - Thu, 24 Sep 2020 05:02:10 GMT + - Fri, 25 Sep 2020 15:13:42 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 01-Oct-2020 05:02:10 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 15:13:42 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff X-Dd-Debug: - - G84mPdYpSAGk3Cn+ow9K78cPip5wn5xve1MIezJYJmKYQLcpCyyPvAIMLsVAC7W/ + - jUMr6d+5J+YuJ6qRYTR2w4bV5pSWL1aOCQq2Fsi4IDQJQgpLmKecXN7enHF4E9hf X-Dd-Version: - - "35.3085403" + - "35.3093372" X-Frame-Options: - SAMEORIGIN status: 204 No Content @@ -117,15 +117,15 @@ interactions: User-Agent: - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "6598404869501682296" + - "4723812552547935782" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "5363955431391707939" - url: https://api.datadoghq.com/api/v2/incidents/a393e4e2-1869-5ec3-a23d-719bb0230f71 + - "8958451833947155178" + url: https://api.datadoghq.com/api/v2/incidents/601d02f8-c99e-5b09-a616-feebd3c2dfc6 method: DELETE response: - body: '{"errors": ["incident a393e4e2-1869-5ec3-a23d-719bb0230f71 not found"]}' + body: '{"errors": ["incident 601d02f8-c99e-5b09-a616-feebd3c2dfc6 not found"]}' headers: Cache-Control: - no-cache @@ -134,7 +134,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 24 Sep 2020 05:02:10 GMT + - Fri, 25 Sep 2020 15:13:43 GMT Dd-Pool: - dogweb Pragma: @@ -146,7 +146,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.3085403" + - "35.3093372" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_a_list_of_incidents_returns__OK__response.freeze b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_a_list_of_incidents_returns__OK__response.freeze index 3a4b0fa44df..4641c254ecd 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_a_list_of_incidents_returns__OK__response.freeze +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_a_list_of_incidents_returns__OK__response.freeze @@ -1 +1 @@ -2020-09-24T01:02:01.202048-04:00 \ No newline at end of file +2020-09-25T11:13:12.618386-04:00 \ No newline at end of file diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_a_list_of_incidents_returns__OK__response.yaml b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_a_list_of_incidents_returns__OK__response.yaml index 87d8431b477..534f0fc873c 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_a_list_of_incidents_returns__OK__response.yaml +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_a_list_of_incidents_returns__OK__response.yaml @@ -3,7 +3,7 @@ version: 1 interactions: - request: body: | - {"data":{"attributes":{"customer_impacted":false,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600923721"},"type":"incidents"}} + {"data":{"attributes":{"customer_impacted":false,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-And_there_is_a_valid__incident__in_the_system-local-1601046792"},"type":"incidents"}} form: {} headers: Accept: @@ -15,41 +15,41 @@ interactions: User-Agent: - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "95312229203702330" + - "9041057894678719331" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "2180662505528179411" + - "2802203196198484886" url: https://api.datadoghq.com/api/v2/incidents method: POST response: - body: '{"data":{"type":"incidents","id":"7c3245fb-2407-5654-b4de-84d6d1210007","attributes":{"public_id":88,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600923721","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"last_modified_by_uuid":null,"created":"2020-09-24T05:02:01.492686+00:00","modified":"2020-09-24T05:02:01.492686+00:00","commander":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"state":"active","detected":"2020-09-24T05:02:01.489147+00:00","created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"created_by_uuid":null,"creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null,"additional_notifications":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[]},"user_defined_fields":{"data":[]},"postmortem":{"data":null},"integrations":{"data":[]}}}}' + body: '{"data":{"type":"incidents","id":"6847b781-c49d-5fec-bbc0-f7ab6596275a","attributes":{"public_id":102,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-And_there_is_a_valid__incident__in_the_system-local-1601046792","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"last_modified_by_uuid":null,"created":"2020-09-25T15:13:12.894473+00:00","modified":"2020-09-25T15:13:12.894473+00:00","commander":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"state":"active","detected":"2020-09-25T15:13:12.892597+00:00","created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"created_by_uuid":null,"creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null,"additional_notifications":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[]},"user_defined_fields":{"data":[]},"postmortem":{"data":null},"integrations":{"data":[]}}}}' headers: Cache-Control: - no-cache Connection: - keep-alive Content-Length: - - "2224" + - "2223" Content-Type: - application/json Date: - - Thu, 24 Sep 2020 05:02:04 GMT + - Fri, 25 Sep 2020 15:13:16 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 01-Oct-2020 05:02:01 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 15:13:12 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff X-Dd-Debug: - - jrdNt2QvGarP6yOsylH3GAxdMWXM4CYDKNbO7i0omswFkFozD11pdA/9Rp2czovd + - ks6TYG2WFSBr2qT+ZTFJB8BB7VWuwPmODDq52A4JjLzCAAitR8HQc9JBq+LHjJu4 X-Dd-Version: - - "35.3085403" + - "35.3093372" X-Frame-Options: - SAMEORIGIN status: 201 Created @@ -66,15 +66,15 @@ interactions: User-Agent: - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "1303284850647043092" + - "1752866260768274410" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "2180662505528179411" + - "2802203196198484886" url: https://api.datadoghq.com/api/v2/incidents method: GET response: - body: '{"meta":{"pagination":{"size":25,"next_offset":25,"offset":0}},"data":[{"type":"incidents","id":"7a059827-672a-57ed-9078-56ce8e79409d","attributes":{"public_id":1,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600911868","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T01:44:31.075654+00:00","modified":"2020-09-24T01:44:31.075654+00:00","state":"active","detected":"2020-09-24T01:44:31.071338+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"f1ae671f-bf2d-5a65-ac8b-eb16699eb685"},{"type":"user_defined_selection","id":"a907a8e5-ead6-57a8-8460-272e96f21c7a"},{"type":"user_defined_selection","id":"a5c83b76-a203-51b5-8e86-7fd9f6f24998"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"86010071-0d9b-5260-93e8-ac019cee7dfd","attributes":{"public_id":2,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600911894","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T01:44:54.402280+00:00","modified":"2020-09-24T01:44:54.402280+00:00","state":"active","detected":"2020-09-24T01:44:54.387089+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"6da6dc59-7f2e-5803-8360-7888a171c49a"},{"type":"user_defined_selection","id":"c03f9d26-a6e9-5231-ac8f-13595a37570b"},{"type":"user_defined_selection","id":"f2e46d01-3014-5cb7-b17f-2b41bf874012"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"36434fb1-bf5d-564c-a543-bae0878be63d","attributes":{"public_id":3,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600920195","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:03:16.150218+00:00","modified":"2020-09-24T04:03:16.150218+00:00","state":"active","detected":"2020-09-24T04:03:16.137784+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"e2d39ab9-60a3-5572-bfcf-6351b9e84c09"},{"type":"user_defined_selection","id":"9354acc4-b06f-5436-abe7-46fe551be70d"},{"type":"user_defined_selection","id":"294ed2aa-998a-56b7-9961-c84ad293c773"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"897bd983-f917-5c81-b8cb-3ef77e25a669","attributes":{"public_id":4,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600920542","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:09:02.406595+00:00","modified":"2020-09-24T04:09:02.406595+00:00","state":"active","detected":"2020-09-24T04:09:02.403938+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"b8ce1e99-9186-50c1-85f8-838280ee9a6c"},{"type":"user_defined_selection","id":"14e31798-a57f-52ed-9c83-7fb34ec44770"},{"type":"user_defined_selection","id":"bfb59cba-995f-53d1-89f0-644b34d1c9be"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"f4c72afc-b259-5ce5-a25b-318c6b488dcc","attributes":{"public_id":5,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600920774","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:12:54.649152+00:00","modified":"2020-09-24T04:12:54.649152+00:00","state":"active","detected":"2020-09-24T04:12:54.647619+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"ea45817d-979e-54bd-8789-a4a102c07afa"},{"type":"user_defined_selection","id":"4540ccd6-df93-524f-a915-21f9279f52c2"},{"type":"user_defined_selection","id":"b4d39bd2-6997-50fb-a6b0-0036c0c47d02"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"4e9687e9-2ce2-58a6-b647-2047675202fa","attributes":{"public_id":6,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600920822","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:13:42.856251+00:00","modified":"2020-09-24T04:13:42.856251+00:00","state":"active","detected":"2020-09-24T04:13:42.854350+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"79f37183-b2c8-525c-8b93-edd2dabd43c6"},{"type":"user_defined_selection","id":"aa82b105-e68a-5abe-9eda-dfe6de2eedd1"},{"type":"user_defined_selection","id":"f3da7f81-63bd-5a44-9d0b-02b7ee1c6d0f"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"135bb2e7-2bd3-5ec2-b6e4-0d83adeb5ee9","attributes":{"public_id":7,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600920842","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:14:03.212980+00:00","modified":"2020-09-24T04:14:03.212980+00:00","state":"active","detected":"2020-09-24T04:14:03.211283+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"6060fd9b-d382-571c-a47d-31b1d6e72d5b"},{"type":"user_defined_selection","id":"9e2649d8-cd6d-52f7-98a8-2887118a2df0"},{"type":"user_defined_selection","id":"9c2ddf5f-5e15-5f9a-a871-11d071199f1c"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"0cf15030-1e11-54eb-b662-86d044b407d7","attributes":{"public_id":8,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600921077","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:17:57.765225+00:00","modified":"2020-09-24T04:17:57.765225+00:00","state":"active","detected":"2020-09-24T04:17:57.762690+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"1fa8a7aa-6b1d-58d0-acb3-0a3803d5ea9b"},{"type":"user_defined_selection","id":"64f671b4-887b-5d5e-9091-f7cd3843365b"},{"type":"user_defined_selection","id":"d9eddcd1-0855-5af7-aa1b-7be4cd8f3c1a"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"627a881a-ed42-51dd-b3f7-12fb598e51b7","attributes":{"public_id":9,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600921223","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:20:23.444263+00:00","modified":"2020-09-24T04:20:23.444263+00:00","state":"active","detected":"2020-09-24T04:20:23.442590+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"0e769331-9d9c-515c-9a4e-824d70d27d71"},{"type":"user_defined_selection","id":"45d7a21c-9d61-5fce-b16f-3b551f06d424"},{"type":"user_defined_selection","id":"9a56758e-f622-5941-9551-7a520ba8ba39"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"fc275f70-e1bb-5aea-b583-eb5afbd97e84","attributes":{"public_id":10,"postmortem_id":null,"title":"go-Feature_Incidents-Scenario_Create_a_new_incident_returns__CREATED__response-local-1600921226","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:20:27.042285+00:00","modified":"2020-09-24T04:20:27.042285+00:00","state":"active","detected":"2020-09-24T04:20:27.040509+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"45e7ad7c-fe1d-11ea-b260-47e9f3637f3b"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"9f7c0f4a-d5c1-5e4e-97ad-e7518e2fd1c2"},{"type":"user_defined_selection","id":"31a9737f-a7e3-5385-932f-6c92656c16e9"},{"type":"user_defined_selection","id":"8dc87737-d57f-531c-9a95-887a14b54f8b"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"80318a1d-8a64-59e8-9a3e-7370af8eb927","attributes":{"public_id":11,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600921418","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:23:39.224605+00:00","modified":"2020-09-24T04:23:39.224605+00:00","state":"active","detected":"2020-09-24T04:23:39.223050+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"b9e5c503-36ec-5a1f-9e52-bbd634cffd37"},{"type":"user_defined_selection","id":"d599f052-8917-5057-b58f-b13191cc53cc"},{"type":"user_defined_selection","id":"9d815c16-5993-5442-b195-d40053be3a3b"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"f5552e0d-d07e-5345-9368-ed8f46ac0e8a","attributes":{"public_id":12,"postmortem_id":null,"title":"go-Feature_Incidents-Scenario_Create_a_new_incident_returns__CREATED__response-local-1600921422","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:23:42.249562+00:00","modified":"2020-09-24T04:23:42.249562+00:00","state":"active","detected":"2020-09-24T04:23:42.247961+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"ba47465a-fe1d-11ea-b260-cf511b8ddff0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"215a4ddb-2dbd-5c30-8fea-918969ccf1e4"},{"type":"user_defined_selection","id":"6e23efe0-d1ec-517e-9fe3-df92d6532633"},{"type":"user_defined_selection","id":"b18a026e-0ad0-5a8c-ba51-b5a52d452dac"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"9c10bb37-2a22-5aa0-baca-d7b9998f7ace","attributes":{"public_id":14,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600921446","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:24:06.487148+00:00","modified":"2020-09-24T04:24:06.487148+00:00","state":"active","detected":"2020-09-24T04:24:06.474493+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"6c3d4c9f-07f2-5c65-9f51-f094efe6b491"},{"type":"user_defined_selection","id":"b24ecc35-d5bd-5f49-9a14-1d886408ff74"},{"type":"user_defined_selection","id":"ec705344-6abb-56a5-8149-107a62271444"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"14882f8c-2c80-546f-a60b-5740102cc9af","attributes":{"public_id":15,"postmortem_id":null,"title":"go-Feature_Incidents-Scenario_Create_a_new_incident_returns__CREATED__response-local-1600921449","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:24:09.490794+00:00","modified":"2020-09-24T04:24:09.490794+00:00","state":"active","detected":"2020-09-24T04:24:09.488828+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"ca79d3d0-fe1d-11ea-b260-ef7399d6b59c"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"ca1172b0-c74d-5c7a-8663-85b87d373ae9"},{"type":"user_defined_selection","id":"14f6377d-e55e-5aa7-ae62-0d18c8c2bbe3"},{"type":"user_defined_selection","id":"f149ac5d-1831-580b-aff0-608335f21b94"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"03e1a113-9c81-5eb1-8103-ea690c87cc33","attributes":{"public_id":17,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600921947","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:32:27.710485+00:00","modified":"2020-09-24T04:32:27.710485+00:00","state":"active","detected":"2020-09-24T04:32:27.708946+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"e5cc2693-bae6-540c-a309-1ee2c8b94b52"},{"type":"user_defined_selection","id":"fde43c1d-cfc7-5a01-99bc-a27cdef791d7"},{"type":"user_defined_selection","id":"74ca3061-3765-5130-a0df-7d70a1f9ee59"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"e4985af9-21c6-52e3-a507-e10be43991a5","attributes":{"public_id":18,"postmortem_id":null,"title":"go-Feature_Incidents-Scenario_Create_a_new_incident_returns__CREATED__response-local-1600921949","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:32:29.904017+00:00","modified":"2020-09-24T04:32:29.904017+00:00","state":"active","detected":"2020-09-24T04:32:29.902156+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"f4bddb72-fe1e-11ea-b260-f3aa2ee52ab4"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"36e9a81e-56b2-5d9f-853a-7ad6f1e8f848"},{"type":"user_defined_selection","id":"f8e76aeb-68dc-5529-9f5f-093af1e8577e"},{"type":"user_defined_selection","id":"80fc245e-237b-54e1-b778-74dd4746287f"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"8b6e056f-3c50-5083-96e8-a5b83411e17a","attributes":{"public_id":20,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_the_details_of_an_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600921958","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:32:39.029294+00:00","modified":"2020-09-24T04:32:39.029294+00:00","state":"active","detected":"2020-09-24T04:32:39.027571+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"5634b98b-bc4b-55ba-838e-427c5b5b0747"},{"type":"user_defined_selection","id":"28e7b453-36bc-5524-9109-c602f5f77965"},{"type":"user_defined_selection","id":"45d9b024-e6bf-53f3-8e1b-92be19d26f75"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"9a0dfc7a-9d9e-5439-9b2d-f1a8307053cc","attributes":{"public_id":21,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Update_an_existing_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600921959","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:32:39.860407+00:00","modified":"2020-09-24T04:32:39.860407+00:00","state":"active","detected":"2020-09-24T04:32:39.858584+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"0abb5528-4c6e-54f4-bc80-f2908dcc0a8a"},{"type":"user_defined_selection","id":"38ccf875-9413-5d4b-99d4-732331c6e995"},{"type":"user_defined_selection","id":"2756d06a-c3e3-5387-8a56-61af7724fd9a"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"9af253a0-5687-5305-bf05-c617c70ad091","attributes":{"public_id":22,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600922065","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:34:25.966710+00:00","modified":"2020-09-24T04:34:25.966710+00:00","state":"active","detected":"2020-09-24T04:34:25.948795+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"8c06dde7-31f4-56ae-bab6-d3180d22b247"},{"type":"user_defined_selection","id":"d06a6ebb-1292-5386-b0a0-1fc37e3f73ed"},{"type":"user_defined_selection","id":"b436bb9d-c0ff-5e01-b5a5-e6e69bca702c"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"e13f6f74-4b76-52e9-b33e-59e5f3bec034","attributes":{"public_id":23,"postmortem_id":null,"title":"go-Feature_Incidents-Scenario_Create_a_new_incident_returns__CREATED__response-local-1600922068","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:34:28.748849+00:00","modified":"2020-09-24T04:34:28.748849+00:00","state":"active","detected":"2020-09-24T04:34:28.746476+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3b995896-fe1f-11ea-b260-b3178cb0e7d1"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"c90ea1ff-f800-5ae5-9b8a-8a6aba73fc6b"},{"type":"user_defined_selection","id":"01d10f9e-73bc-5fcd-9169-94cf73e25a23"},{"type":"user_defined_selection","id":"f039a4cc-bce6-5a4c-9653-90ed33b3ffd1"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"5b9dfec0-e5c9-522c-9651-a14ba2cc9a00","attributes":{"public_id":25,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_the_details_of_an_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600922072","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:34:32.720745+00:00","modified":"2020-09-24T04:34:32.720745+00:00","state":"active","detected":"2020-09-24T04:34:32.719019+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"9ccdb5a3-f627-58d6-b972-e36ceda85b70"},{"type":"user_defined_selection","id":"71a88f49-5ca0-5ec2-80f4-cc4bfe177f77"},{"type":"user_defined_selection","id":"92fc5503-c711-5fbc-80ab-fce1ee7585b5"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"fbfde4c0-ec20-5466-b95f-efe135510590","attributes":{"public_id":26,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Update_an_existing_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600922074","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:34:34.467879+00:00","modified":"2020-09-24T04:34:34.467879+00:00","state":"active","detected":"2020-09-24T04:34:34.466051+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"8c855a34-07e4-5443-9072-0cf27251a92d"},{"type":"user_defined_selection","id":"4963739c-2921-526c-ab05-b4fb22558ecf"},{"type":"user_defined_selection","id":"6879f703-e0b9-592e-ab17-e8cc104a1118"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"7f300f39-9f01-52da-89c2-0610917d5f67","attributes":{"public_id":27,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600922138","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:35:39.039986+00:00","modified":"2020-09-24T04:35:39.039986+00:00","state":"active","detected":"2020-09-24T04:35:39.025803+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"c56538b0-9c5f-58a7-b47d-ea1be1bad876"},{"type":"user_defined_selection","id":"59de340c-0542-55e8-8e83-ce436716d64d"},{"type":"user_defined_selection","id":"cc4b2003-d5d6-5023-98c6-362d4aabb547"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"0c6cab54-404d-5776-8503-2e45d25dd8f8","attributes":{"public_id":28,"postmortem_id":null,"title":"go-Feature_Incidents-Scenario_Create_a_new_incident_returns__CREATED__response-local-1600922142","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:35:43.503245+00:00","modified":"2020-09-24T04:35:43.503245+00:00","state":"active","detected":"2020-09-24T04:35:43.498533+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"68087c36-fe1f-11ea-b260-abe4ca1ff356"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"9cc94679-0f62-5b4a-bcb2-6acdeddc95a6"},{"type":"user_defined_selection","id":"5107818f-1713-589e-86f4-919430f04eea"},{"type":"user_defined_selection","id":"c8ef95c0-2ff1-5bd5-bdb0-fc116051661e"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"6c307bba-b1d0-5fc7-a3df-db4c5c4ea6c9","attributes":{"public_id":30,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_the_details_of_an_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600922148","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:35:48.383356+00:00","modified":"2020-09-24T04:35:48.383356+00:00","state":"active","detected":"2020-09-24T04:35:48.381856+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"40fa55fa-f78d-5c0d-b4b9-b58d3f865df3"},{"type":"user_defined_selection","id":"1f50715f-58f7-5790-98c0-9a197a15cb89"},{"type":"user_defined_selection","id":"7d98f78d-a278-5753-9c80-2ef3cd7eaa95"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}}]}' + body: '{"meta":{"pagination":{"size":25,"next_offset":25,"offset":0}},"data":[{"type":"incidents","id":"7a059827-672a-57ed-9078-56ce8e79409d","attributes":{"public_id":1,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600911868","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T01:44:31.075654+00:00","modified":"2020-09-24T01:44:31.075654+00:00","state":"active","detected":"2020-09-24T01:44:31.071338+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"a5c83b76-a203-51b5-8e86-7fd9f6f24998"},{"type":"user_defined_selection","id":"f1ae671f-bf2d-5a65-ac8b-eb16699eb685"},{"type":"user_defined_selection","id":"a907a8e5-ead6-57a8-8460-272e96f21c7a"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"86010071-0d9b-5260-93e8-ac019cee7dfd","attributes":{"public_id":2,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600911894","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T01:44:54.402280+00:00","modified":"2020-09-24T01:44:54.402280+00:00","state":"active","detected":"2020-09-24T01:44:54.387089+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"f2e46d01-3014-5cb7-b17f-2b41bf874012"},{"type":"user_defined_selection","id":"c03f9d26-a6e9-5231-ac8f-13595a37570b"},{"type":"user_defined_selection","id":"6da6dc59-7f2e-5803-8360-7888a171c49a"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"36434fb1-bf5d-564c-a543-bae0878be63d","attributes":{"public_id":3,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600920195","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:03:16.150218+00:00","modified":"2020-09-24T04:03:16.150218+00:00","state":"active","detected":"2020-09-24T04:03:16.137784+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"9354acc4-b06f-5436-abe7-46fe551be70d"},{"type":"user_defined_selection","id":"e2d39ab9-60a3-5572-bfcf-6351b9e84c09"},{"type":"user_defined_selection","id":"294ed2aa-998a-56b7-9961-c84ad293c773"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"897bd983-f917-5c81-b8cb-3ef77e25a669","attributes":{"public_id":4,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600920542","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:09:02.406595+00:00","modified":"2020-09-24T04:09:02.406595+00:00","state":"active","detected":"2020-09-24T04:09:02.403938+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"14e31798-a57f-52ed-9c83-7fb34ec44770"},{"type":"user_defined_selection","id":"bfb59cba-995f-53d1-89f0-644b34d1c9be"},{"type":"user_defined_selection","id":"b8ce1e99-9186-50c1-85f8-838280ee9a6c"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"f4c72afc-b259-5ce5-a25b-318c6b488dcc","attributes":{"public_id":5,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600920774","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:12:54.649152+00:00","modified":"2020-09-24T04:12:54.649152+00:00","state":"active","detected":"2020-09-24T04:12:54.647619+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"4540ccd6-df93-524f-a915-21f9279f52c2"},{"type":"user_defined_selection","id":"b4d39bd2-6997-50fb-a6b0-0036c0c47d02"},{"type":"user_defined_selection","id":"ea45817d-979e-54bd-8789-a4a102c07afa"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"4e9687e9-2ce2-58a6-b647-2047675202fa","attributes":{"public_id":6,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600920822","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:13:42.856251+00:00","modified":"2020-09-24T04:13:42.856251+00:00","state":"active","detected":"2020-09-24T04:13:42.854350+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"79f37183-b2c8-525c-8b93-edd2dabd43c6"},{"type":"user_defined_selection","id":"f3da7f81-63bd-5a44-9d0b-02b7ee1c6d0f"},{"type":"user_defined_selection","id":"aa82b105-e68a-5abe-9eda-dfe6de2eedd1"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"135bb2e7-2bd3-5ec2-b6e4-0d83adeb5ee9","attributes":{"public_id":7,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600920842","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:14:03.212980+00:00","modified":"2020-09-24T04:14:03.212980+00:00","state":"active","detected":"2020-09-24T04:14:03.211283+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"9c2ddf5f-5e15-5f9a-a871-11d071199f1c"},{"type":"user_defined_selection","id":"6060fd9b-d382-571c-a47d-31b1d6e72d5b"},{"type":"user_defined_selection","id":"9e2649d8-cd6d-52f7-98a8-2887118a2df0"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"0cf15030-1e11-54eb-b662-86d044b407d7","attributes":{"public_id":8,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600921077","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:17:57.765225+00:00","modified":"2020-09-24T04:17:57.765225+00:00","state":"active","detected":"2020-09-24T04:17:57.762690+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"d9eddcd1-0855-5af7-aa1b-7be4cd8f3c1a"},{"type":"user_defined_selection","id":"64f671b4-887b-5d5e-9091-f7cd3843365b"},{"type":"user_defined_selection","id":"1fa8a7aa-6b1d-58d0-acb3-0a3803d5ea9b"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"627a881a-ed42-51dd-b3f7-12fb598e51b7","attributes":{"public_id":9,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600921223","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:20:23.444263+00:00","modified":"2020-09-24T04:20:23.444263+00:00","state":"active","detected":"2020-09-24T04:20:23.442590+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"0e769331-9d9c-515c-9a4e-824d70d27d71"},{"type":"user_defined_selection","id":"45d7a21c-9d61-5fce-b16f-3b551f06d424"},{"type":"user_defined_selection","id":"9a56758e-f622-5941-9551-7a520ba8ba39"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"fc275f70-e1bb-5aea-b583-eb5afbd97e84","attributes":{"public_id":10,"postmortem_id":null,"title":"go-Feature_Incidents-Scenario_Create_a_new_incident_returns__CREATED__response-local-1600921226","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:20:27.042285+00:00","modified":"2020-09-24T04:20:27.042285+00:00","state":"active","detected":"2020-09-24T04:20:27.040509+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"45e7ad7c-fe1d-11ea-b260-47e9f3637f3b"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"8dc87737-d57f-531c-9a95-887a14b54f8b"},{"type":"user_defined_selection","id":"9f7c0f4a-d5c1-5e4e-97ad-e7518e2fd1c2"},{"type":"user_defined_selection","id":"31a9737f-a7e3-5385-932f-6c92656c16e9"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"80318a1d-8a64-59e8-9a3e-7370af8eb927","attributes":{"public_id":11,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600921418","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:23:39.224605+00:00","modified":"2020-09-24T04:23:39.224605+00:00","state":"active","detected":"2020-09-24T04:23:39.223050+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"d599f052-8917-5057-b58f-b13191cc53cc"},{"type":"user_defined_selection","id":"b9e5c503-36ec-5a1f-9e52-bbd634cffd37"},{"type":"user_defined_selection","id":"9d815c16-5993-5442-b195-d40053be3a3b"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"f5552e0d-d07e-5345-9368-ed8f46ac0e8a","attributes":{"public_id":12,"postmortem_id":null,"title":"go-Feature_Incidents-Scenario_Create_a_new_incident_returns__CREATED__response-local-1600921422","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:23:42.249562+00:00","modified":"2020-09-24T04:23:42.249562+00:00","state":"active","detected":"2020-09-24T04:23:42.247961+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"ba47465a-fe1d-11ea-b260-cf511b8ddff0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"6e23efe0-d1ec-517e-9fe3-df92d6532633"},{"type":"user_defined_selection","id":"b18a026e-0ad0-5a8c-ba51-b5a52d452dac"},{"type":"user_defined_selection","id":"215a4ddb-2dbd-5c30-8fea-918969ccf1e4"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"9c10bb37-2a22-5aa0-baca-d7b9998f7ace","attributes":{"public_id":14,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600921446","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:24:06.487148+00:00","modified":"2020-09-24T04:24:06.487148+00:00","state":"active","detected":"2020-09-24T04:24:06.474493+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"b24ecc35-d5bd-5f49-9a14-1d886408ff74"},{"type":"user_defined_selection","id":"6c3d4c9f-07f2-5c65-9f51-f094efe6b491"},{"type":"user_defined_selection","id":"ec705344-6abb-56a5-8149-107a62271444"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"14882f8c-2c80-546f-a60b-5740102cc9af","attributes":{"public_id":15,"postmortem_id":null,"title":"go-Feature_Incidents-Scenario_Create_a_new_incident_returns__CREATED__response-local-1600921449","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:24:09.490794+00:00","modified":"2020-09-24T04:24:09.490794+00:00","state":"active","detected":"2020-09-24T04:24:09.488828+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"ca79d3d0-fe1d-11ea-b260-ef7399d6b59c"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"ca1172b0-c74d-5c7a-8663-85b87d373ae9"},{"type":"user_defined_selection","id":"14f6377d-e55e-5aa7-ae62-0d18c8c2bbe3"},{"type":"user_defined_selection","id":"f149ac5d-1831-580b-aff0-608335f21b94"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"03e1a113-9c81-5eb1-8103-ea690c87cc33","attributes":{"public_id":17,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600921947","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:32:27.710485+00:00","modified":"2020-09-24T04:32:27.710485+00:00","state":"active","detected":"2020-09-24T04:32:27.708946+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"fde43c1d-cfc7-5a01-99bc-a27cdef791d7"},{"type":"user_defined_selection","id":"74ca3061-3765-5130-a0df-7d70a1f9ee59"},{"type":"user_defined_selection","id":"e5cc2693-bae6-540c-a309-1ee2c8b94b52"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"e4985af9-21c6-52e3-a507-e10be43991a5","attributes":{"public_id":18,"postmortem_id":null,"title":"go-Feature_Incidents-Scenario_Create_a_new_incident_returns__CREATED__response-local-1600921949","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:32:29.904017+00:00","modified":"2020-09-24T04:32:29.904017+00:00","state":"active","detected":"2020-09-24T04:32:29.902156+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"f4bddb72-fe1e-11ea-b260-f3aa2ee52ab4"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"36e9a81e-56b2-5d9f-853a-7ad6f1e8f848"},{"type":"user_defined_selection","id":"f8e76aeb-68dc-5529-9f5f-093af1e8577e"},{"type":"user_defined_selection","id":"80fc245e-237b-54e1-b778-74dd4746287f"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"8b6e056f-3c50-5083-96e8-a5b83411e17a","attributes":{"public_id":20,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_the_details_of_an_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600921958","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:32:39.029294+00:00","modified":"2020-09-24T04:32:39.029294+00:00","state":"active","detected":"2020-09-24T04:32:39.027571+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"28e7b453-36bc-5524-9109-c602f5f77965"},{"type":"user_defined_selection","id":"5634b98b-bc4b-55ba-838e-427c5b5b0747"},{"type":"user_defined_selection","id":"45d9b024-e6bf-53f3-8e1b-92be19d26f75"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"9a0dfc7a-9d9e-5439-9b2d-f1a8307053cc","attributes":{"public_id":21,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Update_an_existing_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600921959","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:32:39.860407+00:00","modified":"2020-09-24T04:32:39.860407+00:00","state":"active","detected":"2020-09-24T04:32:39.858584+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"2756d06a-c3e3-5387-8a56-61af7724fd9a"},{"type":"user_defined_selection","id":"38ccf875-9413-5d4b-99d4-732331c6e995"},{"type":"user_defined_selection","id":"0abb5528-4c6e-54f4-bc80-f2908dcc0a8a"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"9af253a0-5687-5305-bf05-c617c70ad091","attributes":{"public_id":22,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600922065","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:34:25.966710+00:00","modified":"2020-09-24T04:34:25.966710+00:00","state":"active","detected":"2020-09-24T04:34:25.948795+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"b436bb9d-c0ff-5e01-b5a5-e6e69bca702c"},{"type":"user_defined_selection","id":"d06a6ebb-1292-5386-b0a0-1fc37e3f73ed"},{"type":"user_defined_selection","id":"8c06dde7-31f4-56ae-bab6-d3180d22b247"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"e13f6f74-4b76-52e9-b33e-59e5f3bec034","attributes":{"public_id":23,"postmortem_id":null,"title":"go-Feature_Incidents-Scenario_Create_a_new_incident_returns__CREATED__response-local-1600922068","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:34:28.748849+00:00","modified":"2020-09-24T04:34:28.748849+00:00","state":"active","detected":"2020-09-24T04:34:28.746476+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3b995896-fe1f-11ea-b260-b3178cb0e7d1"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"c90ea1ff-f800-5ae5-9b8a-8a6aba73fc6b"},{"type":"user_defined_selection","id":"f039a4cc-bce6-5a4c-9653-90ed33b3ffd1"},{"type":"user_defined_selection","id":"01d10f9e-73bc-5fcd-9169-94cf73e25a23"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"5b9dfec0-e5c9-522c-9651-a14ba2cc9a00","attributes":{"public_id":25,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_the_details_of_an_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600922072","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:34:32.720745+00:00","modified":"2020-09-24T04:34:32.720745+00:00","state":"active","detected":"2020-09-24T04:34:32.719019+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"9ccdb5a3-f627-58d6-b972-e36ceda85b70"},{"type":"user_defined_selection","id":"92fc5503-c711-5fbc-80ab-fce1ee7585b5"},{"type":"user_defined_selection","id":"71a88f49-5ca0-5ec2-80f4-cc4bfe177f77"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"fbfde4c0-ec20-5466-b95f-efe135510590","attributes":{"public_id":26,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Update_an_existing_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600922074","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:34:34.467879+00:00","modified":"2020-09-24T04:34:34.467879+00:00","state":"active","detected":"2020-09-24T04:34:34.466051+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"6879f703-e0b9-592e-ab17-e8cc104a1118"},{"type":"user_defined_selection","id":"4963739c-2921-526c-ab05-b4fb22558ecf"},{"type":"user_defined_selection","id":"8c855a34-07e4-5443-9072-0cf27251a92d"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"7f300f39-9f01-52da-89c2-0610917d5f67","attributes":{"public_id":27,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600922138","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:35:39.039986+00:00","modified":"2020-09-24T04:35:39.039986+00:00","state":"active","detected":"2020-09-24T04:35:39.025803+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"c56538b0-9c5f-58a7-b47d-ea1be1bad876"},{"type":"user_defined_selection","id":"cc4b2003-d5d6-5023-98c6-362d4aabb547"},{"type":"user_defined_selection","id":"59de340c-0542-55e8-8e83-ce436716d64d"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"0c6cab54-404d-5776-8503-2e45d25dd8f8","attributes":{"public_id":28,"postmortem_id":null,"title":"go-Feature_Incidents-Scenario_Create_a_new_incident_returns__CREATED__response-local-1600922142","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:35:43.503245+00:00","modified":"2020-09-24T04:35:43.503245+00:00","state":"active","detected":"2020-09-24T04:35:43.498533+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"68087c36-fe1f-11ea-b260-abe4ca1ff356"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"5107818f-1713-589e-86f4-919430f04eea"},{"type":"user_defined_selection","id":"9cc94679-0f62-5b4a-bcb2-6acdeddc95a6"},{"type":"user_defined_selection","id":"c8ef95c0-2ff1-5bd5-bdb0-fc116051661e"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"6c307bba-b1d0-5fc7-a3df-db4c5c4ea6c9","attributes":{"public_id":30,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_the_details_of_an_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600922148","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:35:48.383356+00:00","modified":"2020-09-24T04:35:48.383356+00:00","state":"active","detected":"2020-09-24T04:35:48.381856+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"7d98f78d-a278-5753-9c80-2ef3cd7eaa95"},{"type":"user_defined_selection","id":"1f50715f-58f7-5790-98c0-9a197a15cb89"},{"type":"user_defined_selection","id":"40fa55fa-f78d-5c0d-b4b9-b58d3f865df3"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}}]}' headers: Cache-Control: - no-cache @@ -83,13 +83,13 @@ interactions: Content-Type: - application/json Date: - - Thu, 24 Sep 2020 05:02:04 GMT + - Fri, 25 Sep 2020 15:13:17 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 01-Oct-2020 05:02:04 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 15:13:16 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; @@ -98,11 +98,62 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - UPwGSEkEo+aTtV9/qlvsM9xVIKq1xypRG0bv22kO1eeJfu8bY+H+f1xOa3JlvZhZ + - DMzWnlnvmcVWit+nOzgpRgMecUZPFvENKg8LkKYn4Tsj68gJTKm0BuKxCJH0FFN4 X-Dd-Version: - - "35.3085403" + - "35.3093372" X-Frame-Options: - SAMEORIGIN status: 200 OK code: 200 duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Dd-Operation-Id: + - DeleteIncident + User-Agent: + - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "8862441905306728255" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "2802203196198484886" + url: https://api.datadoghq.com/api/v2/incidents/6847b781-c49d-5fec-bbc0-f7ab6596275a + method: DELETE + response: + body: "" + headers: + Cache-Control: + - no-cache + Connection: + - keep-alive + Content-Length: + - "0" + Content-Type: + - application/json + Date: + - Fri, 25 Sep 2020 15:13:19 GMT + Dd-Pool: + - dogweb + Pragma: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 15:13:17 GMT; + secure; HttpOnly + Strict-Transport-Security: + - max-age=15724800; + X-Content-Type-Options: + - nosniff + X-Dd-Debug: + - dkPC7h1IhtieQ7hDwGKZ3LdM53Z2+XQ6pWT/sK6/v5L2qKrddV2g+eVtGbkN4F8/ + X-Dd-Version: + - "35.3093372" + X-Frame-Options: + - SAMEORIGIN + status: 204 No Content + code: 204 + duration: "" diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_the_details_of_an_incident_returns__OK__response.freeze b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_the_details_of_an_incident_returns__OK__response.freeze index 5d6faf0a5d4..4914ffe2a76 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_the_details_of_an_incident_returns__OK__response.freeze +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_the_details_of_an_incident_returns__OK__response.freeze @@ -1 +1 @@ -2020-09-24T01:02:10.85016-04:00 \ No newline at end of file +2020-09-25T11:13:43.068934-04:00 \ No newline at end of file diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_the_details_of_an_incident_returns__OK__response.yaml b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_the_details_of_an_incident_returns__OK__response.yaml index 851c0eb4310..08fdc644bc1 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_the_details_of_an_incident_returns__OK__response.yaml +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_the_details_of_an_incident_returns__OK__response.yaml @@ -3,7 +3,7 @@ version: 1 interactions: - request: body: | - {"data":{"attributes":{"customer_impacted":false,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_the_details_of_an_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600923730"},"type":"incidents"}} + {"data":{"attributes":{"customer_impacted":false,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_the_details_of_an_incident_returns__OK__response-And_there_is_a_valid__incident__in_the_system-local-1601046823"},"type":"incidents"}} form: {} headers: Accept: @@ -15,41 +15,41 @@ interactions: User-Agent: - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "5767730595334197239" + - "6531812766828507702" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "3326874530820909300" + - "1323337447500135725" url: https://api.datadoghq.com/api/v2/incidents method: POST response: - body: '{"data":{"type":"incidents","id":"bb60765c-69e2-57ec-a839-e4676fbb3d79","attributes":{"public_id":91,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_the_details_of_an_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600923730","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"last_modified_by_uuid":null,"created":"2020-09-24T05:02:10.921908+00:00","modified":"2020-09-24T05:02:10.921908+00:00","commander":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"state":"active","detected":"2020-09-24T05:02:10.919612+00:00","created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"created_by_uuid":null,"creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null,"additional_notifications":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[]},"user_defined_fields":{"data":[]},"postmortem":{"data":null},"integrations":{"data":[]}}}}' + body: '{"data":{"type":"incidents","id":"4e267a0b-720e-5615-b421-767853338b48","attributes":{"public_id":105,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_the_details_of_an_incident_returns__OK__response-And_there_is_a_valid__incident__in_the_system-local-1601046823","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"last_modified_by_uuid":null,"created":"2020-09-25T15:13:43.186276+00:00","modified":"2020-09-25T15:13:43.186276+00:00","commander":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"state":"active","detected":"2020-09-25T15:13:43.184614+00:00","created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"created_by_uuid":null,"creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null,"additional_notifications":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[]},"user_defined_fields":{"data":[]},"postmortem":{"data":null},"integrations":{"data":[]}}}}' headers: Cache-Control: - no-cache Connection: - keep-alive Content-Length: - - "2231" + - "2230" Content-Type: - application/json Date: - - Thu, 24 Sep 2020 05:02:13 GMT + - Fri, 25 Sep 2020 15:13:45 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 01-Oct-2020 05:02:10 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 15:13:43 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff X-Dd-Debug: - - shSARNU4/WQFPOKM8NVdagbh/ZoS+zYzlyviY3k5npVGETiEU89iNTNvqiMXn1f6 + - H6mGk0NVWFFYd9VUP8vVAv2c5S84SY5SnfwDRAyGeGOpnNeKpu2AiMB1a9R6+y9D X-Dd-Version: - - "35.3085403" + - "35.3093372" X-Frame-Options: - SAMEORIGIN status: 201 Created @@ -66,15 +66,15 @@ interactions: User-Agent: - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "4839307967907875482" + - "2510908388208162709" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "3326874530820909300" - url: https://api.datadoghq.com/api/v2/incidents/bb60765c-69e2-57ec-a839-e4676fbb3d79 + - "1323337447500135725" + url: https://api.datadoghq.com/api/v2/incidents/4e267a0b-720e-5615-b421-767853338b48 method: GET response: - body: '{"data":{"type":"incidents","id":"bb60765c-69e2-57ec-a839-e4676fbb3d79","attributes":{"public_id":91,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_the_details_of_an_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600923730","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T05:02:10.921908+00:00","modified":"2020-09-24T05:02:10.921908+00:00","state":"active","detected":"2020-09-24T05:02:10.919612+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"aa6f411b-3dcc-51ad-9b20-2aea2128e59c"},{"type":"user_defined_selection","id":"e1fe4b9b-da33-5a21-bceb-f0c241a08dab"},{"type":"user_defined_selection","id":"bfe0caae-8d29-5336-ba14-85806072b21e"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}}}' + body: '{"data":{"type":"incidents","id":"4e267a0b-720e-5615-b421-767853338b48","attributes":{"public_id":105,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_the_details_of_an_incident_returns__OK__response-And_there_is_a_valid__incident__in_the_system-local-1601046823","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-25T15:13:43.186276+00:00","modified":"2020-09-25T15:13:43.186276+00:00","state":"active","detected":"2020-09-25T15:13:43.184614+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"6c32301d-1a8a-5c99-97eb-ccd08bb8562b"},{"type":"user_defined_selection","id":"08728bea-617c-5576-ab88-cf1b9dd90077"},{"type":"user_defined_selection","id":"98968994-eb2f-5bf5-91f3-9fff71e28bc1"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}}}' headers: Cache-Control: - no-cache @@ -83,13 +83,13 @@ interactions: Content-Type: - application/json Date: - - Thu, 24 Sep 2020 05:02:13 GMT + - Fri, 25 Sep 2020 15:13:45 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 01-Oct-2020 05:02:13 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 15:13:45 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; @@ -98,11 +98,62 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 6IhQMEQHjYL1ZYwBd1xPnaqhoM5GIKrVP4vKHrLdyvV0W9ZbpSld8lY0ehD40SZe + - Xzkwy3Lys2FRGID1+VD70Hwjf/R/QThkPMaRafobZsVEfAegjDigJz2X0I3L4s9r X-Dd-Version: - - "35.3085403" + - "35.3093372" X-Frame-Options: - SAMEORIGIN status: 200 OK code: 200 duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Dd-Operation-Id: + - DeleteIncident + User-Agent: + - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "5286034293421099512" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "1323337447500135725" + url: https://api.datadoghq.com/api/v2/incidents/4e267a0b-720e-5615-b421-767853338b48 + method: DELETE + response: + body: "" + headers: + Cache-Control: + - no-cache + Connection: + - keep-alive + Content-Length: + - "0" + Content-Type: + - application/json + Date: + - Fri, 25 Sep 2020 15:13:46 GMT + Dd-Pool: + - dogweb + Pragma: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 15:13:45 GMT; + secure; HttpOnly + Strict-Transport-Security: + - max-age=15724800; + X-Content-Type-Options: + - nosniff + X-Dd-Debug: + - IcBiRsjZgsw3C3GYI9UqZdfE26Zt8mXBfnPp610FoUCOarhFSAw0deJpN5v2N8Dj + X-Dd-Version: + - "35.3093372" + X-Frame-Options: + - SAMEORIGIN + status: 204 No Content + code: 204 + duration: "" diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Update_an_existing_incident_returns__OK__response.freeze b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Update_an_existing_incident_returns__OK__response.freeze index e293cbb44ec..e2a349f82d5 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Update_an_existing_incident_returns__OK__response.freeze +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Update_an_existing_incident_returns__OK__response.freeze @@ -1 +1 @@ -2020-09-24T01:02:13.33486-04:00 \ No newline at end of file +2020-09-25T11:13:46.493564-04:00 \ No newline at end of file diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Update_an_existing_incident_returns__OK__response.yaml b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Update_an_existing_incident_returns__OK__response.yaml index 0259c89d6fb..11e6324735f 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Update_an_existing_incident_returns__OK__response.yaml +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Update_an_existing_incident_returns__OK__response.yaml @@ -3,7 +3,7 @@ version: 1 interactions: - request: body: | - {"data":{"attributes":{"customer_impacted":false,"title":"go-TestScenarios-Feature_Incidents-Scenario_Update_an_existing_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600923733"},"type":"incidents"}} + {"data":{"attributes":{"customer_impacted":false,"title":"go-TestScenarios-Feature_Incidents-Scenario_Update_an_existing_incident_returns__OK__response-And_there_is_a_valid__incident__in_the_system-local-1601046826"},"type":"incidents"}} form: {} headers: Accept: @@ -15,41 +15,41 @@ interactions: User-Agent: - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "119953827658617842" + - "6074175654929266207" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "4630820116397043077" + - "4805506639869896291" url: https://api.datadoghq.com/api/v2/incidents method: POST response: - body: '{"data":{"type":"incidents","id":"6c79a3ef-ad72-533b-a361-13a3f44d1230","attributes":{"public_id":92,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Update_an_existing_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600923733","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"last_modified_by_uuid":null,"created":"2020-09-24T05:02:13.430863+00:00","modified":"2020-09-24T05:02:13.430863+00:00","commander":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"state":"active","detected":"2020-09-24T05:02:13.427976+00:00","created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"created_by_uuid":null,"creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null,"additional_notifications":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[]},"user_defined_fields":{"data":[]},"postmortem":{"data":null},"integrations":{"data":[]}}}}' + body: '{"data":{"type":"incidents","id":"7b4285cb-2e39-503b-b31a-6e608ce53dfe","attributes":{"public_id":106,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Update_an_existing_incident_returns__OK__response-And_there_is_a_valid__incident__in_the_system-local-1601046826","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"last_modified_by_uuid":null,"created":"2020-09-25T15:13:46.566265+00:00","modified":"2020-09-25T15:13:46.566265+00:00","commander":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"state":"active","detected":"2020-09-25T15:13:46.564484+00:00","created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"created_by_uuid":null,"creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null,"additional_notifications":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[]},"user_defined_fields":{"data":[]},"postmortem":{"data":null},"integrations":{"data":[]}}}}' headers: Cache-Control: - no-cache Connection: - keep-alive Content-Length: - - "2228" + - "2227" Content-Type: - application/json Date: - - Thu, 24 Sep 2020 05:02:14 GMT + - Fri, 25 Sep 2020 15:13:46 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 01-Oct-2020 05:02:13 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 15:13:46 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff X-Dd-Debug: - - lqMB0JFM99VhRtxXIpWUr9JgjDFKxnlkUv1nxFsIcQfFO0NMuI7D2Hh8tiSgYzCo + - jUMr6d+5J+YuJ6qRYTR2w4bV5pSWL1aOCQq2Fsi4IDQJQgpLmKecXN7enHF4E9hf X-Dd-Version: - - "35.3085403" + - "35.3093372" X-Frame-Options: - SAMEORIGIN status: 201 Created @@ -57,7 +57,7 @@ interactions: duration: "" - request: body: | - {"data":{"attributes":{"title":"go-TestScenarios-Feature_Incidents-Scenario_Update_an_existing_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600923733-updated"},"id":"6c79a3ef-ad72-533b-a361-13a3f44d1230","type":"incidents"}} + {"data":{"attributes":{"title":"go-TestScenarios-Feature_Incidents-Scenario_Update_an_existing_incident_returns__OK__response-And_there_is_a_valid__incident__in_the_system-local-1601046826-updated"},"id":"7b4285cb-2e39-503b-b31a-6e608ce53dfe","type":"incidents"}} form: {} headers: Accept: @@ -69,15 +69,15 @@ interactions: User-Agent: - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "978027871112754881" + - "4975462272381272679" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "4630820116397043077" - url: https://api.datadoghq.com/api/v2/incidents/6c79a3ef-ad72-533b-a361-13a3f44d1230 + - "4805506639869896291" + url: https://api.datadoghq.com/api/v2/incidents/7b4285cb-2e39-503b-b31a-6e608ce53dfe method: PATCH response: - body: '{"data":{"type":"incidents","id":"6c79a3ef-ad72-533b-a361-13a3f44d1230","attributes":{"public_id":92,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Update_an_existing_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600923733-updated","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T05:02:13.430863+00:00","modified":"2020-09-24T05:02:14.364233+00:00","commander":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"state":"active","detected":"2020-09-24T05:02:13.427976+00:00","created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"8e2d88c1-f492-5567-8496-7c0429a0f219"},{"type":"user_defined_selection","id":"93275680-3814-59fc-a2cf-74a3ca02902a"},{"type":"user_defined_selection","id":"9add64a4-b812-5233-9d31-a060b971342d"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}}}' + body: '{"data":{"type":"incidents","id":"7b4285cb-2e39-503b-b31a-6e608ce53dfe","attributes":{"public_id":106,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Update_an_existing_incident_returns__OK__response-And_there_is_a_valid__incident__in_the_system-local-1601046826-updated","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-25T15:13:46.566265+00:00","modified":"2020-09-25T15:13:46.996607+00:00","commander":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"state":"active","detected":"2020-09-25T15:13:46.564484+00:00","created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"678b5ebf-fa6b-569b-85a5-ba8fe262e879"},{"type":"user_defined_selection","id":"31b66801-021b-526b-a53f-156ef398ef53"},{"type":"user_defined_selection","id":"1514f4cc-2645-56f7-814e-3d8c423eb98d"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}}}' headers: Cache-Control: - no-cache @@ -86,13 +86,13 @@ interactions: Content-Type: - application/json Date: - - Thu, 24 Sep 2020 05:02:14 GMT + - Fri, 25 Sep 2020 15:13:47 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 01-Oct-2020 05:02:14 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 15:13:46 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; @@ -101,11 +101,62 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - WyPl7Uohyy2nhJ7RWrq85UM5TEMaIEIfRwQveR0xpNBygzZEP8S/qWubDM7SoNjW + - F+MB1uJtICegWSQGMRxkng/mFaS+IzSp7MVdNCMxEuNz7Df8CVcsilcdpPZyVGTp X-Dd-Version: - - "35.3085403" + - "35.3093372" X-Frame-Options: - SAMEORIGIN status: 200 OK code: 200 duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Dd-Operation-Id: + - DeleteIncident + User-Agent: + - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "548937694464931598" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "4805506639869896291" + url: https://api.datadoghq.com/api/v2/incidents/7b4285cb-2e39-503b-b31a-6e608ce53dfe + method: DELETE + response: + body: "" + headers: + Cache-Control: + - no-cache + Connection: + - keep-alive + Content-Length: + - "0" + Content-Type: + - application/json + Date: + - Fri, 25 Sep 2020 15:13:47 GMT + Dd-Pool: + - dogweb + Pragma: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 15:13:47 GMT; + secure; HttpOnly + Strict-Transport-Security: + - max-age=15724800; + X-Content-Type-Options: + - nosniff + X-Dd-Debug: + - e/TBw3pWhecz3q7fqdapZ13ekoT8GYh8GanHtnVYHy0/nVmlugu7QHmJ8ANRx8P5 + X-Dd-Version: + - "35.3093372" + X-Frame-Options: + - SAMEORIGIN + status: 204 No Content + code: 204 + duration: "" diff --git a/tests/api/v2/datadog/scenarios_test.go b/tests/api/v2/datadog/scenarios_test.go index 9f5f65b1676..e8844745dea 100644 --- a/tests/api/v2/datadog/scenarios_test.go +++ b/tests/api/v2/datadog/scenarios_test.go @@ -325,7 +325,6 @@ func deleteIncident(ctx context.Context, incidentID string) { func incident(t gobdd.StepTest, ctx gobdd.Context) { client := Client(tests.GetCtx(ctx)) - client.GetConfig().SetUnstableOperationEnabled("CreateIncident", true) incidentAttributes := datadog.NewIncidentCreateAttributes(false, *tests.UniqueEntityName(tests.GetCtx(ctx), t.(*testing.T))) incident := datadog.NewIncidentCreateData(*incidentAttributes, datadog.IncidentType("incidents")) From 0a02f15985c9ae6bff6c718b866b00c664052967 Mon Sep 17 00:00:00 2001 From: MRHwick Date: Fri, 25 Sep 2020 11:30:09 -0400 Subject: [PATCH 06/16] update incidents cassettes --- ...incident_returns__CREATED__response.freeze | 2 +- ...w_incident_returns__CREATED__response.yaml | 91 +++++++++++++++---- ...ting_incident_returns__OK__response.freeze | 2 +- ...isting_incident_returns__OK__response.yaml | 38 ++++---- ..._of_incidents_returns__OK__response.freeze | 2 +- ...st_of_incidents_returns__OK__response.yaml | 38 ++++---- ...f_an_incident_returns__OK__response.freeze | 2 +- ..._of_an_incident_returns__OK__response.yaml | 42 ++++----- ...ting_incident_returns__OK__response.freeze | 2 +- ...isting_incident_returns__OK__response.yaml | 44 ++++----- 10 files changed, 157 insertions(+), 106 deletions(-) diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Create_a_new_incident_returns__CREATED__response.freeze b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Create_a_new_incident_returns__CREATED__response.freeze index de936770ec5..0c2c9bbca93 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Create_a_new_incident_returns__CREATED__response.freeze +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Create_a_new_incident_returns__CREATED__response.freeze @@ -1 +1 @@ -2020-09-25T11:13:19.156814-04:00 \ No newline at end of file +2020-09-25T11:28:47.257702-04:00 \ No newline at end of file diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Create_a_new_incident_returns__CREATED__response.yaml b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Create_a_new_incident_returns__CREATED__response.yaml index cd97b6547a7..996358d50ed 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Create_a_new_incident_returns__CREATED__response.yaml +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Create_a_new_incident_returns__CREATED__response.yaml @@ -3,7 +3,7 @@ version: 1 interactions: - request: body: | - {"data":{"attributes":{"email":"go-testscenarios-feature_incidents-scenario_create_a_new_incident_returns__created__response-given_there_is_a_valid__user__in_the_system-local-1601046799@datadoghq.com","name":"go-testscenarios-feature_incidents-scenario_","title":"Big boss"},"type":"users"}} + {"data":{"attributes":{"email":"go-testscenarios-feature_incidents-scenario_create_a_new_incident_returns__created__response-given_there_is_a_valid__user__in_the_system-local-1601047727@datadoghq.com","name":"go-testscenarios-feature_incidents-scenario_","title":"Big boss"},"type":"users"}} form: {} headers: Accept: @@ -15,15 +15,15 @@ interactions: User-Agent: - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "8430091474825393577" + - "5064039048612045465" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "1987171515519065064" + - "3460230282992932476" url: https://api.datadoghq.com/api/v2/users method: POST response: - body: '{"data":{"type":"users","id":"a4e145a2-ff41-11ea-b329-53e84148c5f0","attributes":{"name":"go-testscenarios-feature_incidents-scenario_","handle":"go-testscenarios-feature_incidents-scenario_create_a_new_incident_returns__created__response-given_there_is_a_valid__user__in_the_system-local-1601046799@datadoghq.com","created_at":"2020-09-25T15:13:19.239029+00:00","email":"go-testscenarios-feature_incidents-scenario_create_a_new_incident_returns__created__response-given_there_is_a_valid__user__in_the_system-local-1601046799@datadoghq.com","icon":"https://secure.gravatar.com/avatar/15c1a4a6806150b9632b8798a97b872b?s=48&d=retro","title":"Big + body: '{"data":{"type":"users","id":"ce1444b8-ff43-11ea-b32b-8b86ac156706","attributes":{"name":"go-testscenarios-feature_incidents-scenario_","handle":"go-testscenarios-feature_incidents-scenario_create_a_new_incident_returns__created__response-given_there_is_a_valid__user__in_the_system-local-1601047727@datadoghq.com","created_at":"2020-09-25T15:28:47.353195+00:00","email":"go-testscenarios-feature_incidents-scenario_create_a_new_incident_returns__created__response-given_there_is_a_valid__user__in_the_system-local-1601047727@datadoghq.com","icon":"https://secure.gravatar.com/avatar/b5b7386980d2231fb2b6a8835ccaeb16?s=48&d=retro","title":"Big boss","verified":false,"disabled":false,"allowed_login_methods":[],"status":"Pending"},"relationships":{"roles":{"data":[]},"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}}' headers: Cache-Control: @@ -35,20 +35,20 @@ interactions: Content-Type: - application/json Date: - - Fri, 25 Sep 2020 15:13:37 GMT + - Fri, 25 Sep 2020 15:28:47 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 15:13:19 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 15:28:47 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff X-Dd-Debug: - - RNjkldB/U7jBomuDwniiFl3adRN7VFY0k6iblOqPBlb/lnmtli0Xp6qAxW+GhOfn + - Q8knEw82SgGErSuAaD0RuA7obbJQJNFXaFmNNzPtQBtywdtSi82Z9gGaD787DJ0K X-Dd-Version: - "35.3093372" X-Frame-Options: @@ -58,7 +58,7 @@ interactions: duration: "" - request: body: | - {"data":{"attributes":{"customer_impacted":false,"title":"go-Feature_Incidents-Scenario_Create_a_new_incident_returns__CREATED__response-local-1601046799"},"relationships":{"commander":{"data":{"id":"a4e145a2-ff41-11ea-b329-53e84148c5f0","type":"users"}}},"type":"incidents"}} + {"data":{"attributes":{"customer_impacted":false,"title":"go-Feature_Incidents-Scenario_Create_a_new_incident_returns__CREATED__response-local-1601047727"},"relationships":{"commander":{"data":{"id":"ce1444b8-ff43-11ea-b32b-8b86ac156706","type":"users"}}},"type":"incidents"}} form: {} headers: Accept: @@ -70,15 +70,15 @@ interactions: User-Agent: - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "309662768762137501" + - "2179670246092619045" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "1987171515519065064" + - "3460230282992932476" url: https://api.datadoghq.com/api/v2/incidents method: POST response: - body: '{"data":{"type":"incidents","id":"51faddf3-f41d-5857-9347-6babb8892c81","attributes":{"public_id":103,"postmortem_id":null,"title":"go-Feature_Incidents-Scenario_Create_a_new_incident_returns__CREATED__response-local-1601046799","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"last_modified_by_uuid":null,"created":"2020-09-25T15:13:37.464902+00:00","modified":"2020-09-25T15:13:37.464902+00:00","commander":{"data":{"type":"users","id":"a4e145a2-ff41-11ea-b329-53e84148c5f0","attributes":{"uuid":"a4e145a2-ff41-11ea-b329-53e84148c5f0","handle":"go-testscenarios-feature_incidents-scenario_create_a_new_incident_returns__created__response-given_there_is_a_valid__user__in_the_system-local-1601046799@datadoghq.com","email":"go-testscenarios-feature_incidents-scenario_create_a_new_incident_returns__created__response-given_there_is_a_valid__user__in_the_system-local-1601046799@datadoghq.com","name":"go-testscenarios-feature_incidents-scenario_","icon":"https://secure.gravatar.com/avatar/15c1a4a6806150b9632b8798a97b872b?s=48&d=retro"}}},"state":"active","detected":"2020-09-25T15:13:37.463187+00:00","created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"created_by_uuid":null,"creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null,"additional_notifications":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":null},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[]},"user_defined_fields":{"data":[]},"postmortem":{"data":null},"integrations":{"data":[]}}}}' + body: '{"data":{"type":"incidents","id":"b58edff6-f856-5bb5-aa86-fc78bd0f027d","attributes":{"public_id":160,"postmortem_id":null,"title":"go-Feature_Incidents-Scenario_Create_a_new_incident_returns__CREATED__response-local-1601047727","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"last_modified_by_uuid":null,"created":"2020-09-25T15:28:47.534468+00:00","modified":"2020-09-25T15:28:47.534468+00:00","commander":{"data":{"type":"users","id":"ce1444b8-ff43-11ea-b32b-8b86ac156706","attributes":{"uuid":"ce1444b8-ff43-11ea-b32b-8b86ac156706","handle":"go-testscenarios-feature_incidents-scenario_create_a_new_incident_returns__created__response-given_there_is_a_valid__user__in_the_system-local-1601047727@datadoghq.com","email":"go-testscenarios-feature_incidents-scenario_create_a_new_incident_returns__created__response-given_there_is_a_valid__user__in_the_system-local-1601047727@datadoghq.com","name":"go-testscenarios-feature_incidents-scenario_","icon":"https://secure.gravatar.com/avatar/b5b7386980d2231fb2b6a8835ccaeb16?s=48&d=retro"}}},"state":"active","detected":"2020-09-25T15:28:47.532615+00:00","created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"created_by_uuid":null,"creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null,"additional_notifications":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":null},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[]},"user_defined_fields":{"data":[]},"postmortem":{"data":null},"integrations":{"data":[]}}}}' headers: Cache-Control: - no-cache @@ -89,20 +89,20 @@ interactions: Content-Type: - application/json Date: - - Fri, 25 Sep 2020 15:13:38 GMT + - Fri, 25 Sep 2020 15:28:50 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 15:13:37 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 15:28:47 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff X-Dd-Debug: - - 8fXgGAAoNDkfuneKCnTnqB8DKjHLTs+9UWiAzHHQVcEGbAPX4uItc5+97fNEvGUG + - XH13bHMKtoQVJueISAFCWP0HSHfKJRB7S49EcUHZy7wuPUHvZ/XfTy/P1yRgU1Db X-Dd-Version: - "35.3093372" X-Frame-Options: @@ -110,6 +110,57 @@ interactions: status: 201 Created code: 201 duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Dd-Operation-Id: + - DeleteIncident + User-Agent: + - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "4724186044038573019" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "3460230282992932476" + url: https://api.datadoghq.com/api/v2/incidents/b58edff6-f856-5bb5-aa86-fc78bd0f027d + method: DELETE + response: + body: "" + headers: + Cache-Control: + - no-cache + Connection: + - keep-alive + Content-Length: + - "0" + Content-Type: + - application/json + Date: + - Fri, 25 Sep 2020 15:28:52 GMT + Dd-Pool: + - dogweb + Pragma: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 15:28:50 GMT; + secure; HttpOnly + Strict-Transport-Security: + - max-age=15724800; + X-Content-Type-Options: + - nosniff + X-Dd-Debug: + - JGlWx87vjxzcVRF7plc107v2ByhH6ulQ34FTks4+z+qF42As7SYEoQXA/cO3iKfw + X-Dd-Version: + - "35.3093372" + X-Frame-Options: + - SAMEORIGIN + status: 204 No Content + code: 204 + duration: "" - request: body: "" form: {} @@ -121,12 +172,12 @@ interactions: User-Agent: - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "5237038404949342257" + - "7998602312656192286" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "1987171515519065064" - url: https://api.datadoghq.com/api/v2/users/a4e145a2-ff41-11ea-b329-53e84148c5f0 + - "3460230282992932476" + url: https://api.datadoghq.com/api/v2/users/ce1444b8-ff43-11ea-b32b-8b86ac156706 method: DELETE response: body: "" @@ -140,20 +191,20 @@ interactions: Content-Type: - application/json Date: - - Fri, 25 Sep 2020 15:13:39 GMT + - Fri, 25 Sep 2020 15:28:52 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 15:13:38 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 15:28:52 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff X-Dd-Debug: - - xRBFY2Rp8NHDG9Rp4RaGjcqlKnbzhHpETMjn37ZNtmzdKqGU6DeuhyyL4o7jfpVZ + - jrdNt2QvGarP6yOsylH3GAxdMWXM4CYDKNbO7i0omswFkFozD11pdA/9Rp2czovd X-Dd-Version: - "35.3093372" X-Frame-Options: diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Delete_an_existing_incident_returns__OK__response.freeze b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Delete_an_existing_incident_returns__OK__response.freeze index e9bafc4a52f..1fc0aec561c 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Delete_an_existing_incident_returns__OK__response.freeze +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Delete_an_existing_incident_returns__OK__response.freeze @@ -1 +1 @@ -2020-09-25T11:13:39.160052-04:00 \ No newline at end of file +2020-09-25T11:28:52.737953-04:00 \ No newline at end of file diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Delete_an_existing_incident_returns__OK__response.yaml b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Delete_an_existing_incident_returns__OK__response.yaml index 340da05c326..702a19aa95c 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Delete_an_existing_incident_returns__OK__response.yaml +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Delete_an_existing_incident_returns__OK__response.yaml @@ -3,7 +3,7 @@ version: 1 interactions: - request: body: | - {"data":{"attributes":{"customer_impacted":false,"title":"go-TestScenarios-Feature_Incidents-Scenario_Delete_an_existing_incident_returns__OK__response-And_there_is_a_valid__incident__in_the_system-local-1601046819"},"type":"incidents"}} + {"data":{"attributes":{"customer_impacted":false,"title":"go-TestScenarios-Feature_Incidents-Scenario_Delete_an_existing_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1601047732"},"type":"incidents"}} form: {} headers: Accept: @@ -15,39 +15,39 @@ interactions: User-Agent: - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "4545755805886668476" + - "7616651244238183348" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "8958451833947155178" + - "154051315362104902" url: https://api.datadoghq.com/api/v2/incidents method: POST response: - body: '{"data":{"type":"incidents","id":"601d02f8-c99e-5b09-a616-feebd3c2dfc6","attributes":{"public_id":104,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Delete_an_existing_incident_returns__OK__response-And_there_is_a_valid__incident__in_the_system-local-1601046819","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"last_modified_by_uuid":null,"created":"2020-09-25T15:13:39.271725+00:00","modified":"2020-09-25T15:13:39.271725+00:00","commander":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"state":"active","detected":"2020-09-25T15:13:39.262645+00:00","created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"created_by_uuid":null,"creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null,"additional_notifications":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[]},"user_defined_fields":{"data":[]},"postmortem":{"data":null},"integrations":{"data":[]}}}}' + body: '{"data":{"type":"incidents","id":"7d2a3b8e-b93e-527f-bedf-f93e1e761b35","attributes":{"public_id":161,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Delete_an_existing_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1601047732","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"last_modified_by_uuid":null,"created":"2020-09-25T15:28:52.811651+00:00","modified":"2020-09-25T15:28:52.811651+00:00","commander":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"state":"active","detected":"2020-09-25T15:28:52.809794+00:00","created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"created_by_uuid":null,"creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null,"additional_notifications":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[]},"user_defined_fields":{"data":[]},"postmortem":{"data":null},"integrations":{"data":[]}}}}' headers: Cache-Control: - no-cache Connection: - keep-alive Content-Length: - - "2227" + - "2229" Content-Type: - application/json Date: - - Fri, 25 Sep 2020 15:13:42 GMT + - Fri, 25 Sep 2020 15:28:53 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 15:13:39 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 15:28:52 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff X-Dd-Debug: - - iYQ/kN+Mucmn5lrokThXQXO7/WpLJkz6FPOiR0S18ewUC8B+Ld2MxmzWaRyon32u + - /3efrffY0fOidOw5YXy+ujUt+jIWndj9KkkaQ3CKNiYFs6CCTkTChAR8M9mejUqc X-Dd-Version: - "35.3093372" X-Frame-Options: @@ -66,12 +66,12 @@ interactions: User-Agent: - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "4247660621466160636" + - "6701490414780854843" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "8958451833947155178" - url: https://api.datadoghq.com/api/v2/incidents/601d02f8-c99e-5b09-a616-feebd3c2dfc6 + - "154051315362104902" + url: https://api.datadoghq.com/api/v2/incidents/7d2a3b8e-b93e-527f-bedf-f93e1e761b35 method: DELETE response: body: "" @@ -85,20 +85,20 @@ interactions: Content-Type: - application/json Date: - - Fri, 25 Sep 2020 15:13:42 GMT + - Fri, 25 Sep 2020 15:28:53 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 15:13:42 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 15:28:53 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff X-Dd-Debug: - - jUMr6d+5J+YuJ6qRYTR2w4bV5pSWL1aOCQq2Fsi4IDQJQgpLmKecXN7enHF4E9hf + - qKfjlUOd47rTL8Zfe+ult0NC1XrJJZn5FzZo3l0g8EiEJqsLoAxULWUGtB1CS4r/ X-Dd-Version: - "35.3093372" X-Frame-Options: @@ -117,15 +117,15 @@ interactions: User-Agent: - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "4723812552547935782" + - "7934186584328008162" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "8958451833947155178" - url: https://api.datadoghq.com/api/v2/incidents/601d02f8-c99e-5b09-a616-feebd3c2dfc6 + - "154051315362104902" + url: https://api.datadoghq.com/api/v2/incidents/7d2a3b8e-b93e-527f-bedf-f93e1e761b35 method: DELETE response: - body: '{"errors": ["incident 601d02f8-c99e-5b09-a616-feebd3c2dfc6 not found"]}' + body: '{"errors": ["incident 7d2a3b8e-b93e-527f-bedf-f93e1e761b35 not found"]}' headers: Cache-Control: - no-cache @@ -134,7 +134,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 25 Sep 2020 15:13:43 GMT + - Fri, 25 Sep 2020 15:28:53 GMT Dd-Pool: - dogweb Pragma: diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_a_list_of_incidents_returns__OK__response.freeze b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_a_list_of_incidents_returns__OK__response.freeze index 4641c254ecd..a7ad04fe1ec 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_a_list_of_incidents_returns__OK__response.freeze +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_a_list_of_incidents_returns__OK__response.freeze @@ -1 +1 @@ -2020-09-25T11:13:12.618386-04:00 \ No newline at end of file +2020-09-25T11:28:44.237172-04:00 \ No newline at end of file diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_a_list_of_incidents_returns__OK__response.yaml b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_a_list_of_incidents_returns__OK__response.yaml index 534f0fc873c..31accf2ea40 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_a_list_of_incidents_returns__OK__response.yaml +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_a_list_of_incidents_returns__OK__response.yaml @@ -3,7 +3,7 @@ version: 1 interactions: - request: body: | - {"data":{"attributes":{"customer_impacted":false,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-And_there_is_a_valid__incident__in_the_system-local-1601046792"},"type":"incidents"}} + {"data":{"attributes":{"customer_impacted":false,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1601047724"},"type":"incidents"}} form: {} headers: Accept: @@ -15,39 +15,39 @@ interactions: User-Agent: - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "9041057894678719331" + - "5257015835718590386" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "2802203196198484886" + - "965707027367868226" url: https://api.datadoghq.com/api/v2/incidents method: POST response: - body: '{"data":{"type":"incidents","id":"6847b781-c49d-5fec-bbc0-f7ab6596275a","attributes":{"public_id":102,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-And_there_is_a_valid__incident__in_the_system-local-1601046792","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"last_modified_by_uuid":null,"created":"2020-09-25T15:13:12.894473+00:00","modified":"2020-09-25T15:13:12.894473+00:00","commander":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"state":"active","detected":"2020-09-25T15:13:12.892597+00:00","created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"created_by_uuid":null,"creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null,"additional_notifications":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[]},"user_defined_fields":{"data":[]},"postmortem":{"data":null},"integrations":{"data":[]}}}}' + body: '{"data":{"type":"incidents","id":"b7b7f750-8f26-5bdc-a685-dc7dfe3b4939","attributes":{"public_id":159,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1601047724","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"last_modified_by_uuid":null,"created":"2020-09-25T15:28:44.589274+00:00","modified":"2020-09-25T15:28:44.589274+00:00","commander":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"state":"active","detected":"2020-09-25T15:28:44.578263+00:00","created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"created_by_uuid":null,"creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null,"additional_notifications":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[]},"user_defined_fields":{"data":[]},"postmortem":{"data":null},"integrations":{"data":[]}}}}' headers: Cache-Control: - no-cache Connection: - keep-alive Content-Length: - - "2223" + - "2225" Content-Type: - application/json Date: - - Fri, 25 Sep 2020 15:13:16 GMT + - Fri, 25 Sep 2020 15:28:46 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 15:13:12 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 15:28:44 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff X-Dd-Debug: - - ks6TYG2WFSBr2qT+ZTFJB8BB7VWuwPmODDq52A4JjLzCAAitR8HQc9JBq+LHjJu4 + - Y9+v2iJC/5twluKZH+Abk+sCd7+zW2qB+wWhdwPtTfzsXiAGXu1np/KJsw5b93OQ X-Dd-Version: - "35.3093372" X-Frame-Options: @@ -66,11 +66,11 @@ interactions: User-Agent: - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "1752866260768274410" + - "2248819521978266781" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "2802203196198484886" + - "965707027367868226" url: https://api.datadoghq.com/api/v2/incidents method: GET response: @@ -83,13 +83,13 @@ interactions: Content-Type: - application/json Date: - - Fri, 25 Sep 2020 15:13:17 GMT + - Fri, 25 Sep 2020 15:28:47 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 15:13:16 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 15:28:46 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; @@ -98,7 +98,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - DMzWnlnvmcVWit+nOzgpRgMecUZPFvENKg8LkKYn4Tsj68gJTKm0BuKxCJH0FFN4 + - h6yqPaHNwx3ZGZPMs75pO93HC01YoL8B6e/Fb89zqQCmU57u6KTAhksrYQV/dzkY X-Dd-Version: - "35.3093372" X-Frame-Options: @@ -117,12 +117,12 @@ interactions: User-Agent: - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "8862441905306728255" + - "419176653002889153" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "2802203196198484886" - url: https://api.datadoghq.com/api/v2/incidents/6847b781-c49d-5fec-bbc0-f7ab6596275a + - "965707027367868226" + url: https://api.datadoghq.com/api/v2/incidents/b7b7f750-8f26-5bdc-a685-dc7dfe3b4939 method: DELETE response: body: "" @@ -136,20 +136,20 @@ interactions: Content-Type: - application/json Date: - - Fri, 25 Sep 2020 15:13:19 GMT + - Fri, 25 Sep 2020 15:28:47 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 15:13:17 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 15:28:47 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff X-Dd-Debug: - - dkPC7h1IhtieQ7hDwGKZ3LdM53Z2+XQ6pWT/sK6/v5L2qKrddV2g+eVtGbkN4F8/ + - AGh2z0D5UkBmrFSY8KEgwxlk+3zQrHHi5H3jTZYGf1x5LPiMFZSRYRPxDqFii9PS X-Dd-Version: - "35.3093372" X-Frame-Options: diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_the_details_of_an_incident_returns__OK__response.freeze b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_the_details_of_an_incident_returns__OK__response.freeze index 4914ffe2a76..fd25cb9f53a 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_the_details_of_an_incident_returns__OK__response.freeze +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_the_details_of_an_incident_returns__OK__response.freeze @@ -1 +1 @@ -2020-09-25T11:13:43.068934-04:00 \ No newline at end of file +2020-09-25T11:28:53.895544-04:00 \ No newline at end of file diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_the_details_of_an_incident_returns__OK__response.yaml b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_the_details_of_an_incident_returns__OK__response.yaml index 08fdc644bc1..2efb80e60b6 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_the_details_of_an_incident_returns__OK__response.yaml +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_the_details_of_an_incident_returns__OK__response.yaml @@ -3,7 +3,7 @@ version: 1 interactions: - request: body: | - {"data":{"attributes":{"customer_impacted":false,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_the_details_of_an_incident_returns__OK__response-And_there_is_a_valid__incident__in_the_system-local-1601046823"},"type":"incidents"}} + {"data":{"attributes":{"customer_impacted":false,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_the_details_of_an_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1601047733"},"type":"incidents"}} form: {} headers: Accept: @@ -15,39 +15,39 @@ interactions: User-Agent: - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "6531812766828507702" + - "5227316599637140537" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "1323337447500135725" + - "5956317174867224071" url: https://api.datadoghq.com/api/v2/incidents method: POST response: - body: '{"data":{"type":"incidents","id":"4e267a0b-720e-5615-b421-767853338b48","attributes":{"public_id":105,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_the_details_of_an_incident_returns__OK__response-And_there_is_a_valid__incident__in_the_system-local-1601046823","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"last_modified_by_uuid":null,"created":"2020-09-25T15:13:43.186276+00:00","modified":"2020-09-25T15:13:43.186276+00:00","commander":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"state":"active","detected":"2020-09-25T15:13:43.184614+00:00","created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"created_by_uuid":null,"creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null,"additional_notifications":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[]},"user_defined_fields":{"data":[]},"postmortem":{"data":null},"integrations":{"data":[]}}}}' + body: '{"data":{"type":"incidents","id":"11d23aec-6b9b-52e9-ac66-52f9ccc81162","attributes":{"public_id":162,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_the_details_of_an_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1601047733","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"last_modified_by_uuid":null,"created":"2020-09-25T15:28:54.017177+00:00","modified":"2020-09-25T15:28:54.017177+00:00","commander":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"state":"active","detected":"2020-09-25T15:28:54.015656+00:00","created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"created_by_uuid":null,"creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null,"additional_notifications":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[]},"user_defined_fields":{"data":[]},"postmortem":{"data":null},"integrations":{"data":[]}}}}' headers: Cache-Control: - no-cache Connection: - keep-alive Content-Length: - - "2230" + - "2232" Content-Type: - application/json Date: - - Fri, 25 Sep 2020 15:13:45 GMT + - Fri, 25 Sep 2020 15:28:56 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 15:13:43 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 15:28:53 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff X-Dd-Debug: - - H6mGk0NVWFFYd9VUP8vVAv2c5S84SY5SnfwDRAyGeGOpnNeKpu2AiMB1a9R6+y9D + - sLT3tMuT71X28AXLk8mlGwO3D5oSAoXgZd6lTF4A+2/3S3PMDx4PqPKge+DRhV/G X-Dd-Version: - "35.3093372" X-Frame-Options: @@ -66,15 +66,15 @@ interactions: User-Agent: - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "2510908388208162709" + - "7053283186301623775" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "1323337447500135725" - url: https://api.datadoghq.com/api/v2/incidents/4e267a0b-720e-5615-b421-767853338b48 + - "5956317174867224071" + url: https://api.datadoghq.com/api/v2/incidents/11d23aec-6b9b-52e9-ac66-52f9ccc81162 method: GET response: - body: '{"data":{"type":"incidents","id":"4e267a0b-720e-5615-b421-767853338b48","attributes":{"public_id":105,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_the_details_of_an_incident_returns__OK__response-And_there_is_a_valid__incident__in_the_system-local-1601046823","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-25T15:13:43.186276+00:00","modified":"2020-09-25T15:13:43.186276+00:00","state":"active","detected":"2020-09-25T15:13:43.184614+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"6c32301d-1a8a-5c99-97eb-ccd08bb8562b"},{"type":"user_defined_selection","id":"08728bea-617c-5576-ab88-cf1b9dd90077"},{"type":"user_defined_selection","id":"98968994-eb2f-5bf5-91f3-9fff71e28bc1"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}}}' + body: '{"data":{"type":"incidents","id":"11d23aec-6b9b-52e9-ac66-52f9ccc81162","attributes":{"public_id":162,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_the_details_of_an_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1601047733","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-25T15:28:54.017177+00:00","modified":"2020-09-25T15:28:54.017177+00:00","state":"active","detected":"2020-09-25T15:28:54.015656+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"4dee5e1e-ee03-5917-a8a1-a83d1961e5ba"},{"type":"user_defined_selection","id":"a85acd2c-1a5e-571e-9796-732d49c28887"},{"type":"user_defined_selection","id":"7bf43380-705b-54c7-91be-56cea3dc8b2f"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}}}' headers: Cache-Control: - no-cache @@ -83,13 +83,13 @@ interactions: Content-Type: - application/json Date: - - Fri, 25 Sep 2020 15:13:45 GMT + - Fri, 25 Sep 2020 15:28:56 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 15:13:45 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 15:28:56 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; @@ -98,7 +98,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - Xzkwy3Lys2FRGID1+VD70Hwjf/R/QThkPMaRafobZsVEfAegjDigJz2X0I3L4s9r + - bCBSaf0t3cWhIJuGOGz9PtbBY7MrMPu1HpZVAposegdxNlFMe/qHi/UbtNAIVmzS X-Dd-Version: - "35.3093372" X-Frame-Options: @@ -117,12 +117,12 @@ interactions: User-Agent: - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "5286034293421099512" + - "1458398852019134994" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "1323337447500135725" - url: https://api.datadoghq.com/api/v2/incidents/4e267a0b-720e-5615-b421-767853338b48 + - "5956317174867224071" + url: https://api.datadoghq.com/api/v2/incidents/11d23aec-6b9b-52e9-ac66-52f9ccc81162 method: DELETE response: body: "" @@ -136,20 +136,20 @@ interactions: Content-Type: - application/json Date: - - Fri, 25 Sep 2020 15:13:46 GMT + - Fri, 25 Sep 2020 15:28:56 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 15:13:45 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 15:28:56 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff X-Dd-Debug: - - IcBiRsjZgsw3C3GYI9UqZdfE26Zt8mXBfnPp610FoUCOarhFSAw0deJpN5v2N8Dj + - ViVCPXX6Ly37Yq2uFkha4NuJPBq3hQNknFQSAg7/RbVncSIYTDoKelvl87NEURiA X-Dd-Version: - "35.3093372" X-Frame-Options: diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Update_an_existing_incident_returns__OK__response.freeze b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Update_an_existing_incident_returns__OK__response.freeze index e2a349f82d5..531592e8a73 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Update_an_existing_incident_returns__OK__response.freeze +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Update_an_existing_incident_returns__OK__response.freeze @@ -1 +1 @@ -2020-09-25T11:13:46.493564-04:00 \ No newline at end of file +2020-09-25T11:28:56.936221-04:00 \ No newline at end of file diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Update_an_existing_incident_returns__OK__response.yaml b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Update_an_existing_incident_returns__OK__response.yaml index 11e6324735f..88737c2245f 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Update_an_existing_incident_returns__OK__response.yaml +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Update_an_existing_incident_returns__OK__response.yaml @@ -3,7 +3,7 @@ version: 1 interactions: - request: body: | - {"data":{"attributes":{"customer_impacted":false,"title":"go-TestScenarios-Feature_Incidents-Scenario_Update_an_existing_incident_returns__OK__response-And_there_is_a_valid__incident__in_the_system-local-1601046826"},"type":"incidents"}} + {"data":{"attributes":{"customer_impacted":false,"title":"go-TestScenarios-Feature_Incidents-Scenario_Update_an_existing_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1601047736"},"type":"incidents"}} form: {} headers: Accept: @@ -15,39 +15,39 @@ interactions: User-Agent: - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "6074175654929266207" + - "8850176625258646700" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "4805506639869896291" + - "2171768961581429651" url: https://api.datadoghq.com/api/v2/incidents method: POST response: - body: '{"data":{"type":"incidents","id":"7b4285cb-2e39-503b-b31a-6e608ce53dfe","attributes":{"public_id":106,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Update_an_existing_incident_returns__OK__response-And_there_is_a_valid__incident__in_the_system-local-1601046826","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"last_modified_by_uuid":null,"created":"2020-09-25T15:13:46.566265+00:00","modified":"2020-09-25T15:13:46.566265+00:00","commander":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"state":"active","detected":"2020-09-25T15:13:46.564484+00:00","created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"created_by_uuid":null,"creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null,"additional_notifications":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[]},"user_defined_fields":{"data":[]},"postmortem":{"data":null},"integrations":{"data":[]}}}}' + body: '{"data":{"type":"incidents","id":"a9db01b7-fcff-57c5-b9ba-bf3cc76cbb5e","attributes":{"public_id":163,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Update_an_existing_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1601047736","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"last_modified_by_uuid":null,"created":"2020-09-25T15:28:57.031312+00:00","modified":"2020-09-25T15:28:57.031312+00:00","commander":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"state":"active","detected":"2020-09-25T15:28:57.019538+00:00","created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"created_by_uuid":null,"creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null,"additional_notifications":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[]},"user_defined_fields":{"data":[]},"postmortem":{"data":null},"integrations":{"data":[]}}}}' headers: Cache-Control: - no-cache Connection: - keep-alive Content-Length: - - "2227" + - "2229" Content-Type: - application/json Date: - - Fri, 25 Sep 2020 15:13:46 GMT + - Fri, 25 Sep 2020 15:28:58 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 15:13:46 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 15:28:56 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff X-Dd-Debug: - - jUMr6d+5J+YuJ6qRYTR2w4bV5pSWL1aOCQq2Fsi4IDQJQgpLmKecXN7enHF4E9hf + - JNmeA3l0ccOXtA8wh8DpQGSmyIQ4z3r0Sqn1W1sQHkMGKxYzMqf/DJpF1RAS+Dpy X-Dd-Version: - "35.3093372" X-Frame-Options: @@ -57,7 +57,7 @@ interactions: duration: "" - request: body: | - {"data":{"attributes":{"title":"go-TestScenarios-Feature_Incidents-Scenario_Update_an_existing_incident_returns__OK__response-And_there_is_a_valid__incident__in_the_system-local-1601046826-updated"},"id":"7b4285cb-2e39-503b-b31a-6e608ce53dfe","type":"incidents"}} + {"data":{"attributes":{"title":"go-TestScenarios-Feature_Incidents-Scenario_Update_an_existing_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1601047736-updated"},"id":"a9db01b7-fcff-57c5-b9ba-bf3cc76cbb5e","type":"incidents"}} form: {} headers: Accept: @@ -69,15 +69,15 @@ interactions: User-Agent: - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "4975462272381272679" + - "7606952730134173356" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "4805506639869896291" - url: https://api.datadoghq.com/api/v2/incidents/7b4285cb-2e39-503b-b31a-6e608ce53dfe + - "2171768961581429651" + url: https://api.datadoghq.com/api/v2/incidents/a9db01b7-fcff-57c5-b9ba-bf3cc76cbb5e method: PATCH response: - body: '{"data":{"type":"incidents","id":"7b4285cb-2e39-503b-b31a-6e608ce53dfe","attributes":{"public_id":106,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Update_an_existing_incident_returns__OK__response-And_there_is_a_valid__incident__in_the_system-local-1601046826-updated","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-25T15:13:46.566265+00:00","modified":"2020-09-25T15:13:46.996607+00:00","commander":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"state":"active","detected":"2020-09-25T15:13:46.564484+00:00","created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"678b5ebf-fa6b-569b-85a5-ba8fe262e879"},{"type":"user_defined_selection","id":"31b66801-021b-526b-a53f-156ef398ef53"},{"type":"user_defined_selection","id":"1514f4cc-2645-56f7-814e-3d8c423eb98d"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}}}' + body: '{"data":{"type":"incidents","id":"a9db01b7-fcff-57c5-b9ba-bf3cc76cbb5e","attributes":{"public_id":163,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Update_an_existing_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1601047736-updated","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-25T15:28:57.031312+00:00","modified":"2020-09-25T15:28:58.601656+00:00","commander":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"state":"active","detected":"2020-09-25T15:28:57.019538+00:00","created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"7c183155-def4-50ba-9f42-d35dda585e96"},{"type":"user_defined_selection","id":"4bd473b3-8f26-5352-9167-ed8036edf7b3"},{"type":"user_defined_selection","id":"106be533-2224-5aa8-8f23-9a062718e758"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}}}' headers: Cache-Control: - no-cache @@ -86,13 +86,13 @@ interactions: Content-Type: - application/json Date: - - Fri, 25 Sep 2020 15:13:47 GMT + - Fri, 25 Sep 2020 15:28:59 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 15:13:46 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 15:28:58 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; @@ -101,7 +101,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - F+MB1uJtICegWSQGMRxkng/mFaS+IzSp7MVdNCMxEuNz7Df8CVcsilcdpPZyVGTp + - LX0aORViMOQWB8T+VX1PN+m0Q/BWIGM8lAfgs+SVlDy/am6DTkPEsJ9PcP8Pvumm X-Dd-Version: - "35.3093372" X-Frame-Options: @@ -120,12 +120,12 @@ interactions: User-Agent: - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "548937694464931598" + - "287609362823482080" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "4805506639869896291" - url: https://api.datadoghq.com/api/v2/incidents/7b4285cb-2e39-503b-b31a-6e608ce53dfe + - "2171768961581429651" + url: https://api.datadoghq.com/api/v2/incidents/a9db01b7-fcff-57c5-b9ba-bf3cc76cbb5e method: DELETE response: body: "" @@ -139,20 +139,20 @@ interactions: Content-Type: - application/json Date: - - Fri, 25 Sep 2020 15:13:47 GMT + - Fri, 25 Sep 2020 15:29:00 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 15:13:47 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 15:28:59 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff X-Dd-Debug: - - e/TBw3pWhecz3q7fqdapZ13ekoT8GYh8GanHtnVYHy0/nVmlugu7QHmJ8ANRx8P5 + - Et2YiqVRxti9EZo6Gk/yyRrgDmYxZuoE62JE6GLJjDYX0PgDmkmo9d4ASFrtRIDj X-Dd-Version: - "35.3093372" X-Frame-Options: From 98224cf8ab213a4a27efe22c49d9eaacfb7e8c21 Mon Sep 17 00:00:00 2001 From: MRHwick Date: Fri, 25 Sep 2020 12:36:52 -0400 Subject: [PATCH 07/16] enable unstable operations in one step --- tests/api/v2/datadog/scenarios_test.go | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/tests/api/v2/datadog/scenarios_test.go b/tests/api/v2/datadog/scenarios_test.go index e8844745dea..1f2f98d1ebe 100644 --- a/tests/api/v2/datadog/scenarios_test.go +++ b/tests/api/v2/datadog/scenarios_test.go @@ -147,6 +147,7 @@ func TestScenarios(t *testing.T) { s.AddStep(`a valid "appKeyAuth" key in the system`, aValidAppKeyAuth) s.AddStep(`an instance of "([^"]+)" API`, anInstanceOf) s.AddStep(`operation "([^"]+)" enabled`, enableOperations) + s.AddStep(`operations for "([^"]+)" enabled`, enableResourceOperations) s.AddStep(`there is a valid "incident" in the system`, incident) s.AddStep(`there is a valid "user" in the system`, user) s.AddStep(`there is a valid "role" in the system`, role) @@ -204,6 +205,21 @@ func enableOperations(t gobdd.StepTest, ctx gobdd.Context, name string) { client.GetConfig().SetUnstableOperationEnabled(name, true) } +// enableResourceOperations sets unstable operations for the resource in this clause to enabled +func enableResourceOperations(t gobdd.StepTest, ctx gobdd.Context, name string) { + client := Client(tests.GetCtx(ctx)) + operations := []string{} + fmt.Printf("\n\n%#v\n\n", client.GetConfig().GetUnstableOperations()) + for _, unstableOp := range client.GetConfig().GetUnstableOperations() { + if strings.Contains(unstableOp, name) { + operations = append(operations, unstableOp) + } + } + for _, op := range operations { + client.GetConfig().SetUnstableOperationEnabled(op, true) + } +} + func user(t gobdd.StepTest, ctx gobdd.Context) { client := Client(tests.GetCtx(ctx)) From 17378db28eb7955c75efad06fefc2a3652fa8f84 Mon Sep 17 00:00:00 2001 From: MRHwick Date: Fri, 25 Sep 2020 16:17:11 -0400 Subject: [PATCH 08/16] remove that unnecessary step now --- tests/api/v2/datadog/scenarios_test.go | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/tests/api/v2/datadog/scenarios_test.go b/tests/api/v2/datadog/scenarios_test.go index 1f2f98d1ebe..e8844745dea 100644 --- a/tests/api/v2/datadog/scenarios_test.go +++ b/tests/api/v2/datadog/scenarios_test.go @@ -147,7 +147,6 @@ func TestScenarios(t *testing.T) { s.AddStep(`a valid "appKeyAuth" key in the system`, aValidAppKeyAuth) s.AddStep(`an instance of "([^"]+)" API`, anInstanceOf) s.AddStep(`operation "([^"]+)" enabled`, enableOperations) - s.AddStep(`operations for "([^"]+)" enabled`, enableResourceOperations) s.AddStep(`there is a valid "incident" in the system`, incident) s.AddStep(`there is a valid "user" in the system`, user) s.AddStep(`there is a valid "role" in the system`, role) @@ -205,21 +204,6 @@ func enableOperations(t gobdd.StepTest, ctx gobdd.Context, name string) { client.GetConfig().SetUnstableOperationEnabled(name, true) } -// enableResourceOperations sets unstable operations for the resource in this clause to enabled -func enableResourceOperations(t gobdd.StepTest, ctx gobdd.Context, name string) { - client := Client(tests.GetCtx(ctx)) - operations := []string{} - fmt.Printf("\n\n%#v\n\n", client.GetConfig().GetUnstableOperations()) - for _, unstableOp := range client.GetConfig().GetUnstableOperations() { - if strings.Contains(unstableOp, name) { - operations = append(operations, unstableOp) - } - } - for _, op := range operations { - client.GetConfig().SetUnstableOperationEnabled(op, true) - } -} - func user(t gobdd.StepTest, ctx gobdd.Context) { client := Client(tests.GetCtx(ctx)) From 9f389ebf66dca43000c48521a2f5303a15d5f9b2 Mon Sep 17 00:00:00 2001 From: MRHwick Date: Fri, 25 Sep 2020 16:49:18 -0400 Subject: [PATCH 09/16] fix cassettes for everything --- ...incident_returns__CREATED__response.freeze | 2 +- ...w_incident_returns__CREATED__response.yaml | 52 ++++++------ ...ting_incident_returns__OK__response.freeze | 2 +- ...isting_incident_returns__OK__response.yaml | 36 ++++---- ..._of_incidents_returns__OK__response.freeze | 2 +- ...st_of_incidents_returns__OK__response.yaml | 38 ++++----- ...f_an_incident_returns__OK__response.freeze | 2 +- ..._of_an_incident_returns__OK__response.yaml | 40 ++++----- ...ting_incident_returns__OK__response.freeze | 2 +- ...isting_incident_returns__OK__response.yaml | 42 ++++----- ..._service_returns__CREATED__response.freeze | 2 +- ...ew_service_returns__CREATED__response.yaml | 67 +++++++++++++-- ...sting_service_returns__OK__response.freeze | 2 +- ...xisting_service_returns__OK__response.yaml | 42 ++++----- ..._all_services_returns__OK__response.freeze | 2 +- ...of_all_services_returns__OK__response.yaml | 81 ++++++++++++++---- ..._of_a_service_returns__OK__response.freeze | 2 +- ...ls_of_a_service_returns__OK__response.yaml | 83 ++++++++++++++---- ...sting_service_returns__OK__response.freeze | 2 +- ...xisting_service_returns__OK__response.yaml | 85 +++++++++++++++---- ...new_team_returns__CREATED__response.freeze | 2 +- ...a_new_team_returns__CREATED__response.yaml | 67 +++++++++++++-- ...existing_team_returns__OK__response.freeze | 2 +- ...n_existing_team_returns__OK__response.yaml | 42 ++++----- ..._of_all_teams_returns__OK__response.freeze | 2 +- ...st_of_all_teams_returns__OK__response.yaml | 81 ++++++++++++++---- ...ils_of_a_team_returns__OK__response.freeze | 2 +- ...tails_of_a_team_returns__OK__response.yaml | 83 ++++++++++++++---- ...existing_team_returns__OK__response.freeze | 2 +- ...n_existing_team_returns__OK__response.yaml | 85 +++++++++++++++---- 30 files changed, 681 insertions(+), 273 deletions(-) diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Create_a_new_incident_returns__CREATED__response.freeze b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Create_a_new_incident_returns__CREATED__response.freeze index 0c2c9bbca93..c56bfb26d10 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Create_a_new_incident_returns__CREATED__response.freeze +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Create_a_new_incident_returns__CREATED__response.freeze @@ -1 +1 @@ -2020-09-25T11:28:47.257702-04:00 \ No newline at end of file +2020-09-25T16:40:31.072244-04:00 \ No newline at end of file diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Create_a_new_incident_returns__CREATED__response.yaml b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Create_a_new_incident_returns__CREATED__response.yaml index 996358d50ed..79d152ae3fb 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Create_a_new_incident_returns__CREATED__response.yaml +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Create_a_new_incident_returns__CREATED__response.yaml @@ -3,7 +3,7 @@ version: 1 interactions: - request: body: | - {"data":{"attributes":{"email":"go-testscenarios-feature_incidents-scenario_create_a_new_incident_returns__created__response-given_there_is_a_valid__user__in_the_system-local-1601047727@datadoghq.com","name":"go-testscenarios-feature_incidents-scenario_","title":"Big boss"},"type":"users"}} + {"data":{"attributes":{"email":"go-testscenarios-feature_incidents-scenario_create_a_new_incident_returns__created__response-given_there_is_a_valid__user__in_the_system-local-1601066431@datadoghq.com","name":"go-testscenarios-feature_incidents-scenario_","title":"Big boss"},"type":"users"}} form: {} headers: Accept: @@ -15,15 +15,15 @@ interactions: User-Agent: - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "5064039048612045465" + - "813173948041893165" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "3460230282992932476" + - "837216621704333545" url: https://api.datadoghq.com/api/v2/users method: POST response: - body: '{"data":{"type":"users","id":"ce1444b8-ff43-11ea-b32b-8b86ac156706","attributes":{"name":"go-testscenarios-feature_incidents-scenario_","handle":"go-testscenarios-feature_incidents-scenario_create_a_new_incident_returns__created__response-given_there_is_a_valid__user__in_the_system-local-1601047727@datadoghq.com","created_at":"2020-09-25T15:28:47.353195+00:00","email":"go-testscenarios-feature_incidents-scenario_create_a_new_incident_returns__created__response-given_there_is_a_valid__user__in_the_system-local-1601047727@datadoghq.com","icon":"https://secure.gravatar.com/avatar/b5b7386980d2231fb2b6a8835ccaeb16?s=48&d=retro","title":"Big + body: '{"data":{"type":"users","id":"5a6c4782-ff6f-11ea-b373-27a41819f2ac","attributes":{"name":"go-testscenarios-feature_incidents-scenario_","handle":"go-testscenarios-feature_incidents-scenario_create_a_new_incident_returns__created__response-given_there_is_a_valid__user__in_the_system-local-1601066431@datadoghq.com","created_at":"2020-09-25T20:40:31.170031+00:00","email":"go-testscenarios-feature_incidents-scenario_create_a_new_incident_returns__created__response-given_there_is_a_valid__user__in_the_system-local-1601066431@datadoghq.com","icon":"https://secure.gravatar.com/avatar/13e11d82681f48bd5641d8d20b9bf096?s=48&d=retro","title":"Big boss","verified":false,"disabled":false,"allowed_login_methods":[],"status":"Pending"},"relationships":{"roles":{"data":[]},"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}}' headers: Cache-Control: @@ -35,20 +35,20 @@ interactions: Content-Type: - application/json Date: - - Fri, 25 Sep 2020 15:28:47 GMT + - Fri, 25 Sep 2020 20:40:31 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 15:28:47 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 20:40:31 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff X-Dd-Debug: - - Q8knEw82SgGErSuAaD0RuA7obbJQJNFXaFmNNzPtQBtywdtSi82Z9gGaD787DJ0K + - RxKcx0U1IrcJ2sL0co6YTKQdWxTKBjGeO6Rh6plfmXfsHGMiZ332nvRBeUlqIMht X-Dd-Version: - "35.3093372" X-Frame-Options: @@ -58,7 +58,7 @@ interactions: duration: "" - request: body: | - {"data":{"attributes":{"customer_impacted":false,"title":"go-Feature_Incidents-Scenario_Create_a_new_incident_returns__CREATED__response-local-1601047727"},"relationships":{"commander":{"data":{"id":"ce1444b8-ff43-11ea-b32b-8b86ac156706","type":"users"}}},"type":"incidents"}} + {"data":{"attributes":{"customer_impacted":false,"title":"go-Feature_Incidents-Scenario_Create_a_new_incident_returns__CREATED__response-local-1601066431"},"relationships":{"commander":{"data":{"id":"5a6c4782-ff6f-11ea-b373-27a41819f2ac","type":"users"}}},"type":"incidents"}} form: {} headers: Accept: @@ -70,15 +70,15 @@ interactions: User-Agent: - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "2179670246092619045" + - "2267173415777810933" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "3460230282992932476" + - "837216621704333545" url: https://api.datadoghq.com/api/v2/incidents method: POST response: - body: '{"data":{"type":"incidents","id":"b58edff6-f856-5bb5-aa86-fc78bd0f027d","attributes":{"public_id":160,"postmortem_id":null,"title":"go-Feature_Incidents-Scenario_Create_a_new_incident_returns__CREATED__response-local-1601047727","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"last_modified_by_uuid":null,"created":"2020-09-25T15:28:47.534468+00:00","modified":"2020-09-25T15:28:47.534468+00:00","commander":{"data":{"type":"users","id":"ce1444b8-ff43-11ea-b32b-8b86ac156706","attributes":{"uuid":"ce1444b8-ff43-11ea-b32b-8b86ac156706","handle":"go-testscenarios-feature_incidents-scenario_create_a_new_incident_returns__created__response-given_there_is_a_valid__user__in_the_system-local-1601047727@datadoghq.com","email":"go-testscenarios-feature_incidents-scenario_create_a_new_incident_returns__created__response-given_there_is_a_valid__user__in_the_system-local-1601047727@datadoghq.com","name":"go-testscenarios-feature_incidents-scenario_","icon":"https://secure.gravatar.com/avatar/b5b7386980d2231fb2b6a8835ccaeb16?s=48&d=retro"}}},"state":"active","detected":"2020-09-25T15:28:47.532615+00:00","created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"created_by_uuid":null,"creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null,"additional_notifications":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":null},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[]},"user_defined_fields":{"data":[]},"postmortem":{"data":null},"integrations":{"data":[]}}}}' + body: '{"data":{"type":"incidents","id":"0c80ef7b-bc92-50be-a355-7d3cc0b7ced3","attributes":{"public_id":198,"postmortem_id":null,"title":"go-Feature_Incidents-Scenario_Create_a_new_incident_returns__CREATED__response-local-1601066431","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"last_modified_by_uuid":null,"created":"2020-09-25T20:40:31.436676+00:00","modified":"2020-09-25T20:40:31.436676+00:00","commander":{"data":{"type":"users","id":"5a6c4782-ff6f-11ea-b373-27a41819f2ac","attributes":{"uuid":"5a6c4782-ff6f-11ea-b373-27a41819f2ac","handle":"go-testscenarios-feature_incidents-scenario_create_a_new_incident_returns__created__response-given_there_is_a_valid__user__in_the_system-local-1601066431@datadoghq.com","email":"go-testscenarios-feature_incidents-scenario_create_a_new_incident_returns__created__response-given_there_is_a_valid__user__in_the_system-local-1601066431@datadoghq.com","name":"go-testscenarios-feature_incidents-scenario_","icon":"https://secure.gravatar.com/avatar/13e11d82681f48bd5641d8d20b9bf096?s=48&d=retro"}}},"state":"active","detected":"2020-09-25T20:40:31.434478+00:00","created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"created_by_uuid":null,"creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null,"additional_notifications":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":null},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[]},"user_defined_fields":{"data":[]},"postmortem":{"data":null},"integrations":{"data":[]}}}}' headers: Cache-Control: - no-cache @@ -89,20 +89,20 @@ interactions: Content-Type: - application/json Date: - - Fri, 25 Sep 2020 15:28:50 GMT + - Fri, 25 Sep 2020 20:40:34 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 15:28:47 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 20:40:31 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff X-Dd-Debug: - - XH13bHMKtoQVJueISAFCWP0HSHfKJRB7S49EcUHZy7wuPUHvZ/XfTy/P1yRgU1Db + - 0e2Tq/aa08wSuRoWDdF6eCwF8GPYPPLmf3Lxvgc5OscTNyr8D4p+ksnId5WnGnR4 X-Dd-Version: - "35.3093372" X-Frame-Options: @@ -121,12 +121,12 @@ interactions: User-Agent: - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "4724186044038573019" + - "8718807019666367422" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "3460230282992932476" - url: https://api.datadoghq.com/api/v2/incidents/b58edff6-f856-5bb5-aa86-fc78bd0f027d + - "837216621704333545" + url: https://api.datadoghq.com/api/v2/incidents/0c80ef7b-bc92-50be-a355-7d3cc0b7ced3 method: DELETE response: body: "" @@ -140,20 +140,20 @@ interactions: Content-Type: - application/json Date: - - Fri, 25 Sep 2020 15:28:52 GMT + - Fri, 25 Sep 2020 20:40:36 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 15:28:50 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 20:40:34 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff X-Dd-Debug: - - JGlWx87vjxzcVRF7plc107v2ByhH6ulQ34FTks4+z+qF42As7SYEoQXA/cO3iKfw + - /0aUVUH/0B08LSgkH1j961ejfqRhimJkYAixzpnRf5lscmOFHWjl/leOQ3Mnfn7R X-Dd-Version: - "35.3093372" X-Frame-Options: @@ -172,12 +172,12 @@ interactions: User-Agent: - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "7998602312656192286" + - "3229288339354929218" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "3460230282992932476" - url: https://api.datadoghq.com/api/v2/users/ce1444b8-ff43-11ea-b32b-8b86ac156706 + - "837216621704333545" + url: https://api.datadoghq.com/api/v2/users/5a6c4782-ff6f-11ea-b373-27a41819f2ac method: DELETE response: body: "" @@ -191,20 +191,20 @@ interactions: Content-Type: - application/json Date: - - Fri, 25 Sep 2020 15:28:52 GMT + - Fri, 25 Sep 2020 20:40:36 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 15:28:52 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 20:40:36 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff X-Dd-Debug: - - jrdNt2QvGarP6yOsylH3GAxdMWXM4CYDKNbO7i0omswFkFozD11pdA/9Rp2czovd + - KdWc5RppKH51u1oZ6tf2ghJTVEevh006eS91RDKZLGoax50FN2VjMvek2ayUmkXw X-Dd-Version: - "35.3093372" X-Frame-Options: diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Delete_an_existing_incident_returns__OK__response.freeze b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Delete_an_existing_incident_returns__OK__response.freeze index 1fc0aec561c..5e2e3a2b882 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Delete_an_existing_incident_returns__OK__response.freeze +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Delete_an_existing_incident_returns__OK__response.freeze @@ -1 +1 @@ -2020-09-25T11:28:52.737953-04:00 \ No newline at end of file +2020-09-25T16:40:36.62745-04:00 \ No newline at end of file diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Delete_an_existing_incident_returns__OK__response.yaml b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Delete_an_existing_incident_returns__OK__response.yaml index 702a19aa95c..7137df9eda1 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Delete_an_existing_incident_returns__OK__response.yaml +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Delete_an_existing_incident_returns__OK__response.yaml @@ -3,7 +3,7 @@ version: 1 interactions: - request: body: | - {"data":{"attributes":{"customer_impacted":false,"title":"go-TestScenarios-Feature_Incidents-Scenario_Delete_an_existing_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1601047732"},"type":"incidents"}} + {"data":{"attributes":{"customer_impacted":false,"title":"go-TestScenarios-Feature_Incidents-Scenario_Delete_an_existing_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1601066436"},"type":"incidents"}} form: {} headers: Accept: @@ -15,15 +15,15 @@ interactions: User-Agent: - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "7616651244238183348" + - "8967378779000962479" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "154051315362104902" + - "3912675822703793203" url: https://api.datadoghq.com/api/v2/incidents method: POST response: - body: '{"data":{"type":"incidents","id":"7d2a3b8e-b93e-527f-bedf-f93e1e761b35","attributes":{"public_id":161,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Delete_an_existing_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1601047732","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"last_modified_by_uuid":null,"created":"2020-09-25T15:28:52.811651+00:00","modified":"2020-09-25T15:28:52.811651+00:00","commander":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"state":"active","detected":"2020-09-25T15:28:52.809794+00:00","created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"created_by_uuid":null,"creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null,"additional_notifications":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[]},"user_defined_fields":{"data":[]},"postmortem":{"data":null},"integrations":{"data":[]}}}}' + body: '{"data":{"type":"incidents","id":"9bc05011-820f-559e-be64-f565410ff7bd","attributes":{"public_id":199,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Delete_an_existing_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1601066436","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"last_modified_by_uuid":null,"created":"2020-09-25T20:40:36.712154+00:00","modified":"2020-09-25T20:40:36.712154+00:00","commander":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"state":"active","detected":"2020-09-25T20:40:36.709642+00:00","created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"created_by_uuid":null,"creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null,"additional_notifications":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[]},"user_defined_fields":{"data":[]},"postmortem":{"data":null},"integrations":{"data":[]}}}}' headers: Cache-Control: - no-cache @@ -34,20 +34,20 @@ interactions: Content-Type: - application/json Date: - - Fri, 25 Sep 2020 15:28:53 GMT + - Fri, 25 Sep 2020 20:40:38 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 15:28:52 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 20:40:36 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff X-Dd-Debug: - - /3efrffY0fOidOw5YXy+ujUt+jIWndj9KkkaQ3CKNiYFs6CCTkTChAR8M9mejUqc + - nFyTUry7tLSCWgKgQTsGO10dBCh8TOEhHGgwdexQMnQchHPTOyo6yaXIidoJXR1X X-Dd-Version: - "35.3093372" X-Frame-Options: @@ -66,12 +66,12 @@ interactions: User-Agent: - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "6701490414780854843" + - "2067100454866309357" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "154051315362104902" - url: https://api.datadoghq.com/api/v2/incidents/7d2a3b8e-b93e-527f-bedf-f93e1e761b35 + - "3912675822703793203" + url: https://api.datadoghq.com/api/v2/incidents/9bc05011-820f-559e-be64-f565410ff7bd method: DELETE response: body: "" @@ -85,20 +85,20 @@ interactions: Content-Type: - application/json Date: - - Fri, 25 Sep 2020 15:28:53 GMT + - Fri, 25 Sep 2020 20:40:38 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 15:28:53 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 20:40:38 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff X-Dd-Debug: - - qKfjlUOd47rTL8Zfe+ult0NC1XrJJZn5FzZo3l0g8EiEJqsLoAxULWUGtB1CS4r/ + - nuSFLkQ1s7gwoRNAfifc8jXTyjLsWBSRPtQKveq6qMTKGNJs/ULg6uo/9G1YZzFs X-Dd-Version: - "35.3093372" X-Frame-Options: @@ -117,15 +117,15 @@ interactions: User-Agent: - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "7934186584328008162" + - "3028383966888642242" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "154051315362104902" - url: https://api.datadoghq.com/api/v2/incidents/7d2a3b8e-b93e-527f-bedf-f93e1e761b35 + - "3912675822703793203" + url: https://api.datadoghq.com/api/v2/incidents/9bc05011-820f-559e-be64-f565410ff7bd method: DELETE response: - body: '{"errors": ["incident 7d2a3b8e-b93e-527f-bedf-f93e1e761b35 not found"]}' + body: '{"errors": ["incident 9bc05011-820f-559e-be64-f565410ff7bd not found"]}' headers: Cache-Control: - no-cache @@ -134,7 +134,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 25 Sep 2020 15:28:53 GMT + - Fri, 25 Sep 2020 20:40:38 GMT Dd-Pool: - dogweb Pragma: diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_a_list_of_incidents_returns__OK__response.freeze b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_a_list_of_incidents_returns__OK__response.freeze index a7ad04fe1ec..1495efa77d4 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_a_list_of_incidents_returns__OK__response.freeze +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_a_list_of_incidents_returns__OK__response.freeze @@ -1 +1 @@ -2020-09-25T11:28:44.237172-04:00 \ No newline at end of file +2020-09-25T16:40:28.250245-04:00 \ No newline at end of file diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_a_list_of_incidents_returns__OK__response.yaml b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_a_list_of_incidents_returns__OK__response.yaml index 31accf2ea40..72c316309af 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_a_list_of_incidents_returns__OK__response.yaml +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_a_list_of_incidents_returns__OK__response.yaml @@ -3,7 +3,7 @@ version: 1 interactions: - request: body: | - {"data":{"attributes":{"customer_impacted":false,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1601047724"},"type":"incidents"}} + {"data":{"attributes":{"customer_impacted":false,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1601066428"},"type":"incidents"}} form: {} headers: Accept: @@ -15,15 +15,15 @@ interactions: User-Agent: - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "5257015835718590386" + - "2850732990766112936" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "965707027367868226" + - "7044037302352205424" url: https://api.datadoghq.com/api/v2/incidents method: POST response: - body: '{"data":{"type":"incidents","id":"b7b7f750-8f26-5bdc-a685-dc7dfe3b4939","attributes":{"public_id":159,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1601047724","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"last_modified_by_uuid":null,"created":"2020-09-25T15:28:44.589274+00:00","modified":"2020-09-25T15:28:44.589274+00:00","commander":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"state":"active","detected":"2020-09-25T15:28:44.578263+00:00","created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"created_by_uuid":null,"creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null,"additional_notifications":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[]},"user_defined_fields":{"data":[]},"postmortem":{"data":null},"integrations":{"data":[]}}}}' + body: '{"data":{"type":"incidents","id":"37f4fce7-bb70-5d54-89ef-20f18684fcac","attributes":{"public_id":197,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1601066428","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"last_modified_by_uuid":null,"created":"2020-09-25T20:40:28.541574+00:00","modified":"2020-09-25T20:40:28.541574+00:00","commander":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"state":"active","detected":"2020-09-25T20:40:28.539987+00:00","created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"created_by_uuid":null,"creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null,"additional_notifications":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[]},"user_defined_fields":{"data":[]},"postmortem":{"data":null},"integrations":{"data":[]}}}}' headers: Cache-Control: - no-cache @@ -34,20 +34,20 @@ interactions: Content-Type: - application/json Date: - - Fri, 25 Sep 2020 15:28:46 GMT + - Fri, 25 Sep 2020 20:40:30 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 15:28:44 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 20:40:28 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff X-Dd-Debug: - - Y9+v2iJC/5twluKZH+Abk+sCd7+zW2qB+wWhdwPtTfzsXiAGXu1np/KJsw5b93OQ + - jksv6NXchM8W/4CgjBiDDYPQGBQ0jGtm+dmNJmQoft/ZYfYSEvwpU9lIHwYKsM2d X-Dd-Version: - "35.3093372" X-Frame-Options: @@ -66,15 +66,15 @@ interactions: User-Agent: - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "2248819521978266781" + - "3954228044903557266" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "965707027367868226" + - "7044037302352205424" url: https://api.datadoghq.com/api/v2/incidents method: GET response: - body: '{"meta":{"pagination":{"size":25,"next_offset":25,"offset":0}},"data":[{"type":"incidents","id":"7a059827-672a-57ed-9078-56ce8e79409d","attributes":{"public_id":1,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600911868","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T01:44:31.075654+00:00","modified":"2020-09-24T01:44:31.075654+00:00","state":"active","detected":"2020-09-24T01:44:31.071338+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"a5c83b76-a203-51b5-8e86-7fd9f6f24998"},{"type":"user_defined_selection","id":"f1ae671f-bf2d-5a65-ac8b-eb16699eb685"},{"type":"user_defined_selection","id":"a907a8e5-ead6-57a8-8460-272e96f21c7a"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"86010071-0d9b-5260-93e8-ac019cee7dfd","attributes":{"public_id":2,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600911894","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T01:44:54.402280+00:00","modified":"2020-09-24T01:44:54.402280+00:00","state":"active","detected":"2020-09-24T01:44:54.387089+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"f2e46d01-3014-5cb7-b17f-2b41bf874012"},{"type":"user_defined_selection","id":"c03f9d26-a6e9-5231-ac8f-13595a37570b"},{"type":"user_defined_selection","id":"6da6dc59-7f2e-5803-8360-7888a171c49a"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"36434fb1-bf5d-564c-a543-bae0878be63d","attributes":{"public_id":3,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600920195","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:03:16.150218+00:00","modified":"2020-09-24T04:03:16.150218+00:00","state":"active","detected":"2020-09-24T04:03:16.137784+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"9354acc4-b06f-5436-abe7-46fe551be70d"},{"type":"user_defined_selection","id":"e2d39ab9-60a3-5572-bfcf-6351b9e84c09"},{"type":"user_defined_selection","id":"294ed2aa-998a-56b7-9961-c84ad293c773"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"897bd983-f917-5c81-b8cb-3ef77e25a669","attributes":{"public_id":4,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600920542","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:09:02.406595+00:00","modified":"2020-09-24T04:09:02.406595+00:00","state":"active","detected":"2020-09-24T04:09:02.403938+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"14e31798-a57f-52ed-9c83-7fb34ec44770"},{"type":"user_defined_selection","id":"bfb59cba-995f-53d1-89f0-644b34d1c9be"},{"type":"user_defined_selection","id":"b8ce1e99-9186-50c1-85f8-838280ee9a6c"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"f4c72afc-b259-5ce5-a25b-318c6b488dcc","attributes":{"public_id":5,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600920774","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:12:54.649152+00:00","modified":"2020-09-24T04:12:54.649152+00:00","state":"active","detected":"2020-09-24T04:12:54.647619+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"4540ccd6-df93-524f-a915-21f9279f52c2"},{"type":"user_defined_selection","id":"b4d39bd2-6997-50fb-a6b0-0036c0c47d02"},{"type":"user_defined_selection","id":"ea45817d-979e-54bd-8789-a4a102c07afa"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"4e9687e9-2ce2-58a6-b647-2047675202fa","attributes":{"public_id":6,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600920822","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:13:42.856251+00:00","modified":"2020-09-24T04:13:42.856251+00:00","state":"active","detected":"2020-09-24T04:13:42.854350+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"79f37183-b2c8-525c-8b93-edd2dabd43c6"},{"type":"user_defined_selection","id":"f3da7f81-63bd-5a44-9d0b-02b7ee1c6d0f"},{"type":"user_defined_selection","id":"aa82b105-e68a-5abe-9eda-dfe6de2eedd1"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"135bb2e7-2bd3-5ec2-b6e4-0d83adeb5ee9","attributes":{"public_id":7,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600920842","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:14:03.212980+00:00","modified":"2020-09-24T04:14:03.212980+00:00","state":"active","detected":"2020-09-24T04:14:03.211283+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"9c2ddf5f-5e15-5f9a-a871-11d071199f1c"},{"type":"user_defined_selection","id":"6060fd9b-d382-571c-a47d-31b1d6e72d5b"},{"type":"user_defined_selection","id":"9e2649d8-cd6d-52f7-98a8-2887118a2df0"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"0cf15030-1e11-54eb-b662-86d044b407d7","attributes":{"public_id":8,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600921077","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:17:57.765225+00:00","modified":"2020-09-24T04:17:57.765225+00:00","state":"active","detected":"2020-09-24T04:17:57.762690+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"d9eddcd1-0855-5af7-aa1b-7be4cd8f3c1a"},{"type":"user_defined_selection","id":"64f671b4-887b-5d5e-9091-f7cd3843365b"},{"type":"user_defined_selection","id":"1fa8a7aa-6b1d-58d0-acb3-0a3803d5ea9b"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"627a881a-ed42-51dd-b3f7-12fb598e51b7","attributes":{"public_id":9,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600921223","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:20:23.444263+00:00","modified":"2020-09-24T04:20:23.444263+00:00","state":"active","detected":"2020-09-24T04:20:23.442590+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"0e769331-9d9c-515c-9a4e-824d70d27d71"},{"type":"user_defined_selection","id":"45d7a21c-9d61-5fce-b16f-3b551f06d424"},{"type":"user_defined_selection","id":"9a56758e-f622-5941-9551-7a520ba8ba39"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"fc275f70-e1bb-5aea-b583-eb5afbd97e84","attributes":{"public_id":10,"postmortem_id":null,"title":"go-Feature_Incidents-Scenario_Create_a_new_incident_returns__CREATED__response-local-1600921226","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:20:27.042285+00:00","modified":"2020-09-24T04:20:27.042285+00:00","state":"active","detected":"2020-09-24T04:20:27.040509+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"45e7ad7c-fe1d-11ea-b260-47e9f3637f3b"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"8dc87737-d57f-531c-9a95-887a14b54f8b"},{"type":"user_defined_selection","id":"9f7c0f4a-d5c1-5e4e-97ad-e7518e2fd1c2"},{"type":"user_defined_selection","id":"31a9737f-a7e3-5385-932f-6c92656c16e9"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"80318a1d-8a64-59e8-9a3e-7370af8eb927","attributes":{"public_id":11,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600921418","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:23:39.224605+00:00","modified":"2020-09-24T04:23:39.224605+00:00","state":"active","detected":"2020-09-24T04:23:39.223050+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"d599f052-8917-5057-b58f-b13191cc53cc"},{"type":"user_defined_selection","id":"b9e5c503-36ec-5a1f-9e52-bbd634cffd37"},{"type":"user_defined_selection","id":"9d815c16-5993-5442-b195-d40053be3a3b"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"f5552e0d-d07e-5345-9368-ed8f46ac0e8a","attributes":{"public_id":12,"postmortem_id":null,"title":"go-Feature_Incidents-Scenario_Create_a_new_incident_returns__CREATED__response-local-1600921422","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:23:42.249562+00:00","modified":"2020-09-24T04:23:42.249562+00:00","state":"active","detected":"2020-09-24T04:23:42.247961+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"ba47465a-fe1d-11ea-b260-cf511b8ddff0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"6e23efe0-d1ec-517e-9fe3-df92d6532633"},{"type":"user_defined_selection","id":"b18a026e-0ad0-5a8c-ba51-b5a52d452dac"},{"type":"user_defined_selection","id":"215a4ddb-2dbd-5c30-8fea-918969ccf1e4"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"9c10bb37-2a22-5aa0-baca-d7b9998f7ace","attributes":{"public_id":14,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600921446","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:24:06.487148+00:00","modified":"2020-09-24T04:24:06.487148+00:00","state":"active","detected":"2020-09-24T04:24:06.474493+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"b24ecc35-d5bd-5f49-9a14-1d886408ff74"},{"type":"user_defined_selection","id":"6c3d4c9f-07f2-5c65-9f51-f094efe6b491"},{"type":"user_defined_selection","id":"ec705344-6abb-56a5-8149-107a62271444"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"14882f8c-2c80-546f-a60b-5740102cc9af","attributes":{"public_id":15,"postmortem_id":null,"title":"go-Feature_Incidents-Scenario_Create_a_new_incident_returns__CREATED__response-local-1600921449","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:24:09.490794+00:00","modified":"2020-09-24T04:24:09.490794+00:00","state":"active","detected":"2020-09-24T04:24:09.488828+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"ca79d3d0-fe1d-11ea-b260-ef7399d6b59c"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"ca1172b0-c74d-5c7a-8663-85b87d373ae9"},{"type":"user_defined_selection","id":"14f6377d-e55e-5aa7-ae62-0d18c8c2bbe3"},{"type":"user_defined_selection","id":"f149ac5d-1831-580b-aff0-608335f21b94"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"03e1a113-9c81-5eb1-8103-ea690c87cc33","attributes":{"public_id":17,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600921947","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:32:27.710485+00:00","modified":"2020-09-24T04:32:27.710485+00:00","state":"active","detected":"2020-09-24T04:32:27.708946+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"fde43c1d-cfc7-5a01-99bc-a27cdef791d7"},{"type":"user_defined_selection","id":"74ca3061-3765-5130-a0df-7d70a1f9ee59"},{"type":"user_defined_selection","id":"e5cc2693-bae6-540c-a309-1ee2c8b94b52"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"e4985af9-21c6-52e3-a507-e10be43991a5","attributes":{"public_id":18,"postmortem_id":null,"title":"go-Feature_Incidents-Scenario_Create_a_new_incident_returns__CREATED__response-local-1600921949","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:32:29.904017+00:00","modified":"2020-09-24T04:32:29.904017+00:00","state":"active","detected":"2020-09-24T04:32:29.902156+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"f4bddb72-fe1e-11ea-b260-f3aa2ee52ab4"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"36e9a81e-56b2-5d9f-853a-7ad6f1e8f848"},{"type":"user_defined_selection","id":"f8e76aeb-68dc-5529-9f5f-093af1e8577e"},{"type":"user_defined_selection","id":"80fc245e-237b-54e1-b778-74dd4746287f"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"8b6e056f-3c50-5083-96e8-a5b83411e17a","attributes":{"public_id":20,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_the_details_of_an_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600921958","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:32:39.029294+00:00","modified":"2020-09-24T04:32:39.029294+00:00","state":"active","detected":"2020-09-24T04:32:39.027571+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"28e7b453-36bc-5524-9109-c602f5f77965"},{"type":"user_defined_selection","id":"5634b98b-bc4b-55ba-838e-427c5b5b0747"},{"type":"user_defined_selection","id":"45d9b024-e6bf-53f3-8e1b-92be19d26f75"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"9a0dfc7a-9d9e-5439-9b2d-f1a8307053cc","attributes":{"public_id":21,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Update_an_existing_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600921959","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:32:39.860407+00:00","modified":"2020-09-24T04:32:39.860407+00:00","state":"active","detected":"2020-09-24T04:32:39.858584+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"2756d06a-c3e3-5387-8a56-61af7724fd9a"},{"type":"user_defined_selection","id":"38ccf875-9413-5d4b-99d4-732331c6e995"},{"type":"user_defined_selection","id":"0abb5528-4c6e-54f4-bc80-f2908dcc0a8a"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"9af253a0-5687-5305-bf05-c617c70ad091","attributes":{"public_id":22,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600922065","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:34:25.966710+00:00","modified":"2020-09-24T04:34:25.966710+00:00","state":"active","detected":"2020-09-24T04:34:25.948795+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"b436bb9d-c0ff-5e01-b5a5-e6e69bca702c"},{"type":"user_defined_selection","id":"d06a6ebb-1292-5386-b0a0-1fc37e3f73ed"},{"type":"user_defined_selection","id":"8c06dde7-31f4-56ae-bab6-d3180d22b247"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"e13f6f74-4b76-52e9-b33e-59e5f3bec034","attributes":{"public_id":23,"postmortem_id":null,"title":"go-Feature_Incidents-Scenario_Create_a_new_incident_returns__CREATED__response-local-1600922068","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:34:28.748849+00:00","modified":"2020-09-24T04:34:28.748849+00:00","state":"active","detected":"2020-09-24T04:34:28.746476+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3b995896-fe1f-11ea-b260-b3178cb0e7d1"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"c90ea1ff-f800-5ae5-9b8a-8a6aba73fc6b"},{"type":"user_defined_selection","id":"f039a4cc-bce6-5a4c-9653-90ed33b3ffd1"},{"type":"user_defined_selection","id":"01d10f9e-73bc-5fcd-9169-94cf73e25a23"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"5b9dfec0-e5c9-522c-9651-a14ba2cc9a00","attributes":{"public_id":25,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_the_details_of_an_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600922072","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:34:32.720745+00:00","modified":"2020-09-24T04:34:32.720745+00:00","state":"active","detected":"2020-09-24T04:34:32.719019+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"9ccdb5a3-f627-58d6-b972-e36ceda85b70"},{"type":"user_defined_selection","id":"92fc5503-c711-5fbc-80ab-fce1ee7585b5"},{"type":"user_defined_selection","id":"71a88f49-5ca0-5ec2-80f4-cc4bfe177f77"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"fbfde4c0-ec20-5466-b95f-efe135510590","attributes":{"public_id":26,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Update_an_existing_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600922074","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:34:34.467879+00:00","modified":"2020-09-24T04:34:34.467879+00:00","state":"active","detected":"2020-09-24T04:34:34.466051+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"6879f703-e0b9-592e-ab17-e8cc104a1118"},{"type":"user_defined_selection","id":"4963739c-2921-526c-ab05-b4fb22558ecf"},{"type":"user_defined_selection","id":"8c855a34-07e4-5443-9072-0cf27251a92d"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"7f300f39-9f01-52da-89c2-0610917d5f67","attributes":{"public_id":27,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600922138","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:35:39.039986+00:00","modified":"2020-09-24T04:35:39.039986+00:00","state":"active","detected":"2020-09-24T04:35:39.025803+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"c56538b0-9c5f-58a7-b47d-ea1be1bad876"},{"type":"user_defined_selection","id":"cc4b2003-d5d6-5023-98c6-362d4aabb547"},{"type":"user_defined_selection","id":"59de340c-0542-55e8-8e83-ce436716d64d"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"0c6cab54-404d-5776-8503-2e45d25dd8f8","attributes":{"public_id":28,"postmortem_id":null,"title":"go-Feature_Incidents-Scenario_Create_a_new_incident_returns__CREATED__response-local-1600922142","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:35:43.503245+00:00","modified":"2020-09-24T04:35:43.503245+00:00","state":"active","detected":"2020-09-24T04:35:43.498533+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"68087c36-fe1f-11ea-b260-abe4ca1ff356"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"5107818f-1713-589e-86f4-919430f04eea"},{"type":"user_defined_selection","id":"9cc94679-0f62-5b4a-bcb2-6acdeddc95a6"},{"type":"user_defined_selection","id":"c8ef95c0-2ff1-5bd5-bdb0-fc116051661e"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}},{"type":"incidents","id":"6c307bba-b1d0-5fc7-a3df-db4c5c4ea6c9","attributes":{"public_id":30,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_the_details_of_an_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1600922148","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-24T04:35:48.383356+00:00","modified":"2020-09-24T04:35:48.383356+00:00","state":"active","detected":"2020-09-24T04:35:48.381856+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"7d98f78d-a278-5753-9c80-2ef3cd7eaa95"},{"type":"user_defined_selection","id":"1f50715f-58f7-5790-98c0-9a197a15cb89"},{"type":"user_defined_selection","id":"40fa55fa-f78d-5c0d-b4b9-b58d3f865df3"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}}]}' + body: '{"meta":{"pagination":{"size":25,"next_offset":25,"offset":0}},"data":[{"type":"incidents","id":"37f4fce7-bb70-5d54-89ef-20f18684fcac","attributes":{"public_id":197,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1601066428","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-25T20:40:28.541574+00:00","modified":"2020-09-25T20:40:28.541574+00:00","state":"active","detected":"2020-09-25T20:40:28.539987+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"f62d93af-bdba-51ba-8709-2b742c97a67b"},{"type":"user_defined_selection","id":"5f26666b-59a1-50a7-a352-1d00aeddde1c"},{"type":"user_defined_selection","id":"efa7acbd-dea5-5093-91a3-33ae75eea6c8"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}}]}' headers: Cache-Control: - no-cache @@ -83,13 +83,13 @@ interactions: Content-Type: - application/json Date: - - Fri, 25 Sep 2020 15:28:47 GMT + - Fri, 25 Sep 2020 20:40:30 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 15:28:46 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 20:40:30 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; @@ -98,7 +98,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - h6yqPaHNwx3ZGZPMs75pO93HC01YoL8B6e/Fb89zqQCmU57u6KTAhksrYQV/dzkY + - 1rlggRfE73pEFFllgZfChM1RZODDnKFUyVMEk3an2/a5+lJByU7Porp1iIMqRaO7 X-Dd-Version: - "35.3093372" X-Frame-Options: @@ -117,12 +117,12 @@ interactions: User-Agent: - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "419176653002889153" + - "8457274948760118590" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "965707027367868226" - url: https://api.datadoghq.com/api/v2/incidents/b7b7f750-8f26-5bdc-a685-dc7dfe3b4939 + - "7044037302352205424" + url: https://api.datadoghq.com/api/v2/incidents/37f4fce7-bb70-5d54-89ef-20f18684fcac method: DELETE response: body: "" @@ -136,20 +136,20 @@ interactions: Content-Type: - application/json Date: - - Fri, 25 Sep 2020 15:28:47 GMT + - Fri, 25 Sep 2020 20:40:31 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 15:28:47 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 20:40:30 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff X-Dd-Debug: - - AGh2z0D5UkBmrFSY8KEgwxlk+3zQrHHi5H3jTZYGf1x5LPiMFZSRYRPxDqFii9PS + - 91aMs4Xd/NaPhGMoIvSvdd0mjw6sy0ZqzVUdTt9hqt35qwhu0snxCQESFXt90Pzi X-Dd-Version: - "35.3093372" X-Frame-Options: diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_the_details_of_an_incident_returns__OK__response.freeze b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_the_details_of_an_incident_returns__OK__response.freeze index fd25cb9f53a..4d5ab93766f 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_the_details_of_an_incident_returns__OK__response.freeze +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_the_details_of_an_incident_returns__OK__response.freeze @@ -1 +1 @@ -2020-09-25T11:28:53.895544-04:00 \ No newline at end of file +2020-09-25T16:40:38.853844-04:00 \ No newline at end of file diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_the_details_of_an_incident_returns__OK__response.yaml b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_the_details_of_an_incident_returns__OK__response.yaml index 2efb80e60b6..81896c674bf 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_the_details_of_an_incident_returns__OK__response.yaml +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_the_details_of_an_incident_returns__OK__response.yaml @@ -3,7 +3,7 @@ version: 1 interactions: - request: body: | - {"data":{"attributes":{"customer_impacted":false,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_the_details_of_an_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1601047733"},"type":"incidents"}} + {"data":{"attributes":{"customer_impacted":false,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_the_details_of_an_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1601066438"},"type":"incidents"}} form: {} headers: Accept: @@ -15,15 +15,15 @@ interactions: User-Agent: - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "5227316599637140537" + - "645683379019331391" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "5956317174867224071" + - "1457845549447946716" url: https://api.datadoghq.com/api/v2/incidents method: POST response: - body: '{"data":{"type":"incidents","id":"11d23aec-6b9b-52e9-ac66-52f9ccc81162","attributes":{"public_id":162,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_the_details_of_an_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1601047733","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"last_modified_by_uuid":null,"created":"2020-09-25T15:28:54.017177+00:00","modified":"2020-09-25T15:28:54.017177+00:00","commander":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"state":"active","detected":"2020-09-25T15:28:54.015656+00:00","created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"created_by_uuid":null,"creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null,"additional_notifications":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[]},"user_defined_fields":{"data":[]},"postmortem":{"data":null},"integrations":{"data":[]}}}}' + body: '{"data":{"type":"incidents","id":"cb23a584-dc22-5217-8dbc-279f99be360f","attributes":{"public_id":200,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_the_details_of_an_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1601066438","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"last_modified_by_uuid":null,"created":"2020-09-25T20:40:38.937394+00:00","modified":"2020-09-25T20:40:38.937394+00:00","commander":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"state":"active","detected":"2020-09-25T20:40:38.935781+00:00","created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"created_by_uuid":null,"creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null,"additional_notifications":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[]},"user_defined_fields":{"data":[]},"postmortem":{"data":null},"integrations":{"data":[]}}}}' headers: Cache-Control: - no-cache @@ -34,20 +34,20 @@ interactions: Content-Type: - application/json Date: - - Fri, 25 Sep 2020 15:28:56 GMT + - Fri, 25 Sep 2020 20:40:41 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 15:28:53 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 20:40:38 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff X-Dd-Debug: - - sLT3tMuT71X28AXLk8mlGwO3D5oSAoXgZd6lTF4A+2/3S3PMDx4PqPKge+DRhV/G + - ZpBCDU/bpmKaDCX3ezcoTB0mBcER1z/7nopw48EhUJ44Kn+wkWF9LGL4tUdS8yc3 X-Dd-Version: - "35.3093372" X-Frame-Options: @@ -66,15 +66,15 @@ interactions: User-Agent: - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "7053283186301623775" + - "6664274024521767795" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "5956317174867224071" - url: https://api.datadoghq.com/api/v2/incidents/11d23aec-6b9b-52e9-ac66-52f9ccc81162 + - "1457845549447946716" + url: https://api.datadoghq.com/api/v2/incidents/cb23a584-dc22-5217-8dbc-279f99be360f method: GET response: - body: '{"data":{"type":"incidents","id":"11d23aec-6b9b-52e9-ac66-52f9ccc81162","attributes":{"public_id":162,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_the_details_of_an_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1601047733","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-25T15:28:54.017177+00:00","modified":"2020-09-25T15:28:54.017177+00:00","state":"active","detected":"2020-09-25T15:28:54.015656+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"4dee5e1e-ee03-5917-a8a1-a83d1961e5ba"},{"type":"user_defined_selection","id":"a85acd2c-1a5e-571e-9796-732d49c28887"},{"type":"user_defined_selection","id":"7bf43380-705b-54c7-91be-56cea3dc8b2f"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}}}' + body: '{"data":{"type":"incidents","id":"cb23a584-dc22-5217-8dbc-279f99be360f","attributes":{"public_id":200,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_the_details_of_an_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1601066438","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-25T20:40:38.937394+00:00","modified":"2020-09-25T20:40:38.937394+00:00","state":"active","detected":"2020-09-25T20:40:38.935781+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"279303a3-8ad5-54fd-9d80-f07f887f6cc8"},{"type":"user_defined_selection","id":"ca513ffc-b1e7-56eb-8332-5822b37f1689"},{"type":"user_defined_selection","id":"dbcc641a-9594-549c-bb72-ac7b124410e1"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}}}' headers: Cache-Control: - no-cache @@ -83,13 +83,13 @@ interactions: Content-Type: - application/json Date: - - Fri, 25 Sep 2020 15:28:56 GMT + - Fri, 25 Sep 2020 20:40:41 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 15:28:56 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 20:40:41 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; @@ -98,7 +98,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - bCBSaf0t3cWhIJuGOGz9PtbBY7MrMPu1HpZVAposegdxNlFMe/qHi/UbtNAIVmzS + - motUb+3MrSbL60qP2VQvKfticEMFw/ITb9aZ1t0IvCT8MphWULXKj1d6mnYOkJDn X-Dd-Version: - "35.3093372" X-Frame-Options: @@ -117,12 +117,12 @@ interactions: User-Agent: - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "1458398852019134994" + - "3372946673225976188" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "5956317174867224071" - url: https://api.datadoghq.com/api/v2/incidents/11d23aec-6b9b-52e9-ac66-52f9ccc81162 + - "1457845549447946716" + url: https://api.datadoghq.com/api/v2/incidents/cb23a584-dc22-5217-8dbc-279f99be360f method: DELETE response: body: "" @@ -136,20 +136,20 @@ interactions: Content-Type: - application/json Date: - - Fri, 25 Sep 2020 15:28:56 GMT + - Fri, 25 Sep 2020 20:40:41 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 15:28:56 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 20:40:41 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff X-Dd-Debug: - - ViVCPXX6Ly37Yq2uFkha4NuJPBq3hQNknFQSAg7/RbVncSIYTDoKelvl87NEURiA + - +TTazL1HF8qoxYARkG/60PGoq8sbkYkmqeurNry46zV0aHqBZfUrKqxtiyo42NRf X-Dd-Version: - "35.3093372" X-Frame-Options: diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Update_an_existing_incident_returns__OK__response.freeze b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Update_an_existing_incident_returns__OK__response.freeze index 531592e8a73..6c9f6eb88d8 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Update_an_existing_incident_returns__OK__response.freeze +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Update_an_existing_incident_returns__OK__response.freeze @@ -1 +1 @@ -2020-09-25T11:28:56.936221-04:00 \ No newline at end of file +2020-09-25T16:40:41.643974-04:00 \ No newline at end of file diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Update_an_existing_incident_returns__OK__response.yaml b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Update_an_existing_incident_returns__OK__response.yaml index 88737c2245f..595b99f4298 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Update_an_existing_incident_returns__OK__response.yaml +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Update_an_existing_incident_returns__OK__response.yaml @@ -3,7 +3,7 @@ version: 1 interactions: - request: body: | - {"data":{"attributes":{"customer_impacted":false,"title":"go-TestScenarios-Feature_Incidents-Scenario_Update_an_existing_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1601047736"},"type":"incidents"}} + {"data":{"attributes":{"customer_impacted":false,"title":"go-TestScenarios-Feature_Incidents-Scenario_Update_an_existing_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1601066441"},"type":"incidents"}} form: {} headers: Accept: @@ -15,15 +15,15 @@ interactions: User-Agent: - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "8850176625258646700" + - "1110672234891079807" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "2171768961581429651" + - "6525612364889618804" url: https://api.datadoghq.com/api/v2/incidents method: POST response: - body: '{"data":{"type":"incidents","id":"a9db01b7-fcff-57c5-b9ba-bf3cc76cbb5e","attributes":{"public_id":163,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Update_an_existing_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1601047736","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"last_modified_by_uuid":null,"created":"2020-09-25T15:28:57.031312+00:00","modified":"2020-09-25T15:28:57.031312+00:00","commander":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"state":"active","detected":"2020-09-25T15:28:57.019538+00:00","created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"created_by_uuid":null,"creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null,"additional_notifications":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[]},"user_defined_fields":{"data":[]},"postmortem":{"data":null},"integrations":{"data":[]}}}}' + body: '{"data":{"type":"incidents","id":"7cd02c20-f1ce-5636-bb58-4cbfad5cac40","attributes":{"public_id":201,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Update_an_existing_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1601066441","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"last_modified_by_uuid":null,"created":"2020-09-25T20:40:41.728538+00:00","modified":"2020-09-25T20:40:41.728538+00:00","commander":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"state":"active","detected":"2020-09-25T20:40:41.726952+00:00","created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"created_by_uuid":null,"creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null,"additional_notifications":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[]},"user_defined_fields":{"data":[]},"postmortem":{"data":null},"integrations":{"data":[]}}}}' headers: Cache-Control: - no-cache @@ -34,20 +34,20 @@ interactions: Content-Type: - application/json Date: - - Fri, 25 Sep 2020 15:28:58 GMT + - Fri, 25 Sep 2020 20:40:44 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 15:28:56 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 20:40:41 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff X-Dd-Debug: - - JNmeA3l0ccOXtA8wh8DpQGSmyIQ4z3r0Sqn1W1sQHkMGKxYzMqf/DJpF1RAS+Dpy + - 91aMs4Xd/NaPhGMoIvSvdd0mjw6sy0ZqzVUdTt9hqt35qwhu0snxCQESFXt90Pzi X-Dd-Version: - "35.3093372" X-Frame-Options: @@ -57,7 +57,7 @@ interactions: duration: "" - request: body: | - {"data":{"attributes":{"title":"go-TestScenarios-Feature_Incidents-Scenario_Update_an_existing_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1601047736-updated"},"id":"a9db01b7-fcff-57c5-b9ba-bf3cc76cbb5e","type":"incidents"}} + {"data":{"attributes":{"title":"go-TestScenarios-Feature_Incidents-Scenario_Update_an_existing_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1601066441-updated"},"id":"7cd02c20-f1ce-5636-bb58-4cbfad5cac40","type":"incidents"}} form: {} headers: Accept: @@ -69,15 +69,15 @@ interactions: User-Agent: - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "7606952730134173356" + - "1240129407081788615" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "2171768961581429651" - url: https://api.datadoghq.com/api/v2/incidents/a9db01b7-fcff-57c5-b9ba-bf3cc76cbb5e + - "6525612364889618804" + url: https://api.datadoghq.com/api/v2/incidents/7cd02c20-f1ce-5636-bb58-4cbfad5cac40 method: PATCH response: - body: '{"data":{"type":"incidents","id":"a9db01b7-fcff-57c5-b9ba-bf3cc76cbb5e","attributes":{"public_id":163,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Update_an_existing_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1601047736-updated","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-25T15:28:57.031312+00:00","modified":"2020-09-25T15:28:58.601656+00:00","commander":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"state":"active","detected":"2020-09-25T15:28:57.019538+00:00","created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"7c183155-def4-50ba-9f42-d35dda585e96"},{"type":"user_defined_selection","id":"4bd473b3-8f26-5352-9167-ed8036edf7b3"},{"type":"user_defined_selection","id":"106be533-2224-5aa8-8f23-9a062718e758"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}}}' + body: '{"data":{"type":"incidents","id":"7cd02c20-f1ce-5636-bb58-4cbfad5cac40","attributes":{"public_id":201,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Update_an_existing_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1601066441-updated","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-25T20:40:41.728538+00:00","modified":"2020-09-25T20:40:44.857597+00:00","commander":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"state":"active","detected":"2020-09-25T20:40:41.726952+00:00","created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"bc6b0e4e-40e3-5270-88fd-2d58d91f3315"},{"type":"user_defined_selection","id":"6c83a876-4aef-54cf-bfb4-eb12ff41e1c9"},{"type":"user_defined_selection","id":"d2f7f67b-e808-55d8-a0d8-8a8dc87fda81"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}}}' headers: Cache-Control: - no-cache @@ -86,13 +86,13 @@ interactions: Content-Type: - application/json Date: - - Fri, 25 Sep 2020 15:28:59 GMT + - Fri, 25 Sep 2020 20:40:46 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 15:28:58 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 20:40:44 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; @@ -101,7 +101,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - LX0aORViMOQWB8T+VX1PN+m0Q/BWIGM8lAfgs+SVlDy/am6DTkPEsJ9PcP8Pvumm + - BOgijYhCo0CttPnSWZcLYHKTePSgoxVuOq+kB6EUYRO9ebsORT5Z6Oj0yUoAyx8n X-Dd-Version: - "35.3093372" X-Frame-Options: @@ -120,12 +120,12 @@ interactions: User-Agent: - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "287609362823482080" + - "4440710983936675383" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "2171768961581429651" - url: https://api.datadoghq.com/api/v2/incidents/a9db01b7-fcff-57c5-b9ba-bf3cc76cbb5e + - "6525612364889618804" + url: https://api.datadoghq.com/api/v2/incidents/7cd02c20-f1ce-5636-bb58-4cbfad5cac40 method: DELETE response: body: "" @@ -139,20 +139,20 @@ interactions: Content-Type: - application/json Date: - - Fri, 25 Sep 2020 15:29:00 GMT + - Fri, 25 Sep 2020 20:40:47 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 15:28:59 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 20:40:46 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff X-Dd-Debug: - - Et2YiqVRxti9EZo6Gk/yyRrgDmYxZuoE62JE6GLJjDYX0PgDmkmo9d4ASFrtRIDj + - +TTazL1HF8qoxYARkG/60PGoq8sbkYkmqeurNry46zV0aHqBZfUrKqxtiyo42NRf X-Dd-Version: - "35.3093372" X-Frame-Options: diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Create_a_new_service_returns__CREATED__response.freeze b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Create_a_new_service_returns__CREATED__response.freeze index 5b53bbb6a7d..5335841405c 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Create_a_new_service_returns__CREATED__response.freeze +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Create_a_new_service_returns__CREATED__response.freeze @@ -1 +1 @@ -2020-09-24T01:33:23.639022-04:00 \ No newline at end of file +2020-09-25T16:48:57.880363-04:00 \ No newline at end of file diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Create_a_new_service_returns__CREATED__response.yaml b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Create_a_new_service_returns__CREATED__response.yaml index 0c7eac73401..855e761955c 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Create_a_new_service_returns__CREATED__response.yaml +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Create_a_new_service_returns__CREATED__response.yaml @@ -3,7 +3,7 @@ version: 1 interactions: - request: body: | - {"data":{"attributes":{"name":"go-Feature_Services-Scenario_Create_a_new_service_returns__CREATED__response-local-1600925603"},"type":"services"}} + {"data":{"attributes":{"name":"go-Feature_Services-Scenario_Create_a_new_service_returns__CREATED__response-local-1601066937"},"type":"services"}} form: {} headers: Accept: @@ -15,15 +15,15 @@ interactions: User-Agent: - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "7582826446091674410" + - "1490055901088547168" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "5382342405151180944" + - "6506649640635333773" url: https://api.datadoghq.com/api/v2/services method: POST response: - body: '{"included":[{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"name":null,"handle":"frog@datadoghq.com","created_at":"2019-10-02T08:15:39.795051+00:00","email":"frog@datadoghq.com","icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro","title":null,"verified":true,"disabled":false,"allowed_login_methods":[],"status":"Active"},"relationships":{"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}],"data":{"type":"services","id":"16c0fd28-a8eb-5e0a-a400-242675cea50a","attributes":{"name":"go-Feature_Services-Scenario_Create_a_new_service_returns__CREATED__response-local-1600925603","created":"2020-09-24T05:33:23.725723+00:00","modified":"2020-09-24T05:33:23.725723+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}}}' + body: '{"included":[{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"name":null,"handle":"frog@datadoghq.com","created_at":"2019-10-02T08:15:39.795051+00:00","email":"frog@datadoghq.com","icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro","title":null,"verified":true,"disabled":false,"allowed_login_methods":[],"status":"Active"},"relationships":{"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}],"data":{"type":"services","id":"d7074593-f71b-5862-bd56-f9f8b78f9c6a","attributes":{"name":"go-Feature_Services-Scenario_Create_a_new_service_returns__CREATED__response-local-1601066937","created":"2020-09-25T20:48:57.938945+00:00","modified":"2020-09-25T20:48:57.938945+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}}}' headers: Cache-Control: - no-cache @@ -34,24 +34,75 @@ interactions: Content-Type: - application/json Date: - - Thu, 24 Sep 2020 05:33:23 GMT + - Fri, 25 Sep 2020 20:48:58 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 01-Oct-2020 05:33:23 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 20:48:57 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff X-Dd-Debug: - - mjjix3i7KxHakJGjOSXbyjGLp+IPNWPrPaCVopgkuqm46lk1b+kLivuxRokDQC1N + - DRZWTHDeKolQqk6GEAFoSVDF1cV93C/z8xwO7umb9e0luQPYr8BUl8IXxXdpfaM5 X-Dd-Version: - - "35.3085403" + - "35.3093372" X-Frame-Options: - SAMEORIGIN status: 201 Created code: 201 duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Dd-Operation-Id: + - DeleteService + User-Agent: + - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "8633201184916384951" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "6506649640635333773" + url: https://api.datadoghq.com/api/v2/services/d7074593-f71b-5862-bd56-f9f8b78f9c6a + method: DELETE + response: + body: "" + headers: + Cache-Control: + - no-cache + Connection: + - keep-alive + Content-Length: + - "0" + Content-Type: + - application/json + Date: + - Fri, 25 Sep 2020 20:48:58 GMT + Dd-Pool: + - dogweb + Pragma: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 20:48:58 GMT; + secure; HttpOnly + Strict-Transport-Security: + - max-age=15724800; + X-Content-Type-Options: + - nosniff + X-Dd-Debug: + - CUBCyaoXY2JdeHi5oQm4sg9onCJMsjgVJ5jLk2ugM2iR7uz4Q+lvjzDdvtcYDFC3 + X-Dd-Version: + - "35.3093372" + X-Frame-Options: + - SAMEORIGIN + status: 204 No Content + code: 204 + duration: "" diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Delete_an_existing_service_returns__OK__response.freeze b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Delete_an_existing_service_returns__OK__response.freeze index 6cd6071271d..c33d856180e 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Delete_an_existing_service_returns__OK__response.freeze +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Delete_an_existing_service_returns__OK__response.freeze @@ -1 +1 @@ -2020-09-24T01:33:23.829024-04:00 \ No newline at end of file +2020-09-25T16:48:58.531565-04:00 \ No newline at end of file diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Delete_an_existing_service_returns__OK__response.yaml b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Delete_an_existing_service_returns__OK__response.yaml index 6da2856ee81..01467106fae 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Delete_an_existing_service_returns__OK__response.yaml +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Delete_an_existing_service_returns__OK__response.yaml @@ -3,7 +3,7 @@ version: 1 interactions: - request: body: | - {"data":{"attributes":{"name":"go-TestScenarios-Feature_Services-Scenario_Delete_an_existing_service_returns__OK__response-Given_there_is_a_valid__service__in_the_system-local-1600925603"},"type":"services"}} + {"data":{"attributes":{"name":"go-TestScenarios-Feature_Services-Scenario_Delete_an_existing_service_returns__OK__response-Given_there_is_a_valid__service__in_the_system-local-1601066938"},"type":"services"}} form: {} headers: Accept: @@ -15,15 +15,15 @@ interactions: User-Agent: - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "4487326391402665905" + - "3671746275595989366" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "5626246693395613650" + - "5620138184225733963" url: https://api.datadoghq.com/api/v2/services method: POST response: - body: '{"included":[{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"name":null,"handle":"frog@datadoghq.com","created_at":"2019-10-02T08:15:39.795051+00:00","email":"frog@datadoghq.com","icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro","title":null,"verified":true,"disabled":false,"allowed_login_methods":[],"status":"Active"},"relationships":{"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}],"data":{"type":"services","id":"13299084-51fb-50d7-902b-8a7a5392efdb","attributes":{"name":"go-TestScenarios-Feature_Services-Scenario_Delete_an_existing_service_returns__OK__response-Given_there_is_a_valid__service__in_the_system-local-1600925603","created":"2020-09-24T05:33:23.882449+00:00","modified":"2020-09-24T05:33:23.882449+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}}}' + body: '{"included":[{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"name":null,"handle":"frog@datadoghq.com","created_at":"2019-10-02T08:15:39.795051+00:00","email":"frog@datadoghq.com","icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro","title":null,"verified":true,"disabled":false,"allowed_login_methods":[],"status":"Active"},"relationships":{"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}],"data":{"type":"services","id":"7f83e63f-a508-5a25-8126-903a13c4115a","attributes":{"name":"go-TestScenarios-Feature_Services-Scenario_Delete_an_existing_service_returns__OK__response-Given_there_is_a_valid__service__in_the_system-local-1601066938","created":"2020-09-25T20:48:58.622046+00:00","modified":"2020-09-25T20:48:58.622046+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}}}' headers: Cache-Control: - no-cache @@ -34,22 +34,22 @@ interactions: Content-Type: - application/json Date: - - Thu, 24 Sep 2020 05:33:25 GMT + - Fri, 25 Sep 2020 20:48:58 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 01-Oct-2020 05:33:23 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 20:48:58 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff X-Dd-Debug: - - yh6YON+7jbeDMg7CO+AYyoesqWeq0Iw5xzcOjFKKupoYHnh4eyLWds2GSgfB/+lP + - A4zC5dDmz3QSTWXoflmdTKsS5dpIBJJrn2zMHspFpRSdDDnIHcmGhVikJ7NEySaP X-Dd-Version: - - "35.3085403" + - "35.3093372" X-Frame-Options: - SAMEORIGIN status: 201 Created @@ -66,12 +66,12 @@ interactions: User-Agent: - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "3066420495717145193" + - "4900027743862996230" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "5626246693395613650" - url: https://api.datadoghq.com/api/v2/services/13299084-51fb-50d7-902b-8a7a5392efdb + - "5620138184225733963" + url: https://api.datadoghq.com/api/v2/services/7f83e63f-a508-5a25-8126-903a13c4115a method: DELETE response: body: "" @@ -85,22 +85,22 @@ interactions: Content-Type: - application/json Date: - - Thu, 24 Sep 2020 05:33:26 GMT + - Fri, 25 Sep 2020 20:49:00 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 01-Oct-2020 05:33:25 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 20:48:58 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff X-Dd-Debug: - - ZTMib3S/rZeXw/RhaeaehRILC7QJAaERfyf3m4/am8FN44e9rxbkPcmk4YzKBISj + - vJlCdCjZjHKDWCQaZXaKHjefwu7Jotxr42UmWttwNlCEvibEd08wFg9UscwYl4z7 X-Dd-Version: - - "35.3085403" + - "35.3093372" X-Frame-Options: - SAMEORIGIN status: 204 No Content @@ -117,15 +117,15 @@ interactions: User-Agent: - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "4730935802088621257" + - "8373327817834779738" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "5626246693395613650" - url: https://api.datadoghq.com/api/v2/services/13299084-51fb-50d7-902b-8a7a5392efdb + - "5620138184225733963" + url: https://api.datadoghq.com/api/v2/services/7f83e63f-a508-5a25-8126-903a13c4115a method: DELETE response: - body: '{"errors": ["service 13299084-51fb-50d7-902b-8a7a5392efdb not found"]}' + body: '{"errors": ["service 7f83e63f-a508-5a25-8126-903a13c4115a not found"]}' headers: Cache-Control: - no-cache @@ -134,7 +134,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 24 Sep 2020 05:33:27 GMT + - Fri, 25 Sep 2020 20:49:00 GMT Dd-Pool: - dogweb Pragma: @@ -146,7 +146,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.3085403" + - "35.3093372" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Get_a_list_of_all_services_returns__OK__response.freeze b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Get_a_list_of_all_services_returns__OK__response.freeze index c2d5fdd964b..85ca75542cd 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Get_a_list_of_all_services_returns__OK__response.freeze +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Get_a_list_of_all_services_returns__OK__response.freeze @@ -1 +1 @@ -2020-09-24T01:33:23.259498-04:00 \ No newline at end of file +2020-09-25T16:48:55.190479-04:00 \ No newline at end of file diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Get_a_list_of_all_services_returns__OK__response.yaml b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Get_a_list_of_all_services_returns__OK__response.yaml index f712bbd5f88..1b26028d7ac 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Get_a_list_of_all_services_returns__OK__response.yaml +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Get_a_list_of_all_services_returns__OK__response.yaml @@ -3,7 +3,7 @@ version: 1 interactions: - request: body: | - {"data":{"attributes":{"name":"go-TestScenarios-Feature_Services-Scenario_Get_a_list_of_all_services_returns__OK__response-Given_there_is_a_valid__service__in_the_system-local-1600925603"},"type":"services"}} + {"data":{"attributes":{"name":"go-TestScenarios-Feature_Services-Scenario_Get_a_list_of_all_services_returns__OK__response-Given_there_is_a_valid__service__in_the_system-local-1601066935"},"type":"services"}} form: {} headers: Accept: @@ -15,15 +15,15 @@ interactions: User-Agent: - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "6163378636693955415" + - "662019090505350196" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "1263351745717110177" + - "8643669199315581999" url: https://api.datadoghq.com/api/v2/services method: POST response: - body: '{"included":[{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"name":null,"handle":"frog@datadoghq.com","created_at":"2019-10-02T08:15:39.795051+00:00","email":"frog@datadoghq.com","icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro","title":null,"verified":true,"disabled":false,"allowed_login_methods":[],"status":"Active"},"relationships":{"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}],"data":{"type":"services","id":"198c7f45-b8c7-5443-b1d2-128561129a74","attributes":{"name":"go-TestScenarios-Feature_Services-Scenario_Get_a_list_of_all_services_returns__OK__response-Given_there_is_a_valid__service__in_the_system-local-1600925603","created":"2020-09-24T05:33:23.492536+00:00","modified":"2020-09-24T05:33:23.492536+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}}}' + body: '{"included":[{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"name":null,"handle":"frog@datadoghq.com","created_at":"2019-10-02T08:15:39.795051+00:00","email":"frog@datadoghq.com","icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro","title":null,"verified":true,"disabled":false,"allowed_login_methods":[],"status":"Active"},"relationships":{"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}],"data":{"type":"services","id":"c1bb6a6e-a33e-56cb-bf75-e7704c27014e","attributes":{"name":"go-TestScenarios-Feature_Services-Scenario_Get_a_list_of_all_services_returns__OK__response-Given_there_is_a_valid__service__in_the_system-local-1601066935","created":"2020-09-25T20:48:55.445552+00:00","modified":"2020-09-25T20:48:55.445552+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}}}' headers: Cache-Control: - no-cache @@ -34,22 +34,22 @@ interactions: Content-Type: - application/json Date: - - Thu, 24 Sep 2020 05:33:23 GMT + - Fri, 25 Sep 2020 20:48:55 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 01-Oct-2020 05:33:23 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 20:48:55 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff X-Dd-Debug: - - /3efrffY0fOidOw5YXy+ujUt+jIWndj9KkkaQ3CKNiYFs6CCTkTChAR8M9mejUqc + - WrTDvawKJxc/3XHcVO+oe9kLOi9bBLB0fyesfpZ4AlLEoPVyUvH7rJdlyTxrqyNg X-Dd-Version: - - "35.3085403" + - "35.3093372" X-Frame-Options: - SAMEORIGIN status: 201 Created @@ -66,15 +66,15 @@ interactions: User-Agent: - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "9142606650649087681" + - "3374233948551475789" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "1263351745717110177" + - "8643669199315581999" url: https://api.datadoghq.com/api/v2/services method: GET response: - body: '{"meta":{"sort":"ASC","pagination":{"size":1,"next_offset":1,"offset":0}},"data":[{"type":"services","id":"198c7f45-b8c7-5443-b1d2-128561129a74","attributes":{"name":"go-TestScenarios-Feature_Services-Scenario_Get_a_list_of_all_services_returns__OK__response-Given_there_is_a_valid__service__in_the_system-local-1600925603","created":"2020-09-24T05:33:23.492536+00:00","modified":"2020-09-24T05:33:23.492536+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}}]}' + body: '{"meta":{"sort":"ASC","pagination":{"size":1,"next_offset":1,"offset":0}},"data":[{"type":"services","id":"c1bb6a6e-a33e-56cb-bf75-e7704c27014e","attributes":{"name":"go-TestScenarios-Feature_Services-Scenario_Get_a_list_of_all_services_returns__OK__response-Given_there_is_a_valid__service__in_the_system-local-1601066935","created":"2020-09-25T20:48:55.445552+00:00","modified":"2020-09-25T20:48:55.445552+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}}]}' headers: Cache-Control: - no-cache @@ -83,13 +83,13 @@ interactions: Content-Type: - application/json Date: - - Thu, 24 Sep 2020 05:33:23 GMT + - Fri, 25 Sep 2020 20:48:56 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 01-Oct-2020 05:33:23 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 20:48:56 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; @@ -98,11 +98,62 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - lKll3lGDR6bdL87y2ZcIDGBHaKB6Lp4z+AEDmrbX+YH1ArsyWGPfzqrSY7ZJT5EB + - amxMFAqiSVjNyNv9bH0oCnBEjAVk4yOIMrMQTyRWQ0WFa2JUcjQXHejBMO8Fj7RQ X-Dd-Version: - - "35.3085403" + - "35.3093372" X-Frame-Options: - SAMEORIGIN status: 200 OK code: 200 duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Dd-Operation-Id: + - DeleteService + User-Agent: + - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "3793620090479586323" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "8643669199315581999" + url: https://api.datadoghq.com/api/v2/services/c1bb6a6e-a33e-56cb-bf75-e7704c27014e + method: DELETE + response: + body: "" + headers: + Cache-Control: + - no-cache + Connection: + - keep-alive + Content-Length: + - "0" + Content-Type: + - application/json + Date: + - Fri, 25 Sep 2020 20:48:57 GMT + Dd-Pool: + - dogweb + Pragma: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 20:48:56 GMT; + secure; HttpOnly + Strict-Transport-Security: + - max-age=15724800; + X-Content-Type-Options: + - nosniff + X-Dd-Debug: + - rbGMi63XY6ETkPw9boG8yUDqogZ/1IN0Hh4Igu952urF41BH1CFuhykimklaERoh + X-Dd-Version: + - "35.3093372" + X-Frame-Options: + - SAMEORIGIN + status: 204 No Content + code: 204 + duration: "" diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Get_details_of_a_service_returns__OK__response.freeze b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Get_details_of_a_service_returns__OK__response.freeze index 97f56cf0917..6bbe3527497 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Get_details_of_a_service_returns__OK__response.freeze +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Get_details_of_a_service_returns__OK__response.freeze @@ -1 +1 @@ -2020-09-24T01:33:27.086254-04:00 \ No newline at end of file +2020-09-25T16:49:00.678708-04:00 \ No newline at end of file diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Get_details_of_a_service_returns__OK__response.yaml b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Get_details_of_a_service_returns__OK__response.yaml index 0c12d7fc1cf..1300fc40337 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Get_details_of_a_service_returns__OK__response.yaml +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Get_details_of_a_service_returns__OK__response.yaml @@ -3,7 +3,7 @@ version: 1 interactions: - request: body: | - {"data":{"attributes":{"name":"go-TestScenarios-Feature_Services-Scenario_Get_details_of_a_service_returns__OK__response-Given_there_is_a_valid__service__in_the_system-local-1600925607"},"type":"services"}} + {"data":{"attributes":{"name":"go-TestScenarios-Feature_Services-Scenario_Get_details_of_a_service_returns__OK__response-Given_there_is_a_valid__service__in_the_system-local-1601066940"},"type":"services"}} form: {} headers: Accept: @@ -15,15 +15,15 @@ interactions: User-Agent: - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "1954820718596096085" + - "5784305786849665869" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "8261002339541471792" + - "8673337226263974854" url: https://api.datadoghq.com/api/v2/services method: POST response: - body: '{"included":[{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"name":null,"handle":"frog@datadoghq.com","created_at":"2019-10-02T08:15:39.795051+00:00","email":"frog@datadoghq.com","icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro","title":null,"verified":true,"disabled":false,"allowed_login_methods":[],"status":"Active"},"relationships":{"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}],"data":{"type":"services","id":"e09b3af4-556c-5960-bc3b-d350d7df8dc4","attributes":{"name":"go-TestScenarios-Feature_Services-Scenario_Get_details_of_a_service_returns__OK__response-Given_there_is_a_valid__service__in_the_system-local-1600925607","created":"2020-09-24T05:33:27.134973+00:00","modified":"2020-09-24T05:33:27.134973+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}}}' + body: '{"included":[{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"name":null,"handle":"frog@datadoghq.com","created_at":"2019-10-02T08:15:39.795051+00:00","email":"frog@datadoghq.com","icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro","title":null,"verified":true,"disabled":false,"allowed_login_methods":[],"status":"Active"},"relationships":{"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}],"data":{"type":"services","id":"69957ebe-54e2-5958-9c6c-172e00cf4e24","attributes":{"name":"go-TestScenarios-Feature_Services-Scenario_Get_details_of_a_service_returns__OK__response-Given_there_is_a_valid__service__in_the_system-local-1601066940","created":"2020-09-25T20:49:00.735410+00:00","modified":"2020-09-25T20:49:00.735410+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}}}' headers: Cache-Control: - no-cache @@ -34,22 +34,22 @@ interactions: Content-Type: - application/json Date: - - Thu, 24 Sep 2020 05:33:28 GMT + - Fri, 25 Sep 2020 20:49:00 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 01-Oct-2020 05:33:27 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 20:49:00 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff X-Dd-Debug: - - CUBCyaoXY2JdeHi5oQm4sg9onCJMsjgVJ5jLk2ugM2iR7uz4Q+lvjzDdvtcYDFC3 + - TlObKNxJC6mRjORAptBjah7X7IZlZoWDhxDuIhUdNUMmnkpihyb67mpyYPwy4Xl5 X-Dd-Version: - - "35.3085403" + - "35.3093372" X-Frame-Options: - SAMEORIGIN status: 201 Created @@ -66,15 +66,15 @@ interactions: User-Agent: - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "5160600378795186530" + - "3177561693870532089" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "8261002339541471792" - url: https://api.datadoghq.com/api/v2/services/e09b3af4-556c-5960-bc3b-d350d7df8dc4 + - "8673337226263974854" + url: https://api.datadoghq.com/api/v2/services/69957ebe-54e2-5958-9c6c-172e00cf4e24 method: GET response: - body: '{"data":{"type":"services","id":"e09b3af4-556c-5960-bc3b-d350d7df8dc4","attributes":{"name":"go-TestScenarios-Feature_Services-Scenario_Get_details_of_a_service_returns__OK__response-Given_there_is_a_valid__service__in_the_system-local-1600925607","created":"2020-09-24T05:33:27.134973+00:00","modified":"2020-09-24T05:33:27.134973+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}}}' + body: '{"data":{"type":"services","id":"69957ebe-54e2-5958-9c6c-172e00cf4e24","attributes":{"name":"go-TestScenarios-Feature_Services-Scenario_Get_details_of_a_service_returns__OK__response-Given_there_is_a_valid__service__in_the_system-local-1601066940","created":"2020-09-25T20:49:00.735410+00:00","modified":"2020-09-25T20:49:00.735410+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}}}' headers: Cache-Control: - no-cache @@ -83,13 +83,13 @@ interactions: Content-Type: - application/json Date: - - Thu, 24 Sep 2020 05:33:28 GMT + - Fri, 25 Sep 2020 20:49:01 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 01-Oct-2020 05:33:28 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 20:49:01 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; @@ -98,11 +98,62 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - jUMr6d+5J+YuJ6qRYTR2w4bV5pSWL1aOCQq2Fsi4IDQJQgpLmKecXN7enHF4E9hf + - FP8Y2ks6/+u/R8ikARtQQYvp9IVj9nSQPYtAt3WVuBjumgKP35t8vnUuGfeHdr64 X-Dd-Version: - - "35.3085403" + - "35.3093372" X-Frame-Options: - SAMEORIGIN status: 200 OK code: 200 duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Dd-Operation-Id: + - DeleteService + User-Agent: + - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "8444805650394375247" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "8673337226263974854" + url: https://api.datadoghq.com/api/v2/services/69957ebe-54e2-5958-9c6c-172e00cf4e24 + method: DELETE + response: + body: "" + headers: + Cache-Control: + - no-cache + Connection: + - keep-alive + Content-Length: + - "0" + Content-Type: + - application/json + Date: + - Fri, 25 Sep 2020 20:49:01 GMT + Dd-Pool: + - dogweb + Pragma: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 20:49:01 GMT; + secure; HttpOnly + Strict-Transport-Security: + - max-age=15724800; + X-Content-Type-Options: + - nosniff + X-Dd-Debug: + - 2V6J6bfi8Lp+2UjnPdTvcW5IjbRGxJrhStYZW/ACt/za6xfDiK/Y5IuDyUadsRtA + X-Dd-Version: + - "35.3093372" + X-Frame-Options: + - SAMEORIGIN + status: 204 No Content + code: 204 + duration: "" diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Update_an_existing_service_returns__OK__response.freeze b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Update_an_existing_service_returns__OK__response.freeze index 14942ecc5bf..a2e2e3108ca 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Update_an_existing_service_returns__OK__response.freeze +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Update_an_existing_service_returns__OK__response.freeze @@ -1 +1 @@ -2020-09-24T01:33:28.277916-04:00 \ No newline at end of file +2020-09-25T16:49:01.706634-04:00 \ No newline at end of file diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Update_an_existing_service_returns__OK__response.yaml b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Update_an_existing_service_returns__OK__response.yaml index 00865254e15..6d2b9e9a31b 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Update_an_existing_service_returns__OK__response.yaml +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Services/Scenario_Update_an_existing_service_returns__OK__response.yaml @@ -3,7 +3,7 @@ version: 1 interactions: - request: body: | - {"data":{"attributes":{"name":"go-TestScenarios-Feature_Services-Scenario_Update_an_existing_service_returns__OK__response-Given_there_is_a_valid__service__in_the_system-local-1600925608"},"type":"services"}} + {"data":{"attributes":{"name":"go-TestScenarios-Feature_Services-Scenario_Update_an_existing_service_returns__OK__response-Given_there_is_a_valid__service__in_the_system-local-1601066941"},"type":"services"}} form: {} headers: Accept: @@ -15,15 +15,15 @@ interactions: User-Agent: - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "549743202535481020" + - "8656839380543717650" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "5391786533305751829" + - "3888804822235071029" url: https://api.datadoghq.com/api/v2/services method: POST response: - body: '{"included":[{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"name":null,"handle":"frog@datadoghq.com","created_at":"2019-10-02T08:15:39.795051+00:00","email":"frog@datadoghq.com","icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro","title":null,"verified":true,"disabled":false,"allowed_login_methods":[],"status":"Active"},"relationships":{"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}],"data":{"type":"services","id":"7f35bc74-2286-54e7-94b0-36b56019d5aa","attributes":{"name":"go-TestScenarios-Feature_Services-Scenario_Update_an_existing_service_returns__OK__response-Given_there_is_a_valid__service__in_the_system-local-1600925608","created":"2020-09-24T05:33:28.348325+00:00","modified":"2020-09-24T05:33:28.348325+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}}}' + body: '{"included":[{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"name":null,"handle":"frog@datadoghq.com","created_at":"2019-10-02T08:15:39.795051+00:00","email":"frog@datadoghq.com","icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro","title":null,"verified":true,"disabled":false,"allowed_login_methods":[],"status":"Active"},"relationships":{"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}],"data":{"type":"services","id":"7bbf5b83-7620-515c-9746-91a5c7515e94","attributes":{"name":"go-TestScenarios-Feature_Services-Scenario_Update_an_existing_service_returns__OK__response-Given_there_is_a_valid__service__in_the_system-local-1601066941","created":"2020-09-25T20:49:01.769378+00:00","modified":"2020-09-25T20:49:01.769378+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}}}' headers: Cache-Control: - no-cache @@ -34,22 +34,22 @@ interactions: Content-Type: - application/json Date: - - Thu, 24 Sep 2020 05:33:30 GMT + - Fri, 25 Sep 2020 20:49:01 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 01-Oct-2020 05:33:28 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 20:49:01 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff X-Dd-Debug: - - 4XEHrKCjPbSbs1iu1F78+tH4eaIPZCq+IGDoHN/GQcOsLq6w3Zzz7ZK1RqpTUzFS + - gKyXo3ULf4VOW0DRCpK6x6wW7WjimdWLkpQ5lRR6vSBvVWmlphnibJv0tavEU2N8 X-Dd-Version: - - "35.3085403" + - "35.3093372" X-Frame-Options: - SAMEORIGIN status: 201 Created @@ -57,7 +57,7 @@ interactions: duration: "" - request: body: | - {"data":{"attributes":{"name":"go-TestScenarios-Feature_Services-Scenario_Update_an_existing_service_returns__OK__response-Given_there_is_a_valid__service__in_the_system-local-1600925608-updated"},"id":"","type":"services"}} + {"data":{"attributes":{"name":"go-TestScenarios-Feature_Services-Scenario_Update_an_existing_service_returns__OK__response-Given_there_is_a_valid__service__in_the_system-local-1601066941-updated"},"id":"","type":"services"}} form: {} headers: Accept: @@ -69,15 +69,15 @@ interactions: User-Agent: - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "5752650937785222168" + - "3111644470006182330" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "5391786533305751829" - url: https://api.datadoghq.com/api/v2/services/7f35bc74-2286-54e7-94b0-36b56019d5aa + - "3888804822235071029" + url: https://api.datadoghq.com/api/v2/services/7bbf5b83-7620-515c-9746-91a5c7515e94 method: PATCH response: - body: '{"included":[{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"name":null,"handle":"frog@datadoghq.com","created_at":"2019-10-02T08:15:39.795051+00:00","email":"frog@datadoghq.com","icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro","title":null,"verified":true,"disabled":false,"allowed_login_methods":[],"status":"Active"},"relationships":{"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}],"data":{"type":"services","id":"7f35bc74-2286-54e7-94b0-36b56019d5aa","attributes":{"name":"go-TestScenarios-Feature_Services-Scenario_Update_an_existing_service_returns__OK__response-Given_there_is_a_valid__service__in_the_system-local-1600925608-updated","created":"2020-09-24T05:33:28.348325+00:00","modified":"2020-09-24T05:33:30.248536+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}}}' + body: '{"included":[{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"name":null,"handle":"frog@datadoghq.com","created_at":"2019-10-02T08:15:39.795051+00:00","email":"frog@datadoghq.com","icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro","title":null,"verified":true,"disabled":false,"allowed_login_methods":[],"status":"Active"},"relationships":{"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}],"data":{"type":"services","id":"7bbf5b83-7620-515c-9746-91a5c7515e94","attributes":{"name":"go-TestScenarios-Feature_Services-Scenario_Update_an_existing_service_returns__OK__response-Given_there_is_a_valid__service__in_the_system-local-1601066941-updated","created":"2020-09-25T20:49:01.769378+00:00","modified":"2020-09-25T20:49:01.913721+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}}}' headers: Cache-Control: - no-cache @@ -86,13 +86,13 @@ interactions: Content-Type: - application/json Date: - - Thu, 24 Sep 2020 05:33:30 GMT + - Fri, 25 Sep 2020 20:49:02 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 01-Oct-2020 05:33:30 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 20:49:01 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; @@ -101,11 +101,62 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - qPYq/BsSy2eKq2gMdNyZM6RD036QvDM3UxIO9lNLRZLDhjdGr/32oHrIceCxxIAV + - 0e2Tq/aa08wSuRoWDdF6eCwF8GPYPPLmf3Lxvgc5OscTNyr8D4p+ksnId5WnGnR4 X-Dd-Version: - - "35.3085403" + - "35.3093372" X-Frame-Options: - SAMEORIGIN status: 200 OK code: 200 duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Dd-Operation-Id: + - DeleteService + User-Agent: + - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "3278304660097176511" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "3888804822235071029" + url: https://api.datadoghq.com/api/v2/services/7bbf5b83-7620-515c-9746-91a5c7515e94 + method: DELETE + response: + body: "" + headers: + Cache-Control: + - no-cache + Connection: + - keep-alive + Content-Length: + - "0" + Content-Type: + - application/json + Date: + - Fri, 25 Sep 2020 20:49:04 GMT + Dd-Pool: + - dogweb + Pragma: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 20:49:02 GMT; + secure; HttpOnly + Strict-Transport-Security: + - max-age=15724800; + X-Content-Type-Options: + - nosniff + X-Dd-Debug: + - 60y8fjrf9Lhu8NRmYggZaUH1GQDnKp7ho4emCLNdZoXJeU4a0zvnmPIF2dQ+VP/K + X-Dd-Version: + - "35.3093372" + X-Frame-Options: + - SAMEORIGIN + status: 204 No Content + code: 204 + duration: "" diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Create_a_new_team_returns__CREATED__response.freeze b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Create_a_new_team_returns__CREATED__response.freeze index e3730b5c182..0493d98186c 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Create_a_new_team_returns__CREATED__response.freeze +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Create_a_new_team_returns__CREATED__response.freeze @@ -1 +1 @@ -2020-09-24T01:33:10.594262-04:00 \ No newline at end of file +2020-09-25T16:46:08.066646-04:00 \ No newline at end of file diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Create_a_new_team_returns__CREATED__response.yaml b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Create_a_new_team_returns__CREATED__response.yaml index c06b49aae3c..56d94360ba9 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Create_a_new_team_returns__CREATED__response.yaml +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Create_a_new_team_returns__CREATED__response.yaml @@ -3,7 +3,7 @@ version: 1 interactions: - request: body: | - {"data":{"attributes":{"name":"go-Feature_Teams-Scenario_Create_a_new_team_returns__CREATED__response-local-1600925590"},"type":"teams"}} + {"data":{"attributes":{"name":"go-Feature_Teams-Scenario_Create_a_new_team_returns__CREATED__response-local-1601066768"},"type":"teams"}} form: {} headers: Accept: @@ -15,15 +15,15 @@ interactions: User-Agent: - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "5162532253643459966" + - "213492866315613919" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "2819565571159866412" + - "1536353617709944289" url: https://api.datadoghq.com/api/v2/teams method: POST response: - body: '{"included":[{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"name":null,"handle":"frog@datadoghq.com","created_at":"2019-10-02T08:15:39.795051+00:00","email":"frog@datadoghq.com","icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro","title":null,"verified":true,"disabled":false,"allowed_login_methods":[],"status":"Active"},"relationships":{"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}],"data":{"type":"teams","id":"910af0d6-db35-5d3d-97a2-49e0de60f5fc","attributes":{"name":"go-Feature_Teams-Scenario_Create_a_new_team_returns__CREATED__response-local-1600925590","created":"2020-09-24T05:33:10.692473+00:00","modified":"2020-09-24T05:33:10.692473+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}}}' + body: '{"included":[{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"name":null,"handle":"frog@datadoghq.com","created_at":"2019-10-02T08:15:39.795051+00:00","email":"frog@datadoghq.com","icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro","title":null,"verified":true,"disabled":false,"allowed_login_methods":[],"status":"Active"},"relationships":{"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}],"data":{"type":"teams","id":"489634f0-51d2-5fc4-83dd-bf64a49ec3cc","attributes":{"name":"go-Feature_Teams-Scenario_Create_a_new_team_returns__CREATED__response-local-1601066768","created":"2020-09-25T20:46:08.157563+00:00","modified":"2020-09-25T20:46:08.157563+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}}}' headers: Cache-Control: - no-cache @@ -34,24 +34,75 @@ interactions: Content-Type: - application/json Date: - - Thu, 24 Sep 2020 05:33:12 GMT + - Fri, 25 Sep 2020 20:46:08 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 01-Oct-2020 05:33:10 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 20:46:08 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff X-Dd-Debug: - - 8zBNddJvUHkIbPMeF88y91Hz6JbkP3LresIlBCA27F8xJQ5O1jB8COuYutWaPiaL + - uJb7fuSDu6iXljQCoPn45fU8YYeT+x+yw2Q7czkcLp8QmqZJ0xH7Oi7cYVs2cz8W X-Dd-Version: - - "35.3085403" + - "35.3093372" X-Frame-Options: - SAMEORIGIN status: 201 Created code: 201 duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Dd-Operation-Id: + - DeleteTeam + User-Agent: + - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "2486003618205226185" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "1536353617709944289" + url: https://api.datadoghq.com/api/v2/teams/489634f0-51d2-5fc4-83dd-bf64a49ec3cc + method: DELETE + response: + body: "" + headers: + Cache-Control: + - no-cache + Connection: + - keep-alive + Content-Length: + - "0" + Content-Type: + - application/json + Date: + - Fri, 25 Sep 2020 20:46:09 GMT + Dd-Pool: + - dogweb + Pragma: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 20:46:08 GMT; + secure; HttpOnly + Strict-Transport-Security: + - max-age=15724800; + X-Content-Type-Options: + - nosniff + X-Dd-Debug: + - 8fXgGAAoNDkfuneKCnTnqB8DKjHLTs+9UWiAzHHQVcEGbAPX4uItc5+97fNEvGUG + X-Dd-Version: + - "35.3093372" + X-Frame-Options: + - SAMEORIGIN + status: 204 No Content + code: 204 + duration: "" diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Delete_an_existing_team_returns__OK__response.freeze b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Delete_an_existing_team_returns__OK__response.freeze index 8e7846030c6..cea09012ef3 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Delete_an_existing_team_returns__OK__response.freeze +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Delete_an_existing_team_returns__OK__response.freeze @@ -1 +1 @@ -2020-09-24T01:33:12.38194-04:00 \ No newline at end of file +2020-09-25T16:46:09.459593-04:00 \ No newline at end of file diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Delete_an_existing_team_returns__OK__response.yaml b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Delete_an_existing_team_returns__OK__response.yaml index d27b77fb872..4f4de0e4ea6 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Delete_an_existing_team_returns__OK__response.yaml +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Delete_an_existing_team_returns__OK__response.yaml @@ -3,7 +3,7 @@ version: 1 interactions: - request: body: | - {"data":{"attributes":{"name":"go-TestScenarios-Feature_Teams-Scenario_Delete_an_existing_team_returns__OK__response-Given_there_is_a_valid__team__in_the_system-local-1600925592"},"type":"teams"}} + {"data":{"attributes":{"name":"go-TestScenarios-Feature_Teams-Scenario_Delete_an_existing_team_returns__OK__response-Given_there_is_a_valid__team__in_the_system-local-1601066769"},"type":"teams"}} form: {} headers: Accept: @@ -15,15 +15,15 @@ interactions: User-Agent: - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "903507663380839040" + - "445270906913909416" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "2657098308503624465" + - "4023009589266540634" url: https://api.datadoghq.com/api/v2/teams method: POST response: - body: '{"included":[{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"name":null,"handle":"frog@datadoghq.com","created_at":"2019-10-02T08:15:39.795051+00:00","email":"frog@datadoghq.com","icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro","title":null,"verified":true,"disabled":false,"allowed_login_methods":[],"status":"Active"},"relationships":{"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}],"data":{"type":"teams","id":"b411b2b9-87c5-5f56-8167-10bf8d7cb201","attributes":{"name":"go-TestScenarios-Feature_Teams-Scenario_Delete_an_existing_team_returns__OK__response-Given_there_is_a_valid__team__in_the_system-local-1600925592","created":"2020-09-24T05:33:12.444791+00:00","modified":"2020-09-24T05:33:12.444791+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}}}' + body: '{"included":[{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"name":null,"handle":"frog@datadoghq.com","created_at":"2019-10-02T08:15:39.795051+00:00","email":"frog@datadoghq.com","icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro","title":null,"verified":true,"disabled":false,"allowed_login_methods":[],"status":"Active"},"relationships":{"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}],"data":{"type":"teams","id":"d30a1ace-6c7d-5235-af37-083ac0b06b26","attributes":{"name":"go-TestScenarios-Feature_Teams-Scenario_Delete_an_existing_team_returns__OK__response-Given_there_is_a_valid__team__in_the_system-local-1601066769","created":"2020-09-25T20:46:09.526488+00:00","modified":"2020-09-25T20:46:09.526488+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}}}' headers: Cache-Control: - no-cache @@ -34,22 +34,22 @@ interactions: Content-Type: - application/json Date: - - Thu, 24 Sep 2020 05:33:12 GMT + - Fri, 25 Sep 2020 20:46:11 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 01-Oct-2020 05:33:12 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 20:46:09 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff X-Dd-Debug: - - PXsBn7cqKzggIvyD8j5x5jml9M2/eD36uWUijJ+SgilVHKKIZzr4rqQ7/eRsKvdS + - 0xx9Vajt2z9Bjd3zEZxSq+HXBSiVDpVx3zcehHaUF6Rbof5oICp4xtQ5KAyASYVV X-Dd-Version: - - "35.3085403" + - "35.3093372" X-Frame-Options: - SAMEORIGIN status: 201 Created @@ -66,12 +66,12 @@ interactions: User-Agent: - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "8081366463369120803" + - "3756853995370512847" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "2657098308503624465" - url: https://api.datadoghq.com/api/v2/teams/b411b2b9-87c5-5f56-8167-10bf8d7cb201 + - "4023009589266540634" + url: https://api.datadoghq.com/api/v2/teams/d30a1ace-6c7d-5235-af37-083ac0b06b26 method: DELETE response: body: "" @@ -85,22 +85,22 @@ interactions: Content-Type: - application/json Date: - - Thu, 24 Sep 2020 05:33:12 GMT + - Fri, 25 Sep 2020 20:46:11 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 01-Oct-2020 05:33:12 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 20:46:11 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff X-Dd-Debug: - - fOvn++WNyeGiJqGJ1RGVl2OtzlCSW+9FmhW07NDhLHuS9Ypy2JL89j65gnqIRQTf + - JNmeA3l0ccOXtA8wh8DpQGSmyIQ4z3r0Sqn1W1sQHkMGKxYzMqf/DJpF1RAS+Dpy X-Dd-Version: - - "35.3085403" + - "35.3093372" X-Frame-Options: - SAMEORIGIN status: 204 No Content @@ -117,15 +117,15 @@ interactions: User-Agent: - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "3243795645899206023" + - "3522664188854349571" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "2657098308503624465" - url: https://api.datadoghq.com/api/v2/teams/b411b2b9-87c5-5f56-8167-10bf8d7cb201 + - "4023009589266540634" + url: https://api.datadoghq.com/api/v2/teams/d30a1ace-6c7d-5235-af37-083ac0b06b26 method: DELETE response: - body: '{"errors": ["team b411b2b9-87c5-5f56-8167-10bf8d7cb201 not found"]}' + body: '{"errors": ["team d30a1ace-6c7d-5235-af37-083ac0b06b26 not found"]}' headers: Cache-Control: - no-cache @@ -134,7 +134,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 24 Sep 2020 05:33:13 GMT + - Fri, 25 Sep 2020 20:46:11 GMT Dd-Pool: - dogweb Pragma: @@ -146,7 +146,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.3085403" + - "35.3093372" X-Frame-Options: - SAMEORIGIN status: 404 Not Found diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Get_a_list_of_all_teams_returns__OK__response.freeze b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Get_a_list_of_all_teams_returns__OK__response.freeze index 3358a0c3854..d6fdfd0ba2b 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Get_a_list_of_all_teams_returns__OK__response.freeze +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Get_a_list_of_all_teams_returns__OK__response.freeze @@ -1 +1 @@ -2020-09-24T01:33:10.198213-04:00 \ No newline at end of file +2020-09-25T16:46:06.541301-04:00 \ No newline at end of file diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Get_a_list_of_all_teams_returns__OK__response.yaml b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Get_a_list_of_all_teams_returns__OK__response.yaml index c748d2a4bf6..6ee4aad3deb 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Get_a_list_of_all_teams_returns__OK__response.yaml +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Get_a_list_of_all_teams_returns__OK__response.yaml @@ -3,7 +3,7 @@ version: 1 interactions: - request: body: | - {"data":{"attributes":{"name":"go-TestScenarios-Feature_Teams-Scenario_Get_a_list_of_all_teams_returns__OK__response-Given_there_is_a_valid__team__in_the_system-local-1600925590"},"type":"teams"}} + {"data":{"attributes":{"name":"go-TestScenarios-Feature_Teams-Scenario_Get_a_list_of_all_teams_returns__OK__response-Given_there_is_a_valid__team__in_the_system-local-1601066766"},"type":"teams"}} form: {} headers: Accept: @@ -15,15 +15,15 @@ interactions: User-Agent: - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "1916636263390242782" + - "5876520408122493814" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "8635113771134181690" + - "1873874155492482640" url: https://api.datadoghq.com/api/v2/teams method: POST response: - body: '{"included":[{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"name":null,"handle":"frog@datadoghq.com","created_at":"2019-10-02T08:15:39.795051+00:00","email":"frog@datadoghq.com","icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro","title":null,"verified":true,"disabled":false,"allowed_login_methods":[],"status":"Active"},"relationships":{"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}],"data":{"type":"teams","id":"b78beae0-33e4-565b-8365-027ef3dc26bf","attributes":{"name":"go-TestScenarios-Feature_Teams-Scenario_Get_a_list_of_all_teams_returns__OK__response-Given_there_is_a_valid__team__in_the_system-local-1600925590","created":"2020-09-24T05:33:10.435701+00:00","modified":"2020-09-24T05:33:10.435701+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}}}' + body: '{"included":[{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"name":null,"handle":"frog@datadoghq.com","created_at":"2019-10-02T08:15:39.795051+00:00","email":"frog@datadoghq.com","icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro","title":null,"verified":true,"disabled":false,"allowed_login_methods":[],"status":"Active"},"relationships":{"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}],"data":{"type":"teams","id":"8b4593d3-954f-550a-8fa9-c7bf4c36932f","attributes":{"name":"go-TestScenarios-Feature_Teams-Scenario_Get_a_list_of_all_teams_returns__OK__response-Given_there_is_a_valid__team__in_the_system-local-1601066766","created":"2020-09-25T20:46:06.853841+00:00","modified":"2020-09-25T20:46:06.853841+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}}}' headers: Cache-Control: - no-cache @@ -34,22 +34,22 @@ interactions: Content-Type: - application/json Date: - - Thu, 24 Sep 2020 05:33:10 GMT + - Fri, 25 Sep 2020 20:46:06 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 01-Oct-2020 05:33:10 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 20:46:06 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff X-Dd-Debug: - - TlObKNxJC6mRjORAptBjah7X7IZlZoWDhxDuIhUdNUMmnkpihyb67mpyYPwy4Xl5 + - P6Akw3EF5CkRD9dRTLe+2D7FUH3E+plOtxsv0XR1d07sSAJOUbLe0N5LZ7Ruz6Fj X-Dd-Version: - - "35.3085403" + - "35.3093372" X-Frame-Options: - SAMEORIGIN status: 201 Created @@ -66,15 +66,15 @@ interactions: User-Agent: - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "2766263508889671771" + - "2706134692403640379" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "8635113771134181690" + - "1873874155492482640" url: https://api.datadoghq.com/api/v2/teams method: GET response: - body: '{"meta":{"sort":"ASC","pagination":{"size":1,"next_offset":1,"offset":0}},"data":[{"type":"teams","id":"b78beae0-33e4-565b-8365-027ef3dc26bf","attributes":{"name":"go-TestScenarios-Feature_Teams-Scenario_Get_a_list_of_all_teams_returns__OK__response-Given_there_is_a_valid__team__in_the_system-local-1600925590","created":"2020-09-24T05:33:10.435701+00:00","modified":"2020-09-24T05:33:10.435701+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}}]}' + body: '{"meta":{"sort":"ASC","pagination":{"size":1,"next_offset":1,"offset":0}},"data":[{"type":"teams","id":"8b4593d3-954f-550a-8fa9-c7bf4c36932f","attributes":{"name":"go-TestScenarios-Feature_Teams-Scenario_Get_a_list_of_all_teams_returns__OK__response-Given_there_is_a_valid__team__in_the_system-local-1601066766","created":"2020-09-25T20:46:06.853841+00:00","modified":"2020-09-25T20:46:06.853841+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}}]}' headers: Cache-Control: - no-cache @@ -83,13 +83,13 @@ interactions: Content-Type: - application/json Date: - - Thu, 24 Sep 2020 05:33:10 GMT + - Fri, 25 Sep 2020 20:46:06 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 01-Oct-2020 05:33:10 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 20:46:06 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; @@ -98,11 +98,62 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - jrMxFzD6DQaVakCp2nBENh1s4Jr6NTi3qR/BnCfgEGv+61BLJvJGE5mL8dgLrarj + - kQL0CnFxOqhC7/LGPn5tSXP5D7AwuI8M1SPDYQaonLUXe7hbVUblKeVruwbyjQml X-Dd-Version: - - "35.3085403" + - "35.3093372" X-Frame-Options: - SAMEORIGIN status: 200 OK code: 200 duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Dd-Operation-Id: + - DeleteTeam + User-Agent: + - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "7883998849593724876" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "1873874155492482640" + url: https://api.datadoghq.com/api/v2/teams/8b4593d3-954f-550a-8fa9-c7bf4c36932f + method: DELETE + response: + body: "" + headers: + Cache-Control: + - no-cache + Connection: + - keep-alive + Content-Length: + - "0" + Content-Type: + - application/json + Date: + - Fri, 25 Sep 2020 20:46:08 GMT + Dd-Pool: + - dogweb + Pragma: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 20:46:07 GMT; + secure; HttpOnly + Strict-Transport-Security: + - max-age=15724800; + X-Content-Type-Options: + - nosniff + X-Dd-Debug: + - 0uWdRml6qahBDARd1CJm6K1SN/TZRSfeTs10desnuzZPhCWC9tfQLSVfNbr08c6A + X-Dd-Version: + - "35.3093372" + X-Frame-Options: + - SAMEORIGIN + status: 204 No Content + code: 204 + duration: "" diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Get_details_of_a_team_returns__OK__response.freeze b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Get_details_of_a_team_returns__OK__response.freeze index 26c350c5bec..37405e75e2f 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Get_details_of_a_team_returns__OK__response.freeze +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Get_details_of_a_team_returns__OK__response.freeze @@ -1 +1 @@ -2020-09-24T01:33:13.591848-04:00 \ No newline at end of file +2020-09-25T16:46:11.571133-04:00 \ No newline at end of file diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Get_details_of_a_team_returns__OK__response.yaml b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Get_details_of_a_team_returns__OK__response.yaml index fc3ca1a9c9c..fe4d82e03d4 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Get_details_of_a_team_returns__OK__response.yaml +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Get_details_of_a_team_returns__OK__response.yaml @@ -3,7 +3,7 @@ version: 1 interactions: - request: body: | - {"data":{"attributes":{"name":"go-TestScenarios-Feature_Teams-Scenario_Get_details_of_a_team_returns__OK__response-Given_there_is_a_valid__team__in_the_system-local-1600925593"},"type":"teams"}} + {"data":{"attributes":{"name":"go-TestScenarios-Feature_Teams-Scenario_Get_details_of_a_team_returns__OK__response-Given_there_is_a_valid__team__in_the_system-local-1601066771"},"type":"teams"}} form: {} headers: Accept: @@ -15,15 +15,15 @@ interactions: User-Agent: - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "5356015859754063645" + - "657272493413682127" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "3155525462122728997" + - "8130754328989980648" url: https://api.datadoghq.com/api/v2/teams method: POST response: - body: '{"included":[{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"name":null,"handle":"frog@datadoghq.com","created_at":"2019-10-02T08:15:39.795051+00:00","email":"frog@datadoghq.com","icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro","title":null,"verified":true,"disabled":false,"allowed_login_methods":[],"status":"Active"},"relationships":{"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}],"data":{"type":"teams","id":"46b0848c-c848-5849-8202-afecd9b8a656","attributes":{"name":"go-TestScenarios-Feature_Teams-Scenario_Get_details_of_a_team_returns__OK__response-Given_there_is_a_valid__team__in_the_system-local-1600925593","created":"2020-09-24T05:33:13.650912+00:00","modified":"2020-09-24T05:33:13.650912+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}}}' + body: '{"included":[{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"name":null,"handle":"frog@datadoghq.com","created_at":"2019-10-02T08:15:39.795051+00:00","email":"frog@datadoghq.com","icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro","title":null,"verified":true,"disabled":false,"allowed_login_methods":[],"status":"Active"},"relationships":{"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}],"data":{"type":"teams","id":"ff358f0c-d999-586e-a597-ef08c9c8f077","attributes":{"name":"go-TestScenarios-Feature_Teams-Scenario_Get_details_of_a_team_returns__OK__response-Given_there_is_a_valid__team__in_the_system-local-1601066771","created":"2020-09-25T20:46:11.651305+00:00","modified":"2020-09-25T20:46:11.651305+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}}}' headers: Cache-Control: - no-cache @@ -34,22 +34,22 @@ interactions: Content-Type: - application/json Date: - - Thu, 24 Sep 2020 05:33:15 GMT + - Fri, 25 Sep 2020 20:46:11 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 01-Oct-2020 05:33:13 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 20:46:11 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff X-Dd-Debug: - - ggwLq3xKl/Ha8goqm1pL+7k2TqCZavl50tQhE6jmOD3Gt22NtGGc693xT7RL9gOb + - 2NNUQsZpZeC5yOEHnEH8LSn5LhjKmDDM31iXmBawo7O6opYjviLgi+mfUoMNw5sj X-Dd-Version: - - "35.3085403" + - "35.3093372" X-Frame-Options: - SAMEORIGIN status: 201 Created @@ -66,15 +66,15 @@ interactions: User-Agent: - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "8043389857722391821" + - "4962800854557945525" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "3155525462122728997" - url: https://api.datadoghq.com/api/v2/teams/46b0848c-c848-5849-8202-afecd9b8a656 + - "8130754328989980648" + url: https://api.datadoghq.com/api/v2/teams/ff358f0c-d999-586e-a597-ef08c9c8f077 method: GET response: - body: '{"data":{"type":"teams","id":"46b0848c-c848-5849-8202-afecd9b8a656","attributes":{"name":"go-TestScenarios-Feature_Teams-Scenario_Get_details_of_a_team_returns__OK__response-Given_there_is_a_valid__team__in_the_system-local-1600925593","created":"2020-09-24T05:33:13.650912+00:00","modified":"2020-09-24T05:33:13.650912+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}}}' + body: '{"data":{"type":"teams","id":"ff358f0c-d999-586e-a597-ef08c9c8f077","attributes":{"name":"go-TestScenarios-Feature_Teams-Scenario_Get_details_of_a_team_returns__OK__response-Given_there_is_a_valid__team__in_the_system-local-1601066771","created":"2020-09-25T20:46:11.651305+00:00","modified":"2020-09-25T20:46:11.651305+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}}}' headers: Cache-Control: - no-cache @@ -83,13 +83,13 @@ interactions: Content-Type: - application/json Date: - - Thu, 24 Sep 2020 05:33:15 GMT + - Fri, 25 Sep 2020 20:46:11 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 01-Oct-2020 05:33:15 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 20:46:11 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; @@ -98,11 +98,62 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - QgQu/iPnCQXRgWPQKBm0M4xipFcbwl50MnRHSjKNayyZv/6KjuJNpOhY5+udaeL8 + - t3HUEZc5ir8lXNnqzkff2uqNehUi1czGcghjOPRgwaz4xZmG6O4HwEI6mdtgJV0i X-Dd-Version: - - "35.3085403" + - "35.3093372" X-Frame-Options: - SAMEORIGIN status: 200 OK code: 200 duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Dd-Operation-Id: + - DeleteTeam + User-Agent: + - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "4413630927993984285" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "8130754328989980648" + url: https://api.datadoghq.com/api/v2/teams/ff358f0c-d999-586e-a597-ef08c9c8f077 + method: DELETE + response: + body: "" + headers: + Cache-Control: + - no-cache + Connection: + - keep-alive + Content-Length: + - "0" + Content-Type: + - application/json + Date: + - Fri, 25 Sep 2020 20:46:12 GMT + Dd-Pool: + - dogweb + Pragma: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 20:46:11 GMT; + secure; HttpOnly + Strict-Transport-Security: + - max-age=15724800; + X-Content-Type-Options: + - nosniff + X-Dd-Debug: + - RNjkldB/U7jBomuDwniiFl3adRN7VFY0k6iblOqPBlb/lnmtli0Xp6qAxW+GhOfn + X-Dd-Version: + - "35.3093372" + X-Frame-Options: + - SAMEORIGIN + status: 204 No Content + code: 204 + duration: "" diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Update_an_existing_team_returns__OK__response.freeze b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Update_an_existing_team_returns__OK__response.freeze index 77a81012483..48f36d2f0c6 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Update_an_existing_team_returns__OK__response.freeze +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Update_an_existing_team_returns__OK__response.freeze @@ -1 +1 @@ -2020-09-24T01:33:15.399969-04:00 \ No newline at end of file +2020-09-25T16:46:12.73429-04:00 \ No newline at end of file diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Update_an_existing_team_returns__OK__response.yaml b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Update_an_existing_team_returns__OK__response.yaml index fe29ff47edb..74d47369282 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Update_an_existing_team_returns__OK__response.yaml +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Teams/Scenario_Update_an_existing_team_returns__OK__response.yaml @@ -3,7 +3,7 @@ version: 1 interactions: - request: body: | - {"data":{"attributes":{"name":"go-TestScenarios-Feature_Teams-Scenario_Update_an_existing_team_returns__OK__response-Given_there_is_a_valid__team__in_the_system-local-1600925595"},"type":"teams"}} + {"data":{"attributes":{"name":"go-TestScenarios-Feature_Teams-Scenario_Update_an_existing_team_returns__OK__response-Given_there_is_a_valid__team__in_the_system-local-1601066772"},"type":"teams"}} form: {} headers: Accept: @@ -15,15 +15,15 @@ interactions: User-Agent: - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "429357434807594498" + - "1745952145642287604" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "7610370278187075581" + - "9023937240852609073" url: https://api.datadoghq.com/api/v2/teams method: POST response: - body: '{"included":[{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"name":null,"handle":"frog@datadoghq.com","created_at":"2019-10-02T08:15:39.795051+00:00","email":"frog@datadoghq.com","icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro","title":null,"verified":true,"disabled":false,"allowed_login_methods":[],"status":"Active"},"relationships":{"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}],"data":{"type":"teams","id":"756e2b11-5732-5382-ba5e-35c179978f07","attributes":{"name":"go-TestScenarios-Feature_Teams-Scenario_Update_an_existing_team_returns__OK__response-Given_there_is_a_valid__team__in_the_system-local-1600925595","created":"2020-09-24T05:33:15.475720+00:00","modified":"2020-09-24T05:33:15.475720+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}}}' + body: '{"included":[{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"name":null,"handle":"frog@datadoghq.com","created_at":"2019-10-02T08:15:39.795051+00:00","email":"frog@datadoghq.com","icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro","title":null,"verified":true,"disabled":false,"allowed_login_methods":[],"status":"Active"},"relationships":{"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}],"data":{"type":"teams","id":"227b1797-50be-5075-8286-f63b689b6a9f","attributes":{"name":"go-TestScenarios-Feature_Teams-Scenario_Update_an_existing_team_returns__OK__response-Given_there_is_a_valid__team__in_the_system-local-1601066772","created":"2020-09-25T20:46:12.799023+00:00","modified":"2020-09-25T20:46:12.799023+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}}}' headers: Cache-Control: - no-cache @@ -34,22 +34,22 @@ interactions: Content-Type: - application/json Date: - - Thu, 24 Sep 2020 05:33:15 GMT + - Fri, 25 Sep 2020 20:46:14 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 01-Oct-2020 05:33:15 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 20:46:12 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff X-Dd-Debug: - - sQOy8a0Uobuto7YUtlnbqZIuXh5uDLMP34xhBMJaioPr6917JNPh2PehnbSMnQ69 + - WInJ5NoKnWsGfpc5/7O8IFkOGqBCSPXHlW+v7fDYTqv2rGTGsFEBI9cuh2tqdLoD X-Dd-Version: - - "35.3085403" + - "35.3093372" X-Frame-Options: - SAMEORIGIN status: 201 Created @@ -57,7 +57,7 @@ interactions: duration: "" - request: body: | - {"data":{"attributes":{"name":"go-TestScenarios-Feature_Teams-Scenario_Update_an_existing_team_returns__OK__response-Given_there_is_a_valid__team__in_the_system-local-1600925595-updated"},"id":"","type":"teams"}} + {"data":{"attributes":{"name":"go-TestScenarios-Feature_Teams-Scenario_Update_an_existing_team_returns__OK__response-Given_there_is_a_valid__team__in_the_system-local-1601066772-updated"},"id":"","type":"teams"}} form: {} headers: Accept: @@ -69,15 +69,15 @@ interactions: User-Agent: - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "6160921300589894295" + - "5204240646519995134" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "7610370278187075581" - url: https://api.datadoghq.com/api/v2/teams/756e2b11-5732-5382-ba5e-35c179978f07 + - "9023937240852609073" + url: https://api.datadoghq.com/api/v2/teams/227b1797-50be-5075-8286-f63b689b6a9f method: PATCH response: - body: '{"included":[{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"name":null,"handle":"frog@datadoghq.com","created_at":"2019-10-02T08:15:39.795051+00:00","email":"frog@datadoghq.com","icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro","title":null,"verified":true,"disabled":false,"allowed_login_methods":[],"status":"Active"},"relationships":{"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}],"data":{"type":"teams","id":"756e2b11-5732-5382-ba5e-35c179978f07","attributes":{"name":"go-TestScenarios-Feature_Teams-Scenario_Update_an_existing_team_returns__OK__response-Given_there_is_a_valid__team__in_the_system-local-1600925595-updated","created":"2020-09-24T05:33:15.475720+00:00","modified":"2020-09-24T05:33:15.645537+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}}}' + body: '{"included":[{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"name":null,"handle":"frog@datadoghq.com","created_at":"2019-10-02T08:15:39.795051+00:00","email":"frog@datadoghq.com","icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro","title":null,"verified":true,"disabled":false,"allowed_login_methods":[],"status":"Active"},"relationships":{"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}],"data":{"type":"teams","id":"227b1797-50be-5075-8286-f63b689b6a9f","attributes":{"name":"go-TestScenarios-Feature_Teams-Scenario_Update_an_existing_team_returns__OK__response-Given_there_is_a_valid__team__in_the_system-local-1601066772-updated","created":"2020-09-25T20:46:12.799023+00:00","modified":"2020-09-25T20:46:14.344847+00:00"},"relationships":{"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}}}' headers: Cache-Control: - no-cache @@ -86,13 +86,13 @@ interactions: Content-Type: - application/json Date: - - Thu, 24 Sep 2020 05:33:15 GMT + - Fri, 25 Sep 2020 20:46:14 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 01-Oct-2020 05:33:15 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 20:46:14 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; @@ -101,11 +101,62 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - yoF4117GjRVNjK5D+NnV1a4ZZK03NlG9+xqwkNudRekVNp0HsN72cHzXM+2uFPHI + - Et2YiqVRxti9EZo6Gk/yyRrgDmYxZuoE62JE6GLJjDYX0PgDmkmo9d4ASFrtRIDj X-Dd-Version: - - "35.3085403" + - "35.3093372" X-Frame-Options: - SAMEORIGIN status: 200 OK code: 200 duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Dd-Operation-Id: + - DeleteTeam + User-Agent: + - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "7882991764133393929" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "9023937240852609073" + url: https://api.datadoghq.com/api/v2/teams/227b1797-50be-5075-8286-f63b689b6a9f + method: DELETE + response: + body: "" + headers: + Cache-Control: + - no-cache + Connection: + - keep-alive + Content-Length: + - "0" + Content-Type: + - application/json + Date: + - Fri, 25 Sep 2020 20:46:15 GMT + Dd-Pool: + - dogweb + Pragma: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 20:46:14 GMT; + secure; HttpOnly + Strict-Transport-Security: + - max-age=15724800; + X-Content-Type-Options: + - nosniff + X-Dd-Debug: + - E8kYJH6Hb74I4gS4d8oTnZBbKR38RfM4isuhSW09hK2ARkJHcJxE0DNPxSd582jS + X-Dd-Version: + - "35.3093372" + X-Frame-Options: + - SAMEORIGIN + status: 204 No Content + code: 204 + duration: "" From cc726d8c7998c3183094a2347196501332d3d064 Mon Sep 17 00:00:00 2001 From: MRHwick Date: Fri, 13 Nov 2020 16:02:20 -0600 Subject: [PATCH 10/16] fix incidents bdd features --- ...incident_returns__CREATED__response.freeze | 1 + ...n_incident_returns__CREATED__response.yaml | 171 ++++++++++++++++++ ...ting_incident_returns__OK__response.freeze | 2 +- ...isting_incident_returns__OK__response.yaml | 74 +++++--- ..._of_incidents_returns__OK__response.freeze | 2 +- ...st_of_incidents_returns__OK__response.yaml | 103 ++++------- ...f_an_incident_returns__OK__response.freeze | 2 +- ..._of_an_incident_returns__OK__response.yaml | 105 ++++------- ...ting_incident_returns__OK__response.freeze | 2 +- ...isting_incident_returns__OK__response.yaml | 107 ++++------- 10 files changed, 330 insertions(+), 239 deletions(-) create mode 100644 tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Create_an_incident_returns__CREATED__response.freeze create mode 100644 tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Create_an_incident_returns__CREATED__response.yaml diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Create_an_incident_returns__CREATED__response.freeze b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Create_an_incident_returns__CREATED__response.freeze new file mode 100644 index 00000000000..62f5994139e --- /dev/null +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Create_an_incident_returns__CREATED__response.freeze @@ -0,0 +1 @@ +2020-11-13T16:00:47.735254-06:00 \ No newline at end of file diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Create_an_incident_returns__CREATED__response.yaml b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Create_an_incident_returns__CREATED__response.yaml new file mode 100644 index 00000000000..e67e3b489de --- /dev/null +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Create_an_incident_returns__CREATED__response.yaml @@ -0,0 +1,171 @@ +--- +version: 1 +interactions: +- request: + body: | + {"data":{"attributes":{"email":"go-testscenarios-feature_incidents-scenario_create_an_incident_returns__created__response-given_there_is_a_valid__user__in_the_system-local-1605304847@datadoghq.com","name":"go-testscenarios-feature_incidents-scenario_","title":"Big boss"},"type":"users"}} + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + Dd-Operation-Id: + - CreateUser + User-Agent: + - datadog-api-client-go/1.0.0-beta.11 (go go1.15.2; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "6136536865661497570" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "384198088319565196" + url: https://api.datadoghq.com/api/v2/users + method: POST + response: + body: '{"data":{"type":"users","id":"af9ba8bc-25fb-11eb-82be-7f348f35a88b","attributes":{"name":"go-testscenarios-feature_incidents-scenario_","handle":"go-testscenarios-feature_incidents-scenario_create_an_incident_returns__created__response-given_there_is_a_valid__user__in_the_system-local-1605304847@datadoghq.com","created_at":"2020-11-13T22:00:47.813591+00:00","email":"go-testscenarios-feature_incidents-scenario_create_an_incident_returns__created__response-given_there_is_a_valid__user__in_the_system-local-1605304847@datadoghq.com","icon":"https://secure.gravatar.com/avatar/4cf7efbff52a3930a86d4d5c6c2fddbf?s=48&d=retro","title":"Big + boss","verified":false,"service_account":false,"disabled":false,"allowed_login_methods":[],"status":"Pending"},"relationships":{"roles":{"data":[]},"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}}' + headers: + Cache-Control: + - no-cache + Connection: + - keep-alive + Content-Length: + - "863" + Content-Type: + - application/json + Date: + - Fri, 13 Nov 2020 22:00:47 GMT + Dd-Pool: + - dogweb + Pragma: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 20-Nov-2020 22:00:47 GMT; + secure; HttpOnly + Strict-Transport-Security: + - max-age=15724800; + X-Content-Type-Options: + - nosniff + X-Dd-Debug: + - ks6TYG2WFSBr2qT+ZTFJB8BB7VWuwPmODDq52A4JjLzCAAitR8HQc9JBq+LHjJu4 + X-Dd-Version: + - "35.3365914" + X-Frame-Options: + - SAMEORIGIN + status: 201 Created + code: 201 + duration: "" +- request: + body: | + {"data":{"attributes":{"customer_impacted":false,"fields":{"state":{"type":"dropdown","value":"resolved"}},"title":"go-Feature_Incidents-Scenario_Create_an_incident_returns__CREATED__response-local-1605304847"},"relationships":{"commander":{"data":{"id":"af9ba8bc-25fb-11eb-82be-7f348f35a88b","type":"users"}}},"type":"incidents"}} + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + Dd-Operation-Id: + - CreateIncident + User-Agent: + - datadog-api-client-go/1.0.0-beta.11 (go go1.15.2; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "6634062786633177818" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "384198088319565196" + url: https://api.datadoghq.com/api/v2/incidents + method: POST + response: + body: '{"data":{"type":"incidents","id":"d8cb7daa-daa6-59ba-b3a6-b5f14e26c8de","attributes":{"public_id":233,"postmortem_id":null,"title":"go-Feature_Incidents-Scenario_Create_an_incident_returns__CREATED__response-local-1605304847","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"notification_handles":null,"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"last_modified_by_uuid":null,"created":"2020-11-13T22:00:48.058019+00:00","modified":"2020-11-13T22:00:48.058019+00:00","commander":{"data":{"type":"users","id":"af9ba8bc-25fb-11eb-82be-7f348f35a88b","attributes":{"uuid":"af9ba8bc-25fb-11eb-82be-7f348f35a88b","handle":"go-testscenarios-feature_incidents-scenario_create_an_incident_returns__created__response-given_there_is_a_valid__user__in_the_system-local-1605304847@datadoghq.com","email":"go-testscenarios-feature_incidents-scenario_create_an_incident_returns__created__response-given_there_is_a_valid__user__in_the_system-local-1605304847@datadoghq.com","name":"go-testscenarios-feature_incidents-scenario_","icon":"https://secure.gravatar.com/avatar/4cf7efbff52a3930a86d4d5c6c2fddbf?s=48&d=retro"}}},"detected":"2020-11-13T22:00:48.056237+00:00","created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"created_by_uuid":null,"creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"fields":{"severity":{"type":"dropdown","value":"UNKNOWN"},"detection_method":{"type":"dropdown","value":"unknown"},"root_cause":{"type":"textbox","value":null},"teams":{"type":"autocomplete","value":null},"state":{"type":"dropdown","value":"resolved"},"services":{"type":"autocomplete","value":null}},"severity":"UNKNOWN","state":"resolved","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"af9ba8bc-25fb-11eb-82be-7f348f35a88b"}},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"7701d854-4973-5acb-b1c3-3f674dc74203"},{"type":"user_defined_selection","id":"f6e7b907-c72c-5747-bb70-2cf47886cc41"},{"type":"user_defined_selection","id":"80a0a153-23b2-56dc-9f1a-99ac8dc05563"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"},{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"623af0a5-f30c-577e-8146-09b8324bdb2d"},{"type":"user_defined_field","id":"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"}]},"postmortem":{"data":null},"integrations":{"data":[]}}}}' + headers: + Cache-Control: + - no-cache + Connection: + - keep-alive + Content-Length: + - "3430" + Content-Type: + - application/json + Date: + - Fri, 13 Nov 2020 22:00:49 GMT + Dd-Pool: + - dogweb + Pragma: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 20-Nov-2020 22:00:48 GMT; + secure; HttpOnly + Strict-Transport-Security: + - max-age=15724800; + X-Content-Type-Options: + - nosniff + X-Dd-Debug: + - hw3ZauSSamfHLo55DFwif1/mO6RiYSc0/libBchlIMnyWX9rK7JgS3Pek5rkz683 + X-Dd-Version: + - "35.3365914" + X-Frame-Options: + - SAMEORIGIN + X-Ratelimit-Limit: + - "20" + X-Ratelimit-Period: + - "3600" + X-Ratelimit-Remaining: + - "18" + X-Ratelimit-Reset: + - "3552" + status: 201 Created + code: 201 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Dd-Operation-Id: + - DisableUser + User-Agent: + - datadog-api-client-go/1.0.0-beta.11 (go go1.15.2; os darwin; arch amd64) + X-Datadog-Parent-Id: + - "1450923872454942949" + X-Datadog-Sampling-Priority: + - "1" + X-Datadog-Trace-Id: + - "384198088319565196" + url: https://api.datadoghq.com/api/v2/users/af9ba8bc-25fb-11eb-82be-7f348f35a88b + method: DELETE + response: + body: "" + headers: + Cache-Control: + - no-cache + Connection: + - keep-alive + Content-Length: + - "0" + Content-Type: + - application/json + Date: + - Fri, 13 Nov 2020 22:00:49 GMT + Dd-Pool: + - dogweb + Pragma: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 20-Nov-2020 22:00:49 GMT; + secure; HttpOnly + Strict-Transport-Security: + - max-age=15724800; + X-Content-Type-Options: + - nosniff + X-Dd-Debug: + - H6YNJZe2hxg7AD4MytxnK6WTGV3v238t6qy6wX4rqFlv+Cb0Gp+GU8J41gMZvmVb + X-Dd-Version: + - "35.3365914" + X-Frame-Options: + - SAMEORIGIN + status: 204 No Content + code: 204 + duration: "" diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Delete_an_existing_incident_returns__OK__response.freeze b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Delete_an_existing_incident_returns__OK__response.freeze index 5e2e3a2b882..f4641691f23 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Delete_an_existing_incident_returns__OK__response.freeze +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Delete_an_existing_incident_returns__OK__response.freeze @@ -1 +1 @@ -2020-09-25T16:40:36.62745-04:00 \ No newline at end of file +2020-11-13T16:00:49.575238-06:00 \ No newline at end of file diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Delete_an_existing_incident_returns__OK__response.yaml b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Delete_an_existing_incident_returns__OK__response.yaml index 7137df9eda1..762cd146948 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Delete_an_existing_incident_returns__OK__response.yaml +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Delete_an_existing_incident_returns__OK__response.yaml @@ -3,7 +3,7 @@ version: 1 interactions: - request: body: | - {"data":{"attributes":{"customer_impacted":false,"title":"go-TestScenarios-Feature_Incidents-Scenario_Delete_an_existing_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1601066436"},"type":"incidents"}} + {"data":{"attributes":{"customer_impacted":false,"title":"go-TestScenarios-Feature_Incidents-Scenario_Delete_an_existing_incident_returns__OK__response-And_there_is_a_valid__incident__in_the_system-local-1605304849"},"type":"incidents"}} form: {} headers: Accept: @@ -13,45 +13,53 @@ interactions: Dd-Operation-Id: - CreateIncident User-Agent: - - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) + - datadog-api-client-go/1.0.0-beta.11 (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "8967378779000962479" + - "2486481832612156225" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "3912675822703793203" + - "2924126076272235474" url: https://api.datadoghq.com/api/v2/incidents method: POST response: - body: '{"data":{"type":"incidents","id":"9bc05011-820f-559e-be64-f565410ff7bd","attributes":{"public_id":199,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Delete_an_existing_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1601066436","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"last_modified_by_uuid":null,"created":"2020-09-25T20:40:36.712154+00:00","modified":"2020-09-25T20:40:36.712154+00:00","commander":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"state":"active","detected":"2020-09-25T20:40:36.709642+00:00","created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"created_by_uuid":null,"creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null,"additional_notifications":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[]},"user_defined_fields":{"data":[]},"postmortem":{"data":null},"integrations":{"data":[]}}}}' + body: '{"data":{"type":"incidents","id":"179e4231-5c72-58a8-a15b-0384e803cba4","attributes":{"public_id":234,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Delete_an_existing_incident_returns__OK__response-And_there_is_a_valid__incident__in_the_system-local-1605304849","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"notification_handles":null,"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"last_modified_by_uuid":null,"created":"2020-11-13T22:00:49.635370+00:00","modified":"2020-11-13T22:00:49.635370+00:00","commander":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"detected":"2020-11-13T22:00:49.633147+00:00","created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"created_by_uuid":null,"creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"fields":{"severity":{"type":"dropdown","value":"UNKNOWN"},"detection_method":{"type":"dropdown","value":"unknown"},"root_cause":{"type":"textbox","value":null},"teams":{"type":"autocomplete","value":null},"state":{"type":"dropdown","value":"active"},"services":{"type":"autocomplete","value":null}},"severity":"UNKNOWN","state":"active","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"2bb9f100-785f-53de-89ef-30a5b9e1859b"},{"type":"user_defined_selection","id":"ce875ca6-0c9e-515a-8d62-ddbbcd929fe0"},{"type":"user_defined_selection","id":"6bd362aa-7cbb-52ed-a440-06b10e0d4840"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"},{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"623af0a5-f30c-577e-8146-09b8324bdb2d"},{"type":"user_defined_field","id":"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"}]},"postmortem":{"data":null},"integrations":{"data":[]}}}}' headers: Cache-Control: - no-cache Connection: - keep-alive Content-Length: - - "2229" + - "3156" Content-Type: - application/json Date: - - Fri, 25 Sep 2020 20:40:38 GMT + - Fri, 13 Nov 2020 22:00:51 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 20:40:36 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 20-Nov-2020 22:00:49 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff X-Dd-Debug: - - nFyTUry7tLSCWgKgQTsGO10dBCh8TOEhHGgwdexQMnQchHPTOyo6yaXIidoJXR1X + - bCBSaf0t3cWhIJuGOGz9PtbBY7MrMPu1HpZVAposegdxNlFMe/qHi/UbtNAIVmzS X-Dd-Version: - - "35.3093372" + - "35.3365914" X-Frame-Options: - SAMEORIGIN + X-Ratelimit-Limit: + - "20" + X-Ratelimit-Period: + - "3600" + X-Ratelimit-Remaining: + - "17" + X-Ratelimit-Reset: + - "3551" status: 201 Created code: 201 duration: "" @@ -64,14 +72,14 @@ interactions: Dd-Operation-Id: - DeleteIncident User-Agent: - - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) + - datadog-api-client-go/1.0.0-beta.11 (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "2067100454866309357" + - "2472301927752524394" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "3912675822703793203" - url: https://api.datadoghq.com/api/v2/incidents/9bc05011-820f-559e-be64-f565410ff7bd + - "2924126076272235474" + url: https://api.datadoghq.com/api/v2/incidents/179e4231-5c72-58a8-a15b-0384e803cba4 method: DELETE response: body: "" @@ -85,24 +93,32 @@ interactions: Content-Type: - application/json Date: - - Fri, 25 Sep 2020 20:40:38 GMT + - Fri, 13 Nov 2020 22:00:51 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 20:40:38 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 20-Nov-2020 22:00:51 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff X-Dd-Debug: - - nuSFLkQ1s7gwoRNAfifc8jXTyjLsWBSRPtQKveq6qMTKGNJs/ULg6uo/9G1YZzFs + - 91aMs4Xd/NaPhGMoIvSvdd0mjw6sy0ZqzVUdTt9hqt35qwhu0snxCQESFXt90Pzi X-Dd-Version: - - "35.3093372" + - "35.3365914" X-Frame-Options: - SAMEORIGIN + X-Ratelimit-Limit: + - "20" + X-Ratelimit-Period: + - "60" + X-Ratelimit-Remaining: + - "19" + X-Ratelimit-Reset: + - "9" status: 204 No Content code: 204 duration: "" @@ -115,17 +131,17 @@ interactions: Dd-Operation-Id: - DeleteIncident User-Agent: - - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) + - datadog-api-client-go/1.0.0-beta.11 (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "3028383966888642242" + - "7157937947704006939" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "3912675822703793203" - url: https://api.datadoghq.com/api/v2/incidents/9bc05011-820f-559e-be64-f565410ff7bd + - "2924126076272235474" + url: https://api.datadoghq.com/api/v2/incidents/179e4231-5c72-58a8-a15b-0384e803cba4 method: DELETE response: - body: '{"errors": ["incident 9bc05011-820f-559e-be64-f565410ff7bd not found"]}' + body: '{"errors": ["incident 179e4231-5c72-58a8-a15b-0384e803cba4 not found"]}' headers: Cache-Control: - no-cache @@ -134,7 +150,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 25 Sep 2020 20:40:38 GMT + - Fri, 13 Nov 2020 22:00:51 GMT Dd-Pool: - dogweb Pragma: @@ -146,9 +162,17 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.3093372" + - "35.3365914" X-Frame-Options: - SAMEORIGIN + X-Ratelimit-Limit: + - "20" + X-Ratelimit-Period: + - "60" + X-Ratelimit-Remaining: + - "18" + X-Ratelimit-Reset: + - "9" status: 404 Not Found code: 404 duration: "" diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_a_list_of_incidents_returns__OK__response.freeze b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_a_list_of_incidents_returns__OK__response.freeze index 1495efa77d4..244f42cd61e 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_a_list_of_incidents_returns__OK__response.freeze +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_a_list_of_incidents_returns__OK__response.freeze @@ -1 +1 @@ -2020-09-25T16:40:28.250245-04:00 \ No newline at end of file +2020-11-13T16:00:45.748134-06:00 \ No newline at end of file diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_a_list_of_incidents_returns__OK__response.yaml b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_a_list_of_incidents_returns__OK__response.yaml index 72c316309af..94ce8d937b1 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_a_list_of_incidents_returns__OK__response.yaml +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_a_list_of_incidents_returns__OK__response.yaml @@ -3,7 +3,7 @@ version: 1 interactions: - request: body: | - {"data":{"attributes":{"customer_impacted":false,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1601066428"},"type":"incidents"}} + {"data":{"attributes":{"customer_impacted":false,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-And_there_is_a_valid__incident__in_the_system-local-1605304845"},"type":"incidents"}} form: {} headers: Accept: @@ -13,45 +13,53 @@ interactions: Dd-Operation-Id: - CreateIncident User-Agent: - - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) + - datadog-api-client-go/1.0.0-beta.11 (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "2850732990766112936" + - "2982414540478412601" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "7044037302352205424" + - "4462229472913174353" url: https://api.datadoghq.com/api/v2/incidents method: POST response: - body: '{"data":{"type":"incidents","id":"37f4fce7-bb70-5d54-89ef-20f18684fcac","attributes":{"public_id":197,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1601066428","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"last_modified_by_uuid":null,"created":"2020-09-25T20:40:28.541574+00:00","modified":"2020-09-25T20:40:28.541574+00:00","commander":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"state":"active","detected":"2020-09-25T20:40:28.539987+00:00","created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"created_by_uuid":null,"creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null,"additional_notifications":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[]},"user_defined_fields":{"data":[]},"postmortem":{"data":null},"integrations":{"data":[]}}}}' + body: '{"data":{"type":"incidents","id":"85619ab5-e5e7-5397-aca6-e11938036ac6","attributes":{"public_id":232,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-And_there_is_a_valid__incident__in_the_system-local-1605304845","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"notification_handles":null,"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"last_modified_by_uuid":null,"created":"2020-11-13T22:00:46.085116+00:00","modified":"2020-11-13T22:00:46.085116+00:00","commander":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"detected":"2020-11-13T22:00:46.083523+00:00","created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"created_by_uuid":null,"creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"fields":{"severity":{"type":"dropdown","value":"UNKNOWN"},"detection_method":{"type":"dropdown","value":"unknown"},"root_cause":{"type":"textbox","value":null},"teams":{"type":"autocomplete","value":null},"state":{"type":"dropdown","value":"active"},"services":{"type":"autocomplete","value":null}},"severity":"UNKNOWN","state":"active","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"c5b46a25-3fe4-5957-9ee6-99eeb45d33c6"},{"type":"user_defined_selection","id":"5cfcac74-e6e7-5be6-975c-4a5cedbb76ba"},{"type":"user_defined_selection","id":"dc9ef425-3510-58db-948d-68af55a8a134"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"},{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"623af0a5-f30c-577e-8146-09b8324bdb2d"},{"type":"user_defined_field","id":"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"}]},"postmortem":{"data":null},"integrations":{"data":[]}}}}' headers: Cache-Control: - no-cache Connection: - keep-alive Content-Length: - - "2225" + - "3152" Content-Type: - application/json Date: - - Fri, 25 Sep 2020 20:40:30 GMT + - Fri, 13 Nov 2020 22:00:47 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 20:40:28 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 20-Nov-2020 22:00:46 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff X-Dd-Debug: - - jksv6NXchM8W/4CgjBiDDYPQGBQ0jGtm+dmNJmQoft/ZYfYSEvwpU9lIHwYKsM2d + - 0dpwUqkfQHWkgXeMRxMzd53GmXFItYtBrsUmywck00fH892lNzaBVoL155iIFepa X-Dd-Version: - - "35.3093372" + - "35.3365914" X-Frame-Options: - SAMEORIGIN + X-Ratelimit-Limit: + - "20" + X-Ratelimit-Period: + - "3600" + X-Ratelimit-Remaining: + - "19" + X-Ratelimit-Reset: + - "3554" status: 201 Created code: 201 duration: "" @@ -64,17 +72,17 @@ interactions: Dd-Operation-Id: - ListIncidents User-Agent: - - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) + - datadog-api-client-go/1.0.0-beta.11 (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "3954228044903557266" + - "4969962405323860005" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "7044037302352205424" + - "4462229472913174353" url: https://api.datadoghq.com/api/v2/incidents method: GET response: - body: '{"meta":{"pagination":{"size":25,"next_offset":25,"offset":0}},"data":[{"type":"incidents","id":"37f4fce7-bb70-5d54-89ef-20f18684fcac","attributes":{"public_id":197,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1601066428","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-25T20:40:28.541574+00:00","modified":"2020-09-25T20:40:28.541574+00:00","state":"active","detected":"2020-09-25T20:40:28.539987+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"f62d93af-bdba-51ba-8709-2b742c97a67b"},{"type":"user_defined_selection","id":"5f26666b-59a1-50a7-a352-1d00aeddde1c"},{"type":"user_defined_selection","id":"efa7acbd-dea5-5093-91a3-33ae75eea6c8"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}}]}' + body: '{"meta":{"pagination":{"size":25,"next_offset":25,"offset":0}},"data":[{"type":"incidents","id":"85619ab5-e5e7-5397-aca6-e11938036ac6","attributes":{"public_id":232,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_a_list_of_incidents_returns__OK__response-And_there_is_a_valid__incident__in_the_system-local-1605304845","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"notification_handles":null,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-11-13T22:00:46.085116+00:00","modified":"2020-11-13T22:00:46.085116+00:00","detected":"2020-11-13T22:00:46.083523+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"fields":{"severity":{"type":"dropdown","value":"UNKNOWN"},"detection_method":{"type":"dropdown","value":"unknown"},"root_cause":{"type":"textbox","value":null},"teams":{"type":"autocomplete","value":null},"state":{"type":"dropdown","value":"active"},"services":{"type":"autocomplete","value":null}},"severity":"UNKNOWN","state":"active","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"c5b46a25-3fe4-5957-9ee6-99eeb45d33c6"},{"type":"user_defined_selection","id":"5cfcac74-e6e7-5be6-975c-4a5cedbb76ba"},{"type":"user_defined_selection","id":"dc9ef425-3510-58db-948d-68af55a8a134"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"},{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"623af0a5-f30c-577e-8146-09b8324bdb2d"},{"type":"user_defined_field","id":"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"}]},"postmortem":{"data":null},"integrations":{"data":[]}}}]}' headers: Cache-Control: - no-cache @@ -83,13 +91,13 @@ interactions: Content-Type: - application/json Date: - - Fri, 25 Sep 2020 20:40:30 GMT + - Fri, 13 Nov 2020 22:00:47 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 20:40:30 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 20-Nov-2020 22:00:47 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; @@ -98,62 +106,19 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 1rlggRfE73pEFFllgZfChM1RZODDnKFUyVMEk3an2/a5+lJByU7Porp1iIMqRaO7 + - 1KMr27QHAQHDfYPOMxdkaV+JBh/1ku8yD6KIlLr2d217iUuzksir9gh+Nfb7tVhq X-Dd-Version: - - "35.3093372" + - "35.3365914" X-Frame-Options: - SAMEORIGIN + X-Ratelimit-Limit: + - "100" + X-Ratelimit-Period: + - "60" + X-Ratelimit-Remaining: + - "99" + X-Ratelimit-Reset: + - "13" status: 200 OK code: 200 duration: "" -- request: - body: "" - form: {} - headers: - Accept: - - application/json - Dd-Operation-Id: - - DeleteIncident - User-Agent: - - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "8457274948760118590" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "7044037302352205424" - url: https://api.datadoghq.com/api/v2/incidents/37f4fce7-bb70-5d54-89ef-20f18684fcac - method: DELETE - response: - body: "" - headers: - Cache-Control: - - no-cache - Connection: - - keep-alive - Content-Length: - - "0" - Content-Type: - - application/json - Date: - - Fri, 25 Sep 2020 20:40:31 GMT - Dd-Pool: - - dogweb - Pragma: - - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 20:40:30 GMT; - secure; HttpOnly - Strict-Transport-Security: - - max-age=15724800; - X-Content-Type-Options: - - nosniff - X-Dd-Debug: - - 91aMs4Xd/NaPhGMoIvSvdd0mjw6sy0ZqzVUdTt9hqt35qwhu0snxCQESFXt90Pzi - X-Dd-Version: - - "35.3093372" - X-Frame-Options: - - SAMEORIGIN - status: 204 No Content - code: 204 - duration: "" diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_the_details_of_an_incident_returns__OK__response.freeze b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_the_details_of_an_incident_returns__OK__response.freeze index 4d5ab93766f..2c44985ac29 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_the_details_of_an_incident_returns__OK__response.freeze +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_the_details_of_an_incident_returns__OK__response.freeze @@ -1 +1 @@ -2020-09-25T16:40:38.853844-04:00 \ No newline at end of file +2020-11-13T16:00:52.012394-06:00 \ No newline at end of file diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_the_details_of_an_incident_returns__OK__response.yaml b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_the_details_of_an_incident_returns__OK__response.yaml index 81896c674bf..a1ebb14b4f7 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_the_details_of_an_incident_returns__OK__response.yaml +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Get_the_details_of_an_incident_returns__OK__response.yaml @@ -3,7 +3,7 @@ version: 1 interactions: - request: body: | - {"data":{"attributes":{"customer_impacted":false,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_the_details_of_an_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1601066438"},"type":"incidents"}} + {"data":{"attributes":{"customer_impacted":false,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_the_details_of_an_incident_returns__OK__response-And_there_is_a_valid__incident__in_the_system-local-1605304852"},"type":"incidents"}} form: {} headers: Accept: @@ -13,45 +13,53 @@ interactions: Dd-Operation-Id: - CreateIncident User-Agent: - - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) + - datadog-api-client-go/1.0.0-beta.11 (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "645683379019331391" + - "2382213252803557729" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "1457845549447946716" + - "8432885739041153036" url: https://api.datadoghq.com/api/v2/incidents method: POST response: - body: '{"data":{"type":"incidents","id":"cb23a584-dc22-5217-8dbc-279f99be360f","attributes":{"public_id":200,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_the_details_of_an_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1601066438","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"last_modified_by_uuid":null,"created":"2020-09-25T20:40:38.937394+00:00","modified":"2020-09-25T20:40:38.937394+00:00","commander":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"state":"active","detected":"2020-09-25T20:40:38.935781+00:00","created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"created_by_uuid":null,"creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null,"additional_notifications":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[]},"user_defined_fields":{"data":[]},"postmortem":{"data":null},"integrations":{"data":[]}}}}' + body: '{"data":{"type":"incidents","id":"6d7521bd-37c1-5801-ae40-6dc605569298","attributes":{"public_id":235,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_the_details_of_an_incident_returns__OK__response-And_there_is_a_valid__incident__in_the_system-local-1605304852","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"notification_handles":null,"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"last_modified_by_uuid":null,"created":"2020-11-13T22:00:52.336706+00:00","modified":"2020-11-13T22:00:52.336706+00:00","commander":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"detected":"2020-11-13T22:00:52.334956+00:00","created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"created_by_uuid":null,"creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"fields":{"severity":{"type":"dropdown","value":"UNKNOWN"},"detection_method":{"type":"dropdown","value":"unknown"},"root_cause":{"type":"textbox","value":null},"teams":{"type":"autocomplete","value":null},"state":{"type":"dropdown","value":"active"},"services":{"type":"autocomplete","value":null}},"severity":"UNKNOWN","state":"active","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"034dbf2c-6aaf-5161-8b2d-15bf121d314c"},{"type":"user_defined_selection","id":"09be728d-03ac-5f8b-98c0-7f6a9a982a1c"},{"type":"user_defined_selection","id":"7ee04a30-c7b7-591c-afa8-df50771ddb29"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"},{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"623af0a5-f30c-577e-8146-09b8324bdb2d"},{"type":"user_defined_field","id":"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"}]},"postmortem":{"data":null},"integrations":{"data":[]}}}}' headers: Cache-Control: - no-cache Connection: - keep-alive Content-Length: - - "2232" + - "3159" Content-Type: - application/json Date: - - Fri, 25 Sep 2020 20:40:41 GMT + - Fri, 13 Nov 2020 22:00:53 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 20:40:38 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 20-Nov-2020 22:00:52 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff X-Dd-Debug: - - ZpBCDU/bpmKaDCX3ezcoTB0mBcER1z/7nopw48EhUJ44Kn+wkWF9LGL4tUdS8yc3 + - jQnCQ800IM9+AhjSbgOLP1olAAN0Zx3e3JL4dG9omKhKnkmdw7EJe7yfXnjuT+74 X-Dd-Version: - - "35.3093372" + - "35.3365914" X-Frame-Options: - SAMEORIGIN + X-Ratelimit-Limit: + - "20" + X-Ratelimit-Period: + - "3600" + X-Ratelimit-Remaining: + - "16" + X-Ratelimit-Reset: + - "3548" status: 201 Created code: 201 duration: "" @@ -64,17 +72,17 @@ interactions: Dd-Operation-Id: - GetIncident User-Agent: - - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) + - datadog-api-client-go/1.0.0-beta.11 (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "6664274024521767795" + - "8496455506632616662" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "1457845549447946716" - url: https://api.datadoghq.com/api/v2/incidents/cb23a584-dc22-5217-8dbc-279f99be360f + - "8432885739041153036" + url: https://api.datadoghq.com/api/v2/incidents/6d7521bd-37c1-5801-ae40-6dc605569298 method: GET response: - body: '{"data":{"type":"incidents","id":"cb23a584-dc22-5217-8dbc-279f99be360f","attributes":{"public_id":200,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_the_details_of_an_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1601066438","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-25T20:40:38.937394+00:00","modified":"2020-09-25T20:40:38.937394+00:00","state":"active","detected":"2020-09-25T20:40:38.935781+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"279303a3-8ad5-54fd-9d80-f07f887f6cc8"},{"type":"user_defined_selection","id":"ca513ffc-b1e7-56eb-8332-5822b37f1689"},{"type":"user_defined_selection","id":"dbcc641a-9594-549c-bb72-ac7b124410e1"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}}}' + body: '{"data":{"type":"incidents","id":"6d7521bd-37c1-5801-ae40-6dc605569298","attributes":{"public_id":235,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Get_the_details_of_an_incident_returns__OK__response-And_there_is_a_valid__incident__in_the_system-local-1605304852","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"notification_handles":null,"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-11-13T22:00:52.336706+00:00","modified":"2020-11-13T22:00:52.336706+00:00","detected":"2020-11-13T22:00:52.334956+00:00","created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"fields":{"severity":{"type":"dropdown","value":"UNKNOWN"},"detection_method":{"type":"dropdown","value":"unknown"},"root_cause":{"type":"textbox","value":null},"teams":{"type":"autocomplete","value":null},"state":{"type":"dropdown","value":"active"},"services":{"type":"autocomplete","value":null}},"severity":"UNKNOWN","state":"active","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"034dbf2c-6aaf-5161-8b2d-15bf121d314c"},{"type":"user_defined_selection","id":"09be728d-03ac-5f8b-98c0-7f6a9a982a1c"},{"type":"user_defined_selection","id":"7ee04a30-c7b7-591c-afa8-df50771ddb29"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"},{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"623af0a5-f30c-577e-8146-09b8324bdb2d"},{"type":"user_defined_field","id":"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"}]},"postmortem":{"data":null},"integrations":{"data":[]}}}}' headers: Cache-Control: - no-cache @@ -83,13 +91,13 @@ interactions: Content-Type: - application/json Date: - - Fri, 25 Sep 2020 20:40:41 GMT + - Fri, 13 Nov 2020 22:00:53 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 20:40:41 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 20-Nov-2020 22:00:53 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; @@ -98,62 +106,19 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - motUb+3MrSbL60qP2VQvKfticEMFw/ITb9aZ1t0IvCT8MphWULXKj1d6mnYOkJDn + - /0aUVUH/0B08LSgkH1j961ejfqRhimJkYAixzpnRf5lscmOFHWjl/leOQ3Mnfn7R X-Dd-Version: - - "35.3093372" + - "35.3365914" X-Frame-Options: - SAMEORIGIN + X-Ratelimit-Limit: + - "100" + X-Ratelimit-Period: + - "60" + X-Ratelimit-Remaining: + - "97" + X-Ratelimit-Reset: + - "7" status: 200 OK code: 200 duration: "" -- request: - body: "" - form: {} - headers: - Accept: - - application/json - Dd-Operation-Id: - - DeleteIncident - User-Agent: - - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "3372946673225976188" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "1457845549447946716" - url: https://api.datadoghq.com/api/v2/incidents/cb23a584-dc22-5217-8dbc-279f99be360f - method: DELETE - response: - body: "" - headers: - Cache-Control: - - no-cache - Connection: - - keep-alive - Content-Length: - - "0" - Content-Type: - - application/json - Date: - - Fri, 25 Sep 2020 20:40:41 GMT - Dd-Pool: - - dogweb - Pragma: - - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 20:40:41 GMT; - secure; HttpOnly - Strict-Transport-Security: - - max-age=15724800; - X-Content-Type-Options: - - nosniff - X-Dd-Debug: - - +TTazL1HF8qoxYARkG/60PGoq8sbkYkmqeurNry46zV0aHqBZfUrKqxtiyo42NRf - X-Dd-Version: - - "35.3093372" - X-Frame-Options: - - SAMEORIGIN - status: 204 No Content - code: 204 - duration: "" diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Update_an_existing_incident_returns__OK__response.freeze b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Update_an_existing_incident_returns__OK__response.freeze index 6c9f6eb88d8..748b1fd6fce 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Update_an_existing_incident_returns__OK__response.freeze +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Update_an_existing_incident_returns__OK__response.freeze @@ -1 +1 @@ -2020-09-25T16:40:41.643974-04:00 \ No newline at end of file +2020-11-13T16:00:53.710742-06:00 \ No newline at end of file diff --git a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Update_an_existing_incident_returns__OK__response.yaml b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Update_an_existing_incident_returns__OK__response.yaml index 595b99f4298..2e988d6da60 100644 --- a/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Update_an_existing_incident_returns__OK__response.yaml +++ b/tests/api/v2/datadog/cassettes/TestScenarios/Feature_Incidents/Scenario_Update_an_existing_incident_returns__OK__response.yaml @@ -3,7 +3,7 @@ version: 1 interactions: - request: body: | - {"data":{"attributes":{"customer_impacted":false,"title":"go-TestScenarios-Feature_Incidents-Scenario_Update_an_existing_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1601066441"},"type":"incidents"}} + {"data":{"attributes":{"customer_impacted":false,"title":"go-TestScenarios-Feature_Incidents-Scenario_Update_an_existing_incident_returns__OK__response-And_there_is_a_valid__incident__in_the_system-local-1605304853"},"type":"incidents"}} form: {} headers: Accept: @@ -13,51 +13,59 @@ interactions: Dd-Operation-Id: - CreateIncident User-Agent: - - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) + - datadog-api-client-go/1.0.0-beta.11 (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "1110672234891079807" + - "4714015441750584717" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "6525612364889618804" + - "1183810281392741789" url: https://api.datadoghq.com/api/v2/incidents method: POST response: - body: '{"data":{"type":"incidents","id":"7cd02c20-f1ce-5636-bb58-4cbfad5cac40","attributes":{"public_id":201,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Update_an_existing_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1601066441","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"last_modified_by_uuid":null,"created":"2020-09-25T20:40:41.728538+00:00","modified":"2020-09-25T20:40:41.728538+00:00","commander":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"state":"active","detected":"2020-09-25T20:40:41.726952+00:00","created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"created_by_uuid":null,"creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null,"additional_notifications":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[]},"user_defined_fields":{"data":[]},"postmortem":{"data":null},"integrations":{"data":[]}}}}' + body: '{"data":{"type":"incidents","id":"06e9bb3c-4d58-5d41-8c36-df9c86821c69","attributes":{"public_id":236,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Update_an_existing_incident_returns__OK__response-And_there_is_a_valid__incident__in_the_system-local-1605304853","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"notification_handles":null,"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"last_modified_by_uuid":null,"created":"2020-11-13T22:00:53.801882+00:00","modified":"2020-11-13T22:00:53.801882+00:00","commander":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"detected":"2020-11-13T22:00:53.800109+00:00","created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"created_by_uuid":null,"creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"fields":{"severity":{"type":"dropdown","value":"UNKNOWN"},"detection_method":{"type":"dropdown","value":"unknown"},"root_cause":{"type":"textbox","value":null},"teams":{"type":"autocomplete","value":null},"state":{"type":"dropdown","value":"active"},"services":{"type":"autocomplete","value":null}},"severity":"UNKNOWN","state":"active","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"e9d8fb08-31f7-5428-9538-c8014d1327eb"},{"type":"user_defined_selection","id":"3da42008-40dd-5297-b103-a0e127805630"},{"type":"user_defined_selection","id":"40664e9f-b409-5b44-835d-e24c030b16f1"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"},{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"623af0a5-f30c-577e-8146-09b8324bdb2d"},{"type":"user_defined_field","id":"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"}]},"postmortem":{"data":null},"integrations":{"data":[]}}}}' headers: Cache-Control: - no-cache Connection: - keep-alive Content-Length: - - "2229" + - "3156" Content-Type: - application/json Date: - - Fri, 25 Sep 2020 20:40:44 GMT + - Fri, 13 Nov 2020 22:00:54 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 20:40:41 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 20-Nov-2020 22:00:53 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff X-Dd-Debug: - - 91aMs4Xd/NaPhGMoIvSvdd0mjw6sy0ZqzVUdTt9hqt35qwhu0snxCQESFXt90Pzi + - hkXZRrnCTh2pkyHJgLo1+B5+sLp+RYzQrqT867R6UzDvqVGo8Av8yUCpaA0POidP X-Dd-Version: - - "35.3093372" + - "35.3365914" X-Frame-Options: - SAMEORIGIN + X-Ratelimit-Limit: + - "20" + X-Ratelimit-Period: + - "3600" + X-Ratelimit-Remaining: + - "15" + X-Ratelimit-Reset: + - "3547" status: 201 Created code: 201 duration: "" - request: body: | - {"data":{"attributes":{"title":"go-TestScenarios-Feature_Incidents-Scenario_Update_an_existing_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1601066441-updated"},"id":"7cd02c20-f1ce-5636-bb58-4cbfad5cac40","type":"incidents"}} + {"data":{"attributes":{"fields":{"state":{"type":"dropdown","value":"resolved"}},"title":"go-TestScenarios-Feature_Incidents-Scenario_Update_an_existing_incident_returns__OK__response-And_there_is_a_valid__incident__in_the_system-local-1605304853-updated"},"id":"06e9bb3c-4d58-5d41-8c36-df9c86821c69","type":"incidents"}} form: {} headers: Accept: @@ -67,17 +75,17 @@ interactions: Dd-Operation-Id: - UpdateIncident User-Agent: - - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) + - datadog-api-client-go/1.0.0-beta.11 (go go1.15.2; os darwin; arch amd64) X-Datadog-Parent-Id: - - "1240129407081788615" + - "4782194360470251822" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "6525612364889618804" - url: https://api.datadoghq.com/api/v2/incidents/7cd02c20-f1ce-5636-bb58-4cbfad5cac40 + - "1183810281392741789" + url: https://api.datadoghq.com/api/v2/incidents/06e9bb3c-4d58-5d41-8c36-df9c86821c69 method: PATCH response: - body: '{"data":{"type":"incidents","id":"7cd02c20-f1ce-5636-bb58-4cbfad5cac40","attributes":{"public_id":201,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Update_an_existing_incident_returns__OK__response-Given_there_is_a_valid__incident__in_the_system-local-1601066441-updated","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-09-25T20:40:41.728538+00:00","modified":"2020-09-25T20:40:44.857597+00:00","commander":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"state":"active","detected":"2020-09-25T20:40:41.726952+00:00","created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"severity":"UNKNOWN","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"teams":{"data":[]},"services":{"data":[]},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"bc6b0e4e-40e3-5270-88fd-2d58d91f3315"},{"type":"user_defined_selection","id":"6c83a876-4aef-54cf-bfb4-eb12ff41e1c9"},{"type":"user_defined_selection","id":"d2f7f67b-e808-55d8-a0d8-8a8dc87fda81"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"},{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"}]},"postmortem":{"data":null},"integrations":{"data":[]}}}}' + body: '{"data":{"type":"incidents","id":"06e9bb3c-4d58-5d41-8c36-df9c86821c69","attributes":{"public_id":236,"postmortem_id":null,"title":"go-TestScenarios-Feature_Incidents-Scenario_Update_an_existing_incident_returns__OK__response-And_there_is_a_valid__incident__in_the_system-local-1605304853-updated","resolved":null,"customer_impact_scope":null,"customer_impact_start":null,"customer_impact_end":null,"customer_impacted":false,"notification_handles":null,"last_modified_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"last_modified_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","created":"2020-11-13T22:00:53.801882+00:00","modified":"2020-11-13T22:00:55.200509+00:00","commander":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"detected":"2020-11-13T22:00:53.800109+00:00","created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","handle":"frog@datadoghq.com","email":"frog@datadoghq.com","name":null,"icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro"}}},"created_by_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","creation_idempotency_key":null,"customer_impact_duration":0,"time_to_detect":0,"time_to_repair":0,"time_to_internal_response":0,"time_to_resolve":0,"fields":{"severity":{"type":"dropdown","value":"UNKNOWN"},"detection_method":{"type":"dropdown","value":"unknown"},"root_cause":{"type":"textbox","value":null},"teams":{"type":"autocomplete","value":null},"state":{"type":"dropdown","value":"resolved"},"services":{"type":"autocomplete","value":null}},"severity":"UNKNOWN","state":"resolved","udf_values":null},"relationships":{"created_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"last_modified_by_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"commander_user":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}},"user_defined_field_selections":{"data":[{"type":"user_defined_selection","id":"e9d8fb08-31f7-5428-9538-c8014d1327eb"},{"type":"user_defined_selection","id":"3da42008-40dd-5297-b103-a0e127805630"},{"type":"user_defined_selection","id":"40664e9f-b409-5b44-835d-e24c030b16f1"}]},"user_defined_fields":{"data":[{"type":"user_defined_field","id":"299616f7-8acd-5403-886b-991656d6b982"},{"type":"user_defined_field","id":"ad2b9456-eaec-5bbd-9bae-e502d74e23f8"},{"type":"user_defined_field","id":"623af0a5-f30c-577e-8146-09b8324bdb2d"},{"type":"user_defined_field","id":"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e"},{"type":"user_defined_field","id":"66b62f59-48f6-5fee-969a-0886b1db6dcd"},{"type":"user_defined_field","id":"4148ead2-da45-548e-b6be-8e319bafc425"}]},"postmortem":{"data":null},"integrations":{"data":[]}}}}' headers: Cache-Control: - no-cache @@ -86,13 +94,13 @@ interactions: Content-Type: - application/json Date: - - Fri, 25 Sep 2020 20:40:46 GMT + - Fri, 13 Nov 2020 22:00:55 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 20:40:44 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 20-Nov-2020 22:00:55 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; @@ -101,62 +109,19 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - BOgijYhCo0CttPnSWZcLYHKTePSgoxVuOq+kB6EUYRO9ebsORT5Z6Oj0yUoAyx8n + - SjSxykLY0gTr3VkJbxmjvoevebB2pxQifq0h5HklwYksG7/9u16HyBsdYlpi9mGW X-Dd-Version: - - "35.3093372" + - "35.3365914" X-Frame-Options: - SAMEORIGIN + X-Ratelimit-Limit: + - "100" + X-Ratelimit-Period: + - "60" + X-Ratelimit-Remaining: + - "99" + X-Ratelimit-Reset: + - "5" status: 200 OK code: 200 duration: "" -- request: - body: "" - form: {} - headers: - Accept: - - application/json - Dd-Operation-Id: - - DeleteIncident - User-Agent: - - datadog-api-client-go/1.0.0-beta.9+dev (go go1.15.2; os darwin; arch amd64) - X-Datadog-Parent-Id: - - "4440710983936675383" - X-Datadog-Sampling-Priority: - - "1" - X-Datadog-Trace-Id: - - "6525612364889618804" - url: https://api.datadoghq.com/api/v2/incidents/7cd02c20-f1ce-5636-bb58-4cbfad5cac40 - method: DELETE - response: - body: "" - headers: - Cache-Control: - - no-cache - Connection: - - keep-alive - Content-Length: - - "0" - Content-Type: - - application/json - Date: - - Fri, 25 Sep 2020 20:40:47 GMT - Dd-Pool: - - dogweb - Pragma: - - no-cache - Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 20:40:46 GMT; - secure; HttpOnly - Strict-Transport-Security: - - max-age=15724800; - X-Content-Type-Options: - - nosniff - X-Dd-Debug: - - +TTazL1HF8qoxYARkG/60PGoq8sbkYkmqeurNry46zV0aHqBZfUrKqxtiyo42NRf - X-Dd-Version: - - "35.3093372" - X-Frame-Options: - - SAMEORIGIN - status: 204 No Content - code: 204 - duration: "" From f8aebfe1180dbfa0ceb5105f2bbdd847fb9c07bf Mon Sep 17 00:00:00 2001 From: Jiri Kuncar Date: Tue, 17 Nov 2020 12:24:37 +0100 Subject: [PATCH 11/16] Enable CreateIncident where necessary --- tests/api/v2/datadog/scenarios_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/api/v2/datadog/scenarios_test.go b/tests/api/v2/datadog/scenarios_test.go index 8480449d0b1..83523398cf9 100644 --- a/tests/api/v2/datadog/scenarios_test.go +++ b/tests/api/v2/datadog/scenarios_test.go @@ -338,6 +338,7 @@ func deleteIncident(ctx context.Context, incidentID string) { func incident(t gobdd.StepTest, ctx gobdd.Context) { client := Client(tests.GetCtx(ctx)) + client.GetConfig().SetUnstableOperationEnabled("CreateIncident", true) incidentAttributes := datadog.NewIncidentCreateAttributes(false, *tests.UniqueEntityName(tests.GetCtx(ctx), t.(*testing.T))) incident := datadog.NewIncidentCreateData(*incidentAttributes, datadog.IncidentType("incidents")) From 15a00e7c96db6dbfe454a3abb88e4d11a1d9c90f Mon Sep 17 00:00:00 2001 From: Jiri Kuncar Date: Tue, 17 Nov 2020 12:25:44 +0100 Subject: [PATCH 12/16] Enable CreateIncident where necessary --- tests/api/v2/datadog/scenarios_test.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/api/v2/datadog/scenarios_test.go b/tests/api/v2/datadog/scenarios_test.go index 83523398cf9..f8894c660b8 100644 --- a/tests/api/v2/datadog/scenarios_test.go +++ b/tests/api/v2/datadog/scenarios_test.go @@ -329,7 +329,10 @@ func team(t gobdd.StepTest, ctx gobdd.Context) { tests.GetData(ctx)["team"] = response } func deleteIncident(ctx context.Context, incidentID string) { - _, err := Client(ctx).IncidentsApi.DeleteIncident(ctx, incidentID).Execute() + client := Client(ctx) + client.GetConfig().SetUnstableOperationEnabled("DeleteIncident", true) + + _, err := client.IncidentsApi.DeleteIncident(ctx, incidentID).Execute() if err == nil { return } From 5e86a67ac9e955c4484d8370dd668e949e0cf8b1 Mon Sep 17 00:00:00 2001 From: Jiri Kuncar Date: Wed, 18 Nov 2020 12:30:40 +0100 Subject: [PATCH 13/16] Make query field optional --- tests/api/v1/datadog/api_logs_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/api/v1/datadog/api_logs_test.go b/tests/api/v1/datadog/api_logs_test.go index 0ab237ec1f1..aaad0443c8f 100644 --- a/tests/api/v1/datadog/api_logs_test.go +++ b/tests/api/v1/datadog/api_logs_test.go @@ -47,7 +47,7 @@ func TestLogsList(t *testing.T) { assert.Equal(200, httpresp.StatusCode) logsRequest := datadog.LogsListRequest{ - Query: fmt.Sprintf("source:%s", source), + Query: datadog.PtrString(fmt.Sprintf("source:%s", source)), Time: datadog.LogsListRequestTime{ From: now.Add(time.Duration(-3600) * time.Second), To: now.Add(time.Duration(3600) * time.Second), From 153eba2905940eb3276530cfc0be6a2d38c2f1f4 Mon Sep 17 00:00:00 2001 From: Jiri Kuncar Date: Wed, 18 Nov 2020 12:58:16 +0100 Subject: [PATCH 14/16] cassettes --- .../cassettes/TestLogsListErrors/403_Forbidden.freeze | 2 +- .../cassettes/TestLogsListErrors/403_Forbidden.yaml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/api/v1/datadog/cassettes/TestLogsListErrors/403_Forbidden.freeze b/tests/api/v1/datadog/cassettes/TestLogsListErrors/403_Forbidden.freeze index 52835542fac..a63bb7346ec 100644 --- a/tests/api/v1/datadog/cassettes/TestLogsListErrors/403_Forbidden.freeze +++ b/tests/api/v1/datadog/cassettes/TestLogsListErrors/403_Forbidden.freeze @@ -1 +1 @@ -2020-05-12T15:32:18.75711+02:00 \ No newline at end of file +2020-11-18T12:57:59.100965+01:00 \ No newline at end of file diff --git a/tests/api/v1/datadog/cassettes/TestLogsListErrors/403_Forbidden.yaml b/tests/api/v1/datadog/cassettes/TestLogsListErrors/403_Forbidden.yaml index 3f9163b3f24..2e492be1500 100644 --- a/tests/api/v1/datadog/cassettes/TestLogsListErrors/403_Forbidden.yaml +++ b/tests/api/v1/datadog/cassettes/TestLogsListErrors/403_Forbidden.yaml @@ -3,7 +3,7 @@ version: 1 interactions: - request: body: | - {"query":"","startAt":"notanid","time":{"from":"0001-01-01T00:00:00Z","to":"0001-01-01T00:00:00Z"}} + {"startAt":"notanid","time":{"from":"0001-01-01T00:00:00Z","to":"0001-01-01T00:00:00Z"}} form: {} headers: Accept: @@ -13,13 +13,13 @@ interactions: Dd-Operation-Id: - ListLogs User-Agent: - - datadog-api-client-go/1.0.0-beta.2 (go go1.14; os darwin; arch amd64) + - datadog-api-client-go/1.0.0-beta.11 (go go1.14.3; os darwin; arch amd64) X-Datadog-Parent-Id: - - "4809715872021339164" + - "4925766737329250955" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "7137901680228674083" + - "1087100937919386163" url: https://api.datadoghq.com/api/v1/logs-queries/list method: POST response: @@ -33,7 +33,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 12 May 2020 13:32:18 GMT + - Wed, 18 Nov 2020 11:57:59 GMT Via: - 1.1 haproxy status: 403 Forbidden From f5377ede154dbee2baccba41d990c9288ab6d7a1 Mon Sep 17 00:00:00 2001 From: Jiri Kuncar Date: Wed, 18 Nov 2020 16:17:18 +0100 Subject: [PATCH 15/16] Re-record cassettes --- .../TestLogsListErrors/400_Bad_Request.freeze | 2 +- .../TestLogsListErrors/400_Bad_Request.yaml | 20 +++++++++---------- .../TestLogsListErrors/403_Forbidden.freeze | 2 +- .../TestLogsListErrors/403_Forbidden.yaml | 6 +++--- 4 files changed, 14 insertions(+), 16 deletions(-) diff --git a/tests/api/v1/datadog/cassettes/TestLogsListErrors/400_Bad_Request.freeze b/tests/api/v1/datadog/cassettes/TestLogsListErrors/400_Bad_Request.freeze index 1fff4751144..121db35badf 100644 --- a/tests/api/v1/datadog/cassettes/TestLogsListErrors/400_Bad_Request.freeze +++ b/tests/api/v1/datadog/cassettes/TestLogsListErrors/400_Bad_Request.freeze @@ -1 +1 @@ -2020-05-12T15:32:18.487133+02:00 \ No newline at end of file +2020-11-18T16:16:55.976197+01:00 \ No newline at end of file diff --git a/tests/api/v1/datadog/cassettes/TestLogsListErrors/400_Bad_Request.yaml b/tests/api/v1/datadog/cassettes/TestLogsListErrors/400_Bad_Request.yaml index 44985725747..403fe21365d 100644 --- a/tests/api/v1/datadog/cassettes/TestLogsListErrors/400_Bad_Request.yaml +++ b/tests/api/v1/datadog/cassettes/TestLogsListErrors/400_Bad_Request.yaml @@ -3,7 +3,7 @@ version: 1 interactions: - request: body: | - {"query":"","startAt":"notanid","time":{"from":"0001-01-01T00:00:00Z","to":"0001-01-01T00:00:00Z"}} + {"startAt":"notanid","time":{"from":"0001-01-01T00:00:00Z","to":"0001-01-01T00:00:00Z"}} form: {} headers: Accept: @@ -13,17 +13,17 @@ interactions: Dd-Operation-Id: - ListLogs User-Agent: - - datadog-api-client-go/1.0.0-beta.2 (go go1.14; os darwin; arch amd64) + - datadog-api-client-go/1.0.0-beta.11 (go go1.14.3; os darwin; arch amd64) X-Datadog-Parent-Id: - - "6383796567001829942" + - "1082448750334719592" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "7137901680228674083" + - "5605457710365358305" url: https://api.datadoghq.com/api/v1/logs-queries/list method: POST response: - body: '{"error":{"code":"InvalidArgument","message":"Invalid event id ''notanid''"}}' + body: '{"error":{"message":"Invalid event id ''notanid''","code":"InvalidArgument"}}' headers: Cache-Control: - no-cache @@ -31,12 +31,10 @@ interactions: - keep-alive Content-Length: - "75" - Content-Security-Policy: - - frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report Content-Type: - application/json Date: - - Tue, 12 May 2020 13:32:18 GMT + - Wed, 18 Nov 2020 15:16:56 GMT Dd-Pool: - dogweb_query Pragma: @@ -46,7 +44,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.2492943" + - "35.3390381" X-Frame-Options: - SAMEORIGIN X-Ratelimit-Limit: @@ -54,9 +52,9 @@ interactions: X-Ratelimit-Period: - "3600" X-Ratelimit-Remaining: - - "280" + - "265" X-Ratelimit-Reset: - - "1662" + - "2584" status: 400 Bad Request code: 400 duration: "" diff --git a/tests/api/v1/datadog/cassettes/TestLogsListErrors/403_Forbidden.freeze b/tests/api/v1/datadog/cassettes/TestLogsListErrors/403_Forbidden.freeze index a63bb7346ec..5df0908e94e 100644 --- a/tests/api/v1/datadog/cassettes/TestLogsListErrors/403_Forbidden.freeze +++ b/tests/api/v1/datadog/cassettes/TestLogsListErrors/403_Forbidden.freeze @@ -1 +1 @@ -2020-11-18T12:57:59.100965+01:00 \ No newline at end of file +2020-11-18T16:16:56.680068+01:00 \ No newline at end of file diff --git a/tests/api/v1/datadog/cassettes/TestLogsListErrors/403_Forbidden.yaml b/tests/api/v1/datadog/cassettes/TestLogsListErrors/403_Forbidden.yaml index 2e492be1500..37f9c737b24 100644 --- a/tests/api/v1/datadog/cassettes/TestLogsListErrors/403_Forbidden.yaml +++ b/tests/api/v1/datadog/cassettes/TestLogsListErrors/403_Forbidden.yaml @@ -15,11 +15,11 @@ interactions: User-Agent: - datadog-api-client-go/1.0.0-beta.11 (go go1.14.3; os darwin; arch amd64) X-Datadog-Parent-Id: - - "4925766737329250955" + - "1159631875233346233" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "1087100937919386163" + - "5605457710365358305" url: https://api.datadoghq.com/api/v1/logs-queries/list method: POST response: @@ -33,7 +33,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 18 Nov 2020 11:57:59 GMT + - Wed, 18 Nov 2020 15:16:56 GMT Via: - 1.1 haproxy status: 403 Forbidden From 1f81f224c580ebda79354c82ccdb9b0a3f0ba1e7 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Wed, 18 Nov 2020 15:49:08 +0000 Subject: [PATCH 16/16] Regenerate client from commit 1014300 of spec repo --- .apigentools-info | 8 +++--- api/v1/datadog/api/openapi.yaml | 1 - api/v1/datadog/docs/LogsApi.md | 2 +- api/v1/datadog/docs/LogsListRequest.md | 9 +++++-- api/v1/datadog/model_logs_list_request.go | 33 ++++++++++++++--------- 5 files changed, 32 insertions(+), 21 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index 9206e887489..823d97db047 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.3.0", - "regenerated": "2020-11-17 18:40:45.694224", - "spec_repo_commit": "bea8b79" + "regenerated": "2020-11-18 15:49:01.526155", + "spec_repo_commit": "1014300" }, "v2": { "apigentools_version": "1.3.0", - "regenerated": "2020-11-17 18:40:51.132813", - "spec_repo_commit": "bea8b79" + "regenerated": "2020-11-18 15:49:07.510777", + "spec_repo_commit": "1014300" } } } \ No newline at end of file diff --git a/api/v1/datadog/api/openapi.yaml b/api/v1/datadog/api/openapi.yaml index 4840e5b28ef..f464156ff12 100644 --- a/api/v1/datadog/api/openapi.yaml +++ b/api/v1/datadog/api/openapi.yaml @@ -10135,7 +10135,6 @@ components: time: $ref: '#/components/schemas/LogsListRequest_time' required: - - query - time type: object LogsListResponse: diff --git a/api/v1/datadog/docs/LogsApi.md b/api/v1/datadog/docs/LogsApi.md index d9119781208..2264f067d23 100644 --- a/api/v1/datadog/docs/LogsApi.md +++ b/api/v1/datadog/docs/LogsApi.md @@ -42,7 +42,7 @@ func main() { }, ) - body := *datadog.NewLogsListRequest("service:web* AND @http.status_code:[200 TO 299]", *datadog.NewLogsListRequest_time("TODO", "TODO")) // LogsListRequest | Logs filter + body := *datadog.NewLogsListRequest(*datadog.NewLogsListRequest_time("TODO", "TODO")) // LogsListRequest | Logs filter configuration := datadog.NewConfiguration() diff --git a/api/v1/datadog/docs/LogsListRequest.md b/api/v1/datadog/docs/LogsListRequest.md index 68485efccb4..3d7278da25a 100644 --- a/api/v1/datadog/docs/LogsListRequest.md +++ b/api/v1/datadog/docs/LogsListRequest.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Index** | Pointer to **string** | The log index on which the request is performed. For multi-index organizations, the default is all live indexes. Historical indexes of rehydrated logs must be specified. | [optional] **Limit** | Pointer to **int32** | Number of logs return in the response. | [optional] -**Query** | **string** | The search query - following the log search syntax. | +**Query** | Pointer to **string** | The search query - following the log search syntax. | [optional] **Sort** | Pointer to [**LogsSort**](LogsSort.md) | | [optional] **StartAt** | Pointer to **string** | Hash identifier of the first log to return in the list, available in a log `id` attribute. This parameter is used for the pagination feature. **Note**: This parameter is ignored if the corresponding log is out of the scope of the specified time window. | [optional] **Time** | [**LogsListRequestTime**](LogsListRequest_time.md) | | @@ -15,7 +15,7 @@ Name | Type | Description | Notes ### NewLogsListRequest -`func NewLogsListRequest(query string, time LogsListRequestTime, ) *LogsListRequest` +`func NewLogsListRequest(time LogsListRequestTime, ) *LogsListRequest` NewLogsListRequest instantiates a new LogsListRequest object This constructor will assign default values to properties that have it defined, @@ -99,6 +99,11 @@ and a boolean to check if the value has been set. SetQuery sets Query field to given value. +### HasQuery + +`func (o *LogsListRequest) HasQuery() bool` + +HasQuery returns a boolean if a field has been set. ### GetSort diff --git a/api/v1/datadog/model_logs_list_request.go b/api/v1/datadog/model_logs_list_request.go index 7e7af7f189d..1b8d80cc17f 100644 --- a/api/v1/datadog/model_logs_list_request.go +++ b/api/v1/datadog/model_logs_list_request.go @@ -19,7 +19,7 @@ type LogsListRequest struct { // Number of logs return in the response. Limit *int32 `json:"limit,omitempty"` // The search query - following the log search syntax. - Query string `json:"query"` + Query *string `json:"query,omitempty"` Sort *LogsSort `json:"sort,omitempty"` // Hash identifier of the first log to return in the list, available in a log `id` attribute. This parameter is used for the pagination feature. **Note**: This parameter is ignored if the corresponding log is out of the scope of the specified time window. StartAt *string `json:"startAt,omitempty"` @@ -30,9 +30,8 @@ type LogsListRequest struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewLogsListRequest(query string, time LogsListRequestTime) *LogsListRequest { +func NewLogsListRequest(time LogsListRequestTime) *LogsListRequest { this := LogsListRequest{} - this.Query = query this.Time = time return &this } @@ -109,28 +108,36 @@ func (o *LogsListRequest) SetLimit(v int32) { o.Limit = &v } -// GetQuery returns the Query field value +// GetQuery returns the Query field value if set, zero value otherwise. func (o *LogsListRequest) GetQuery() string { - if o == nil { + if o == nil || o.Query == nil { var ret string return ret } - - return o.Query + return *o.Query } -// GetQueryOk returns a tuple with the Query field value +// GetQueryOk returns a tuple with the Query field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *LogsListRequest) GetQueryOk() (*string, bool) { - if o == nil { + if o == nil || o.Query == nil { return nil, false } - return &o.Query, true + return o.Query, true +} + +// HasQuery returns a boolean if a field has been set. +func (o *LogsListRequest) HasQuery() bool { + if o != nil && o.Query != nil { + return true + } + + return false } -// SetQuery sets field value +// SetQuery gets a reference to the given string and assigns it to the Query field. func (o *LogsListRequest) SetQuery(v string) { - o.Query = v + o.Query = &v } // GetSort returns the Sort field value if set, zero value otherwise. @@ -229,7 +236,7 @@ func (o LogsListRequest) MarshalJSON() ([]byte, error) { if o.Limit != nil { toSerialize["limit"] = o.Limit } - if true { + if o.Query != nil { toSerialize["query"] = o.Query } if o.Sort != nil {