Skip to content

Commit b1c6aa1

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 9477bc4 of spec repo
1 parent 08dc111 commit b1c6aa1

9 files changed

Lines changed: 9 additions & 50 deletions

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -85761,10 +85761,6 @@ paths:
8576185761
operator: OR
8576285762
permissions:
8576385763
- teams_read
85764-
x-unstable: '**Note**: This endpoint is in Preview. To request access, fill
85765-
out this [form](https://www.datadoghq.com/product-preview/github-integration-for-teams/).
85766-
85767-
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
8576885764
get:
8576985765
description: Returns all team connections.
8577085766
operationId: ListTeamConnections
@@ -85844,10 +85840,6 @@ paths:
8584485840
operator: OR
8584585841
permissions:
8584685842
- teams_read
85847-
x-unstable: '**Note**: This endpoint is in Preview. To request access, fill
85848-
out this [form](https://www.datadoghq.com/product-preview/github-integration-for-teams/).
85849-
85850-
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
8585185843
post:
8585285844
description: Create multiple team connections.
8585385845
operationId: CreateTeamConnections
@@ -85884,10 +85876,6 @@ paths:
8588485876
operator: OR
8588585877
permissions:
8588685878
- teams_read
85887-
x-unstable: '**Note**: This endpoint is in Preview. To request access, fill
85888-
out this [form](https://www.datadoghq.com/product-preview/github-integration-for-teams/).
85889-
85890-
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
8589185879
/api/v2/team/sync:
8589285880
get:
8589385881
description: 'Get all team synchronization configurations.
@@ -85931,10 +85919,6 @@ paths:
8593185919
operator: OR
8593285920
permissions:
8593385921
- teams_read
85934-
x-unstable: '**Note**: This endpoint is in Preview. To request access, fill
85935-
out this [form](https://www.datadoghq.com/product-preview/github-integration-for-teams/).
85936-
85937-
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
8593885922
post:
8593985923
description: 'This endpoint attempts to link your existing Datadog teams with
8594085924
GitHub teams by matching their names.
@@ -85996,10 +85980,6 @@ paths:
8599685980
operator: AND
8599785981
permissions:
8599885982
- teams_manage
85999-
x-unstable: '**Note**: This endpoint is in Preview. To request access, fill
86000-
out this [form](https://www.datadoghq.com/product-preview/github-integration-for-teams/).
86001-
86002-
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
8600385983
/api/v2/team/{super_team_id}/member_teams:
8600485984
get:
8600585985
deprecated: true

examples/v2/teams/DeleteTeamConnections.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
)
1919

2020
configuration = Configuration()
21-
configuration.unstable_operations["delete_team_connections"] = True
2221
with ApiClient(configuration) as api_client:
2322
api_instance = TeamsApi(api_client)
2423
api_instance.delete_team_connections(body=body)

examples/v2/teams/GetTeamSync.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
from datadog_api_client.v2.model.team_sync_attributes_source import TeamSyncAttributesSource
88

99
configuration = Configuration()
10-
configuration.unstable_operations["get_team_sync"] = True
1110
with ApiClient(configuration) as api_client:
1211
api_instance = TeamsApi(api_client)
1312
response = api_instance.get_team_sync(

examples/v2/teams/ListTeamConnections.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
from datadog_api_client.v2.api.teams_api import TeamsApi
77

88
configuration = Configuration()
9-
configuration.unstable_operations["list_team_connections"] = True
109
with ApiClient(configuration) as api_client:
1110
api_instance = TeamsApi(api_client)
1211
response = api_instance.list_team_connections()

examples/v2/teams/ListTeamConnections_2418873869.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
from datadog_api_client.v2.api.teams_api import TeamsApi
77

88
configuration = Configuration()
9-
configuration.unstable_operations["list_team_connections"] = True
109
with ApiClient(configuration) as api_client:
1110
api_instance = TeamsApi(api_client)
1211
items = api_instance.list_team_connections_with_pagination()

examples/v2/teams/SyncTeams.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
)
2323

2424
configuration = Configuration()
25-
configuration.unstable_operations["sync_teams"] = True
2625
with ApiClient(configuration) as api_client:
2726
api_instance = TeamsApi(api_client)
2827
api_instance.sync_teams(body=body)

examples/v2/teams/SyncTeams_3215592344.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
)
2323

2424
configuration = Configuration()
25-
configuration.unstable_operations["sync_teams"] = True
2625
with ApiClient(configuration) as api_client:
2726
api_instance = TeamsApi(api_client)
2827
api_instance.sync_teams(body=body)

src/datadog_api_client/configuration.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -393,13 +393,8 @@ def __init__(
393393
"v2.create_sca_resolve_vulnerable_symbols": False,
394394
"v2.create_sca_result": False,
395395
"v2.add_member_team": False,
396-
"v2.create_team_connections": False,
397-
"v2.delete_team_connections": False,
398-
"v2.get_team_sync": False,
399396
"v2.list_member_teams": False,
400-
"v2.list_team_connections": False,
401397
"v2.remove_member_team": False,
402-
"v2.sync_teams": False,
403398
"v2.create_incident_team": False,
404399
"v2.delete_incident_team": False,
405400
"v2.get_incident_team": False,

tests/v2/features/teams.feature

Lines changed: 9 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,7 @@ Feature: Teams
125125

126126
@generated @skip @team:DataDog/aaa-omg
127127
Scenario: Create team connections returns "Conflict" response
128-
Given operation "CreateTeamConnections" enabled
129-
And new "CreateTeamConnections" request
128+
Given new "CreateTeamConnections" request
130129
And body with value {"data": [{"attributes": {"managed_by": "github_sync", "source": "github"}, "relationships": {"connected_team": {"data": {"id": "@GitHubOrg/team-handle", "type": "github_team"}}, "team": {"data": {"id": "87654321-4321-8765-dcba-210987654321", "type": "team"}}}, "type": "team_connection"}]}
131130
When the request is sent
132131
Then the response status is 409 Conflict
@@ -155,16 +154,14 @@ Feature: Teams
155154

156155
@generated @skip @team:DataDog/aaa-omg
157156
Scenario: Delete team connections returns "No Content" response
158-
Given operation "DeleteTeamConnections" enabled
159-
And new "DeleteTeamConnections" request
157+
Given new "DeleteTeamConnections" request
160158
And body with value {"data": [{"id": "12345678-1234-5678-9abc-123456789012", "type": "team_connection"}]}
161159
When the request is sent
162160
Then the response status is 204 No Content
163161

164162
@generated @skip @team:DataDog/aaa-omg
165163
Scenario: Delete team connections returns "Not Found" response
166-
Given operation "DeleteTeamConnections" enabled
167-
And new "DeleteTeamConnections" request
164+
Given new "DeleteTeamConnections" request
168165
And body with value {"data": [{"id": "12345678-1234-5678-9abc-123456789012", "type": "team_connection"}]}
169166
When the request is sent
170167
Then the response status is 404 Not Found
@@ -357,16 +354,14 @@ Feature: Teams
357354

358355
@generated @skip @team:DataDog/aaa-omg
359356
Scenario: Get team sync configurations returns "OK" response
360-
Given operation "GetTeamSync" enabled
361-
And new "GetTeamSync" request
357+
Given new "GetTeamSync" request
362358
And request contains "filter[source]" parameter from "REPLACE.ME"
363359
When the request is sent
364360
Then the response status is 200 OK
365361

366362
@generated @skip @team:DataDog/aaa-omg
367363
Scenario: Get team sync configurations returns "Team sync configurations not found" response
368-
Given operation "GetTeamSync" enabled
369-
And new "GetTeamSync" request
364+
Given new "GetTeamSync" request
370365
And request contains "filter[source]" parameter from "REPLACE.ME"
371366
When the request is sent
372367
Then the response status is 404 Team sync configurations not found
@@ -389,30 +384,26 @@ Feature: Teams
389384

390385
@generated @skip @team:DataDog/aaa-omg
391386
Scenario: Link Teams with GitHub Teams returns "OK" response
392-
Given operation "SyncTeams" enabled
393-
And new "SyncTeams" request
387+
Given new "SyncTeams" request
394388
And body with value {"data": {"attributes": {"source": "github", "type": "link"}, "type": "team_sync_bulk"}}
395389
When the request is sent
396390
Then the response status is 200 OK
397391

398392
@generated @skip @team:DataDog/aaa-omg
399393
Scenario: List team connections returns "Bad Request" response
400-
Given operation "ListTeamConnections" enabled
401-
And new "ListTeamConnections" request
394+
Given new "ListTeamConnections" request
402395
When the request is sent
403396
Then the response status is 400 Bad Request
404397

405398
@generated @skip @team:DataDog/aaa-omg
406399
Scenario: List team connections returns "OK" response
407-
Given operation "ListTeamConnections" enabled
408-
And new "ListTeamConnections" request
400+
Given new "ListTeamConnections" request
409401
When the request is sent
410402
Then the response status is 200 OK
411403

412404
@generated @skip @team:DataDog/aaa-omg @with-pagination
413405
Scenario: List team connections returns "OK" response with pagination
414-
Given operation "ListTeamConnections" enabled
415-
And new "ListTeamConnections" request
406+
Given new "ListTeamConnections" request
416407
When the request with pagination is sent
417408
Then the response status is 200 OK
418409

@@ -515,7 +506,6 @@ Feature: Teams
515506
@replay-only @team:DataDog/aaa-omg
516507
Scenario: Sync teams returns "OK" response
517508
Given new "SyncTeams" request
518-
And operation "SyncTeams" enabled
519509
And body with value {"data": {"attributes": {"source": "github", "type": "link"}, "type": "team_sync_bulk"}}
520510
When the request is sent
521511
Then the response status is 200 OK

0 commit comments

Comments
 (0)