@@ -31,11 +31,13 @@ const HealthmonitorsListBody = `
3131 "admin_state_up":true,
3232 "project_id":"83657cfcdfe44cd5920adaf26c48ceea",
3333 "delay":5,
34+ "domain_name": "www.example.com",
3435 "name":"db",
3536 "expected_codes":"200",
3637 "max_retries":2,
3738 "max_retries_down":4,
3839 "http_method":"GET",
40+ "http_version": 1.1,
3941 "timeout":2,
4042 "url_path":"/",
4143 "type":"HTTP",
@@ -54,11 +56,13 @@ const SingleHealthmonitorBody = `
5456 "admin_state_up":true,
5557 "project_id":"83657cfcdfe44cd5920adaf26c48ceea",
5658 "delay":5,
59+ "domain_name": "www.example.com",
5760 "name":"db",
5861 "expected_codes":"200",
5962 "max_retries":2,
6063 "max_retries_down":4,
6164 "http_method":"GET",
65+ "http_version": 1.1,
6266 "timeout":2,
6367 "url_path":"/",
6468 "type":"HTTP",
@@ -76,11 +80,13 @@ const PostUpdateHealthmonitorBody = `
7680 "admin_state_up":true,
7781 "project_id":"83657cfcdfe44cd5920adaf26c48ceea",
7882 "delay":3,
83+ "domain_name": "www.example.com",
7984 "name":"NewHealthmonitorName",
8085 "expected_codes":"301",
8186 "max_retries":10,
8287 "max_retries_down":8,
8388 "http_method":"GET",
89+ "http_version": 1.1,
8490 "timeout":20,
8591 "url_path":"/another_check",
8692 "type":"HTTP",
@@ -107,6 +113,7 @@ var (
107113 }
108114 HealthmonitorDb = monitors.Monitor {
109115 AdminStateUp : true ,
116+ DomainName : "www.example.com" ,
110117 Name : "db" ,
111118 ProjectID : "83657cfcdfe44cd5920adaf26c48ceea" ,
112119 Delay : 5 ,
@@ -117,12 +124,14 @@ var (
117124 URLPath : "/" ,
118125 Type : "HTTP" ,
119126 HTTPMethod : "GET" ,
127+ HTTPVersion : "1.1" ,
120128 ID : "5d4b5228-33b0-4e60-b225-9b727c1a20e7" ,
121129 Pools : []monitors.PoolID {{ID : "d459f7d8-c6ee-439d-8713-d3fc08aeed8d" }},
122130 Tags : []string {},
123131 }
124132 HealthmonitorUpdated = monitors.Monitor {
125133 AdminStateUp : true ,
134+ DomainName : "www.example.com" ,
126135 Name : "NewHealthmonitorName" ,
127136 ProjectID : "83657cfcdfe44cd5920adaf26c48ceea" ,
128137 Delay : 3 ,
@@ -133,6 +142,7 @@ var (
133142 URLPath : "/another_check" ,
134143 Type : "HTTP" ,
135144 HTTPMethod : "GET" ,
145+ HTTPVersion : "1.1" ,
136146 ID : "5d4b5228-33b0-4e60-b225-9b727c1a20e7" ,
137147 Pools : []monitors.PoolID {{ID : "d459f7d8-c6ee-439d-8713-d3fc08aeed8d" }},
138148 Tags : []string {},
@@ -173,7 +183,9 @@ func HandleHealthmonitorCreationSuccessfully(t *testing.T, response string) {
173183 "pool_id":"84f1b61f-58c4-45bf-a8a9-2dafb9e5214d",
174184 "project_id":"453105b9-1754-413f-aab1-55f1af620750",
175185 "delay":20,
186+ "domain_name": "www.example.com",
176187 "name":"db",
188+ "http_version": 1.1,
177189 "timeout":10,
178190 "max_retries":5,
179191 "max_retries_down":4,
0 commit comments