| Index: appengine/swarming/elements/res/imp/botlist/bot-list-demo.html
|
| diff --git a/appengine/swarming/elements/res/imp/botlist/bot-list-demo.html b/appengine/swarming/elements/res/imp/botlist/bot-list-demo.html
|
| index 4e69d6bbb97eadd14d1dafde1c2ac92506f797a3..d28aae209f41d35ee75504b3730e2130700a311e 100644
|
| --- a/appengine/swarming/elements/res/imp/botlist/bot-list-demo.html
|
| +++ b/appengine/swarming/elements/res/imp/botlist/bot-list-demo.html
|
| @@ -35,6 +35,19 @@
|
|
|
| server.respondWith("GET", "/_ah/api/swarming/v1/bots/list", respond);
|
| server.respondWith("GET", "/api/swarming/v1/bots/list", respond);
|
| +
|
| + var mockFleetSummary = {
|
| + "count": "2625",
|
| + "busy": "531",
|
| + "now": "2016-08-01T17:21:07.239940",
|
| + "dead": "22",
|
| + "quarantined": "15",
|
| + "kind": "swarming#botsItem",
|
| + "etag": "\"nhThK35uIVdvx1_Mr5DChu_DyBs/aO8fy5IdESDx-fy3If19oDKu0f0\""
|
| + };
|
| +
|
| + server.respondWith("GET", "/_ah/api/swarming/v1/bots/count", JSON.stringify(mockFleetSummary));
|
| + server.respondWith("GET", "/api/swarming/v1/bots/count", JSON.stringify(mockFleetSummary));
|
| </script>
|
|
|
| <link rel="import" href="bot-list.html">
|
|
|