Skip to content

Commit

Permalink
Regenerate client from commit 1c9d9807 of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Jan 29, 2024
1 parent dc9ee45 commit 3fd174d
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2024-01-26 20:57:00.588070",
"spec_repo_commit": "a1db94fd"
"regenerated": "2024-01-29 15:10:10.158727",
"spec_repo_commit": "1c9d9807"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-01-26 20:57:00.671832",
"spec_repo_commit": "a1db94fd"
"regenerated": "2024-01-29 15:10:10.215455",
"spec_repo_commit": "1c9d9807"
}
}
}
2 changes: 1 addition & 1 deletion examples/v2/okta-integration/CreateOktaAccount.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
attributes=OktaAccountAttributes(
auth_method="oauth",
domain="https://example.okta.com/",
name="Okta_Prod",
name="exampleoktaintegration",
client_id="client_id",
client_secret="client_secret",
),
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2023-11-21T16:59:43.805Z
2024-01-29T14:58:52.386Z
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
interactions:
- request:
body: '{"data":{"attributes":{"auth_method":"oauth","client_id":"client_id","client_secret":"client_secret","domain":"https://example.okta.com/","name":"Okta_Prod"},"id":"f749daaf-682e-4208-a38d-c9b43162c609","type":"okta-accounts"}}'
body: '{"data":{"attributes":{"auth_method":"oauth","client_id":"client_id","client_secret":"client_secret","domain":"https://example.okta.com/","name":"testaddoktaaccountreturnsokresponse1706540332"},"id":"f749daaf-682e-4208-a38d-c9b43162c609","type":"okta-accounts"}}'
headers:
accept:
- application/json
Expand All @@ -10,7 +10,7 @@ interactions:
uri: https://api.datadoghq.com/api/v2/integrations/okta/accounts
response:
body:
string: '{"data":{"type":"okta-accounts","attributes":{"domain":"https://example.okta.com/","client_id":"client_id","auth_method":"oauth","name":"Okta_Prod"},"id":"6330b376-d352-4a06-a169-107002bd6e6c"}}
string: '{"data":{"type":"okta-accounts","attributes":{"auth_method":"oauth","client_id":"client_id","domain":"https://example.okta.com/","name":"testaddoktaaccountreturnsokresponse1706540332"},"id":"1e62be98-94ab-403d-9491-98b7fbf9a7de"}}
'
headers:
Expand All @@ -25,7 +25,7 @@ interactions:
accept:
- '*/*'
method: DELETE
uri: https://api.datadoghq.com/api/v2/integrations/okta/accounts/6330b376-d352-4a06-a169-107002bd6e6c
uri: https://api.datadoghq.com/api/v2/integrations/okta/accounts/1e62be98-94ab-403d-9491-98b7fbf9a7de
response:
body:
string: ''
Expand Down
2 changes: 1 addition & 1 deletion tests/v2/features/okta_integration.feature
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Feature: Okta Integration
@team:DataDog/saas-integrations @team:DataDog/web-integrations
Scenario: Add Okta account returns "OK" response
Given new "CreateOktaAccount" request
And body with value {"data": {"attributes": {"auth_method": "oauth", "domain": "https://example.okta.com/", "name": "Okta_Prod", "client_id": "client_id", "client_secret":"client_secret"},"id": "f749daaf-682e-4208-a38d-c9b43162c609", "type": "okta-accounts"}}
And body with value {"data": {"attributes": {"auth_method": "oauth", "domain": "https://example.okta.com/", "name": "{{ unique_lower_alnum }}", "client_id": "client_id", "client_secret":"client_secret"},"id": "f749daaf-682e-4208-a38d-c9b43162c609", "type": "okta-accounts"}}
When the request is sent
Then the response status is 201 OK

Expand Down

0 comments on commit 3fd174d

Please sign in to comment.