| OLD | NEW |
| 1 <!-- | 1 <!-- |
| 2 Copyright 2016 The LUCI Authors. All rights reserved. | 2 Copyright 2016 The LUCI Authors. All rights reserved. |
| 3 Use of this source code is governed under the Apache License, Version 2.0 | 3 Use of this source code is governed under the Apache License, Version 2.0 |
| 4 that can be found in the LICENSE file. | 4 that can be found in the LICENSE file. |
| 5 | 5 |
| 6 --> | 6 --> |
| 7 <!DOCTYPE html> | 7 <!DOCTYPE html> |
| 8 <html> | 8 <html> |
| 9 <head> | 9 <head> |
| 10 <title>bot-list Demo</title> | 10 <title>bot-list Demo</title> |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 "quarantined": "15", | 50 "quarantined": "15", |
| 51 "kind": "swarming#botsItem", | 51 "kind": "swarming#botsItem", |
| 52 "etag": "\"nhThK35uIVdvx1_Mr5DChu_DyBs/aO8fy5IdESDx-fy3If19oDKu0f0\"" | 52 "etag": "\"nhThK35uIVdvx1_Mr5DChu_DyBs/aO8fy5IdESDx-fy3If19oDKu0f0\"" |
| 53 }; | 53 }; |
| 54 | 54 |
| 55 server.respondWith("GET", /^\/_ah\/api\/swarming\/v1\/bots\/count/, JSON.str
ingify(mockFleetSummary)); | 55 server.respondWith("GET", /^\/_ah\/api\/swarming\/v1\/bots\/count/, JSON.str
ingify(mockFleetSummary)); |
| 56 server.respondWith("GET", /^\/api\/swarming\/v1\/bots\/count/, JSON.stringif
y(mockFleetSummary)); | 56 server.respondWith("GET", /^\/api\/swarming\/v1\/bots\/count/, JSON.stringif
y(mockFleetSummary)); |
| 57 | 57 |
| 58 server.respondWith("GET", /^\/_ah\/api\/swarming\/v1\/bots\/dimensions/, JSO
N.stringify(fleetData)); | 58 server.respondWith("GET", /^\/_ah\/api\/swarming\/v1\/bots\/dimensions/, JSO
N.stringify(fleetData)); |
| 59 server.respondWith("GET", /^\/api\/swarming\/v1\/bots\/dimensions/, JSON.str
ingify(fleetData)); | 59 server.respondWith("GET", /^\/api\/swarming\/v1\/bots\/dimensions/, JSON.str
ingify(fleetData)); |
| 60 |
| 61 var details = { |
| 62 server_version: "1234-deadbeef", |
| 63 }; |
| 64 server.respondWith("GET", /^\/_ah\/api\/swarming\/v1\/server\/details/, JSON
.stringify(details)); |
| 65 server.respondWith("GET", /^\/api\/swarming\/v1\/server\/details/, JSON.stri
ngify(details)); |
| 60 </script> | 66 </script> |
| 61 | 67 |
| 62 <link rel="import" href="bot-list.html"> | 68 <link rel="import" href="bot-list.html"> |
| 63 </head> | 69 </head> |
| 64 <body> | 70 <body> |
| 65 | 71 |
| 66 <bot-list | 72 <bot-list |
| 67 client_id="20770472288-t5smpbpjptka4nd888fv0ctd23ftba2o.apps.googleusercontent
.com"> | 73 client_id="20770472288-t5smpbpjptka4nd888fv0ctd23ftba2o.apps.googleusercontent
.com"> |
| 68 </bot-list> | 74 </bot-list> |
| 69 | 75 |
| 70 </body> | 76 </body> |
| 71 </html> | 77 </html> |
| OLD | NEW |