Move _50_mistral.py file into enabled folder
if not, this file is not included when installing from pypi. Closes-Bug: #1649669 Change-Id: Ie1415ea66ed6608ecff622c42e3a433be23bbdfe Co-Authored-By: Sharat Sharma<sharat.sharma@necetechnologies.in>
This commit is contained in:

committed by
Sharat Sharma

parent
58739a8b4d
commit
b1c1627940
@@ -37,7 +37,7 @@ Or if you're planning to run Horizon server in a virtual environment (see below)
|
|||||||
|
|
||||||
and then
|
and then
|
||||||
|
|
||||||
$ cp -b <mistral-dashboard>/_50_mistral.py.example <horizon>/openstack_dashboard/local/enabled/_50_mistral.py
|
$ cp -b <mistral-dashboard>/mistraldashboard/enabled/_50_mistral.py <horizon>/openstack_dashboard/local/enabled/_50_mistral.py
|
||||||
|
|
||||||
Since Mistral only supports Identity v3, you must ensure that the dashboard
|
Since Mistral only supports Identity v3, you must ensure that the dashboard
|
||||||
points the proper OPENSTACK_KEYSTONE_URL in <horizon>/openstack_dashboard/local/local_settings.py file::
|
points the proper OPENSTACK_KEYSTONE_URL in <horizon>/openstack_dashboard/local/local_settings.py file::
|
||||||
|
@@ -1,11 +0,0 @@
|
|||||||
from mistraldashboard import exceptions
|
|
||||||
|
|
||||||
DASHBOARD = 'mistral'
|
|
||||||
ADD_INSTALLED_APPS = ['mistraldashboard']
|
|
||||||
DEFAULT = True
|
|
||||||
|
|
||||||
ADD_EXCEPTIONS = {
|
|
||||||
'recoverable': exceptions.RECOVERABLE,
|
|
||||||
'not_found': exceptions.NOT_FOUND,
|
|
||||||
'unauthorized': exceptions.UNAUTHORIZED,
|
|
||||||
}
|
|
25
mistraldashboard/enabled/_50_mistral.py
Normal file
25
mistraldashboard/enabled/_50_mistral.py
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
# Copyright (c) 2012 OpenStack Foundation.
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
# you may not use this file except in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
|
||||||
|
from mistraldashboard import exceptions
|
||||||
|
|
||||||
|
DASHBOARD = 'mistral'
|
||||||
|
ADD_INSTALLED_APPS = ['mistraldashboard']
|
||||||
|
DEFAULT = True
|
||||||
|
|
||||||
|
ADD_EXCEPTIONS = {
|
||||||
|
'recoverable': exceptions.RECOVERABLE,
|
||||||
|
'not_found': exceptions.NOT_FOUND,
|
||||||
|
'unauthorized': exceptions.UNAUTHORIZED,
|
||||||
|
}
|
0
mistraldashboard/enabled/__init__.py
Normal file
0
mistraldashboard/enabled/__init__.py
Normal file
Reference in New Issue
Block a user