14 Commits

Author SHA1 Message Date
François Charlier
dc98e9bb58 Add support for auth_admin_prefix in glance
Add support for auth_admin_prefix in glance::registry, glance::api & in
the glance provider.

Change-Id: I646c621f0a42cd987bc409b17066f8ac13556883
2013-06-11 17:26:28 +02:00
Mathieu Gagné
b04232aecb Use boolean instead of string
Change-Id: Ie508c5f6a98277b650307a1782ce3fde9d2bca1e
2013-05-09 23:12:33 -04:00
Derek Higgins
3ade42f65e Allow paste deploy flavor to be passed for glance api
Some users may want to pass in one of
keystone, keystone+caching or keystone+cachemanagement
depending on their caching needs

Change-Id: Ia13cc2f1d8ec43074b114edf1b2366b85ca77aa0
2013-04-26 05:51:59 -04:00
Dan Bode
6c77769c8e remove auth_url param
This commit removes the auth_url class param

I search of glance's source code indicates that this
parameter is not used anywhere except by something in the
tools directory.
2012-10-31 10:39:12 -07:00
Dan Bode
7c396acd66 remove password defaults
This commit removes the password defaults.

Users should not rely on password defaults.
2012-10-14 12:36:13 -07:00
Dan Bode
e6216be659 fix unit tests 2012-10-14 00:23:20 -07:00
Eugene Kirpichov
0f98eb07ba Customizable auth_url, not hardwired to 127.0.0.1 2012-08-21 17:53:20 -07:00
Dan Bode
1fb892afd7 Add enabled parameter to glance services.
This commit adds the parameter enabled to both glance::api
as well as glance::registry.

Setting enabled to false ensures that the service is not running
and that the db schema is not create/migrated.

This flag is being added to all nova services to allow the deployment
of the openstack controller in active-passive for HA.
2012-06-18 10:14:53 -07:00
root
38622827fe This commit fixes spec test failures that were caused by
using RI's version of the concat module.

It introduces a custom fact concat_basedir that can determine
where the vardir is for a particular agent.

This commits adds that fact to unit tests that are validating
the resuling fragment files.
2012-05-08 14:38:55 -07:00
Dan Bode
a7a96af75e Fix broken tests
I had previously checked in some broken tests that
resulted from the updating the concat fragments names
to ensure uniqueness between services (eg, choosing
fragment names like HEADER were causing
duplicate resource errors, these have been prefixed
with the service name glance-api to ensure uniqueness)

This commit updates the tests so that they work for
this previous commit (oops!)
2012-04-03 10:03:08 -07:00
Dan Bode
0a400dcc6a Add rspec tests
This commit resolves failing tests from
glance::api and glance::registry related to recent
refactors.

It also adds tests for all of the new api fragment
classes/defines.
2012-03-31 16:09:29 -07:00
Dan Bode
2054c76ee4 update spec test to set osfaily
Update spec tests to set osfamily so they do not
fail.
2012-03-19 22:57:23 -07:00
Dan Bode
972fefaea6 Rafactor glance api to merge defaults
This code cleanup simplifies one the tests by merging the
specified params over the defaults instead of returning either
the defaults or the specified params.
2012-03-13 15:09:58 -07:00
Dan Bode
4fa5d3f046 (#11692) Add unit tests
This commit adds full test coverage for all manifests
in the glance repo.
2012-01-03 11:27:43 -08:00