Skip to content

Commit

Permalink
Regenerate client from commit f1b60ce of spec repo (#299)
Browse files Browse the repository at this point in the history
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
  • Loading branch information
api-clients-generation-pipeline[bot] and ci.datadog-api-spec authored Apr 14, 2021
1 parent 71b5fd6 commit ba2cd13
Show file tree
Hide file tree
Showing 38 changed files with 262 additions and 265 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.4.1.dev6",
"regenerated": "2021-04-12 14:28:15.555684",
"spec_repo_commit": "92744ec"
"regenerated": "2021-04-14 13:00:19.157663",
"spec_repo_commit": "f1b60ce"
},
"v2": {
"apigentools_version": "1.4.1.dev6",
"regenerated": "2021-04-12 14:28:30.988232",
"spec_repo_commit": "92744ec"
"regenerated": "2021-04-14 13:00:32.499210",
"spec_repo_commit": "f1b60ce"
}
}
}
1 change: 1 addition & 0 deletions data/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -731,6 +731,7 @@ components:
- integration_screenboard
- integration_timeboard
- host_timeboard
example: host_timeboard
type: string
x-enum-varnames:
- CUSTOM_TIMEBOARD
Expand Down
30 changes: 15 additions & 15 deletions features/v1/aws_integration.feature
Original file line number Diff line number Diff line change
Expand Up @@ -12,70 +12,70 @@ Feature: AWS Integration
@generated @skip
Scenario: Create an AWS integration returns "Bad Request" response
Given new "CreateAWSAccount" request
And body {}
And body {"access_key_id": null, "account_id": "1234567", "account_specific_namespace_rules": {"auto_scaling": false, "opswork": false}, "excluded_regions": ["us-east-1", "us-west-2"], "filter_tags": ["<KEY>:<VALUE>"], "host_tags": ["<KEY>:<VALUE>"], "role_name": "DatadogAWSIntegrationRole", "secret_access_key": null}
When the request is sent
Then the response status is 400 Bad Request

@generated @skip
Scenario: Create an AWS integration returns "Conflict Error" response
Given new "CreateAWSAccount" request
And body {}
And body {"access_key_id": null, "account_id": "1234567", "account_specific_namespace_rules": {"auto_scaling": false, "opswork": false}, "excluded_regions": ["us-east-1", "us-west-2"], "filter_tags": ["<KEY>:<VALUE>"], "host_tags": ["<KEY>:<VALUE>"], "role_name": "DatadogAWSIntegrationRole", "secret_access_key": null}
When the request is sent
Then the response status is 409 Conflict Error

@generated @skip
Scenario: Create an AWS integration returns "OK" response
Given new "CreateAWSAccount" request
And body {}
And body {"access_key_id": null, "account_id": "1234567", "account_specific_namespace_rules": {"auto_scaling": false, "opswork": false}, "excluded_regions": ["us-east-1", "us-west-2"], "filter_tags": ["<KEY>:<VALUE>"], "host_tags": ["<KEY>:<VALUE>"], "role_name": "DatadogAWSIntegrationRole", "secret_access_key": null}
When the request is sent
Then the response status is 200 OK

@generated @skip
Scenario: Delete a tag filtering entry returns "Bad Request" response
Given new "DeleteAWSTagFilter" request
And body {}
And body {"account_id": "FAKEAC0FAKEAC2FAKEAC", "namespace": null}
When the request is sent
Then the response status is 400 Bad Request

@generated @skip
Scenario: Delete a tag filtering entry returns "OK" response
Given new "DeleteAWSTagFilter" request
And body {}
And body {"account_id": "FAKEAC0FAKEAC2FAKEAC", "namespace": null}
When the request is sent
Then the response status is 200 OK

@generated @skip
Scenario: Delete an AWS integration returns "Bad Request" response
Given new "DeleteAWSAccount" request
And body {}
And body {"access_key_id": null, "account_id": "1234567", "account_specific_namespace_rules": {"auto_scaling": false, "opswork": false}, "excluded_regions": ["us-east-1", "us-west-2"], "filter_tags": ["<KEY>:<VALUE>"], "host_tags": ["<KEY>:<VALUE>"], "role_name": "DatadogAWSIntegrationRole", "secret_access_key": null}
When the request is sent
Then the response status is 400 Bad Request

@generated @skip
Scenario: Delete an AWS integration returns "Conflict Error" response
Given new "DeleteAWSAccount" request
And body {}
And body {"access_key_id": null, "account_id": "1234567", "account_specific_namespace_rules": {"auto_scaling": false, "opswork": false}, "excluded_regions": ["us-east-1", "us-west-2"], "filter_tags": ["<KEY>:<VALUE>"], "host_tags": ["<KEY>:<VALUE>"], "role_name": "DatadogAWSIntegrationRole", "secret_access_key": null}
When the request is sent
Then the response status is 409 Conflict Error

@generated @skip
Scenario: Delete an AWS integration returns "OK" response
Given new "DeleteAWSAccount" request
And body {}
And body {"access_key_id": null, "account_id": "1234567", "account_specific_namespace_rules": {"auto_scaling": false, "opswork": false}, "excluded_regions": ["us-east-1", "us-west-2"], "filter_tags": ["<KEY>:<VALUE>"], "host_tags": ["<KEY>:<VALUE>"], "role_name": "DatadogAWSIntegrationRole", "secret_access_key": null}
When the request is sent
Then the response status is 200 OK

@generated @skip
Scenario: Generate a new external ID returns "Bad Request" response
Given new "CreateNewAWSExternalID" request
And body {}
And body {"access_key_id": null, "account_id": "1234567", "account_specific_namespace_rules": {"auto_scaling": false, "opswork": false}, "excluded_regions": ["us-east-1", "us-west-2"], "filter_tags": ["<KEY>:<VALUE>"], "host_tags": ["<KEY>:<VALUE>"], "role_name": "DatadogAWSIntegrationRole", "secret_access_key": null}
When the request is sent
Then the response status is 400 Bad Request

@generated @skip
Scenario: Generate a new external ID returns "OK" response
Given new "CreateNewAWSExternalID" request
And body {}
And body {"access_key_id": null, "account_id": "1234567", "account_specific_namespace_rules": {"auto_scaling": false, "opswork": false}, "excluded_regions": ["us-east-1", "us-west-2"], "filter_tags": ["<KEY>:<VALUE>"], "host_tags": ["<KEY>:<VALUE>"], "role_name": "DatadogAWSIntegrationRole", "secret_access_key": null}
When the request is sent
Then the response status is 200 OK

Expand Down Expand Up @@ -112,34 +112,34 @@ Feature: AWS Integration
@generated @skip
Scenario: Set an AWS tag filter returns "Bad Request" response
Given new "CreateAWSTagFilter" request
And body {}
And body {"account_id": "1234567", "namespace": null, "tag_filter_str": "prod*"}
When the request is sent
Then the response status is 400 Bad Request

@generated @skip
Scenario: Set an AWS tag filter returns "OK" response
Given new "CreateAWSTagFilter" request
And body {}
And body {"account_id": "1234567", "namespace": null, "tag_filter_str": "prod*"}
When the request is sent
Then the response status is 200 OK

@generated @skip
Scenario: Update an AWS integration returns "Bad Request" response
Given new "UpdateAWSAccount" request
And body {}
And body {"access_key_id": null, "account_id": "1234567", "account_specific_namespace_rules": {"auto_scaling": false, "opswork": false}, "excluded_regions": ["us-east-1", "us-west-2"], "filter_tags": ["<KEY>:<VALUE>"], "host_tags": ["<KEY>:<VALUE>"], "role_name": "DatadogAWSIntegrationRole", "secret_access_key": null}
When the request is sent
Then the response status is 400 Bad Request

@generated @skip
Scenario: Update an AWS integration returns "Conflict Error" response
Given new "UpdateAWSAccount" request
And body {}
And body {"access_key_id": null, "account_id": "1234567", "account_specific_namespace_rules": {"auto_scaling": false, "opswork": false}, "excluded_regions": ["us-east-1", "us-west-2"], "filter_tags": ["<KEY>:<VALUE>"], "host_tags": ["<KEY>:<VALUE>"], "role_name": "DatadogAWSIntegrationRole", "secret_access_key": null}
When the request is sent
Then the response status is 409 Conflict Error

@generated @skip
Scenario: Update an AWS integration returns "OK" response
Given new "UpdateAWSAccount" request
And body {}
And body {"access_key_id": null, "account_id": "1234567", "account_specific_namespace_rules": {"auto_scaling": false, "opswork": false}, "excluded_regions": ["us-east-1", "us-west-2"], "filter_tags": ["<KEY>:<VALUE>"], "host_tags": ["<KEY>:<VALUE>"], "role_name": "DatadogAWSIntegrationRole", "secret_access_key": null}
When the request is sent
Then the response status is 200 OK
20 changes: 10 additions & 10 deletions features/v1/aws_logs_integration.feature
Original file line number Diff line number Diff line change
Expand Up @@ -12,70 +12,70 @@ Feature: AWS Logs Integration
@generated @skip
Scenario: Add AWS Log Lambda ARN returns "Bad Request" response
Given new "CreateAWSLambdaARN" request
And body {}
And body {"account_id": "1234567", "lambda_arn": "arn:aws:lambda:us-east-1:1234567:function:LogsCollectionAPITest"}
When the request is sent
Then the response status is 400 Bad Request

@generated @skip
Scenario: Add AWS Log Lambda ARN returns "OK" response
Given new "CreateAWSLambdaARN" request
And body {}
And body {"account_id": "1234567", "lambda_arn": "arn:aws:lambda:us-east-1:1234567:function:LogsCollectionAPITest"}
When the request is sent
Then the response status is 200 OK

@generated @skip
Scenario: Check permissions for log services returns "Bad Request" response
Given new "CheckAWSLogsServicesAsync" request
And body {}
And body {"account_id": "1234567", "services": ["s3", "elb", "elbv2", "cloudfront", "redshift", "lambda"]}
When the request is sent
Then the response status is 400 Bad Request

@generated @skip
Scenario: Check permissions for log services returns "OK" response
Given new "CheckAWSLogsServicesAsync" request
And body {}
And body {"account_id": "1234567", "services": ["s3", "elb", "elbv2", "cloudfront", "redshift", "lambda"]}
When the request is sent
Then the response status is 200 OK

@generated @skip
Scenario: Check that an AWS Lambda Function exists returns "Bad Request" response
Given new "CheckAWSLogsLambdaAsync" request
And body {}
And body {"account_id": "1234567", "lambda_arn": "arn:aws:lambda:us-east-1:1234567:function:LogsCollectionAPITest"}
When the request is sent
Then the response status is 400 Bad Request

@generated @skip
Scenario: Check that an AWS Lambda Function exists returns "OK" response
Given new "CheckAWSLogsLambdaAsync" request
And body {}
And body {"account_id": "1234567", "lambda_arn": "arn:aws:lambda:us-east-1:1234567:function:LogsCollectionAPITest"}
When the request is sent
Then the response status is 200 OK

@generated @skip
Scenario: Delete an AWS Logs integration returns "Bad Request" response
Given new "DeleteAWSLambdaARN" request
And body {}
And body {"account_id": "1234567", "lambda_arn": "arn:aws:lambda:us-east-1:1234567:function:LogsCollectionAPITest"}
When the request is sent
Then the response status is 400 Bad Request

@generated @skip
Scenario: Delete an AWS Logs integration returns "OK" response
Given new "DeleteAWSLambdaARN" request
And body {}
And body {"account_id": "1234567", "lambda_arn": "arn:aws:lambda:us-east-1:1234567:function:LogsCollectionAPITest"}
When the request is sent
Then the response status is 200 OK

@generated @skip
Scenario: Enable an AWS Logs integration returns "Bad Request" response
Given new "EnableAWSLogServices" request
And body {}
And body {"account_id": "1234567", "services": ["s3", "elb", "elbv2", "cloudfront", "redshift", "lambda"]}
When the request is sent
Then the response status is 400 Bad Request

@generated @skip
Scenario: Enable an AWS Logs integration returns "OK" response
Given new "EnableAWSLogServices" request
And body {}
And body {"account_id": "1234567", "services": ["s3", "elb", "elbv2", "cloudfront", "redshift", "lambda"]}
When the request is sent
Then the response status is 200 OK

Expand Down
16 changes: 8 additions & 8 deletions features/v1/azure_integration.feature
Original file line number Diff line number Diff line change
Expand Up @@ -12,28 +12,28 @@ Feature: Azure Integration
@generated @skip
Scenario: Create an Azure integration returns "Bad Request" response
Given new "CreateAzureIntegration" request
And body {}
And body {"client_id": "testc7f6-1234-5678-9101-3fcbf464test", "client_secret": "testingx./Sw*g/Y33t..R1cH+hScMDt", "errors": ["*"], "host_filters": "key:value,filter:example", "new_client_id": "new1c7f6-1234-5678-9101-3fcbf464test", "new_tenant_name": "new1c44-1234-5678-9101-cc00736ftest", "tenant_name": "testc44-1234-5678-9101-cc00736ftest"}
When the request is sent
Then the response status is 400 Bad Request

@generated @skip
Scenario: Create an Azure integration returns "OK" response
Given new "CreateAzureIntegration" request
And body {}
And body {"client_id": "testc7f6-1234-5678-9101-3fcbf464test", "client_secret": "testingx./Sw*g/Y33t..R1cH+hScMDt", "errors": ["*"], "host_filters": "key:value,filter:example", "new_client_id": "new1c7f6-1234-5678-9101-3fcbf464test", "new_tenant_name": "new1c44-1234-5678-9101-cc00736ftest", "tenant_name": "testc44-1234-5678-9101-cc00736ftest"}
When the request is sent
Then the response status is 200 OK

@generated @skip
Scenario: Delete an Azure integration returns "Bad Request" response
Given new "DeleteAzureIntegration" request
And body {}
And body {"client_id": "testc7f6-1234-5678-9101-3fcbf464test", "client_secret": "testingx./Sw*g/Y33t..R1cH+hScMDt", "errors": ["*"], "host_filters": "key:value,filter:example", "new_client_id": "new1c7f6-1234-5678-9101-3fcbf464test", "new_tenant_name": "new1c44-1234-5678-9101-cc00736ftest", "tenant_name": "testc44-1234-5678-9101-cc00736ftest"}
When the request is sent
Then the response status is 400 Bad Request

@generated @skip
Scenario: Delete an Azure integration returns "OK" response
Given new "DeleteAzureIntegration" request
And body {}
And body {"client_id": "testc7f6-1234-5678-9101-3fcbf464test", "client_secret": "testingx./Sw*g/Y33t..R1cH+hScMDt", "errors": ["*"], "host_filters": "key:value,filter:example", "new_client_id": "new1c7f6-1234-5678-9101-3fcbf464test", "new_tenant_name": "new1c44-1234-5678-9101-cc00736ftest", "tenant_name": "testc44-1234-5678-9101-cc00736ftest"}
When the request is sent
Then the response status is 200 OK

Expand All @@ -52,27 +52,27 @@ Feature: Azure Integration
@generated @skip
Scenario: Update Azure integration host filters returns "Bad Request" response
Given new "UpdateAzureHostFilters" request
And body {}
And body {"client_id": "testc7f6-1234-5678-9101-3fcbf464test", "client_secret": "testingx./Sw*g/Y33t..R1cH+hScMDt", "errors": ["*"], "host_filters": "key:value,filter:example", "new_client_id": "new1c7f6-1234-5678-9101-3fcbf464test", "new_tenant_name": "new1c44-1234-5678-9101-cc00736ftest", "tenant_name": "testc44-1234-5678-9101-cc00736ftest"}
When the request is sent
Then the response status is 400 Bad Request

@generated @skip
Scenario: Update Azure integration host filters returns "OK" response
Given new "UpdateAzureHostFilters" request
And body {}
And body {"client_id": "testc7f6-1234-5678-9101-3fcbf464test", "client_secret": "testingx./Sw*g/Y33t..R1cH+hScMDt", "errors": ["*"], "host_filters": "key:value,filter:example", "new_client_id": "new1c7f6-1234-5678-9101-3fcbf464test", "new_tenant_name": "new1c44-1234-5678-9101-cc00736ftest", "tenant_name": "testc44-1234-5678-9101-cc00736ftest"}
When the request is sent
Then the response status is 200 OK

@generated @skip
Scenario: Update an Azure integration returns "Bad Request" response
Given new "UpdateAzureIntegration" request
And body {}
And body {"client_id": "testc7f6-1234-5678-9101-3fcbf464test", "client_secret": "testingx./Sw*g/Y33t..R1cH+hScMDt", "errors": ["*"], "host_filters": "key:value,filter:example", "new_client_id": "new1c7f6-1234-5678-9101-3fcbf464test", "new_tenant_name": "new1c44-1234-5678-9101-cc00736ftest", "tenant_name": "testc44-1234-5678-9101-cc00736ftest"}
When the request is sent
Then the response status is 400 Bad Request

@generated @skip
Scenario: Update an Azure integration returns "OK" response
Given new "UpdateAzureIntegration" request
And body {}
And body {"client_id": "testc7f6-1234-5678-9101-3fcbf464test", "client_secret": "testingx./Sw*g/Y33t..R1cH+hScMDt", "errors": ["*"], "host_filters": "key:value,filter:example", "new_client_id": "new1c7f6-1234-5678-9101-3fcbf464test", "new_tenant_name": "new1c44-1234-5678-9101-cc00736ftest", "tenant_name": "testc44-1234-5678-9101-cc00736ftest"}
When the request is sent
Then the response status is 200 OK
10 changes: 5 additions & 5 deletions features/v1/dashboard_lists.feature
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ Feature: Dashboard Lists
@generated @skip
Scenario: Create a dashboard list returns "Bad Request" response
Given new "CreateDashboardList" request
And body {}
And body {"author": {}, "created": null, "dashboard_count": null, "id": null, "is_favorite": null, "modified": null, "name": "My Dashboard", "type": "manual_dashboard_list"}
When the request is sent
Then the response status is 400 Bad Request

@generated @skip
Scenario: Create a dashboard list returns "OK" response
Given new "CreateDashboardList" request
And body {}
And body {"author": {}, "created": null, "dashboard_count": null, "id": null, "is_favorite": null, "modified": null, "name": "My Dashboard", "type": "manual_dashboard_list"}
When the request is sent
Then the response status is 200 OK

Expand Down Expand Up @@ -60,22 +60,22 @@ Feature: Dashboard Lists
Scenario: Update a dashboard list returns "Bad Request" response
Given new "UpdateDashboardList" request
And request contains "list_id" parameter from "<PATH>"
And body {}
And body {"author": {}, "created": null, "dashboard_count": null, "id": null, "is_favorite": null, "modified": null, "name": "My Dashboard", "type": "manual_dashboard_list"}
When the request is sent
Then the response status is 400 Bad Request

@generated @skip
Scenario: Update a dashboard list returns "Not Found" response
Given new "UpdateDashboardList" request
And request contains "list_id" parameter from "<PATH>"
And body {}
And body {"author": {}, "created": null, "dashboard_count": null, "id": null, "is_favorite": null, "modified": null, "name": "My Dashboard", "type": "manual_dashboard_list"}
When the request is sent
Then the response status is 404 Not Found

@generated @skip
Scenario: Update a dashboard list returns "OK" response
Given new "UpdateDashboardList" request
And request contains "list_id" parameter from "<PATH>"
And body {}
And body {"author": {}, "created": null, "dashboard_count": null, "id": null, "is_favorite": null, "modified": null, "name": "My Dashboard", "type": "manual_dashboard_list"}
When the request is sent
Then the response status is 200 OK
Loading

0 comments on commit ba2cd13

Please sign in to comment.