This patch initiates the creation of an angular panel
for backups. To test it, set DISABLED to False in
_1731_project_database_backups_panel.py
Change-Id: Ia100fa1b52eebe491999571a9b7a6e2043d50e0c
* Use setup_develop to install python module as most projects do.
This also makes translation management easier in development.
* Deploy 'enabled' files into horizon local/enabled directory.
* collectstatic and compress are no longer required during horizon
plugin installation. The timing of horizon installation was fixed
in https://review.openstack.org/#/c/257744/
Change-Id: I122d94af4c5e30ffa9e6c198460647073aace722
Add babel*.cfg files for translation.
This follows the setup for django projects for translation, for details
see
http://specs.openstack.org/openstack-infra/infra-specs/specs/translation_setup.html
babel related entries in setup.cfg does not work for multiple
POT/PO files, so we can remove them.
Change-Id: I1fac32fc76c1469e88417ca0d26bdd199995a402
There are a few cases of detail overviews using "Connection Info"
instead of "Connection Information". The fix is to make them all use
"Connection Information".
Change-Id: Ic29bf939cc8b5db9823a37b3f75dea569e5487d2
Closes-Bug: #1536244
The table formatting is bad. This is because the <div> is being
terminated too early in database_clusters/_detail_overview.html.
Change-Id: I97cf19f76167c2aee85daebb450504a99111224c
Closes-bug: #1536243
The unit tests were failing with
"ImportError: No module named trove.api".
Changed the __init__.py file to point to trove_dashboard.api
Added back the trove exception to the test data.
Change-Id: Ifbd50a1ee90b08b5b0aebb1190b3b3f4043876fb
Closes-Bug: 1532238
"Delete" is being used almost everywhere in OpenStack Dashboard
except the instance panel. Using "Delete" looks more consistent.
In addition, "Delete" tells non-native English speakers that
deleted instances will be no longer usable again compared to
"Terminate".
DocImpact
Closes-Bug: #1502773
Change-Id: Idccaf3c45566f20f11d02ada64c1d3934a6f3002
This patch remove unnecessary ugettext_lazy procedure
against database instance name and image name for
page title in its detail view.
Change-Id: I4f9a2b9ca7d43cf6fdf6ae02f50ad2f9c625d602
Closes-Bug: #1515100
This patch adds basic Breadcrumb nav to the detail pages for Data
Processing, Databases, Metadata Definitions and Routers.
Change-Id: I114e93799b957db39cbe0d4e49d3e6869bc9d92d
Partial-Bug: 1413823
Run the unicode operation of the sixer tool on openstack_dashboard/
directory.
tox.ini: Add the following tests to Python 3.4:
* openstack_dashboard.contrib.sahara.content.data_processing.data_sources.tests
* openstack_dashboard.contrib.sahara.content.data_processing.job_binaries.tests
* openstack_dashboard.contrib.sahara.content.data_processing.jobs.tests
* openstack_dashboard.dashboards.project.networks.tests
Partial-Implements: blueprint porting-python3
Change-Id: Ibfe52ccbccc30e6b1d59137c68942c9860805397
Co-Authored-By: Richard Jones <r1chardj0n3s@gmail.com>
On Python 3, comparison between None and int or comparison between
dictionaries raises a TypeError.
LaunchForm: use 0 default value instead of None to compare it to 1.
sort() and sorted(): use a key function to compare strings instead of
comparing dictionaries.
Partial-Implements: blueprint porting-python3
Change-Id: I0664c2f6c19c3f105da8b4b5a72cea4eb02c245d
Added a separate panel for clusters.
This panel contains the Clusters Table with table actions to
Launch and Terminate clusters. There are row actions Add Shard
and Reset Password (and their associated dialogs) that are specific
to MongoDB and Vertica respectively.
The Clusters Details will include the following tabs:
- Overview
- Instances (table of instances belonging to this cluster)
The launch panel has custom fields for MongoDB and Vertica.
The custom fields will be dynamically shown based on the datastore
selected.
Added a db_capability utility to aid in identifying the specific
datastores.
Added network selection dropdown if neutron is enabled.
Co-Authored-By: Sushil Kumar <sushil.kumar3@hp.com>
Co-Authored-By: Saurabh Surana <saurabh.surana@hp.com>
Co-Authored-By: Duk Loi <duk@tesora.com>
Co-Authored-By: Anna Shen <ruiyuan.shen@hp.com>
Change-Id: I047f4d37449070adfd0ea66ad010982f35c049aa
Implements: blueprint database-clustering-support
From django V1.9 django.utils.datastructures.SortedDict
will be removed and it is deprecated in V1.7.
The similar functionality is added in collections.OrderedDict
from python 2.7.
Horizon code also should avoid the SortedDict class and
start using the OrderedDict class.
This patch replacing the SortedDict with OrderedDict.
Change-Id: I8dfcf7c29fc49b6215451f160cf7a951bf11b5ad
Closes-Bug: #1492270
The Cassandra details overview page currently displays port 9160
for the Thrift client. Updated the example to use the native
protocol client port 9042.
Change-Id: I0c61dbb9fc942527b3e63b4ea2f79da92628f398
Closes-Bug: #1485065
The networking workflow in the database launch instance workflow
doesn't align well, this patch fixes the issue.
Change-Id: I137536e83c0d637ca096e378c72e53ccf256d2ff
Closes-bug: #1455356
The root cause of 1479018 was the mixed method for loading content in
horizon. This patch moves horizon to load purely from enabled files.
There are a couple of things that were required to allow this change.
1) Adding a mechanism, can_register() to horizon/base.py to handle the
configuration based loading checks that had been accumulating in the
panel.py files. This is an optional static method in Panel to
encapsulate such configuration (read settings) based panel loading
logic. And added testing for and documentation for this addition.
2) Create a numbering scheme for plugins. Moved the base dashboards to
_1000_project.py _2000_admin.py _3000_identity.py _5000_settings.py.
then populated the required panel_group and panel enabled files sparsely
in those ranges. The sparseness is to allow for future additions.
Additionally, I moved the already added Angular based panels next to
their Django counterparts.
Once the configuration loading was normalized, the bug reported in
1479018 was resolved and tests work with plugins panels in all
dashboards.
Close-Bug: #1479018
Partially implements: blueprint plugin-sanity
Change-Id: I657e7ce37b2593a901a859cebf3d6ff8ada91941
Added menu item and dialog to allow the
user to select a new flavor for their
trove instance
Change-Id: I5ef42067887e1f1f1f5ee3224df7b6391be0a375
Implements: blueprint trove-resize-instance-dialog
E127 continuation line over-indented for visual indent
Also fixes E127 introduces by other reviews
after other E127 fixes were merged.
Closes-Bug: #1375931
Change-Id: I0a09f1c2f74c707fc8a347f0ea5975bf2679976e
Added extra column to backups tables (under instances
and under backups) that will show Yes / No if the
backup is incremental (ie it has a parent)
When you drill down into backup details we now display
the name of the backup parent if this is an
incremental backup. This is displayed as a link with
the backup name so it is navigable
When you create a new backup you can now specify
an existing backup to use as the parent
Note: At some point we should probably have the
create backup dialog filter the available parents
based on the current selection for the instance.
However, so far I haven't worked out how to make
the backup parent choiceField change dynamically
based on user updates to the instance choiceField
Change-Id: I8bc70805aae50a019da3915f8e7aff25f6a7bbc6
Implements: blueprint trove-incremental-backup