Skip to content

Commit 0fe8e59

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Remove Beta status for SLO history endpoint (#1212)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 3a88ec9 commit 0fe8e59

File tree

5 files changed

+6
-14
lines changed

5 files changed

+6
-14
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.4",
7-
"regenerated": "2022-10-25 16:38:53.561467",
8-
"spec_repo_commit": "afdd6b70"
7+
"regenerated": "2022-10-25 17:03:46.463169",
8+
"spec_repo_commit": "9673a7f6"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.4",
12-
"regenerated": "2022-10-25 16:38:53.576826",
13-
"spec_repo_commit": "afdd6b70"
12+
"regenerated": "2022-10-25 17:03:46.475072",
13+
"spec_repo_commit": "9673a7f6"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25271,9 +25271,6 @@ paths:
2527125271
summary: Get an SLO's history
2527225272
tags:
2527325273
- Service Level Objectives
25274-
x-unstable: '**Note**: This endpoint is in public beta.
25275-
25276-
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
2527725274
/api/v1/synthetics/ci/batch/{batch_id}:
2527825275
get:
2527925276
description: Get a batch's updated details.

examples/v1/service-level-objectives/GetSLOHistory.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
SLO_DATA_0_ID = environ["SLO_DATA_0_ID"]
1313

1414
configuration = Configuration()
15-
configuration.unstable_operations["get_slo_history"] = True
1615
with ApiClient(configuration) as api_client:
1716
api_instance = ServiceLevelObjectivesApi(api_client)
1817
response = api_instance.get_slo_history(

src/datadog_api_client/configuration.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,6 @@ def __init__(
221221
# Keep track of unstable operations
222222
self.unstable_operations = _UnstableOperations(
223223
{
224-
"v1.get_slo_history": False,
225224
"v1.search_slo": False,
226225
"v2.list_events": False,
227226
"v2.search_events": False,

tests/v1/features/service_level_objectives.feature

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,7 @@ Feature: Service Level Objectives
148148

149149
@generated @skip @team:DataDog/slo-app
150150
Scenario: Get an SLO's history returns "Bad Request" response
151-
Given operation "GetSLOHistory" enabled
152-
And new "GetSLOHistory" request
151+
Given new "GetSLOHistory" request
153152
And request contains "slo_id" parameter from "REPLACE.ME"
154153
And request contains "from_ts" parameter from "REPLACE.ME"
155154
And request contains "to_ts" parameter from "REPLACE.ME"
@@ -158,8 +157,7 @@ Feature: Service Level Objectives
158157

159158
@generated @skip @team:DataDog/slo-app
160159
Scenario: Get an SLO's history returns "Not Found" response
161-
Given operation "GetSLOHistory" enabled
162-
And new "GetSLOHistory" request
160+
Given new "GetSLOHistory" request
163161
And request contains "slo_id" parameter from "REPLACE.ME"
164162
And request contains "from_ts" parameter from "REPLACE.ME"
165163
And request contains "to_ts" parameter from "REPLACE.ME"
@@ -169,7 +167,6 @@ Feature: Service Level Objectives
169167
@team:DataDog/slo-app
170168
Scenario: Get an SLO's history returns "OK" response
171169
Given there is a valid "slo" in the system
172-
And operation "GetSLOHistory" enabled
173170
And new "GetSLOHistory" request
174171
And request contains "slo_id" parameter from "slo.data[0].id"
175172
And request contains "from_ts" parameter with value {{ timestamp("now - 1d") }}

0 commit comments

Comments
 (0)