ui: nodes fixtures revision

This commit is contained in:
Jack Pearkes 2014-04-24 15:25:28 -04:00
parent ada5135522
commit 1556ac6781
2 changed files with 17 additions and 40 deletions

View File

@ -98,7 +98,7 @@
<div class="panel-bar"></div> <div class="panel-bar"></div>
<div class="panel-heading"> <div class="panel-heading">
<h3 class="panel-title"> <h3 class="panel-title">
{{node.Node}} {{#link-to 'node' controllers.application.getDc node.Node class='subtle'}}{{node.Node}}{{/link-to}}
<small>{{node.Address}}</small> <small>{{node.Address}}</small>
<span class="panel-note">{{node.checkMessage}}</span> <span class="panel-note">{{node.checkMessage}}</span>
</h3> </h3>

View File

@ -31,7 +31,7 @@ fixtures.services = [
], ],
"Nodes": [ "Nodes": [
"node-10-0-1-109", "node-10-0-1-109",
"node-10-0-3-84" "node-10-0-1-102"
] ]
}, },
{ {
@ -51,8 +51,8 @@ fixtures.services = [
} }
], ],
"Nodes": [ "Nodes": [
"node-10-0-1-103", "node-10-0-1-109",
"node-10-0-1-104" "node-10-0-1-102"
] ]
}, },
] ]
@ -83,7 +83,7 @@ fixtures.services_full = {
"Status": "critical", "Status": "critical",
"Name": "Serf Health Status", "Name": "Serf Health Status",
"CheckID": "serfHealth", "CheckID": "serfHealth",
"Node": "node-10-0-3-83" "Node": "node-10-0-1-109"
} }
] ]
}, },
@ -93,8 +93,8 @@ fixtures.services_full = {
"ServiceTags": null, "ServiceTags": null,
"ServiceName": "vagrant-cloud-http", "ServiceName": "vagrant-cloud-http",
"ServiceID": "vagrant-cloud-http", "ServiceID": "vagrant-cloud-http",
"Address": "10.0.3.83", "Address": "10.0.1.102",
"Node": "node-10-0-3-84", "Node": "node-10-0-1-102",
"Checks": [ "Checks": [
{ {
"ServiceName": "", "ServiceName": "",
@ -103,7 +103,7 @@ fixtures.services_full = {
"Status": "passing", "Status": "passing",
"Name": "Serf Health Status", "Name": "Serf Health Status",
"CheckID": "serfHealth", "CheckID": "serfHealth",
"Node": "node-10-0-3-84" "Node": "node-10-0-1-102"
} }
] ]
} }
@ -115,8 +115,8 @@ fixtures.services_full = {
"ServiceTags": null, "ServiceTags": null,
"ServiceName": "vagrant-share-mux", "ServiceName": "vagrant-share-mux",
"ServiceID": "vagrant-share-mux", "ServiceID": "vagrant-share-mux",
"Address": "10.0.1.104", "Address": "10.0.1.102",
"Node": "node-10-0-1-104", "Node": "node-10-0-1-102",
"Checks": [ "Checks": [
{ {
"ServiceName": "vagrant-share-mux", "ServiceName": "vagrant-share-mux",
@ -126,7 +126,7 @@ fixtures.services_full = {
"Status": "passing", "Status": "passing",
"Name": "Foo Heathly", "Name": "Foo Heathly",
"CheckID": "fooHealth", "CheckID": "fooHealth",
"Node": "node-10-0-1-104" "Node": "node-10-0-1-102"
} }
] ]
}, },
@ -136,8 +136,8 @@ fixtures.services_full = {
"ServiceTags": null, "ServiceTags": null,
"ServiceName": "vagrant-share-mux", "ServiceName": "vagrant-share-mux",
"ServiceID": "vagrant-share-mux", "ServiceID": "vagrant-share-mux",
"Address": "10.0.1.103", "Address": "10.0.1.109",
"Node": "node-10-0-1-103", "Node": "node-10-0-1-109",
"Checks": [ "Checks": [
{ {
"ServiceName": "", "ServiceName": "",
@ -147,7 +147,7 @@ fixtures.services_full = {
"Status": "passing", "Status": "passing",
"Name": "Baz Status", "Name": "Baz Status",
"CheckID": "bazHealth", "CheckID": "bazHealth",
"Node": "node-10-0-1-103" "Node": "node-10-0-1-109"
}, },
{ {
"ServiceName": "", "ServiceName": "",
@ -157,7 +157,7 @@ fixtures.services_full = {
"Status": "passing", "Status": "passing",
"Name": "Serf Health Status", "Name": "Serf Health Status",
"CheckID": "serfHealth", "CheckID": "serfHealth",
"Node": "node-10-0-1-103" "Node": "node-10-0-1-109"
} }
] ]
} }
@ -170,7 +170,7 @@ fixtures.nodes = [
"Address": "10.0.1.109", "Address": "10.0.1.109",
"Name": "node-10-0-1-109", "Name": "node-10-0-1-109",
"Services": [ "Services": [
"vagrant-cloud-worker", "vagrant-share-mux",
"vagrant-cloud-http" "vagrant-cloud-http"
], ],
"Checks": [ "Checks": [
@ -192,7 +192,7 @@ fixtures.nodes = [
"Address": "10.0.1.102", "Address": "10.0.1.102",
"Name": "node-10-0-1-102", "Name": "node-10-0-1-102",
"Services": [ "Services": [
"vagrant-cloud-worker", "vagrant-share-mux",
"vagrant-cloud-http" "vagrant-cloud-http"
], ],
"Checks": [ "Checks": [
@ -209,29 +209,6 @@ fixtures.nodes = [
"status": "passing" "status": "passing"
} }
], ],
},
{
"Address": "10.0.1.103",
"Name": "node-10-0-1-103",
"Services": [
"vagrant-cloud-worker",
"vagrant-cloud-http"
],
"Checks": [
{
"Name": "serfHealth",
"status": "passing"
},
{
"Name": "fooHealth",
"status": "critical"
},
{
"Name": "bazHealth",
"status": "passing"
}
]
} }
] ]