Skip to content

Commit 6cc5abd

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 57c8bdd of spec repo (DataDog#3428)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 1d9abdf commit 6cc5abd

2 files changed

Lines changed: 20 additions & 20 deletions

File tree

features/v1/hosts.feature

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,20 @@ Feature: Hosts
99
And a valid "appKeyAuth" key in the system
1010
And an instance of "Hosts" API
1111

12-
@generated @skip @team:DataDog/core-index
12+
@generated @skip @team:DataDog/redapl-hosts
1313
Scenario: Get all hosts for your organization returns "Invalid Parameter Error" response
1414
Given new "ListHosts" request
1515
When the request is sent
1616
Then the response status is 400 Invalid Parameter Error
1717

18-
@integration-only @team:DataDog/core-index
18+
@integration-only @team:DataDog/redapl-hosts
1919
Scenario: Get all hosts for your organization returns "OK" response
2020
Given new "ListHosts" request
2121
And request contains "filter" parameter with value "env:ci"
2222
When the request is sent
2323
Then the response status is 200 OK
2424

25-
@replay-only @team:DataDog/core-index
25+
@replay-only @team:DataDog/redapl-hosts
2626
Scenario: Get all hosts with metadata deserializes successfully
2727
Given new "ListHosts" request
2828
And request contains "include_hosts_metadata" parameter with value true
@@ -35,49 +35,49 @@ Feature: Hosts
3535
And the response "host_list[0].meta.agent_checks[0]" is equal to ["ntp","ntp","ntp:d884b5186b651429","OK","",""]
3636
And the response "host_list[0].meta.gohai" is equal to "{\"cpu\":{\"cache_size\":\"8192 KB\",\"cpu_cores\":\"1\",\"cpu_logical_processors\":\"1\",\"family\":\"6\",\"mhz\":\"2711.998\",\"model\":\"142\",\"model_name\":\"Intel(R) Core(TM) i7-8559U CPU @ 2.70GHz\",\"stepping\":\"10\",\"vendor_id\":\"GenuineIntel\"},\"filesystem\":[{\"kb_size\":\"3966892\",\"mounted_on\":\"/dev\",\"name\":\"udev\"},{\"kb_size\":\"797396\",\"mounted_on\":\"/run\",\"name\":\"tmpfs\"},{\"kb_size\":\"64800356\",\"mounted_on\":\"/\",\"name\":\"/dev/mapper/vagrant--vg-root\"},{\"kb_size\":\"3986968\",\"mounted_on\":\"/dev/shm\",\"name\":\"tmpfs\"},{\"kb_size\":\"5120\",\"mounted_on\":\"/run/lock\",\"name\":\"tmpfs\"},{\"kb_size\":\"3986968\",\"mounted_on\":\"/sys/fs/cgroup\",\"name\":\"tmpfs\"},{\"kb_size\":\"488245288\",\"mounted_on\":\"/vagrant\",\"name\":\"/vagrant\"},{\"kb_size\":\"797392\",\"mounted_on\":\"/run/user/1000\",\"name\":\"tmpfs\"}],\"memory\":{\"swap_total\":\"1003516kB\",\"total\":\"7973940kB\"},\"network\":{\"interfaces\":[{\"ipv4\":\"10.0.2.15\",\"ipv4-network\":\"10.0.2.0/24\",\"ipv6\":\"fe80::a00:27ff:fec2:be11\",\"ipv6-network\":\"fe80::/64\",\"macaddress\":\"08:00:27:c2:be:11\",\"name\":\"eth0\"},{\"ipv4\":\"192.168.122.1\",\"ipv4-network\":\"192.168.122.0/24\",\"macaddress\":\"52:54:00:6f:1c:bf\",\"name\":\"virbr0\"}],\"ipaddress\":\"10.0.2.15\",\"ipaddressv6\":\"fe80::a00:27ff:fec2:be11\",\"macaddress\":\"08:00:27:c2:be:11\"},\"platform\":{\"GOOARCH\":\"amd64\",\"GOOS\":\"linux\",\"goV\":\"1.16.7\",\"hardware_platform\":\"x86_64\",\"hostname\":\"vagrant\",\"kernel_name\":\"Linux\",\"kernel_release\":\"4.15.0-29-generic\",\"kernel_version\":\"#31-Ubuntu SMP Tue Jul 17 15:39:52 UTC 2018\",\"machine\":\"x86_64\",\"os\":\"GNU/Linux\",\"processor\":\"x86_64\",\"pythonV\":\"2.7.15rc1\"}}"
3737

38-
@skip-validation @team:DataDog/core-index
38+
@skip-validation @team:DataDog/redapl-hosts
3939
Scenario: Get all hosts with metadata for your organization returns "OK" response
4040
Given new "ListHosts" request
4141
And request contains "include_hosts_metadata" parameter with value true
4242
When the request is sent
4343
Then the response status is 200 OK
4444

45-
@generated @skip @team:DataDog/core-index
45+
@generated @skip @team:DataDog/redapl-hosts
4646
Scenario: Get the total number of active hosts returns "Invalid Parameter Error" response
4747
Given new "GetHostTotals" request
4848
When the request is sent
4949
Then the response status is 400 Invalid Parameter Error
5050

51-
@generated @skip @team:DataDog/core-index
51+
@generated @skip @team:DataDog/redapl-hosts
5252
Scenario: Get the total number of active hosts returns "OK" response
5353
Given new "GetHostTotals" request
5454
When the request is sent
5555
Then the response status is 200 OK
5656

57-
@generated @skip @team:DataDog/core-index
57+
@generated @skip @team:DataDog/redapl-hosts
5858
Scenario: Mute a host returns "Invalid Parameter Error" response
5959
Given new "MuteHost" request
6060
And request contains "host_name" parameter from "REPLACE.ME"
6161
And body with value {"end": 1579098130, "message": "Muting this host for a test!", "override": false}
6262
When the request is sent
6363
Then the response status is 400 Invalid Parameter Error
6464

65-
@generated @skip @team:DataDog/core-index
65+
@generated @skip @team:DataDog/redapl-hosts
6666
Scenario: Mute a host returns "OK" response
6767
Given new "MuteHost" request
6868
And request contains "host_name" parameter from "REPLACE.ME"
6969
And body with value {"end": 1579098130, "message": "Muting this host for a test!", "override": false}
7070
When the request is sent
7171
Then the response status is 200 OK
7272

73-
@generated @skip @team:DataDog/core-index
73+
@generated @skip @team:DataDog/redapl-hosts
7474
Scenario: Unmute a host returns "Invalid Parameter Error" response
7575
Given new "UnmuteHost" request
7676
And request contains "host_name" parameter from "REPLACE.ME"
7777
When the request is sent
7878
Then the response status is 400 Invalid Parameter Error
7979

80-
@generated @skip @team:DataDog/core-index
80+
@generated @skip @team:DataDog/redapl-hosts
8181
Scenario: Unmute a host returns "OK" response
8282
Given new "UnmuteHost" request
8383
And request contains "host_name" parameter from "REPLACE.ME"

features/v1/tags.feature

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,71 +17,71 @@ Feature: Tags
1717
And a valid "appKeyAuth" key in the system
1818
And an instance of "Tags" API
1919

20-
@generated @skip @team:DataDog/core-index
20+
@generated @skip @team:DataDog/redapl-hosts
2121
Scenario: Add tags to a host returns "Created" response
2222
Given new "CreateHostTags" request
2323
And request contains "host_name" parameter from "REPLACE.ME"
2424
And body with value {"host": "test.host", "tags": ["environment:production"]}
2525
When the request is sent
2626
Then the response status is 201 Created
2727

28-
@generated @skip @team:DataDog/core-index
28+
@generated @skip @team:DataDog/redapl-hosts
2929
Scenario: Add tags to a host returns "Not Found" response
3030
Given new "CreateHostTags" request
3131
And request contains "host_name" parameter from "REPLACE.ME"
3232
And body with value {"host": "test.host", "tags": ["environment:production"]}
3333
When the request is sent
3434
Then the response status is 404 Not Found
3535

36-
@generated @skip @team:DataDog/core-index
36+
@generated @skip @team:DataDog/redapl-hosts
3737
Scenario: Get All Host Tags returns "Not Found" response
3838
Given new "ListHostTags" request
3939
When the request is sent
4040
Then the response status is 404 Not Found
4141

42-
@generated @skip @team:DataDog/core-index
42+
@generated @skip @team:DataDog/redapl-hosts
4343
Scenario: Get All Host Tags returns "OK" response
4444
Given new "ListHostTags" request
4545
When the request is sent
4646
Then the response status is 200 OK
4747

48-
@generated @skip @team:DataDog/core-index
48+
@generated @skip @team:DataDog/redapl-hosts
4949
Scenario: Get Host Tags returns "Not Found" response
5050
Given new "GetHostTags" request
5151
And request contains "host_name" parameter from "REPLACE.ME"
5252
When the request is sent
5353
Then the response status is 404 Not Found
5454

55-
@generated @skip @team:DataDog/core-index
55+
@generated @skip @team:DataDog/redapl-hosts
5656
Scenario: Get Host Tags returns "OK" response
5757
Given new "GetHostTags" request
5858
And request contains "host_name" parameter from "REPLACE.ME"
5959
When the request is sent
6060
Then the response status is 200 OK
6161

62-
@generated @skip @team:DataDog/core-index
62+
@generated @skip @team:DataDog/redapl-hosts
6363
Scenario: Remove host tags returns "Not Found" response
6464
Given new "DeleteHostTags" request
6565
And request contains "host_name" parameter from "REPLACE.ME"
6666
When the request is sent
6767
Then the response status is 404 Not Found
6868

69-
@generated @skip @team:DataDog/core-index
69+
@generated @skip @team:DataDog/redapl-hosts
7070
Scenario: Remove host tags returns "OK" response
7171
Given new "DeleteHostTags" request
7272
And request contains "host_name" parameter from "REPLACE.ME"
7373
When the request is sent
7474
Then the response status is 204 OK
7575

76-
@generated @skip @team:DataDog/core-index
76+
@generated @skip @team:DataDog/redapl-hosts
7777
Scenario: Update host tags returns "Not Found" response
7878
Given new "UpdateHostTags" request
7979
And request contains "host_name" parameter from "REPLACE.ME"
8080
And body with value {"host": "test.host", "tags": ["environment:production"]}
8181
When the request is sent
8282
Then the response status is 404 Not Found
8383

84-
@generated @skip @team:DataDog/core-index
84+
@generated @skip @team:DataDog/redapl-hosts
8585
Scenario: Update host tags returns "OK" response
8686
Given new "UpdateHostTags" request
8787
And request contains "host_name" parameter from "REPLACE.ME"

0 commit comments

Comments
 (0)