Commit Graph

32 Commits

Author SHA1 Message Date
Zuul 49b2317125 Merge "Bump hacking" 2024-01-29 10:27:20 +00:00
Takashi Kajinami 6ee6f732ad Bump hacking
hacking 3.0.x is too old.

Change-Id: I5bcfb7faa12f12c340102bda81b0508b37b1711f
2024-01-25 12:39:34 +09:00
Tobias Urdin caa257dafc Migrate passthrough to openstacksdk
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
2023-12-18 15:42:00 +01:00
Zuul 32559e514d Merge "Remove unused designateclient" 2022-06-16 05:43:25 +00:00
Takashi Kajinami 02c92fd2b5 Replace usage of oslo.log
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
2022-05-19 00:25:08 +09:00
Takashi Kajinami d409496dd6 Remove unused designateclient
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
2022-05-19 00:19:38 +09:00
Ghanshyam Mann 08a5e392f1 Drop lower-constraints.txt and its testing
As discussed in TC PTG[1] and TC resolution[2], we are
dropping the lower-constraints.txt file and its testing.
We will keep lower bounds in the requirements.txt file but
with a note that these are not tested lower bounds and we
try our best to keep them updated.

[1] https://etherpad.opendev.org/p/tc-zed-ptg#L326
[2] https://governance.openstack.org/tc/resolutions/20220414-drop-lower-constraints.html#proposal

Change-Id: Iac61d4d5c990fbcc3535f9e4d5eab765a3d88aee
2022-04-30 15:58:23 -05:00
Andreas Jaeger 7bace2a2cd Cleanup py27 support
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
2020-04-17 18:33:17 +02:00
manchandavishal 4609ad1b51 Drop Django 1.11 support
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
2020-01-01 20:27:59 +00:00
Akihiro Motoki 437f9c920c Drop nose dependencies
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
2018-08-17 01:21:10 +09:00
Chuck Short 78119f9800 Drop mox - no longer needed
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>
2018-07-19 11:03:06 -04:00
Charles Short 47e9606eba Require the (soon-to-be) Rocky version of Horizon
... 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>
2018-05-12 10:27:46 -04:00
Erik Olof Gunnar Andersson 551e5e1b6b Install horizon directly from pypi
It's no longer possible to install horizon with our current
method, and it's causing the ci to fail.
http://lists.openstack.org/pipermail/openstack-dev/2018-March/128310.html

Change-Id: I5f9a3ce76c233e62ff6addcaf6d229455ac29374
2018-03-15 13:24:39 -07:00
OpenStack Proposal Bot 54d8cde9e5 Updated from global requirements
Change-Id: I2f673bd57bff911e643f4b61819512bd7989c0da
2018-01-17 20:30:43 +00:00
OpenStack Proposal Bot 8a5db29dd2 Updated from global requirements
Change-Id: Icfbe60be01d0fb4f89b8683f6ee242d64397437e
2017-09-11 21:35:37 +00:00
OpenStack Proposal Bot 07cbe9b776 Updated from global requirements
Change-Id: I8eb286aab6dd3f3931c32ecb255b270ba9b980a5
2017-08-24 05:48:27 +00:00
OpenStack Proposal Bot bb779119c8 Updated from global requirements
Change-Id: Ia3ff653f81e8fd0e6f2c96a7806e94f895323981
2017-04-18 16:46:14 +00:00
OpenStack Proposal Bot 8113ea0add Updated from global requirements
Change-Id: I259ffcf2f54cd46ba34b0811f2655704996456eb
2017-03-08 22:44:11 +00:00
avnish 9fdd096bda Switch to oslo_log
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
2017-01-17 14:56:11 +05:30
OpenStack Proposal Bot 427c9eb6be Updated from global requirements
Change-Id: I96197cb13b94752db4864ffafd737e666194c08c
2016-11-09 04:14:51 +00:00
OpenStack Proposal Bot 85b493d2ff Updated from global requirements
Change-Id: I0078e7748e47fed4106f336b7c4aded5e6aa84a6
2016-05-06 22:16:21 +00:00
OpenStack Proposal Bot 9266cb1b1a Updated from global requirements
Change-Id: Iff8ec408cd259036261ba8ede129350362e47d0b
2016-04-14 02:43:40 +00:00
OpenStack Proposal Bot 2ee2e00cea Updated from global requirements
Change-Id: I794ea91e647da63b4a26dd975021303cefc38bc9
2016-01-16 03:25:57 +00:00
OpenStack Proposal Bot f290044633 Updated from global requirements
Change-Id: Id24663830f67765ccc535ad913dbfb57f82aa1ed
2015-10-08 00:11:15 +00:00
OpenStack Proposal Bot 8121b1b6a9 Updated from global requirements
Change-Id: I45227958ab94c1626578594e53ee9945cb38dbf2
2015-09-17 12:11:33 +00:00
OpenStack Proposal Bot e21cf1d777 Updated from global requirements
Change-Id: I45891906f7ea9e4e661e71a08d8ceedeb447ead3
2015-09-01 04:22:54 +00:00
OpenStack Proposal Bot 9a9a352ed6 Updated from global requirements
Change-Id: I3a838cf8704e0ec5d122bdad5d2d47b6827e19a2
2015-08-10 01:05:28 +00:00
OpenStack Proposal Bot e425d70188 Updated from global requirements
Change-Id: I03cefeb03f09c93e56a102daf997d268fd12eae5
2015-07-21 10:51:51 +01:00
Kiall Mac Innes 49d44524d9 Conform to Consistent Testing Interface
Make minimal changes necessary conform to, and pass,
the Consistent Testing Interface[1].

* tox -epy27
* tox -epep8
* tox -ecover
* tox -evenv python setup.py sdist
* tox -evenv python setup.py build_sphinx
* tox -evenv python setup.py extract_messages

The only exception to this is currently:

* tox -evenv python setup.py update_catalog

[1]: http://governance.openstack.org/reference/project-testing-interface.html

Change-Id: I50dd7fa9bbdd6a09b25ad0ee3785d37f2a32045f
2015-06-20 15:13:30 +01:00
Kiall Mac Innes 41e52b9fa0 Update Dashboard requirements
Change-Id: Ib4c65743f59295cc94926c54d294c945e06872bf
2015-05-26 14:56:29 +01:00
Endre Karlson 72689b9a9b Pass SSL CA Cert to client
Change-Id: I79c1e5d2018eb660b22d61c12d16df8026a0f588
2015-02-23 12:40:59 +01:00
Graham Hayes 561f3590a0 Added designate-dashboard code to contrib/designate-dashboard
Added to devstack as well.

Change-Id: I98eed46a8dd9918ba36c97fe40619ec42136c723
2014-11-26 23:18:15 +00:00