17 Commits

Author SHA1 Message Date
Kevin L. Mitchell
f72366f007 Create --paste_config flag defaulting to api-paste.ini and mv etc/nova-api.conf to match 2011-03-07 19:33:24 +00:00
Thierry Carrez
debfca9456 Switch to API_listen and API_listen_port, drop wsgi.paste_config_to_flags 2011-02-18 16:02:55 +01:00
Todd Willey
a112d11cc2 Use ttx's patch to be explict about paths, as urlmap doesn't work as I expected. 2011-01-20 16:07:27 -05:00
Todd Willey
f58b4f74e3 Merge trunk + wsgirouter 2011-01-12 17:47:43 -05:00
Todd Willey
038c9c7663 Merge trunk and handle flagfiles with kid-gloves in nova-api. Rename some flags for clarity. 2011-01-12 17:35:09 -05:00
Todd Willey
773b7f8477 Merge version matching url change from wsgirouter branch. 2011-01-12 14:37:29 -05:00
Todd Willey
6ebf9bb2db Fix url matching for years 2010-forward. 2011-01-12 14:36:36 -05:00
Todd Willey
2c7dfbfd53 Update config for launching logger with cleaner factory. 2011-01-12 14:33:40 -05:00
Todd Willey
88641cd978 Update paste config for ec2 request logging. 2011-01-12 14:30:12 -05:00
Todd Willey
4e034f3d69 Remove module-level factory methods in favor of having a factory class-method
on wsgi components themselves.  Local options from config are passed to the
__init__ method of the component as kwargs.
2011-01-06 13:57:48 -05:00
Todd Willey
bccec6c8ba Fix openstack api tests and add a FaultWrapper to turn exceptions to faults. 2011-01-06 02:08:01 -05:00
Todd Willey
2491c2484f Make paste the default api pattern.
* get rid of the --use_lockout flag since it will be specified in paste config
  (Example line is commented out in etc/nova-api.conf, factory is in place)
* remove old nova-api binary and promote nova-api-paste
* change how we store ec2 parameters to bin the the ApiRequest
* get rid of Router, since paste.urlmap is equally effective
  (Requestify now gets passed the name of the controller requests are to.)
2011-01-04 18:16:16 -05:00
Todd Willey
f55dbc2f59 Rework how routing is done in ec2 endpoint. 2011-01-04 18:01:29 -05:00
Todd Willey
aa73649911 remove cloudpipe from paste config 2010-12-30 01:25:29 -05:00
Todd Willey
ca5c95726b Merge trunk. 2010-12-27 19:10:26 -05:00
Todd Willey
8c8b289f26 Remove ec2 config chain and move openstack versions to top-level application. 2010-12-21 02:21:01 -05:00
Todd Willey
c364724a0d Use paste.deploy for running the api server. 2010-12-21 01:41:28 -05:00