Skip to content

Commit 48e0eea

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Update monitor config tests to be non-blocking if cleanup fails (DataDog#17917)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
1 parent 5e1fb93 commit 48e0eea

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.4",
7-
"regenerated": "2023-04-27 17:35:02.602841",
8-
"spec_repo_commit": "b4e540b4"
7+
"regenerated": "2023-04-27 20:45:46.424973",
8+
"spec_repo_commit": "a3f3bc16"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.4",
12-
"regenerated": "2023-04-27 17:35:10.948817",
13-
"spec_repo_commit": "b4e540b4"
12+
"regenerated": "2023-04-27 20:45:55.248804",
13+
"spec_repo_commit": "a3f3bc16"
1414
}
1515
}
1616
}

content/en/api/v2/monitors/request.CreateMonitorConfigPolicy.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"attributes": {
44
"policy_type": "tag",
55
"policy": {
6-
"tag_key": "datacenter",
7-
"tag_key_required": true,
6+
"tag_key": "examplemonitor",
7+
"tag_key_required": false,
88
"valid_tag_values": [
99
"prod",
1010
"staging"

content/en/api/v2/monitors/request.UpdateMonitorConfigPolicy.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"data": {
33
"attributes": {
44
"policy": {
5-
"tag_key": "datacenter",
6-
"tag_key_required": true,
5+
"tag_key": "examplemonitor",
6+
"tag_key_required": false,
77
"valid_tag_values": [
88
"prod",
99
"staging"

data/api/v2/full_spec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20572,8 +20572,8 @@ paths:
2057220572
- name: body
2057320573
value: "{\n \"data\": {\n \"type\": \"monitor-config-policy\",\n \"attributes\":
2057420574
{\n \"policy_type\": \"tag\",\n \"policy\": {\n \"tag_key\":
20575-
\"dc\", \"tag_key_required\": true, \"valid_tag_values\": [\"prod\",
20576-
\"staging\"]\n }\n }\n }\n}"
20575+
\"{{ unique_lower_alnum }}\", \"tag_key_required\": false, \"valid_tag_values\":
20576+
[\"prod\", \"staging\"]\n }\n }\n }\n}"
2057720577
step: there is a valid "monitor_configuration_policy" in the system
2057820578
x-menu-order: 11
2057920579
x-undo:

data/api/v2/full_spec_deref.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135567,7 +135567,7 @@
135567135567
"parameters": [
135568135568
{
135569135569
"name": "body",
135570-
"value": "{\n \"data\": {\n \"type\": \"monitor-config-policy\",\n \"attributes\": {\n \"policy_type\": \"tag\",\n \"policy\": {\n \"tag_key\": \"dc\", \"tag_key_required\": true, \"valid_tag_values\": [\"prod\", \"staging\"]\n }\n }\n }\n}"
135570+
"value": "{\n \"data\": {\n \"type\": \"monitor-config-policy\",\n \"attributes\": {\n \"policy_type\": \"tag\",\n \"policy\": {\n \"tag_key\": \"{{ unique_lower_alnum }}\", \"tag_key_required\": false, \"valid_tag_values\": [\"prod\", \"staging\"]\n }\n }\n }\n}"
135571135571
}
135572135572
],
135573135573
"step": "there is a valid \"monitor_configuration_policy\" in the system"

static/resources/json/full_spec_v2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135567,7 +135567,7 @@
135567135567
"parameters": [
135568135568
{
135569135569
"name": "body",
135570-
"value": "{\n \"data\": {\n \"type\": \"monitor-config-policy\",\n \"attributes\": {\n \"policy_type\": \"tag\",\n \"policy\": {\n \"tag_key\": \"dc\", \"tag_key_required\": true, \"valid_tag_values\": [\"prod\", \"staging\"]\n }\n }\n }\n}"
135570+
"value": "{\n \"data\": {\n \"type\": \"monitor-config-policy\",\n \"attributes\": {\n \"policy_type\": \"tag\",\n \"policy\": {\n \"tag_key\": \"{{ unique_lower_alnum }}\", \"tag_key_required\": false, \"valid_tag_values\": [\"prod\", \"staging\"]\n }\n }\n }\n}"
135571135571
}
135572135572
],
135573135573
"step": "there is a valid \"monitor_configuration_policy\" in the system"

0 commit comments

Comments
 (0)