ui: improved fixtures

This commit is contained in:
Jack Pearkes 2014-04-24 15:48:23 -04:00
parent d87e722d61
commit 0449428e20
1 changed files with 18 additions and 30 deletions

View File

@ -39,7 +39,7 @@ fixtures.services = [
"Checks": [
{
"Name": "serfHealth",
"Status": "passing"
"Status": "critical"
},
{
"Name": "fooHealth",
@ -154,7 +154,7 @@ fixtures.services_full = {
"ServiceID": "",
"Notes": "",
"Output": "foobar baz",
"Status": "passing",
"Status": "critical",
"Name": "Serf Health Status",
"CheckID": "serfHealth",
"Node": "node-10-0-1-109"
@ -179,15 +179,11 @@ fixtures.nodes = [
"Checks": [
{
"Name": "serfHealth",
"status": "passing"
},
{
"Name": "fooHealth",
"status": "critical"
"Status": "critical"
},
{
"Name": "bazHealth",
"status": "passing"
"Status": "passing"
}
]
},
@ -199,17 +195,9 @@ fixtures.nodes = [
"vagrant-cloud-http"
],
"Checks": [
{
"Name": "serfHealth",
"status": "passing"
},
{
"Name": "fooHealth",
"status": "critical"
},
{
"Name": "bazHealth",
"status": "passing"
"Status": "passing"
}
],
}
@ -244,10 +232,20 @@ fixtures.nodes_full = {
"ServiceName": "",
"ServiceID": "",
"Notes": "Checks the status of the serf agent",
"Status": "passing",
"Status": "critical",
"Name": "Serf Health Status",
"CheckID": "serfHealth",
"Node": "node-10-0-1-109"
},
{
"ServiceName": "",
"ServiceID": "",
"Notes": "",
"Output": "foobar baz",
"Status": "passing",
"Name": "Baz Status",
"CheckID": "bazHealth",
"Node": "node-10-0-1-109"
}
]
},
@ -277,18 +275,8 @@ fixtures.nodes_full = {
"Notes": "",
"Output": "foobar baz",
"Status": "passing",
"Name": "Baz Status",
"CheckID": "bazHealth",
"Node": "node-10-0-1-102"
},
{
"ServiceName": "",
"ServiceID": "",
"Notes": "",
"Output": "foobar baz",
"Status": "passing",
"Name": "Serf Health Status",
"CheckID": "serfHealth",
"Name": "Foo Healthy",
"CheckID": "fooStatus",
"Node": "node-10-0-1-102"
}
]