Skip to content

Commit

Permalink
Enable McNulty paths that have no changes. (#24087)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
api-clients-generation-pipeline[bot] and ci.datadog-api-spec authored Jul 11, 2024
1 parent 34cbfaf commit bf39a73
Show file tree
Hide file tree
Showing 10 changed files with 977 additions and 302 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-07-10 18:19:43.536516",
"spec_repo_commit": "83dbc3db"
"regenerated": "2024-07-11 14:30:59.742020",
"spec_repo_commit": "3eedf0af"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-07-10 18:19:51.983829",
"spec_repo_commit": "83dbc3db"
"regenerated": "2024-07-11 14:31:08.211491",
"spec_repo_commit": "3eedf0af"
}
}
}
40 changes: 20 additions & 20 deletions content/en/api/v1/synthetics/examples.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,157 @@
{
"config": {
"steps": [
{
"assertions": [
{
"operator": "is",
"type": "statusCode",
"target": 200
}
],
"name": "request is sent",
"request": {
"url": "https://httpbin.org/status/200",
"method": "GET",
"basicAuth": {
"password": "password",
"username": "username"
}
},
"subtype": "http"
},
{
"assertions": [
{
"operator": "is",
"type": "statusCode",
"target": 200
}
],
"name": "request is sent",
"request": {
"url": "https://httpbin.org/status/200",
"method": "GET",
"basicAuth": {
"password": "password",
"username": "username",
"type": "web"
}
},
"subtype": "http"
},
{
"assertions": [
{
"operator": "is",
"type": "statusCode",
"target": 200
}
],
"name": "request is sent",
"request": {
"url": "https://httpbin.org/status/200",
"method": "GET",
"basicAuth": {
"accessKey": "accessKey",
"secretKey": "secretKey",
"type": "sigv4"
}
},
"subtype": "http"
},
{
"assertions": [
{
"operator": "is",
"type": "statusCode",
"target": 200
}
],
"name": "request is sent",
"request": {
"url": "https://httpbin.org/status/200",
"method": "GET",
"basicAuth": {
"type": "ntlm"
}
},
"subtype": "http"
},
{
"assertions": [
{
"operator": "is",
"type": "statusCode",
"target": 200
}
],
"name": "request is sent",
"request": {
"url": "https://httpbin.org/status/200",
"method": "GET",
"basicAuth": {
"password": "password",
"username": "username",
"type": "digest"
}
},
"subtype": "http"
},
{
"assertions": [
{
"operator": "is",
"type": "statusCode",
"target": 200
}
],
"name": "request is sent",
"request": {
"url": "https://httpbin.org/status/200",
"method": "GET",
"basicAuth": {
"accessTokenUrl": "accessTokenUrl",
"tokenApiAuthentication": "header",
"clientId": "clientId",
"clientSecret": "clientSecret",
"type": "oauth-client"
}
},
"subtype": "http"
},
{
"assertions": [
{
"operator": "is",
"type": "statusCode",
"target": 200
}
],
"name": "request is sent",
"request": {
"url": "https://httpbin.org/status/200",
"method": "GET",
"basicAuth": {
"accessTokenUrl": "accessTokenUrl",
"password": "password",
"tokenApiAuthentication": "header",
"username": "username",
"type": "oauth-rop"
}
},
"subtype": "http"
}
]
},
"locations": [
"aws:us-east-2"
],
"message": "BDD test payload: synthetics_api_test_multi_step_with_every_type_of_basic_auth.json",
"name": "Example-Synthetic",
"options": {
"tick_every": 60
},
"subtype": "multi",
"type": "api"
}
17 changes: 11 additions & 6 deletions data/api/v1/CodeExamples.json
Original file line number Diff line number Diff line change
Expand Up @@ -748,14 +748,12 @@
"description": "Create a global variable from test returns \"OK\" response"
}
],
"CreatePrivateLocation": [
"CreateSyntheticsAPITest": [
{
"group": "synthetics",
"suffix": "",
"description": "Create a private location returns \"OK\" response"
}
],
"CreateSyntheticsAPITest": [
"suffix": "_1717840259",
"description": "Create a multi-step api test with every type of basicAuth returns \"OK - Returns the created test details.\" response"
},
{
"group": "synthetics",
"suffix": "_1402674167",
Expand Down Expand Up @@ -802,6 +800,13 @@
"description": "Create an API test with multi subtype returns \"OK - Returns the created test details.\" response"
}
],
"CreatePrivateLocation": [
{
"group": "synthetics",
"suffix": "",
"description": "Create a private location returns \"OK\" response"
}
],
"UpdateAPITest": [
{
"group": "synthetics",
Expand Down
3 changes: 3 additions & 0 deletions data/api/v1/full_spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14295,6 +14295,7 @@ components:
required:
- password
- username
- type
type: object
SyntheticsBasicAuthDigestType:
default: digest
Expand Down Expand Up @@ -14378,6 +14379,7 @@ components:
- tokenApiAuthentication
- clientId
- clientSecret
- type
type: object
SyntheticsBasicAuthOauthClientType:
default: oauth-client
Expand Down Expand Up @@ -14433,6 +14435,7 @@ components:
- password
- tokenApiAuthentication
- username
- type
type: object
SyntheticsBasicAuthOauthROPType:
default: oauth-rop
Expand Down
Loading

0 comments on commit bf39a73

Please sign in to comment.