vmpooler/spec
Samuel ae10bd4e22 (POOLER-123) Implement a max TTL (#349)
* (POOLER-123) Implement a max TTL

Before this change, we could checkout a vm and set the lifetime to a
very high number which would esssentially keep the vm running forever.
Now implementing a config setting max_lifetime_upper_limit which enforces
a maximum lifetime in hours both for initial checkout and extending a
running vm

* (POOLER-123) Improve PUT vm endpoint error messaging

Prior to this commit the PUT vm endpoint didn't give any useful
information about why a user's request failed.

This commit updates PUT to output a more helpful set of error messages
in the `failure` key that gets returned in the JSON response.

* (POOLER-123) Update max_lifetime_upper_limit key

This commit switches the max_lifetime_upper_limit key from being a
symbol to being a string, which is what the config hash seems to contain.

* (maint) Add option to disable Redis persistence in docker-compose

This commit is just a handy little command override to the redis
container to prevent persistence.
2019-12-05 09:35:30 -07:00
..
fixtures (POOLER-133) Identify when a ready VM has failed 2018-12-03 12:21:08 -08:00
integration (POOLER-123) Implement a max TTL (#349) 2019-12-05 09:35:30 -07:00
unit (QENG-7530) Add check for unique hostnames 2019-11-04 15:53:05 -08:00
helpers.rb (POOLER-123) Implement a max TTL (#349) 2019-12-05 09:35:30 -07:00
rbvmomi_helper.rb (POOLER-89) Identify when config issue is present 2017-08-15 10:58:37 -07:00
spec_helper.rb Allow user to specify a configuration file in VMPOOLER_CONFIG_FILE 2018-01-23 15:51:10 -08:00