plugins:patch is now admin only operation

and also enabling all important plugins by default. there
is no longer sense to keep them outside of enabled stuff.

Change-Id: I98354232a467d72b8a3713697dac5c76db081862
bp: plugin-management-api
This commit is contained in:
Vitaly Gridnev 2016-07-14 11:45:42 +03:00
parent d4330cd38d
commit ce5b034d96
2 changed files with 2 additions and 1 deletions

View File

@ -25,6 +25,7 @@
"data-processing:plugins:get": "",
"data-processing:plugins:get_version": "",
"data-processing:plugins:convert_config": "",
"data-processing:plugins:patch": "role:admin",
"data-processing:images:get_all": "",
"data-processing:images:get": "",

View File

@ -17,7 +17,7 @@ from oslo_config import cfg
opts = [
cfg.ListOpt('plugins',
default=['vanilla', 'spark', 'cdh', 'ambari'],
default=['vanilla', 'spark', 'cdh', 'ambari', 'storm', 'mapr'],
help='List of plugins to be loaded. Sahara preserves the '
'order of the list when returning it.'),
]