Scott Schneider
3c22f55793
Predefine entire 'result' hash rather than a-key-at-a-time
2015-02-20 13:23:54 -08:00
Scott Schneider
0253008a3f
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
351bd07d91
Merge pull request #48 from colinPL/add_summary_api
...
Add /summary endpoint
2015-02-20 10:20:52 -08:00
Colin
8a7a327331
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
1ea2ab86f8
s/hundreds/thousands/
2015-02-18 17:38:05 -08:00
Scott Schneider
525b87d74a
Fixing typo in 'percent'
2015-02-17 08:41:19 -08:00
Scott Schneider
13bcc19ff8
Remove subtle dots, fix typo
2015-02-10 16:29:07 -08:00
Colin
c3f4e76d63
Merge pull request #47 from sschneid/rubocop_syntax_fix
...
Rubocop --auto-correct syntax fixups
2015-02-06 11:23:34 -08:00
Scott Schneider
b3a4f9c0a6
Rubocop --auto-correct syntax fixups
2015-02-06 11:08:54 -08:00
Colin
c937a11f29
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
08ec955098
Ensure 'lifetime' argument provided is an integer
2015-02-04 15:56:32 -08:00
Roger Ignazio
8337d94aa8
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
49b01a8e00
Display application 'uptime' in API status endpoint
2015-02-04 12:56:59 -08:00
Colin
79af9c9fd4
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
e40335a7cf
Account for divide-by-zero
2015-02-03 14:38:04 -08:00
Scott Schneider
d6ade5ebef
Store and retrieve daily clone statistics from Redis db
2015-02-03 14:14:12 -08:00
Colin
3758e5e3f3
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
ecd17606f6
Record clone times in Redis, add a '/status' API endpoint
2015-01-27 12:59:11 -08:00
Roger Ignazio
11016fecdc
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
2c0665bb3b
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
63b11a1622
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
b54d42aea4
Allow for a globally-configurable 'pending' timeout
2015-01-08 14:16:13 -08:00
Colin
54a77a49d0
Merge pull request #38 from sschneid/init_script
...
Adding init.d script
2014-11-12 10:57:09 -08:00
Scott Schneider
eb444d6819
Adding init.d script
2014-11-12 10:41:35 -08:00
Scott Schneider
7e0da744de
(maint) typo fix
2014-11-03 13:27:08 -08:00
Colin
258634e667
Merge pull request #37 from sschneid/queryable_vm_metadata
...
Queryable VM metadata
2014-11-03 13:25:34 -08:00
Scott Schneider
ce50f450f5
Adding 'GET /vm/<hostname>' documentation
2014-11-03 13:13:34 -08:00
Scott Schneider
489abd713a
Wrap hostname-shortening into a [Sinatra helper] method
2014-11-03 13:07:22 -08:00
Scott Schneider
4035114152
Allow VM metadata to be queryable via 'GET'
2014-11-03 09:28:40 -08:00
Scott Schneider
4363d8e067
Store template name in vmpooler__vm__$vm Redis hash
2014-11-03 09:27:28 -08:00
Scott Schneider
17b1768a76
Merge pull request #36 from sschneid/master
...
Minor dashboard style improvements
2014-10-31 11:54:41 -07:00
Scott Schneider
8c62e35628
Merge remote-tracking branch 'upstream/master'
2014-10-31 11:53:38 -07:00
Scott Schneider
6d31a63881
Squashed pool squares, stretched running graph
2014-10-31 11:52:36 -07:00
Colin
25c1c3a8d4
Merge pull request #35 from sschneid/allow_delete_fqdn
...
Allow host FQDN in DELETE
2014-10-16 15:37:11 -07:00
Scott Schneider
b415dc6360
Allow host FQDN in DELETE
2014-10-16 15:14:13 -07:00
Roger Ignazio
cc7e4f129b
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
cb911274dd
Ensure hosts aren't in 'maintenance mode' when cloning
2014-09-30 14:25:07 -07:00
Roger Ignazio
411dd994f7
fix logo url in readme
2014-09-11 09:43:07 -07:00
Roger Ignazio
c556d1e437
Merge pull request #33 from sschneid/style_fixups
...
(maint) Style fix-ups
2014-09-04 12:15:01 -07:00
Scott Schneider
bb13c8148b
(maint) Style fix-ups
2014-09-04 12:09:25 -07:00
Roger Ignazio
92041c0334
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
ba5e713902
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
36fffa381f
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
5ed2756628
Return a 'domain' JSON key if configured
2014-08-29 11:38:06 -07:00
Scott Schneider
e516ddc0b0
Add 'domain' config example
2014-08-29 11:20:32 -07:00
Roger Ignazio
56edfda848
Merge pull request #28 from sschneid/css_touchup
...
Textured background, transparent logo
2014-08-27 20:45:52 -07:00
Scott Schneider
f13bfde893
Textured background, transparent logo
2014-08-27 20:30:43 -07:00
Scott Schneider
8247ea2d30
From http://subtlepatterns.com/cream-pixels/
2014-08-27 20:30:24 -07:00
Roger Ignazio
e8ebda27e9
Merge pull request #27 from sschneid/css_touchup
...
Minor CSS tweaks
2014-08-27 19:01:38 -07:00
Scott Schneider
a353e02b01
Minor CSS tweaks
2014-08-27 18:50:21 -07:00