Add config option default_data_file
It is useful to specify local file instead of uri if we want to use stackalytics locally. This patch adds default_data_file for doing that. Change-Id: I52953a7727da297c3648dc94f9ff4681c8fad170
This commit is contained in:
@@ -24,6 +24,9 @@ CONNECTION_OPTS = [
|
||||
]
|
||||
|
||||
PROCESSOR_OPTS = [
|
||||
cfg.StrOpt('default-data-file',
|
||||
help='Default data file. This file is used instead of '
|
||||
'default-data-uri if specifying.'),
|
||||
cfg.StrOpt('default-data-uri',
|
||||
default='https://git.openstack.org/cgit/'
|
||||
'openstack/stackalytics/plain/etc/default_data.json',
|
||||
|
||||
Reference in New Issue
Block a user