Moved CORS middleware configuration into oslo-config-generator
The default values needed for sahara's implementation of cors middleware have been moved from paste.ini into the configuration hooks provided by oslo.config. Furthermore, these values have been added to the default initialization procedure. This ensures that if a value remains unset in the configuration file, it will fallback to using sane defaults. It also ensures that an operator modifying the configuration will be presented with that same set of defaults. Change-Id: Iedcaa002ff3d40cf61168769bc3946f8c6e42b87 Closes-Bug: 1551836
This commit is contained in:
parent
32b39257d0
commit
d2bf895258
@ -62,6 +62,9 @@ sahara.run.mode =
|
||||
oslo.config.opts =
|
||||
sahara.config = sahara.config:list_opts
|
||||
|
||||
oslo.config.opts.defaults =
|
||||
oslo.middleware.cors = sahara.common.config:set_cors_middleware_defaults
|
||||
|
||||
tempest.test_plugins =
|
||||
sahara_clients_scenario_tests = sahara.tests.tempest.scenario.data_processing.plugin:SaharaClientsScenarioPlugin
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user