@@ -12,14 +12,14 @@ Feature: Logs Archives
1212 @generated @skip @team:DataDog/logs-backend @team:DataDog/logs-forwarding
1313 Scenario : Create an archive returns "Bad Request" response
1414 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_max_scan_size_in_gb" : 100, "rehydration_tags" : ["team:intake" , "team:app" ]}, "type" : "archives" }}
15+ And body with value {"data" : {"attributes" : {"compression_method" : "GZIP" , " 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" }}
1616 When the request is sent
1717 Then the response status is 400 Bad Request
1818
1919 @generated @skip @team:DataDog/logs-backend @team:DataDog/logs-forwarding
2020 Scenario : Create an archive returns "OK" response
2121 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_max_scan_size_in_gb" : 100, "rehydration_tags" : ["team:intake" , "team:app" ]}, "type" : "archives" }}
22+ And body with value {"data" : {"attributes" : {"compression_method" : "GZIP" , " 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" }}
2323 When the request is sent
2424 Then the response status is 200 OK
2525
@@ -150,23 +150,23 @@ Feature: Logs Archives
150150 Scenario : Update an archive returns "Bad Request" response
151151 Given new "UpdateLogsArchive" request
152152 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_max_scan_size_in_gb" : 100, "rehydration_tags" : ["team:intake" , "team:app" ]}, "type" : "archives" }}
153+ And body with value {"data" : {"attributes" : {"compression_method" : "GZIP" , " 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" }}
154154 When the request is sent
155155 Then the response status is 400 Bad Request
156156
157157 @generated @skip @team:DataDog/logs-backend @team:DataDog/logs-forwarding
158158 Scenario : Update an archive returns "Not found" response
159159 Given new "UpdateLogsArchive" request
160160 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_max_scan_size_in_gb" : 100, "rehydration_tags" : ["team:intake" , "team:app" ]}, "type" : "archives" }}
161+ And body with value {"data" : {"attributes" : {"compression_method" : "GZIP" , " 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" }}
162162 When the request is sent
163163 Then the response status is 404 Not found
164164
165165 @generated @skip @team:DataDog/logs-backend @team:DataDog/logs-forwarding
166166 Scenario : Update an archive returns "OK" response
167167 Given new "UpdateLogsArchive" request
168168 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_max_scan_size_in_gb" : 100, "rehydration_tags" : ["team:intake" , "team:app" ]}, "type" : "archives" }}
169+ And body with value {"data" : {"attributes" : {"compression_method" : "GZIP" , " 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" }}
170170 When the request is sent
171171 Then the response status is 200 OK
172172
0 commit comments