Use trusts in Heat integration test
Use trust URLs when testing autoscaling integration with Heat. Depends-On: Ic5edb144eac3a4b30b9835bf251f25f65b8c29b5 Change-Id: I6aa5d1e3d79d27fcfb75854b11ccfb5012d5313e
This commit is contained in:
parent
726f24334d
commit
1ccacfc066
@ -49,7 +49,14 @@
|
|||||||
"threshold": 10,
|
"threshold": 10,
|
||||||
"comparison_operator": "gt",
|
"comparison_operator": "gt",
|
||||||
"alarm_actions": [
|
"alarm_actions": [
|
||||||
{ "get_attr": [ "web_server_scaleup_policy", "alarm_url" ] }
|
{
|
||||||
|
"str_replace": {
|
||||||
|
"template": "trust+url",
|
||||||
|
"params": {
|
||||||
|
"url": { "get_attr": [ "web_server_scaleup_policy", "signal_url" ] }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
],
|
],
|
||||||
"resource_type": "instance",
|
"resource_type": "instance",
|
||||||
"query": {
|
"query": {
|
||||||
|
@ -48,7 +48,14 @@
|
|||||||
"threshold": 10,
|
"threshold": 10,
|
||||||
"comparison_operator": "gt",
|
"comparison_operator": "gt",
|
||||||
"alarm_actions": [
|
"alarm_actions": [
|
||||||
{ "get_attr": [ "web_server_scaledown_policy", "alarm_url" ] }
|
{
|
||||||
|
"str_replace": {
|
||||||
|
"template": "trust+url",
|
||||||
|
"params": {
|
||||||
|
"url": { "get_attr": [ "web_server_scaledown_policy", "signal_url" ] }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
],
|
],
|
||||||
"resource_type": "instance",
|
"resource_type": "instance",
|
||||||
"query": {
|
"query": {
|
||||||
|
Loading…
Reference in New Issue
Block a user