@@ -12,14 +12,14 @@ Feature: Logs Archives
12
12
@generated @skip @team:DataDog/logs-backend
13
13
Scenario : Create an archive returns "Bad Request" response
14
14
Given new "CreateLogsArchive" request
15
- And body with value {"data" : {"attributes" : {"destination" : {"container" : "container-name" , "integration" : {"client_id" : "aaaaaaaa-1a1a-1a1a-1a1a-aaaaaaaaaaaa" , "tenant_id" : "aaaaaaaa-1a1a-1a1a-1a1a-aaaaaaaaaaaa" }, "storage_account" : "account-name" , "type" : "azure" }, "include_tags" : false, "name" : "Nginx Archive" , "query" : "source:nginx" , "rehydration_tags" : ["team:intake" , "team:app" ]}, "type" : "archives" }}
15
+ And body with value {"data" : {"attributes" : {"destination" : {"container" : "container-name" , "integration" : {"client_id" : "aaaaaaaa-1a1a-1a1a-1a1a-aaaaaaaaaaaa" , "tenant_id" : "aaaaaaaa-1a1a-1a1a-1a1a-aaaaaaaaaaaa" }, "storage_account" : "account-name" , "type" : "azure" }, "include_tags" : false, "name" : "Nginx Archive" , "query" : "source:nginx" , "rehydration_max_scan_size_in_gb" : 100, " rehydration_tags" : ["team:intake" , "team:app" ]}, "type" : "archives" }}
16
16
When the request is sent
17
17
Then the response status is 400 Bad Request
18
18
19
19
@generated @skip @team:DataDog/logs-backend
20
20
Scenario : Create an archive returns "OK" response
21
21
Given new "CreateLogsArchive" request
22
- And body with value {"data" : {"attributes" : {"destination" : {"container" : "container-name" , "integration" : {"client_id" : "aaaaaaaa-1a1a-1a1a-1a1a-aaaaaaaaaaaa" , "tenant_id" : "aaaaaaaa-1a1a-1a1a-1a1a-aaaaaaaaaaaa" }, "storage_account" : "account-name" , "type" : "azure" }, "include_tags" : false, "name" : "Nginx Archive" , "query" : "source:nginx" , "rehydration_tags" : ["team:intake" , "team:app" ]}, "type" : "archives" }}
22
+ And body with value {"data" : {"attributes" : {"destination" : {"container" : "container-name" , "integration" : {"client_id" : "aaaaaaaa-1a1a-1a1a-1a1a-aaaaaaaaaaaa" , "tenant_id" : "aaaaaaaa-1a1a-1a1a-1a1a-aaaaaaaaaaaa" }, "storage_account" : "account-name" , "type" : "azure" }, "include_tags" : false, "name" : "Nginx Archive" , "query" : "source:nginx" , "rehydration_max_scan_size_in_gb" : 100, " rehydration_tags" : ["team:intake" , "team:app" ]}, "type" : "archives" }}
23
23
When the request is sent
24
24
Then the response status is 200 OK
25
25
@@ -150,23 +150,23 @@ Feature: Logs Archives
150
150
Scenario : Update an archive returns "Bad Request" response
151
151
Given new "UpdateLogsArchive" request
152
152
And request contains "archive_id" parameter from "REPLACE.ME"
153
- And body with value {"data" : {"attributes" : {"destination" : {"container" : "container-name" , "integration" : {"client_id" : "aaaaaaaa-1a1a-1a1a-1a1a-aaaaaaaaaaaa" , "tenant_id" : "aaaaaaaa-1a1a-1a1a-1a1a-aaaaaaaaaaaa" }, "storage_account" : "account-name" , "type" : "azure" }, "include_tags" : false, "name" : "Nginx Archive" , "query" : "source:nginx" , "rehydration_tags" : ["team:intake" , "team:app" ]}, "type" : "archives" }}
153
+ And body with value {"data" : {"attributes" : {"destination" : {"container" : "container-name" , "integration" : {"client_id" : "aaaaaaaa-1a1a-1a1a-1a1a-aaaaaaaaaaaa" , "tenant_id" : "aaaaaaaa-1a1a-1a1a-1a1a-aaaaaaaaaaaa" }, "storage_account" : "account-name" , "type" : "azure" }, "include_tags" : false, "name" : "Nginx Archive" , "query" : "source:nginx" , "rehydration_max_scan_size_in_gb" : 100, " rehydration_tags" : ["team:intake" , "team:app" ]}, "type" : "archives" }}
154
154
When the request is sent
155
155
Then the response status is 400 Bad Request
156
156
157
157
@generated @skip @team:DataDog/logs-backend
158
158
Scenario : Update an archive returns "Not found" response
159
159
Given new "UpdateLogsArchive" request
160
160
And request contains "archive_id" parameter from "REPLACE.ME"
161
- And body with value {"data" : {"attributes" : {"destination" : {"container" : "container-name" , "integration" : {"client_id" : "aaaaaaaa-1a1a-1a1a-1a1a-aaaaaaaaaaaa" , "tenant_id" : "aaaaaaaa-1a1a-1a1a-1a1a-aaaaaaaaaaaa" }, "storage_account" : "account-name" , "type" : "azure" }, "include_tags" : false, "name" : "Nginx Archive" , "query" : "source:nginx" , "rehydration_tags" : ["team:intake" , "team:app" ]}, "type" : "archives" }}
161
+ And body with value {"data" : {"attributes" : {"destination" : {"container" : "container-name" , "integration" : {"client_id" : "aaaaaaaa-1a1a-1a1a-1a1a-aaaaaaaaaaaa" , "tenant_id" : "aaaaaaaa-1a1a-1a1a-1a1a-aaaaaaaaaaaa" }, "storage_account" : "account-name" , "type" : "azure" }, "include_tags" : false, "name" : "Nginx Archive" , "query" : "source:nginx" , "rehydration_max_scan_size_in_gb" : 100, " rehydration_tags" : ["team:intake" , "team:app" ]}, "type" : "archives" }}
162
162
When the request is sent
163
163
Then the response status is 404 Not found
164
164
165
165
@generated @skip @team:DataDog/logs-backend
166
166
Scenario : Update an archive returns "OK" response
167
167
Given new "UpdateLogsArchive" request
168
168
And request contains "archive_id" parameter from "REPLACE.ME"
169
- And body with value {"data" : {"attributes" : {"destination" : {"container" : "container-name" , "integration" : {"client_id" : "aaaaaaaa-1a1a-1a1a-1a1a-aaaaaaaaaaaa" , "tenant_id" : "aaaaaaaa-1a1a-1a1a-1a1a-aaaaaaaaaaaa" }, "storage_account" : "account-name" , "type" : "azure" }, "include_tags" : false, "name" : "Nginx Archive" , "query" : "source:nginx" , "rehydration_tags" : ["team:intake" , "team:app" ]}, "type" : "archives" }}
169
+ And body with value {"data" : {"attributes" : {"destination" : {"container" : "container-name" , "integration" : {"client_id" : "aaaaaaaa-1a1a-1a1a-1a1a-aaaaaaaaaaaa" , "tenant_id" : "aaaaaaaa-1a1a-1a1a-1a1a-aaaaaaaaaaaa" }, "storage_account" : "account-name" , "type" : "azure" }, "include_tags" : false, "name" : "Nginx Archive" , "query" : "source:nginx" , "rehydration_max_scan_size_in_gb" : 100, " rehydration_tags" : ["team:intake" , "team:app" ]}, "type" : "archives" }}
170
170
When the request is sent
171
171
Then the response status is 200 OK
172
172
0 commit comments