Colin
3d12bf3728
Merge pull request #49 from sschneid/extended_dashboard_stats
...
Extend dashboard stats
2015-02-20 13:38:02 -08:00
Scott Schneider
6b8a315b07
Predefine entire 'result' hash rather than a-key-at-a-time
2015-02-20 13:23:54 -08:00
Scott Schneider
c68e476df2
Extend dashboard stats
...
This PR includes the following changes:
- everything at the /dashboard/stats/vmpooler/numbers API endpoint has
been moved to /status, and stats-vmpooler-numbers.js is now looking to
/status for it's metrics
- added '.extra'-classed metrics to stats-vmpooler-numbers.js to pull
in daily clone totals, average clone time, etc.
- dashboard.css includes an @media query to display the extra metrics
if the dashboard's max-width exceeds 1500px
2015-02-20 11:23:48 -08:00
Scott Schneider
30114ca551
Merge pull request #48 from colinPL/add_summary_api
...
Add /summary endpoint
2015-02-20 10:20:52 -08:00
Colin
2bfaaac563
Add /summary endpoint
...
Add an endpoint that returns clone totals and average clone time for
the given time spans. The time spans are determined by the query
parameters "from" and "to", with the resulting range being inclusive of
both. If you want a single day, it should be both the "from" and the
"to" value.
2015-02-20 10:10:18 -08:00
Scott Schneider
f18c278335
s/hundreds/thousands/
2015-02-18 17:38:05 -08:00
Scott Schneider
5bfc44c168
Fixing typo in 'percent'
2015-02-17 08:41:19 -08:00
Scott Schneider
e6e9203504
Remove subtle dots, fix typo
2015-02-10 16:29:07 -08:00
Colin
ffb4abb462
Merge pull request #47 from sschneid/rubocop_syntax_fix
...
Rubocop --auto-correct syntax fixups
2015-02-06 11:23:34 -08:00
Scott Schneider
7bb0825b46
Rubocop --auto-correct syntax fixups
2015-02-06 11:08:54 -08:00
Colin
d492346f81
Merge pull request #46 from sschneid/ensure_lifetime_is_integer
...
Ensure 'lifetime' argument provided is an integer
2015-02-04 15:57:59 -08:00
Scott Schneider
7a3a4c3abc
Ensure 'lifetime' argument provided is an integer
2015-02-04 15:56:32 -08:00
Roger Ignazio
2cb5f211e7
Merge pull request #45 from sschneid/uptime_status
...
Display application 'uptime' in API status endpoint
2015-02-04 13:15:08 -08:00
Scott Schneider
4ece98a8cb
Display application 'uptime' in API status endpoint
2015-02-04 12:56:59 -08:00
Colin
c7d4e23094
Merge pull request #44 from sschneid/daily_clone_statistics
...
Store and retrieve daily clone statistics from Redis db
2015-02-03 14:40:00 -08:00
Scott Schneider
fd507cccb3
Account for divide-by-zero
2015-02-03 14:38:04 -08:00
Scott Schneider
8d32ff1703
Store and retrieve daily clone statistics from Redis db
2015-02-03 14:14:12 -08:00
Colin
b7e494959f
Merge pull request #43 from sschneid/api_status_endpoint
...
Record clone times in Redis, add a '/status' API endpoint
2015-01-27 13:06:37 -08:00
Scott Schneider
51e14817f4
Record clone times in Redis, add a '/status' API endpoint
2015-01-27 12:59:11 -08:00
Roger Ignazio
27a8f5dbbb
Merge pull request #41 from sschneid/rename_templatecount_keyvalue
...
Rename 'template'/'count' to 'key'/'value'
2015-01-12 09:14:23 -08:00
Scott Schneider
d2ae108010
Rename 'template'/'count' to 'key'/'value'
...
This should make the code cleaner; things other than a template name will
be used in the POST interface.
2015-01-09 10:47:24 -08:00
Roger Ignazio
e5ffe677f6
Merge pull request #40 from sschneid/global_timeout
...
Allow for a globally-configurable 'pending' timeout
2015-01-08 14:49:51 -08:00
Scott Schneider
dc0a7feb21
Allow for a globally-configurable 'pending' timeout
2015-01-08 14:16:13 -08:00
Colin
591c5a0391
Merge pull request #38 from sschneid/init_script
...
Adding init.d script
2014-11-12 10:57:09 -08:00
Scott Schneider
7bfc752cac
Adding init.d script
2014-11-12 10:41:35 -08:00
Scott Schneider
a99b249b74
(maint) typo fix
2014-11-03 13:27:08 -08:00
Colin
326e163105
Merge pull request #37 from sschneid/queryable_vm_metadata
...
Queryable VM metadata
2014-11-03 13:25:34 -08:00
Scott Schneider
71c4496a29
Adding 'GET /vm/<hostname>' documentation
2014-11-03 13:13:34 -08:00
Scott Schneider
0d8c8d83b7
Wrap hostname-shortening into a [Sinatra helper] method
2014-11-03 13:07:22 -08:00
Scott Schneider
69443470fc
Allow VM metadata to be queryable via 'GET'
2014-11-03 09:28:40 -08:00
Scott Schneider
4f1dd9d507
Store template name in vmpooler__vm__$vm Redis hash
2014-11-03 09:27:28 -08:00
Scott Schneider
01225961f9
Merge pull request #36 from sschneid/master
...
Minor dashboard style improvements
2014-10-31 11:54:41 -07:00
Scott Schneider
ddef2e642e
Merge remote-tracking branch 'upstream/master'
2014-10-31 11:53:38 -07:00
Scott Schneider
43557781b9
Squashed pool squares, stretched running graph
2014-10-31 11:52:36 -07:00
Colin
dd030661e0
Merge pull request #35 from sschneid/allow_delete_fqdn
...
Allow host FQDN in DELETE
2014-10-16 15:37:11 -07:00
Scott Schneider
39d600deeb
Allow host FQDN in DELETE
2014-10-16 15:14:13 -07:00
Roger Ignazio
730d097ebb
Merge pull request #34 from sschneid/host_maint-mode_check
...
Ensure hosts aren't in 'maintenance mode' when cloning
2014-09-30 14:39:40 -07:00
Scott Schneider
3a7659f284
Ensure hosts aren't in 'maintenance mode' when cloning
2014-09-30 14:25:07 -07:00
Roger Ignazio
be64be37a9
fix logo url in readme
2014-09-11 09:43:07 -07:00
Roger Ignazio
c44ac99b84
Merge pull request #33 from sschneid/style_fixups
...
(maint) Style fix-ups
2014-09-04 12:15:01 -07:00
Scott Schneider
74709e9bbd
(maint) Style fix-ups
2014-09-04 12:09:25 -07:00
Roger Ignazio
605b5fa602
Merge pull request #32 from sschneid/only_deploy_to_green_hosts
...
Don't deploy VMs to not-good hypervisors
2014-09-04 12:04:52 -07:00
Scott Schneider
7f22476d22
Don't deploy VMs to not-good hypervisors
...
This implements a check to ensure that the VMware host being deployed to
is in a sane ('green') state.
2014-09-04 11:57:01 -07:00
Branan Purvine-Riley
04e17f1622
Merge pull request #30 from sschneid/config_domain
...
Allow a 'domain' configuration param, returned in JSON response to POST
2014-08-29 11:40:51 -07:00
Scott Schneider
5a2e36dd44
Return a 'domain' JSON key if configured
2014-08-29 11:38:06 -07:00
Scott Schneider
f223232988
Add 'domain' config example
2014-08-29 11:20:32 -07:00
Roger Ignazio
dcde1baadd
Merge pull request #28 from sschneid/css_touchup
...
Textured background, transparent logo
2014-08-27 20:45:52 -07:00
Scott Schneider
525a6c6bd9
Textured background, transparent logo
2014-08-27 20:30:43 -07:00
Scott Schneider
c16d9f0f42
From http://subtlepatterns.com/cream-pixels/
2014-08-27 20:30:24 -07:00
Roger Ignazio
021261b3ad
Merge pull request #27 from sschneid/css_touchup
...
Minor CSS tweaks
2014-08-27 19:01:38 -07:00