Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
919 changes: 919 additions & 0 deletions .generator/schemas/v2/openapi.yaml

Large diffs are not rendered by default.

148 changes: 148 additions & 0 deletions features/v2/databricks_integration.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,148 @@
@endpoint(databricks-integration) @endpoint(databricks-integration-v2)
Feature: Databricks Integration
Manage your Datadog Databricks integration accounts and account resources
directly through the Datadog API. See the [Databricks integration
page](https://docs.datadoghq.com/integrations/databricks/) for more
information.

Background:
Given a valid "apiKeyAuth" key in the system
And a valid "appKeyAuth" key in the system
And an instance of "DatabricksIntegration" API

@generated @skip @team:DataDog/saas-integrations
Scenario: Create a Databricks integration account returns "Bad Request" response
Given operation "CreateDatabricksIntegrationAccount" enabled
And new "CreateDatabricksIntegrationAccount" request
And body with value {"data": {"attributes": {"authentication": {"auth_type": "databricks_oauth", "azure_tenant_id": "4d3bac44-0230-4732-9e70-cc00736f0a97", "client_id": "5c10654a-b3a3-4840-b37f-f477590c70a0", "client_secret": "your-client-secret"}, "dataflows": {"databricks-cloud-cost-metrics": {"enabled": true, "settings": {"ccm_collect_all_workspaces": true}}, "databricks-data-observability-jobs-monitoring": {"enabled": true, "settings": {"dd_api_key_id": "fe383f4e-09fc-46bf-8e10-4efdd453a646", "dd_api_key_secret": "your-datadog-api-key", "djm_global_init_script_enabled": true, "script_gpum_enabled": true, "script_logs_enabled": true, "serverless_jobs_enabled": true}}, "databricks-data-observability-quality-monitoring": {"enabled": true, "settings": {"do_crawlers_cron": "0 * * * *", "sync_system_catalog": true}}, "databricks-model-serving-metrics": {"enabled": true}}, "name": "My Databricks Workspace", "settings": {"system_tables_sql_warehouse_id": "aba7c023d4172910", "workspace_url": "https://dbc-1234abcd.cloud.databricks.com"}}, "type": "integration-account"}}
When the request is sent
Then the response status is 400 Bad Request

@generated @skip @team:DataDog/saas-integrations
Scenario: Create a Databricks integration account returns "Created" response
Given operation "CreateDatabricksIntegrationAccount" enabled
And new "CreateDatabricksIntegrationAccount" request
And body with value {"data": {"attributes": {"authentication": {"auth_type": "databricks_oauth", "azure_tenant_id": "4d3bac44-0230-4732-9e70-cc00736f0a97", "client_id": "5c10654a-b3a3-4840-b37f-f477590c70a0", "client_secret": "your-client-secret"}, "dataflows": {"databricks-cloud-cost-metrics": {"enabled": true, "settings": {"ccm_collect_all_workspaces": true}}, "databricks-data-observability-jobs-monitoring": {"enabled": true, "settings": {"dd_api_key_id": "fe383f4e-09fc-46bf-8e10-4efdd453a646", "dd_api_key_secret": "your-datadog-api-key", "djm_global_init_script_enabled": true, "script_gpum_enabled": true, "script_logs_enabled": true, "serverless_jobs_enabled": true}}, "databricks-data-observability-quality-monitoring": {"enabled": true, "settings": {"do_crawlers_cron": "0 * * * *", "sync_system_catalog": true}}, "databricks-model-serving-metrics": {"enabled": true}}, "name": "My Databricks Workspace", "settings": {"system_tables_sql_warehouse_id": "aba7c023d4172910", "workspace_url": "https://dbc-1234abcd.cloud.databricks.com"}}, "type": "integration-account"}}
When the request is sent
Then the response status is 201 Created

@generated @skip @team:DataDog/saas-integrations
Scenario: Create a Databricks integration account returns "Not Found" response
Given operation "CreateDatabricksIntegrationAccount" enabled
And new "CreateDatabricksIntegrationAccount" request
And body with value {"data": {"attributes": {"authentication": {"auth_type": "databricks_oauth", "azure_tenant_id": "4d3bac44-0230-4732-9e70-cc00736f0a97", "client_id": "5c10654a-b3a3-4840-b37f-f477590c70a0", "client_secret": "your-client-secret"}, "dataflows": {"databricks-cloud-cost-metrics": {"enabled": true, "settings": {"ccm_collect_all_workspaces": true}}, "databricks-data-observability-jobs-monitoring": {"enabled": true, "settings": {"dd_api_key_id": "fe383f4e-09fc-46bf-8e10-4efdd453a646", "dd_api_key_secret": "your-datadog-api-key", "djm_global_init_script_enabled": true, "script_gpum_enabled": true, "script_logs_enabled": true, "serverless_jobs_enabled": true}}, "databricks-data-observability-quality-monitoring": {"enabled": true, "settings": {"do_crawlers_cron": "0 * * * *", "sync_system_catalog": true}}, "databricks-model-serving-metrics": {"enabled": true}}, "name": "My Databricks Workspace", "settings": {"system_tables_sql_warehouse_id": "aba7c023d4172910", "workspace_url": "https://dbc-1234abcd.cloud.databricks.com"}}, "type": "integration-account"}}
When the request is sent
Then the response status is 404 Not Found

@generated @skip @team:DataDog/saas-integrations
Scenario: Create a Databricks integration account returns "The server cannot process the request because it contains invalid data." response
Given operation "CreateDatabricksIntegrationAccount" enabled
And new "CreateDatabricksIntegrationAccount" request
And body with value {"data": {"attributes": {"authentication": {"auth_type": "databricks_oauth", "azure_tenant_id": "4d3bac44-0230-4732-9e70-cc00736f0a97", "client_id": "5c10654a-b3a3-4840-b37f-f477590c70a0", "client_secret": "your-client-secret"}, "dataflows": {"databricks-cloud-cost-metrics": {"enabled": true, "settings": {"ccm_collect_all_workspaces": true}}, "databricks-data-observability-jobs-monitoring": {"enabled": true, "settings": {"dd_api_key_id": "fe383f4e-09fc-46bf-8e10-4efdd453a646", "dd_api_key_secret": "your-datadog-api-key", "djm_global_init_script_enabled": true, "script_gpum_enabled": true, "script_logs_enabled": true, "serverless_jobs_enabled": true}}, "databricks-data-observability-quality-monitoring": {"enabled": true, "settings": {"do_crawlers_cron": "0 * * * *", "sync_system_catalog": true}}, "databricks-model-serving-metrics": {"enabled": true}}, "name": "My Databricks Workspace", "settings": {"system_tables_sql_warehouse_id": "aba7c023d4172910", "workspace_url": "https://dbc-1234abcd.cloud.databricks.com"}}, "type": "integration-account"}}
When the request is sent
Then the response status is 422 The server cannot process the request because it contains invalid data.

@generated @skip @team:DataDog/saas-integrations
Scenario: Delete a Databricks integration account returns "Bad Request" response
Given operation "DeleteDatabricksIntegrationAccount" enabled
And new "DeleteDatabricksIntegrationAccount" request
And request contains "account_id" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 400 Bad Request

@generated @skip @team:DataDog/saas-integrations
Scenario: Delete a Databricks integration account returns "Not Found" response
Given operation "DeleteDatabricksIntegrationAccount" enabled
And new "DeleteDatabricksIntegrationAccount" request
And request contains "account_id" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 404 Not Found

@generated @skip @team:DataDog/saas-integrations
Scenario: Delete a Databricks integration account returns "OK" response
Given operation "DeleteDatabricksIntegrationAccount" enabled
And new "DeleteDatabricksIntegrationAccount" request
And request contains "account_id" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 200 OK

@generated @skip @team:DataDog/saas-integrations
Scenario: Get a Databricks integration account returns "Bad Request" response
Given operation "GetDatabricksIntegrationAccount" enabled
And new "GetDatabricksIntegrationAccount" request
And request contains "account_id" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 400 Bad Request

@generated @skip @team:DataDog/saas-integrations
Scenario: Get a Databricks integration account returns "Not Found" response
Given operation "GetDatabricksIntegrationAccount" enabled
And new "GetDatabricksIntegrationAccount" request
And request contains "account_id" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 404 Not Found

@generated @skip @team:DataDog/saas-integrations
Scenario: Get a Databricks integration account returns "OK" response
Given operation "GetDatabricksIntegrationAccount" enabled
And new "GetDatabricksIntegrationAccount" request
And request contains "account_id" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 200 OK

@generated @skip @team:DataDog/saas-integrations
Scenario: List Databricks integration accounts returns "Bad Request" response
Given operation "ListDatabricksIntegrationAccounts" enabled
And new "ListDatabricksIntegrationAccounts" request
When the request is sent
Then the response status is 400 Bad Request

@generated @skip @team:DataDog/saas-integrations
Scenario: List Databricks integration accounts returns "Not Found" response
Given operation "ListDatabricksIntegrationAccounts" enabled
And new "ListDatabricksIntegrationAccounts" request
When the request is sent
Then the response status is 404 Not Found

@generated @skip @team:DataDog/saas-integrations
Scenario: List Databricks integration accounts returns "OK" response
Given operation "ListDatabricksIntegrationAccounts" enabled
And new "ListDatabricksIntegrationAccounts" request
When the request is sent
Then the response status is 200 OK

@generated @skip @team:DataDog/saas-integrations
Scenario: Update a Databricks integration account returns "Bad Request" response
Given operation "UpdateDatabricksIntegrationAccount" enabled
And new "UpdateDatabricksIntegrationAccount" request
And request contains "account_id" parameter from "REPLACE.ME"
And body with value {"data": {"attributes": {"authentication": {"auth_type": "databricks_oauth", "azure_tenant_id": "4d3bac44-0230-4732-9e70-cc00736f0a97", "client_id": "5c10654a-b3a3-4840-b37f-f477590c70a0", "client_secret": "your-client-secret"}, "dataflows": {"databricks-cloud-cost-metrics": {"enabled": true, "settings": {"ccm_collect_all_workspaces": true}}, "databricks-data-observability-jobs-monitoring": {"enabled": true, "settings": {"dd_api_key_id": "fe383f4e-09fc-46bf-8e10-4efdd453a646", "dd_api_key_secret": "your-datadog-api-key", "djm_global_init_script_enabled": true, "script_gpum_enabled": true, "script_logs_enabled": true, "serverless_jobs_enabled": true}}, "databricks-data-observability-quality-monitoring": {"enabled": true, "settings": {"do_crawlers_cron": "0 * * * *", "sync_system_catalog": true}}, "databricks-model-serving-metrics": {"enabled": true}}, "name": "My Databricks Workspace", "settings": {"system_tables_sql_warehouse_id": "aba7c023d4172910", "workspace_url": "https://dbc-1234abcd.cloud.databricks.com"}}, "id": "a9a69c2e-4f8d-4e42-9c1a-2a7a2d3b7c6f", "type": "integration-account"}}
When the request is sent
Then the response status is 400 Bad Request

@generated @skip @team:DataDog/saas-integrations
Scenario: Update a Databricks integration account returns "Not Found" response
Given operation "UpdateDatabricksIntegrationAccount" enabled
And new "UpdateDatabricksIntegrationAccount" request
And request contains "account_id" parameter from "REPLACE.ME"
And body with value {"data": {"attributes": {"authentication": {"auth_type": "databricks_oauth", "azure_tenant_id": "4d3bac44-0230-4732-9e70-cc00736f0a97", "client_id": "5c10654a-b3a3-4840-b37f-f477590c70a0", "client_secret": "your-client-secret"}, "dataflows": {"databricks-cloud-cost-metrics": {"enabled": true, "settings": {"ccm_collect_all_workspaces": true}}, "databricks-data-observability-jobs-monitoring": {"enabled": true, "settings": {"dd_api_key_id": "fe383f4e-09fc-46bf-8e10-4efdd453a646", "dd_api_key_secret": "your-datadog-api-key", "djm_global_init_script_enabled": true, "script_gpum_enabled": true, "script_logs_enabled": true, "serverless_jobs_enabled": true}}, "databricks-data-observability-quality-monitoring": {"enabled": true, "settings": {"do_crawlers_cron": "0 * * * *", "sync_system_catalog": true}}, "databricks-model-serving-metrics": {"enabled": true}}, "name": "My Databricks Workspace", "settings": {"system_tables_sql_warehouse_id": "aba7c023d4172910", "workspace_url": "https://dbc-1234abcd.cloud.databricks.com"}}, "id": "a9a69c2e-4f8d-4e42-9c1a-2a7a2d3b7c6f", "type": "integration-account"}}
When the request is sent
Then the response status is 404 Not Found

@generated @skip @team:DataDog/saas-integrations
Scenario: Update a Databricks integration account returns "OK" response
Given operation "UpdateDatabricksIntegrationAccount" enabled
And new "UpdateDatabricksIntegrationAccount" request
And request contains "account_id" parameter from "REPLACE.ME"
And body with value {"data": {"attributes": {"authentication": {"auth_type": "databricks_oauth", "azure_tenant_id": "4d3bac44-0230-4732-9e70-cc00736f0a97", "client_id": "5c10654a-b3a3-4840-b37f-f477590c70a0", "client_secret": "your-client-secret"}, "dataflows": {"databricks-cloud-cost-metrics": {"enabled": true, "settings": {"ccm_collect_all_workspaces": true}}, "databricks-data-observability-jobs-monitoring": {"enabled": true, "settings": {"dd_api_key_id": "fe383f4e-09fc-46bf-8e10-4efdd453a646", "dd_api_key_secret": "your-datadog-api-key", "djm_global_init_script_enabled": true, "script_gpum_enabled": true, "script_logs_enabled": true, "serverless_jobs_enabled": true}}, "databricks-data-observability-quality-monitoring": {"enabled": true, "settings": {"do_crawlers_cron": "0 * * * *", "sync_system_catalog": true}}, "databricks-model-serving-metrics": {"enabled": true}}, "name": "My Databricks Workspace", "settings": {"system_tables_sql_warehouse_id": "aba7c023d4172910", "workspace_url": "https://dbc-1234abcd.cloud.databricks.com"}}, "id": "a9a69c2e-4f8d-4e42-9c1a-2a7a2d3b7c6f", "type": "integration-account"}}
When the request is sent
Then the response status is 200 OK

@generated @skip @team:DataDog/saas-integrations
Scenario: Update a Databricks integration account returns "The server cannot process the request because it contains invalid data." response
Given operation "UpdateDatabricksIntegrationAccount" enabled
And new "UpdateDatabricksIntegrationAccount" request
And request contains "account_id" parameter from "REPLACE.ME"
And body with value {"data": {"attributes": {"authentication": {"auth_type": "databricks_oauth", "azure_tenant_id": "4d3bac44-0230-4732-9e70-cc00736f0a97", "client_id": "5c10654a-b3a3-4840-b37f-f477590c70a0", "client_secret": "your-client-secret"}, "dataflows": {"databricks-cloud-cost-metrics": {"enabled": true, "settings": {"ccm_collect_all_workspaces": true}}, "databricks-data-observability-jobs-monitoring": {"enabled": true, "settings": {"dd_api_key_id": "fe383f4e-09fc-46bf-8e10-4efdd453a646", "dd_api_key_secret": "your-datadog-api-key", "djm_global_init_script_enabled": true, "script_gpum_enabled": true, "script_logs_enabled": true, "serverless_jobs_enabled": true}}, "databricks-data-observability-quality-monitoring": {"enabled": true, "settings": {"do_crawlers_cron": "0 * * * *", "sync_system_catalog": true}}, "databricks-model-serving-metrics": {"enabled": true}}, "name": "My Databricks Workspace", "settings": {"system_tables_sql_warehouse_id": "aba7c023d4172910", "workspace_url": "https://dbc-1234abcd.cloud.databricks.com"}}, "id": "a9a69c2e-4f8d-4e42-9c1a-2a7a2d3b7c6f", "type": "integration-account"}}
When the request is sent
Then the response status is 422 The server cannot process the request because it contains invalid data.
8 changes: 4 additions & 4 deletions features/v2/rum_replay_heatmaps.feature
Original file line number Diff line number Diff line change
Expand Up @@ -8,28 +8,28 @@ Feature: Rum Replay Heatmaps
And a valid "appKeyAuth" key in the system
And an instance of "RumReplayHeatmaps" API

@generated @skip @team:DataDog/session-replay-backend
@generated @skip @team:DataDog/session-replay
Scenario: Create replay heatmap snapshot returns "Created" response
Given new "CreateReplayHeatmapSnapshot" request
And body with value {"data": {"attributes": {"application_id": "aaaaaaaa-1111-2222-3333-bbbbbbbbbbbb", "device_type": "desktop", "event_id": "11111111-2222-3333-4444-555555555555", "is_device_type_selected_by_user": false, "snapshot_name": "My Snapshot", "start": 0, "view_name": "/home"}, "type": "snapshots"}}
When the request is sent
Then the response status is 201 Created

@generated @skip @team:DataDog/session-replay-backend
@generated @skip @team:DataDog/session-replay
Scenario: Delete replay heatmap snapshot returns "No Content" response
Given new "DeleteReplayHeatmapSnapshot" request
And request contains "snapshot_id" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 204 No Content

@generated @skip @team:DataDog/session-replay-backend
@generated @skip @team:DataDog/session-replay
Scenario: List replay heatmap snapshots returns "OK" response
Given new "ListReplayHeatmapSnapshots" request
And request contains "filter[view_name]" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 200 OK

@generated @skip @team:DataDog/session-replay-backend
@generated @skip @team:DataDog/session-replay
Scenario: Update replay heatmap snapshot returns "OK" response
Given new "UpdateReplayHeatmapSnapshot" request
And request contains "snapshot_id" parameter from "REPLACE.ME"
Expand Down
Loading
Loading