You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: features/v1/hosts.feature
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -9,20 +9,20 @@ Feature: Hosts
9
9
And a valid "appKeyAuth" key in the system
10
10
And an instance of "Hosts" API
11
11
12
-
@generated@skip@team:DataDog/core-index
12
+
@generated@skip@team:DataDog/redapl-hosts
13
13
Scenario: Get all hosts for your organization returns "Invalid Parameter Error" response
14
14
Given new "ListHosts" request
15
15
When the request is sent
16
16
Then the response status is 400 Invalid Parameter Error
17
17
18
-
@integration-only@team:DataDog/core-index
18
+
@integration-only@team:DataDog/redapl-hosts
19
19
Scenario: Get all hosts for your organization returns "OK" response
20
20
Given new "ListHosts" request
21
21
And request contains "filter" parameter with value "env:ci"
22
22
When the request is sent
23
23
Then the response status is 200 OK
24
24
25
-
@replay-only@team:DataDog/core-index
25
+
@replay-only@team:DataDog/redapl-hosts
26
26
Scenario: Get all hosts with metadata deserializes successfully
27
27
Given new "ListHosts" request
28
28
And request contains "include_hosts_metadata" parameter with value true
@@ -35,49 +35,49 @@ Feature: Hosts
35
35
And the response "host_list[0].meta.agent_checks[0]" is equal to ["ntp","ntp","ntp:d884b5186b651429","OK","",""]
36
36
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\"}}"
37
37
38
-
@skip-validation@team:DataDog/core-index
38
+
@skip-validation@team:DataDog/redapl-hosts
39
39
Scenario: Get all hosts with metadata for your organization returns "OK" response
40
40
Given new "ListHosts" request
41
41
And request contains "include_hosts_metadata" parameter with value true
42
42
When the request is sent
43
43
Then the response status is 200 OK
44
44
45
-
@generated@skip@team:DataDog/core-index
45
+
@generated@skip@team:DataDog/redapl-hosts
46
46
Scenario: Get the total number of active hosts returns "Invalid Parameter Error" response
47
47
Given new "GetHostTotals" request
48
48
When the request is sent
49
49
Then the response status is 400 Invalid Parameter Error
50
50
51
-
@generated@skip@team:DataDog/core-index
51
+
@generated@skip@team:DataDog/redapl-hosts
52
52
Scenario: Get the total number of active hosts returns "OK" response
53
53
Given new "GetHostTotals" request
54
54
When the request is sent
55
55
Then the response status is 200 OK
56
56
57
-
@generated@skip@team:DataDog/core-index
57
+
@generated@skip@team:DataDog/redapl-hosts
58
58
Scenario: Mute a host returns "Invalid Parameter Error" response
59
59
Given new "MuteHost" request
60
60
And request contains "host_name" parameter from "REPLACE.ME"
61
61
And body with value {"end": 1579098130, "message": "Muting this host for a test!", "override": false}
62
62
When the request is sent
63
63
Then the response status is 400 Invalid Parameter Error
64
64
65
-
@generated@skip@team:DataDog/core-index
65
+
@generated@skip@team:DataDog/redapl-hosts
66
66
Scenario: Mute a host returns "OK" response
67
67
Given new "MuteHost" request
68
68
And request contains "host_name" parameter from "REPLACE.ME"
69
69
And body with value {"end": 1579098130, "message": "Muting this host for a test!", "override": false}
70
70
When the request is sent
71
71
Then the response status is 200 OK
72
72
73
-
@generated@skip@team:DataDog/core-index
73
+
@generated@skip@team:DataDog/redapl-hosts
74
74
Scenario: Unmute a host returns "Invalid Parameter Error" response
75
75
Given new "UnmuteHost" request
76
76
And request contains "host_name" parameter from "REPLACE.ME"
77
77
When the request is sent
78
78
Then the response status is 400 Invalid Parameter Error
79
79
80
-
@generated@skip@team:DataDog/core-index
80
+
@generated@skip@team:DataDog/redapl-hosts
81
81
Scenario: Unmute a host returns "OK" response
82
82
Given new "UnmuteHost" request
83
83
And request contains "host_name" parameter from "REPLACE.ME"
0 commit comments