93f2fc7509
Replace the old Swift UI with the new AngularJS implementation by default. Use setting in the enabled file to switch routing between the two, allowing HEAT interface to seamlessly work with both. Updated the release note with the new configuration information. Removed the unnecessary additional "ngcontainers" panel. Hard-coded the test suite to use the legacy panel - since they are all testing the legacy panel and those tests will be removed (or altered in the case of the stacks MappingTests) when the legacy panel is removed. Finally, I had to add a copyright notice to the enabled file because flake8 noticed because I touched it or something. Very random. Change-Id: Ie4325185f57654522f9331d617f142687effb70b Partially-Implements: blueprint angularize-swift Co-Author: Travis Tripp <travis.tripp@hpe.com> Co-Authored-By: Matt Borland <matt.borland@hpe.com>
38 lines
1.3 KiB
Python
38 lines
1.3 KiB
Python
# Copyright 2016, Rackspace, US, Inc.
|
|
#
|
|
# 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.
|
|
|
|
# The slug of the panel to be added to HORIZON_CONFIG. Required.
|
|
PANEL = 'containers'
|
|
# The slug of the dashboard the PANEL associated with. Required.
|
|
PANEL_DASHBOARD = 'project'
|
|
# The slug of the panel group the PANEL is associated with.
|
|
PANEL_GROUP = 'object_store'
|
|
|
|
# Python panel class of the PANEL to be added.
|
|
ADD_PANEL = ('openstack_dashboard.dashboards.project.'
|
|
'containers.panel.Containers')
|
|
|
|
DISABLED = False
|
|
|
|
# Which implementation of the panel should we use? Valid options
|
|
# here are 'angular' (new implementation) and 'legacy' (old
|
|
# implementation.)
|
|
UPDATE_HORIZON_CONFIG = {
|
|
'swift_panel': 'angular'
|
|
}
|
|
|
|
ADD_SCSS_FILES = [
|
|
'dashboard/project/containers/_containers.scss',
|
|
]
|