Skip to content

Commit 6808286

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 55b88fd3 of spec repo (#694)
Co-authored-by: ci.datadog-api-spec <[email protected]> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
1 parent 582bb16 commit 6808286

14 files changed

+15
-92
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.2",
7-
"regenerated": "2022-05-25 07:05:41.005608",
8-
"spec_repo_commit": "ee6c9cb0"
7+
"regenerated": "2022-05-26 16:07:25.397102",
8+
"spec_repo_commit": "55b88fd3"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.2",
12-
"regenerated": "2022-05-25 07:05:41.017500",
13-
"spec_repo_commit": "ee6c9cb0"
12+
"regenerated": "2022-05-26 16:07:25.410523",
13+
"spec_repo_commit": "55b88fd3"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -23807,9 +23807,6 @@ paths:
2380723807
x-menu-order: 2
2380823808
x-undo:
2380923809
type: safe
23810-
x-unstable: '**Note**: This endpoint is in public beta.
23811-
23812-
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
2381323810
post:
2381423811
description: Create an SLO Correction.
2381523812
operationId: CreateSLOCorrection
@@ -23868,9 +23865,6 @@ paths:
2386823865
- name: slo_correction_id
2386923866
source: data.id
2387023867
type: unsafe
23871-
x-unstable: '**Note**: This endpoint is in public beta.
23872-
23873-
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
2387423868
/api/v1/slo/correction/{slo_correction_id}:
2387523869
delete:
2387623870
description: Permanently delete the specified SLO correction object.
@@ -23905,9 +23899,6 @@ paths:
2390523899
x-menu-order: 5
2390623900
x-undo:
2390723901
type: idempotent
23908-
x-unstable: '**Note**: This endpoint is in public beta.
23909-
23910-
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
2391123902
get:
2391223903
description: Get an SLO correction.
2391323904
operationId: GetSLOCorrection
@@ -23945,9 +23936,6 @@ paths:
2394523936
x-menu-order: 3
2394623937
x-undo:
2394723938
type: safe
23948-
x-unstable: '**Note**: This endpoint is in public beta.
23949-
23950-
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
2395123939
patch:
2395223940
description: Update the specified SLO correction object.
2395323941
operationId: UpdateSLOCorrection
@@ -23999,9 +23987,6 @@ paths:
2399923987
x-menu-order: 4
2400023988
x-undo:
2400123989
type: idempotent
24002-
x-unstable: '**Note**: This endpoint is in public beta.
24003-
24004-
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
2400523990
/api/v1/slo/{slo_id}:
2400623991
delete:
2400723992
description: 'Permanently delete the specified service level objective object.
@@ -24205,9 +24190,6 @@ paths:
2420524190
x-menu-order: 6
2420624191
x-undo:
2420724192
type: safe
24208-
x-unstable: '**Note**: This endpoint is in public beta.
24209-
24210-
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
2421124193
/api/v1/slo/{slo_id}/history:
2421224194
get:
2421324195
description: "Get a specific SLO\u2019s history, regardless of its SLO type.\n\nThe

examples/v1/service-level-objective-corrections/CreateSLOCorrection.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
import { v1 } from "@datadog/datadog-api-client";
66

77
const configuration = v1.createConfiguration();
8-
configuration.unstableOperations["createSLOCorrection"] = true;
98
const apiInstance = new v1.ServiceLevelObjectiveCorrectionsApi(configuration);
109

1110
// there is a valid "slo" in the system

examples/v1/service-level-objective-corrections/CreateSLOCorrection_1326388368.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
import { v1 } from "@datadog/datadog-api-client";
66

77
const configuration = v1.createConfiguration();
8-
configuration.unstableOperations["createSLOCorrection"] = true;
98
const apiInstance = new v1.ServiceLevelObjectiveCorrectionsApi(configuration);
109

1110
// there is a valid "slo" in the system

examples/v1/service-level-objective-corrections/DeleteSLOCorrection.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
import { v1 } from "@datadog/datadog-api-client";
66

77
const configuration = v1.createConfiguration();
8-
configuration.unstableOperations["deleteSLOCorrection"] = true;
98
const apiInstance = new v1.ServiceLevelObjectiveCorrectionsApi(configuration);
109

1110
const params: v1.ServiceLevelObjectiveCorrectionsApiDeleteSLOCorrectionRequest =

examples/v1/service-level-objective-corrections/GetSLOCorrection.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
import { v1 } from "@datadog/datadog-api-client";
66

77
const configuration = v1.createConfiguration();
8-
configuration.unstableOperations["getSLOCorrection"] = true;
98
const apiInstance = new v1.ServiceLevelObjectiveCorrectionsApi(configuration);
109

1110
// there is a valid "correction" for "slo"

examples/v1/service-level-objective-corrections/ListSLOCorrection.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
import { v1 } from "@datadog/datadog-api-client";
66

77
const configuration = v1.createConfiguration();
8-
configuration.unstableOperations["listSLOCorrection"] = true;
98
const apiInstance = new v1.ServiceLevelObjectiveCorrectionsApi(configuration);
109

1110
apiInstance

examples/v1/service-level-objective-corrections/UpdateSLOCorrection.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
import { v1 } from "@datadog/datadog-api-client";
66

77
const configuration = v1.createConfiguration();
8-
configuration.unstableOperations["updateSLOCorrection"] = true;
98
const apiInstance = new v1.ServiceLevelObjectiveCorrectionsApi(configuration);
109

1110
// there is a valid "correction" for "slo"

examples/v1/service-level-objectives/GetSLOCorrections.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
import { v1 } from "@datadog/datadog-api-client";
66

77
const configuration = v1.createConfiguration();
8-
configuration.unstableOperations["getSLOCorrections"] = true;
98
const apiInstance = new v1.ServiceLevelObjectivesApi(configuration);
109

1110
// there is a valid "slo" in the system

features/v1/service_level_objective_corrections.feature

Lines changed: 8 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ Feature: Service Level Objective Corrections
1414
@skip @team:DataDog/slo-app
1515
Scenario: Create an SLO correction returns "Bad Request" response
1616
Given there is a valid "slo" in the system
17-
And operation "CreateSLOCorrection" enabled
1817
And new "CreateSLOCorrection" request
1918
And body with value {"data": {"attributes": {"category": "Scheduled Maintenance", "description": "{{ unique }}", "end": {{ timestamp("now + 1h") }}, "start": {{ timestamp("now") }}, "timezone": "UTC"}, "type": "correction"}}
2019
When the request is sent
@@ -23,66 +22,58 @@ Feature: Service Level Objective Corrections
2322
@team:DataDog/slo-app
2423
Scenario: Create an SLO correction returns "OK" response
2524
Given there is a valid "slo" in the system
26-
And operation "CreateSLOCorrection" enabled
2725
And new "CreateSLOCorrection" request
2826
And body with value {"data": {"attributes": {"category": "Scheduled Maintenance", "description": "{{ unique }}", "end": {{ timestamp("now + 1h") }}, "slo_id": "{{ slo.data[0].id }}", "start": {{ timestamp("now") }}, "timezone": "UTC"}, "type": "correction"}}
2927
When the request is sent
3028
Then the response status is 200 OK
3129

3230
@skip @team:DataDog/slo-app
3331
Scenario: Create an SLO correction returns "SLO Not Found" response
34-
Given operation "CreateSLOCorrection" enabled
35-
And new "CreateSLOCorrection" request
32+
Given new "CreateSLOCorrection" request
3633
And body with value {"data": {"attributes": {"category": "Scheduled Maintenance", "description": "{{ unique }}", "end": {{ timestamp("now + 1h") }}, "slo_id": "sloId", "start": {{ timestamp("now") }}, "timezone": "UTC"}, "type": "correction"}}
3734
When the request is sent
3835
Then the response status is 404 SLO Not Found
3936

4037
@team:DataDog/slo-app
4138
Scenario: Create an SLO correction with rrule returns "OK" response
4239
Given there is a valid "slo" in the system
43-
And operation "CreateSLOCorrection" enabled
4440
And new "CreateSLOCorrection" request
4541
And body with value {"data": {"attributes": {"category": "Scheduled Maintenance", "description": "{{ unique }}", "slo_id": "{{ slo.data[0].id }}", "start": {{ timestamp("now") }}, "duration": 3600, "rrule": "FREQ=DAILY;INTERVAL=10;COUNT=5", "timezone": "UTC"}, "type": "correction"}}
4642
When the request is sent
4743
Then the response status is 200 OK
4844

4945
@generated @skip @team:DataDog/slo-app
5046
Scenario: Delete an SLO correction returns "Not found" response
51-
Given operation "DeleteSLOCorrection" enabled
52-
And new "DeleteSLOCorrection" request
47+
Given new "DeleteSLOCorrection" request
5348
And request contains "slo_correction_id" parameter from "REPLACE.ME"
5449
When the request is sent
5550
Then the response status is 404 Not found
5651

5752
@generated @skip @team:DataDog/slo-app
5853
Scenario: Delete an SLO correction returns "OK" response
59-
Given operation "DeleteSLOCorrection" enabled
60-
And new "DeleteSLOCorrection" request
54+
Given new "DeleteSLOCorrection" request
6155
And request contains "slo_correction_id" parameter from "REPLACE.ME"
6256
When the request is sent
6357
Then the response status is 204 OK
6458

6559
@team:DataDog/slo-app
6660
Scenario: Get all SLO corrections returns "OK" response
67-
Given operation "ListSLOCorrection" enabled
68-
And there is a valid "slo" in the system
61+
Given there is a valid "slo" in the system
6962
And there is a valid "correction" for "slo"
7063
And new "ListSLOCorrection" request
7164
When the request is sent
7265
Then the response status is 200 OK
7366

7467
@generated @skip @team:DataDog/slo-app
7568
Scenario: Get an SLO correction for an SLO returns "Bad Request" response
76-
Given operation "GetSLOCorrection" enabled
77-
And new "GetSLOCorrection" request
69+
Given new "GetSLOCorrection" request
7870
And request contains "slo_correction_id" parameter from "REPLACE.ME"
7971
When the request is sent
8072
Then the response status is 400 Bad Request
8173

8274
@team:DataDog/slo-app
8375
Scenario: Get an SLO correction for an SLO returns "OK" response
84-
Given operation "GetSLOCorrection" enabled
85-
And there is a valid "slo" in the system
76+
Given there is a valid "slo" in the system
8677
And there is a valid "correction" for "slo"
8778
And new "GetSLOCorrection" request
8879
And request contains "slo_correction_id" parameter from "correction.data.id"
@@ -91,8 +82,7 @@ Feature: Service Level Objective Corrections
9182

9283
@skip @team:DataDog/slo-app
9384
Scenario: Update an SLO correction returns "Bad Request" response
94-
Given operation "UpdateSLOCorrection" enabled
95-
And there is a valid "slo" in the system
85+
Given there is a valid "slo" in the system
9686
And there is a valid "correction" for "slo"
9787
And new "UpdateSLOCorrection" request
9888
And request contains "slo_correction_id" parameter from "correction.data.id"
@@ -102,8 +92,7 @@ Feature: Service Level Objective Corrections
10292

10393
@generated @skip @team:DataDog/slo-app
10494
Scenario: Update an SLO correction returns "Not Found" response
105-
Given operation "UpdateSLOCorrection" enabled
106-
And new "UpdateSLOCorrection" request
95+
Given new "UpdateSLOCorrection" request
10796
And request contains "slo_correction_id" parameter from "REPLACE.ME"
10897
And body with value {"data": {"attributes": {"category": "Scheduled Maintenance", "duration": 3600, "end": 1600000000, "rrule": "FREQ=DAILY;INTERVAL=10;COUNT=5", "start": 1600000000, "timezone": "UTC"}, "type": "correction"}}
10998
When the request is sent
@@ -113,7 +102,6 @@ Feature: Service Level Objective Corrections
113102
Scenario: Update an SLO correction returns "OK" response
114103
Given there is a valid "slo" in the system
115104
And there is a valid "correction" for "slo"
116-
And operation "UpdateSLOCorrection" enabled
117105
And new "UpdateSLOCorrection" request
118106
And request contains "slo_correction_id" parameter from "correction.data.id"
119107
And body with value {"data": {"attributes": {"category": "Deployment", "description": "{{ unique }}", "end": {{ timestamp("now + 1h") }}, "start": {{ timestamp("now") }}, "timezone": "UTC"}, "type": "correction"}}

0 commit comments

Comments
 (0)