Skip to content

Commit

Permalink
Regenerate client from commit 729b64f of spec repo (#1247)
Browse files Browse the repository at this point in the history
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
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 Dec 17, 2021
1 parent f40ddae commit 1f50655
Show file tree
Hide file tree
Showing 34 changed files with 291 additions and 291 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.5.1.dev2",
"regenerated": "2021-12-16 15:30:26.047648",
"spec_repo_commit": "54aeadc"
"regenerated": "2021-12-16 16:48:17.469966",
"spec_repo_commit": "729b64f"
},
"v2": {
"apigentools_version": "1.5.1.dev2",
"regenerated": "2021-12-16 15:30:26.077693",
"spec_repo_commit": "54aeadc"
"regenerated": "2021-12-16 16:48:17.488006",
"spec_repo_commit": "729b64f"
}
}
}
2 changes: 1 addition & 1 deletion tests/scenarios/features/v1/dashboard_lists.feature
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Feature: Dashboard Lists
@generated @skip @team:DataDog/dashboards
Scenario: Update a dashboard list returns "Bad Request" response
Given new "UpdateDashboardList" request
And request contains "list_id" parameter from "<PATH>"
And request contains "list_id" parameter from "REPLACE.ME"
And body with value {"name": "My Dashboard"}
When the request is sent
Then the response status is 400 Bad Request
Expand Down
14 changes: 7 additions & 7 deletions tests/scenarios/features/v1/dashboards.feature
Original file line number Diff line number Diff line change
Expand Up @@ -151,14 +151,14 @@ Feature: Dashboards
@generated @skip @team:DataDog/dashboards
Scenario: Delete a dashboard returns "Dashboards Not Found" response
Given new "DeleteDashboard" request
And request contains "dashboard_id" parameter from "<PATH>"
And request contains "dashboard_id" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 404 Dashboards Not Found

@generated @skip @team:DataDog/dashboards
Scenario: Delete a dashboard returns "OK" response
Given new "DeleteDashboard" request
And request contains "dashboard_id" parameter from "<PATH>"
And request contains "dashboard_id" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 200 OK

Expand Down Expand Up @@ -187,14 +187,14 @@ Feature: Dashboards
@generated @skip @team:DataDog/dashboards
Scenario: Get a dashboard returns "Item Not Found" response
Given new "GetDashboard" request
And request contains "dashboard_id" parameter from "<PATH>"
And request contains "dashboard_id" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 404 Item Not Found

@generated @skip @team:DataDog/dashboards
Scenario: Get a dashboard returns "OK" response
Given new "GetDashboard" request
And request contains "dashboard_id" parameter from "<PATH>"
And request contains "dashboard_id" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 200 OK

Expand Down Expand Up @@ -230,23 +230,23 @@ Feature: Dashboards
@generated @skip @team:DataDog/dashboards
Scenario: Update a dashboard returns "Bad Request" response
Given new "UpdateDashboard" request
And request contains "dashboard_id" parameter from "<PATH>"
And request contains "dashboard_id" parameter from "REPLACE.ME"
And body with value {"description": null, "is_read_only": false, "layout_type": "ordered", "notify_list": [null], "reflow_type": "auto", "restricted_roles": [null], "template_variable_presets": [{"name": null, "template_variables": [{"name": null, "value": null}]}], "template_variables": [{"available_values": ["my-host", "host1", "host2"], "default": "my-host", "name": "host1", "prefix": "host"}], "title": "", "widgets": [{"definition": {"requests": {"fill": {"q": "avg:system.cpu.user{*}"}}, "type": "hostmap"}}]}
When the request is sent
Then the response status is 400 Bad Request

@generated @skip @team:DataDog/dashboards
Scenario: Update a dashboard returns "Item Not Found" response
Given new "UpdateDashboard" request
And request contains "dashboard_id" parameter from "<PATH>"
And request contains "dashboard_id" parameter from "REPLACE.ME"
And body with value {"description": null, "is_read_only": false, "layout_type": "ordered", "notify_list": [null], "reflow_type": "auto", "restricted_roles": [null], "template_variable_presets": [{"name": null, "template_variables": [{"name": null, "value": null}]}], "template_variables": [{"available_values": ["my-host", "host1", "host2"], "default": "my-host", "name": "host1", "prefix": "host"}], "title": "", "widgets": [{"definition": {"requests": {"fill": {"q": "avg:system.cpu.user{*}"}}, "type": "hostmap"}}]}
When the request is sent
Then the response status is 404 Item Not Found

@generated @skip @team:DataDog/dashboards
Scenario: Update a dashboard returns "OK" response
Given new "UpdateDashboard" request
And request contains "dashboard_id" parameter from "<PATH>"
And request contains "dashboard_id" parameter from "REPLACE.ME"
And body with value {"description": null, "is_read_only": false, "layout_type": "ordered", "notify_list": [null], "reflow_type": "auto", "restricted_roles": [null], "template_variable_presets": [{"name": null, "template_variables": [{"name": null, "value": null}]}], "template_variables": [{"available_values": ["my-host", "host1", "host2"], "default": "my-host", "name": "host1", "prefix": "host"}], "title": "", "widgets": [{"definition": {"requests": {"fill": {"q": "avg:system.cpu.user{*}"}}, "type": "hostmap"}}]}
When the request is sent
Then the response status is 200 OK
10 changes: 5 additions & 5 deletions tests/scenarios/features/v1/downtimes.feature
Original file line number Diff line number Diff line change
Expand Up @@ -69,21 +69,21 @@ Feature: Downtimes
@generated @skip @team:DataDog/monitor-app
Scenario: Get all downtimes for a monitor returns "Bad Request" response
Given new "ListMonitorDowntimes" request
And request contains "monitor_id" parameter from "<PATH>"
And request contains "monitor_id" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 400 Bad Request

@generated @skip @team:DataDog/monitor-app
Scenario: Get all downtimes for a monitor returns "Monitor Not Found error" response
Given new "ListMonitorDowntimes" request
And request contains "monitor_id" parameter from "<PATH>"
And request contains "monitor_id" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 404 Monitor Not Found error

@generated @skip @team:DataDog/monitor-app
Scenario: Get all downtimes for a monitor returns "OK" response
Given new "ListMonitorDowntimes" request
And request contains "monitor_id" parameter from "<PATH>"
And request contains "monitor_id" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 200 OK

Expand Down Expand Up @@ -163,15 +163,15 @@ Feature: Downtimes
@generated @skip @team:DataDog/monitor-app
Scenario: Update a downtime returns "Bad Request" response
Given new "UpdateDowntime" request
And request contains "downtime_id" parameter from "<PATH>"
And request contains "downtime_id" parameter from "REPLACE.ME"
And body with value {"disabled": false, "end": 1412793983, "message": "Message on the downtime", "monitor_id": 123456, "monitor_tags": ["*"], "parent_id": 123, "recurrence": {"period": 1, "rrule": "FREQ=MONTHLY;BYSETPOS=3;BYDAY=WE;INTERVAL=1", "type": "weeks", "until_date": 1447786293, "until_occurrences": 2, "week_days": ["Mon", "Tue"]}, "scope": ["env:staging"], "start": 1412792983, "timezone": "America/New_York"}
When the request is sent
Then the response status is 400 Bad Request

@generated @skip @team:DataDog/monitor-app
Scenario: Update a downtime returns "Downtime not found" response
Given new "UpdateDowntime" request
And request contains "downtime_id" parameter from "<PATH>"
And request contains "downtime_id" parameter from "REPLACE.ME"
And body with value {"disabled": false, "end": 1412793983, "message": "Message on the downtime", "monitor_id": 123456, "monitor_tags": ["*"], "parent_id": 123, "recurrence": {"period": 1, "rrule": "FREQ=MONTHLY;BYSETPOS=3;BYDAY=WE;INTERVAL=1", "type": "weeks", "until_date": 1447786293, "until_occurrences": 2, "week_days": ["Mon", "Tue"]}, "scope": ["env:staging"], "start": 1412792983, "timezone": "America/New_York"}
When the request is sent
Then the response status is 404 Downtime not found
Expand Down
4 changes: 2 additions & 2 deletions tests/scenarios/features/v1/events.feature
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ Feature: Events
Scenario: Get an event returns "Item Not Found" response
Given a valid "appKeyAuth" key in the system
And new "GetEvent" request
And request contains "event_id" parameter from "<PATH>"
And request contains "event_id" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 404 Item Not Found

@generated @skip @team:DataDog/monitors-evaluation
Scenario: Get an event returns "OK" response
Given a valid "appKeyAuth" key in the system
And new "GetEvent" request
And request contains "event_id" parameter from "<PATH>"
And request contains "event_id" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 200 OK

Expand Down
8 changes: 4 additions & 4 deletions tests/scenarios/features/v1/hosts.feature
Original file line number Diff line number Diff line change
Expand Up @@ -35,29 +35,29 @@ Feature: Hosts
@generated @skip @team:DataDog/core-index
Scenario: Mute a host returns "Invalid Parameter Error" response
Given new "MuteHost" request
And request contains "host_name" parameter from "<PATH>"
And request contains "host_name" parameter from "REPLACE.ME"
And body with value {"end": 1579098130, "message": "Muting this host for a test!", "override": false}
When the request is sent
Then the response status is 400 Invalid Parameter Error

@generated @skip @team:DataDog/core-index
Scenario: Mute a host returns "OK" response
Given new "MuteHost" request
And request contains "host_name" parameter from "<PATH>"
And request contains "host_name" parameter from "REPLACE.ME"
And body with value {"end": 1579098130, "message": "Muting this host for a test!", "override": false}
When the request is sent
Then the response status is 200 OK

@generated @skip @team:DataDog/core-index
Scenario: Unmute a host returns "Invalid Parameter Error" response
Given new "UnmuteHost" request
And request contains "host_name" parameter from "<PATH>"
And request contains "host_name" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 400 Invalid Parameter Error

@generated @skip @team:DataDog/core-index
Scenario: Unmute a host returns "OK" response
Given new "UnmuteHost" request
And request contains "host_name" parameter from "<PATH>"
And request contains "host_name" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 200 OK
32 changes: 16 additions & 16 deletions tests/scenarios/features/v1/key_management.feature
Original file line number Diff line number Diff line change
Expand Up @@ -48,105 +48,105 @@ Feature: Key Management
@generated @skip @team:DataDog/team-aaa
Scenario: Delete an API key returns "Bad Request" response
Given new "DeleteAPIKey" request
And request contains "key" parameter from "<PATH>"
And request contains "key" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 400 Bad Request

@generated @skip @team:DataDog/team-aaa
Scenario: Delete an API key returns "Not Found" response
Given new "DeleteAPIKey" request
And request contains "key" parameter from "<PATH>"
And request contains "key" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 404 Not Found

@generated @skip @team:DataDog/team-aaa
Scenario: Delete an API key returns "OK" response
Given new "DeleteAPIKey" request
And request contains "key" parameter from "<PATH>"
And request contains "key" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 200 OK

@generated @skip @team:DataDog/team-aaa
Scenario: Delete an application key returns "Not Found" response
Given new "DeleteApplicationKey" request
And request contains "key" parameter from "<PATH>"
And request contains "key" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 404 Not Found

@generated @skip @team:DataDog/team-aaa
Scenario: Delete an application key returns "OK" response
Given new "DeleteApplicationKey" request
And request contains "key" parameter from "<PATH>"
And request contains "key" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 200 OK

@generated @skip @team:DataDog/team-aaa
Scenario: Edit an API key returns "Bad Request" response
Given new "UpdateAPIKey" request
And request contains "key" parameter from "<PATH>"
And request contains "key" parameter from "REPLACE.ME"
And body with value {"name": "example user"}
When the request is sent
Then the response status is 400 Bad Request

@generated @skip @team:DataDog/team-aaa
Scenario: Edit an API key returns "Not Found" response
Given new "UpdateAPIKey" request
And request contains "key" parameter from "<PATH>"
And request contains "key" parameter from "REPLACE.ME"
And body with value {"name": "example user"}
When the request is sent
Then the response status is 404 Not Found

@generated @skip @team:DataDog/team-aaa
Scenario: Edit an API key returns "OK" response
Given new "UpdateAPIKey" request
And request contains "key" parameter from "<PATH>"
And request contains "key" parameter from "REPLACE.ME"
And body with value {"name": "example user"}
When the request is sent
Then the response status is 200 OK

@generated @skip @team:DataDog/team-aaa
Scenario: Edit an application key returns "Bad Request" response
Given new "UpdateApplicationKey" request
And request contains "key" parameter from "<PATH>"
And request contains "key" parameter from "REPLACE.ME"
And body with value {"name": "example user"}
When the request is sent
Then the response status is 400 Bad Request

@generated @skip @team:DataDog/team-aaa
Scenario: Edit an application key returns "Conflict" response
Given new "UpdateApplicationKey" request
And request contains "key" parameter from "<PATH>"
And request contains "key" parameter from "REPLACE.ME"
And body with value {"name": "example user"}
When the request is sent
Then the response status is 409 Conflict

@generated @skip @team:DataDog/team-aaa
Scenario: Edit an application key returns "Not Found" response
Given new "UpdateApplicationKey" request
And request contains "key" parameter from "<PATH>"
And request contains "key" parameter from "REPLACE.ME"
And body with value {"name": "example user"}
When the request is sent
Then the response status is 404 Not Found

@generated @skip @team:DataDog/team-aaa
Scenario: Edit an application key returns "OK" response
Given new "UpdateApplicationKey" request
And request contains "key" parameter from "<PATH>"
And request contains "key" parameter from "REPLACE.ME"
And body with value {"name": "example user"}
When the request is sent
Then the response status is 200 OK

@generated @skip @team:DataDog/team-aaa
Scenario: Get API key returns "Not Found" response
Given new "GetAPIKey" request
And request contains "key" parameter from "<PATH>"
And request contains "key" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 404 Not Found

@generated @skip @team:DataDog/team-aaa
Scenario: Get API key returns "OK" response
Given new "GetAPIKey" request
And request contains "key" parameter from "<PATH>"
And request contains "key" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 200 OK

Expand All @@ -165,13 +165,13 @@ Feature: Key Management
@generated @skip @team:DataDog/team-aaa
Scenario: Get an application key returns "Not Found" response
Given new "GetApplicationKey" request
And request contains "key" parameter from "<PATH>"
And request contains "key" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 404 Not Found

@generated @skip @team:DataDog/team-aaa
Scenario: Get an application key returns "OK" response
Given new "GetApplicationKey" request
And request contains "key" parameter from "<PATH>"
And request contains "key" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 200 OK
8 changes: 4 additions & 4 deletions tests/scenarios/features/v1/logs_indexes.feature
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ Feature: Logs Indexes
@generated @skip @team:DataDog/logs-backend
Scenario: Get an index returns "Not Found" response
Given new "GetLogsIndex" request
And request contains "name" parameter from "<PATH>"
And request contains "name" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 404 Not Found

@generated @skip @team:DataDog/logs-backend
Scenario: Get an index returns "OK" response
Given new "GetLogsIndex" request
And request contains "name" parameter from "<PATH>"
And request contains "name" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 200 OK

Expand All @@ -52,15 +52,15 @@ Feature: Logs Indexes
@generated @skip @team:DataDog/logs-backend
Scenario: Update an index returns "Invalid Parameter Error" response
Given new "UpdateLogsIndex" request
And request contains "name" parameter from "<PATH>"
And request contains "name" parameter from "REPLACE.ME"
And body with value {"daily_limit": null, "disable_daily_limit": null, "exclusion_filters": [{"filter": {"query": "*", "sample_rate": 1.0}, "is_enabled": null, "name": "payment"}], "filter": {"query": "source:python"}, "num_retention_days": null}
When the request is sent
Then the response status is 400 Invalid Parameter Error

@generated @skip @team:DataDog/logs-backend
Scenario: Update an index returns "OK" response
Given new "UpdateLogsIndex" request
And request contains "name" parameter from "<PATH>"
And request contains "name" parameter from "REPLACE.ME"
And body with value {"daily_limit": null, "disable_daily_limit": null, "exclusion_filters": [{"filter": {"query": "*", "sample_rate": 1.0}, "is_enabled": null, "name": "payment"}], "filter": {"query": "source:python"}, "num_retention_days": null}
When the request is sent
Then the response status is 200 OK
Expand Down
Loading

0 comments on commit 1f50655

Please sign in to comment.