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:
Thomas Herve 2016-06-09 14:56:27 +02:00
parent 726f24334d
commit 1ccacfc066
2 changed files with 16 additions and 2 deletions

View File

@ -49,7 +49,14 @@
"threshold": 10,
"comparison_operator": "gt",
"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",
"query": {

View File

@ -48,7 +48,14 @@
"threshold": 10,
"comparison_operator": "gt",
"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",
"query": {