This migrates the passthrough code to using the
openstacksdk instead.
This should also have the added benefit of improving
the security posture of this dashboard.
There is a bug in openstacksdk for Designate floating IPs
which will be solved in [1], for now we workaround that
so that older versions of openstacksdk is supported.
This also fixes the 6 year old bug of supporting pagination
for the designate dashboard.
[1] https://review.opendev.org/c/openstack/openstacksdk/+/903879
Closes-Bug: 1729261
Change-Id: Id5ebdc5849d46dc10ab864a54afe37eb9c8f71b7
Horizon doesn't rely on oslo.log and use the generic logging library
and the Django logger. Following that, this change replaces oslo.log
by the generic logging library, because the only requirement is to
provide access to the root logger instance which doesn't really require
oslo.log.
Change-Id: I2a4f029d5081bb27b30a6889b73f2ad655e74f42
designateclient was used by API v1 dashboard, but it was already
removed.
API v2 dashaobard does not depend on designateclient but it uses
passthough APIs
Change-Id: Ie1e3e7579cff979535a40585d8c11ed94557e6e1
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove python 2.7 stanza from setup.py
- Add requires on python >= 3.6 to setup.cfg so that pypi and pip
know about the requirement
- Remove obsolete sections from setup.cfg
- Update classifiers
- Update requirements, no need for python_version anymore
- Use newer openstackdocstheme and Sphinx versions
- Cleanup */source/conf.py to remove now obsolete content.
- Remove Babel from requirements, it's not needed for running.
- Update hacking to 3.0, fix problems found
Change-Id: I9eb22328474f52c2e225ae2a24c895c0e2bb63d7
Django 1.11 ends its extended support in April 2020 (which is before
Ussuri release), so horizon drops Django 1.11 support in Ussuri.
tox envs for non-primary Django versions are no longer needed in tox.ini
as testing environments for non-primary Django versions are setup in
the zuul jobs now.
horizon>=17.1.0 is required to use Django 2.2. requirements.txt and
lower-constraints.txt are updated accordingly. for more info. please
refer [1].
Depends-On: https://review.opendev.org/#/c/700733/
[1] https://etherpad.openstack.org/p/Enable_Django22_support_in_Horizon_Plugin
Change-Id: I68ab10b4ac0e09b7d850e7c8f855a7e95c22d141
Horizon test setting no longer depends on nose and related stuffs.
This commit cleans up nose related dependencies.
The change was made in horizon Rocky-3,
so horizon 14.0.0.0b3 is required at least.
Change-Id: Iee1ed1d7207bc430ff99179e1af45d9719eef367
The porting of designate-dashboard is complete.
This fullfills the community goal
"Remove Use of mox/mox3 for Testing" set for Rocky:
https://governance.openstack.org/tc/goals/rocky/mox_removal.html
Raise the requirement to the Rocky #2 release of horizon,
which drops the mox usgae by default (it should be explicitly
enabled) Without a forced import from Horizon the mox dependencies
can be dropped here.
Bump also a dependency needed by this new version of Horizon.
Change-Id: I2ceaf8bae9b20829ec4855cf79635aa805be1984
Signed-off-by: Chuck Short <chucks@redhat.com>
... or at least the first published tarball which will lead to Rocky.
On the other side this means forcing the usage of mox as long as
there are tests that depends on it (the switch was already flipped
in Horizon, so it needs to be enabled here).
This allows us to depend on newer Horizon features, including changes
to the test suite that are useful for the mox removal effort.
Change-Id: I9af29e743d81e8cccdb797e8b406e94c3ede2b63
Signed-off-by: Charles Short <zulcss@gmail.com>
Designate dashboard is currently using python logging module to
implement logging functionality.
This patch made a switch to oslo.log(logging for openstack projects)
Reference:-
http://docs.openstack.org/developer/oslo.log
Change-Id: I31b8398e45743a9f797882988d62d779edb89f86
Closes-Bug: #1656167