@@ -9,70 +9,70 @@ Feature: Azure Integration
9
9
And a valid "appKeyAuth" key in the system
10
10
And an instance of "AzureIntegration" API
11
11
12
- @generated @skip @team:DataDog/cloud -integrations
12
+ @generated @skip @team:DataDog/azure -integrations
13
13
Scenario : Create an Azure integration returns "Bad Request" response
14
14
Given new "CreateAzureIntegration" request
15
- And body with value {"app_service_plan_filters" : "key:value,filter:example" , "automute" : true, "client_id" : "testc7f6-1234-5678-9101-3fcbf464test" , "client_secret" : "testingx./Sw*g/Y33t..R1cH+hScMDt" , "container_app_filters" : "key:value,filter:example" , "cspm_enabled" : true, "custom_metrics_enabled" : true, "errors" : ["*" ], "host_filters" : "key:value,filter:example" , "new_client_id" : "new1c7f6-1234-5678-9101-3fcbf464test" , "new_tenant_name" : "new1c44-1234-5678-9101-cc00736ftest" , "tenant_name" : "testc44-1234-5678-9101-cc00736ftest" }
15
+ And body with value {"app_service_plan_filters" : "key:value,filter:example" , "automute" : true, "client_id" : "testc7f6-1234-5678-9101-3fcbf464test" , "client_secret" : "testingx./Sw*g/Y33t..R1cH+hScMDt" , "container_app_filters" : "key:value,filter:example" , "cspm_enabled" : true, "custom_metrics_enabled" : true, "errors" : ["*" ], "host_filters" : "key:value,filter:example" , "new_client_id" : "new1c7f6-1234-5678-9101-3fcbf464test" , "new_tenant_name" : "new1c44-1234-5678-9101-cc00736ftest" , "resource_collection_enabled" : true, " tenant_name" : "testc44-1234-5678-9101-cc00736ftest" }
16
16
When the request is sent
17
17
Then the response status is 400 Bad Request
18
18
19
- @generated @skip @team:DataDog/cloud -integrations
19
+ @generated @skip @team:DataDog/azure -integrations
20
20
Scenario : Create an Azure integration returns "OK" response
21
21
Given new "CreateAzureIntegration" request
22
- And body with value {"app_service_plan_filters" : "key:value,filter:example" , "automute" : true, "client_id" : "testc7f6-1234-5678-9101-3fcbf464test" , "client_secret" : "testingx./Sw*g/Y33t..R1cH+hScMDt" , "container_app_filters" : "key:value,filter:example" , "cspm_enabled" : true, "custom_metrics_enabled" : true, "errors" : ["*" ], "host_filters" : "key:value,filter:example" , "new_client_id" : "new1c7f6-1234-5678-9101-3fcbf464test" , "new_tenant_name" : "new1c44-1234-5678-9101-cc00736ftest" , "tenant_name" : "testc44-1234-5678-9101-cc00736ftest" }
22
+ And body with value {"app_service_plan_filters" : "key:value,filter:example" , "automute" : true, "client_id" : "testc7f6-1234-5678-9101-3fcbf464test" , "client_secret" : "testingx./Sw*g/Y33t..R1cH+hScMDt" , "container_app_filters" : "key:value,filter:example" , "cspm_enabled" : true, "custom_metrics_enabled" : true, "errors" : ["*" ], "host_filters" : "key:value,filter:example" , "new_client_id" : "new1c7f6-1234-5678-9101-3fcbf464test" , "new_tenant_name" : "new1c44-1234-5678-9101-cc00736ftest" , "resource_collection_enabled" : true, " tenant_name" : "testc44-1234-5678-9101-cc00736ftest" }
23
23
When the request is sent
24
24
Then the response status is 200 OK
25
25
26
- @generated @skip @team:DataDog/cloud -integrations
26
+ @generated @skip @team:DataDog/azure -integrations
27
27
Scenario : Delete an Azure integration returns "Bad Request" response
28
28
Given new "DeleteAzureIntegration" request
29
- And body with value {"app_service_plan_filters" : "key:value,filter:example" , "automute" : true, "client_id" : "testc7f6-1234-5678-9101-3fcbf464test" , "client_secret" : "testingx./Sw*g/Y33t..R1cH+hScMDt" , "container_app_filters" : "key:value,filter:example" , "cspm_enabled" : true, "custom_metrics_enabled" : true, "errors" : ["*" ], "host_filters" : "key:value,filter:example" , "new_client_id" : "new1c7f6-1234-5678-9101-3fcbf464test" , "new_tenant_name" : "new1c44-1234-5678-9101-cc00736ftest" , "tenant_name" : "testc44-1234-5678-9101-cc00736ftest" }
29
+ And body with value {"app_service_plan_filters" : "key:value,filter:example" , "automute" : true, "client_id" : "testc7f6-1234-5678-9101-3fcbf464test" , "client_secret" : "testingx./Sw*g/Y33t..R1cH+hScMDt" , "container_app_filters" : "key:value,filter:example" , "cspm_enabled" : true, "custom_metrics_enabled" : true, "errors" : ["*" ], "host_filters" : "key:value,filter:example" , "new_client_id" : "new1c7f6-1234-5678-9101-3fcbf464test" , "new_tenant_name" : "new1c44-1234-5678-9101-cc00736ftest" , "resource_collection_enabled" : true, " tenant_name" : "testc44-1234-5678-9101-cc00736ftest" }
30
30
When the request is sent
31
31
Then the response status is 400 Bad Request
32
32
33
- @generated @skip @team:DataDog/cloud -integrations
33
+ @generated @skip @team:DataDog/azure -integrations
34
34
Scenario : Delete an Azure integration returns "OK" response
35
35
Given new "DeleteAzureIntegration" request
36
- And body with value {"app_service_plan_filters" : "key:value,filter:example" , "automute" : true, "client_id" : "testc7f6-1234-5678-9101-3fcbf464test" , "client_secret" : "testingx./Sw*g/Y33t..R1cH+hScMDt" , "container_app_filters" : "key:value,filter:example" , "cspm_enabled" : true, "custom_metrics_enabled" : true, "errors" : ["*" ], "host_filters" : "key:value,filter:example" , "new_client_id" : "new1c7f6-1234-5678-9101-3fcbf464test" , "new_tenant_name" : "new1c44-1234-5678-9101-cc00736ftest" , "tenant_name" : "testc44-1234-5678-9101-cc00736ftest" }
36
+ And body with value {"app_service_plan_filters" : "key:value,filter:example" , "automute" : true, "client_id" : "testc7f6-1234-5678-9101-3fcbf464test" , "client_secret" : "testingx./Sw*g/Y33t..R1cH+hScMDt" , "container_app_filters" : "key:value,filter:example" , "cspm_enabled" : true, "custom_metrics_enabled" : true, "errors" : ["*" ], "host_filters" : "key:value,filter:example" , "new_client_id" : "new1c7f6-1234-5678-9101-3fcbf464test" , "new_tenant_name" : "new1c44-1234-5678-9101-cc00736ftest" , "resource_collection_enabled" : true, " tenant_name" : "testc44-1234-5678-9101-cc00736ftest" }
37
37
When the request is sent
38
38
Then the response status is 200 OK
39
39
40
- @generated @skip @team:DataDog/cloud -integrations
40
+ @generated @skip @team:DataDog/azure -integrations
41
41
Scenario : List all Azure integrations returns "Bad Request" response
42
42
Given new "ListAzureIntegration" request
43
43
When the request is sent
44
44
Then the response status is 400 Bad Request
45
45
46
- @generated @skip @team:DataDog/cloud -integrations
46
+ @generated @skip @team:DataDog/azure -integrations
47
47
Scenario : List all Azure integrations returns "OK" response
48
48
Given new "ListAzureIntegration" request
49
49
When the request is sent
50
50
Then the response status is 200 OK
51
51
52
- @generated @skip @team:DataDog/cloud -integrations
52
+ @generated @skip @team:DataDog/azure -integrations
53
53
Scenario : Update Azure integration host filters returns "Bad Request" response
54
54
Given new "UpdateAzureHostFilters" request
55
- And body with value {"app_service_plan_filters" : "key:value,filter:example" , "automute" : true, "client_id" : "testc7f6-1234-5678-9101-3fcbf464test" , "client_secret" : "testingx./Sw*g/Y33t..R1cH+hScMDt" , "container_app_filters" : "key:value,filter:example" , "cspm_enabled" : true, "custom_metrics_enabled" : true, "errors" : ["*" ], "host_filters" : "key:value,filter:example" , "new_client_id" : "new1c7f6-1234-5678-9101-3fcbf464test" , "new_tenant_name" : "new1c44-1234-5678-9101-cc00736ftest" , "tenant_name" : "testc44-1234-5678-9101-cc00736ftest" }
55
+ And body with value {"app_service_plan_filters" : "key:value,filter:example" , "automute" : true, "client_id" : "testc7f6-1234-5678-9101-3fcbf464test" , "client_secret" : "testingx./Sw*g/Y33t..R1cH+hScMDt" , "container_app_filters" : "key:value,filter:example" , "cspm_enabled" : true, "custom_metrics_enabled" : true, "errors" : ["*" ], "host_filters" : "key:value,filter:example" , "new_client_id" : "new1c7f6-1234-5678-9101-3fcbf464test" , "new_tenant_name" : "new1c44-1234-5678-9101-cc00736ftest" , "resource_collection_enabled" : true, " tenant_name" : "testc44-1234-5678-9101-cc00736ftest" }
56
56
When the request is sent
57
57
Then the response status is 400 Bad Request
58
58
59
- @generated @skip @team:DataDog/cloud -integrations
59
+ @generated @skip @team:DataDog/azure -integrations
60
60
Scenario : Update Azure integration host filters returns "OK" response
61
61
Given new "UpdateAzureHostFilters" request
62
- And body with value {"app_service_plan_filters" : "key:value,filter:example" , "automute" : true, "client_id" : "testc7f6-1234-5678-9101-3fcbf464test" , "client_secret" : "testingx./Sw*g/Y33t..R1cH+hScMDt" , "container_app_filters" : "key:value,filter:example" , "cspm_enabled" : true, "custom_metrics_enabled" : true, "errors" : ["*" ], "host_filters" : "key:value,filter:example" , "new_client_id" : "new1c7f6-1234-5678-9101-3fcbf464test" , "new_tenant_name" : "new1c44-1234-5678-9101-cc00736ftest" , "tenant_name" : "testc44-1234-5678-9101-cc00736ftest" }
62
+ And body with value {"app_service_plan_filters" : "key:value,filter:example" , "automute" : true, "client_id" : "testc7f6-1234-5678-9101-3fcbf464test" , "client_secret" : "testingx./Sw*g/Y33t..R1cH+hScMDt" , "container_app_filters" : "key:value,filter:example" , "cspm_enabled" : true, "custom_metrics_enabled" : true, "errors" : ["*" ], "host_filters" : "key:value,filter:example" , "new_client_id" : "new1c7f6-1234-5678-9101-3fcbf464test" , "new_tenant_name" : "new1c44-1234-5678-9101-cc00736ftest" , "resource_collection_enabled" : true, " tenant_name" : "testc44-1234-5678-9101-cc00736ftest" }
63
63
When the request is sent
64
64
Then the response status is 200 OK
65
65
66
- @generated @skip @team:DataDog/cloud -integrations
66
+ @generated @skip @team:DataDog/azure -integrations
67
67
Scenario : Update an Azure integration returns "Bad Request" response
68
68
Given new "UpdateAzureIntegration" request
69
- And body with value {"app_service_plan_filters" : "key:value,filter:example" , "automute" : true, "client_id" : "testc7f6-1234-5678-9101-3fcbf464test" , "client_secret" : "testingx./Sw*g/Y33t..R1cH+hScMDt" , "container_app_filters" : "key:value,filter:example" , "cspm_enabled" : true, "custom_metrics_enabled" : true, "errors" : ["*" ], "host_filters" : "key:value,filter:example" , "new_client_id" : "new1c7f6-1234-5678-9101-3fcbf464test" , "new_tenant_name" : "new1c44-1234-5678-9101-cc00736ftest" , "tenant_name" : "testc44-1234-5678-9101-cc00736ftest" }
69
+ And body with value {"app_service_plan_filters" : "key:value,filter:example" , "automute" : true, "client_id" : "testc7f6-1234-5678-9101-3fcbf464test" , "client_secret" : "testingx./Sw*g/Y33t..R1cH+hScMDt" , "container_app_filters" : "key:value,filter:example" , "cspm_enabled" : true, "custom_metrics_enabled" : true, "errors" : ["*" ], "host_filters" : "key:value,filter:example" , "new_client_id" : "new1c7f6-1234-5678-9101-3fcbf464test" , "new_tenant_name" : "new1c44-1234-5678-9101-cc00736ftest" , "resource_collection_enabled" : true, " tenant_name" : "testc44-1234-5678-9101-cc00736ftest" }
70
70
When the request is sent
71
71
Then the response status is 400 Bad Request
72
72
73
- @generated @skip @team:DataDog/cloud -integrations
73
+ @generated @skip @team:DataDog/azure -integrations
74
74
Scenario : Update an Azure integration returns "OK" response
75
75
Given new "UpdateAzureIntegration" request
76
- And body with value {"app_service_plan_filters" : "key:value,filter:example" , "automute" : true, "client_id" : "testc7f6-1234-5678-9101-3fcbf464test" , "client_secret" : "testingx./Sw*g/Y33t..R1cH+hScMDt" , "container_app_filters" : "key:value,filter:example" , "cspm_enabled" : true, "custom_metrics_enabled" : true, "errors" : ["*" ], "host_filters" : "key:value,filter:example" , "new_client_id" : "new1c7f6-1234-5678-9101-3fcbf464test" , "new_tenant_name" : "new1c44-1234-5678-9101-cc00736ftest" , "tenant_name" : "testc44-1234-5678-9101-cc00736ftest" }
76
+ And body with value {"app_service_plan_filters" : "key:value,filter:example" , "automute" : true, "client_id" : "testc7f6-1234-5678-9101-3fcbf464test" , "client_secret" : "testingx./Sw*g/Y33t..R1cH+hScMDt" , "container_app_filters" : "key:value,filter:example" , "cspm_enabled" : true, "custom_metrics_enabled" : true, "errors" : ["*" ], "host_filters" : "key:value,filter:example" , "new_client_id" : "new1c7f6-1234-5678-9101-3fcbf464test" , "new_tenant_name" : "new1c44-1234-5678-9101-cc00736ftest" , "resource_collection_enabled" : true, " tenant_name" : "testc44-1234-5678-9101-cc00736ftest" }
77
77
When the request is sent
78
78
Then the response status is 200 OK
0 commit comments