Commit Graph

108 Commits

Author SHA1 Message Date
Andy Botting 8aceeda565 Add designate support for Zone choice
This commit adds support for Designate zones. This can be used to
provide the user a drop down list of zones they can choose from when
launching apps.

This should be coupled with a commit to murano to add a new
io.murano.resources.RecordSet resource type, so that new a new DNS
record can be added for new apps.

Change-Id: I71deb3e264b2777ec4126d8e46c3ac45b9fc42c6
2022-10-12 04:54:52 +00:00
manchandavishal 28d4393995 Cleanup for lower-constraints job
The patch 7f29364734 removes the lower-constraints job from
the gate but related file like lower-constarints.txt are not
removed. This patch removes the lower-constraints.txt file and
its reference from tox.ini.

Also TC passed a resolution about 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. For more info please refer [1], [2].

[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: Ica7454c88d17874ed29c5d29d399ba5684f7f9d1
2022-05-02 22:55:07 +05:30
Hervé Beraud 7d710044b6 Add doc/requirements
We need to specify doc requirements in doc/requirements.txt
to avoid problems with the pip resolver [1] for the release team [2][3].
Removing specific doc requirements from test-requirements.txt.

The problem here is that this repos haven't doc/requirements.txt file
and by default in this case zuul will use the test-requirements.txt file
to pull requirements [4].

This requirements file contains extra requirements like flake8 that
collided with those allowed in our job environment and so the new pip
resolver fails to install these requirements and the job exits in error.
It also update horizon version in requirements.txt to match the horizon
version in  lower-constriants.txt to fix requirements-check job.

This project meet the conditions leading to the bug.

[1] http://lists.openstack.org/pipermail/release-job-failures/2021-January/001500.html
[2] http://lists.openstack.org/pipermail/openstack-discuss/2021-January/019611.html
[3] http://lists.openstack.org/pipermail/openstack-discuss/2021-January/019612.html
[4] https://opendev.org/zuul/zuul-jobs/src/branch/master/roles/ensure-sphinx/tasks/main.yaml#L36

Change-Id: I425e9b4cfcf86e67c6288796e3da95b07769c6dc
2021-02-03 12:22:27 +00:00
Sean McGinnis 22efa8fd7f Use unittest.mock instead of third party mock
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.

Change-Id: I5ad2c7a44dee2e19ab2576f206c69d94126a22b1
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Co-Authored-By: zhurong <aaronzhu1121@gmail.com>
2020-04-20 03:54:03 -07:00
manchandavishal a85d874748 Remove six usage
This repo does not support Python 2 anymore, so we don't need
six for compatibility between Python2 and 3, convert six usage to Python
3 code.

Change-Id: Ibc743a552a43147153dd0ca3a46ab8d977c7ca0d
2020-02-10 02:51:16 +00:00
manchandavishal 8ab6fbd0cf 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: I59e016fd771282798bd095c562e2fa11a8e4ea43
2020-01-09 02:31:14 +00:00
Akihiro Motoki c62fe30493 Drop django-babel from requirement.txt
We have switched the babel extractor for Django from django-babel
to enmerkar recently. murano-dashboard requirements.txt needs to
sync the change. enmerkar, a successor of django-babel will be
installed via horizon, so we don't need to have it in requirements.txt
explicitly.

lower-constrants.txt is updated to use enmerkar accordingly.

Change-Id: Iab0a50a6f6546d3d67d0e9b00f9bbd04ee2f6c7c
2020-01-08 18:11:51 +09:00
zhurong dc0bc45713 Remove the dependency of floppyforms
django-floppyforms is not very well supported anymore
and was dropped from Ubuntu in Xenial.

Closes-bug: #1805193
Change-Id: I46bf2d43794a67a4dc080afa9f1740a582cb7631
2019-02-27 05:42:23 +00:00
Akihiro Motoki 98ef69ab2c Clean up usage of APIMockTestCase
In Stein development version of horizon, APITestCase and APIMockTestCase
are identical, and APIMockTestCase will be dropped in future.
murano-dashboard is the only consumer of APIMockTestCase now.
This commit clean up the usage of APIMockTestCase.

horizon stein depends on osprofiler>=2.3.0, so lower-constraints.txt
file is updated accordingly.

Change-Id: I36cb8ade8ec80cd313dc9be9e1f1a67daeb60c87
2019-01-31 23:43:42 +09:00
zhurong caaa9ea88d murano-dashbord python3 fix and use standard cover tox env
Change-Id: I1d68ca7cbe325425cd1c05ff3101f19d3cb50b0a
2018-10-08 16:54:53 +08:00
Chuck Short 5e52eb36d2 Remove use_mox directive
As of horizon 14.0.0.0b2 or later the use_mox directive is unecessary
so we can remove it.

Additionally:
* Drop mox3 from test-requirements.txt
* raise lower bound for Horizon (due to mox3 removal)

Change-Id: Ibcdd5fcda789a4038a538b19d09bc87cdc6fe7f3
Signed-off-by: Chuck Short <chucks@redhat.com>
2018-08-09 13:50:51 -04:00
Akihiro Motoki 6285103ef0 Fix lower-constraints tox env
Previously install_command specifies upper-constraints
so lower-constraints actually did not work.
upper-constraints must be specified via 'deps' instead of 'install_command'.

The fix reveals that django-formtools 1.0 is not compatible with
Django 1.11 or later. django-formtools 2.0 seems the minimum requirement.

Castellan 0.16.0 is not compatible with murano-dashboard because there is
barbican_endpoint_type. The minimum required version is 0.18.0.

This commit also drops Django dependency in requirements.txt.
After commit 7e91070789187d9e6b5ac2b57ca755504e058e32 in
openstack/requirements repo, all project requirements.txt must
have lower bounds and Django entry hits this.
Horizon declares django dependencies, so there is no need to
declare django dependencies in murano-dashboard explicitly.

Change-Id: I3048ca5570523494f5a58a15449902f8cb3eb3a4
2018-07-16 16:35:21 +09:00
zhurong 87f1b5b658 Django 2.0 support and fix lower-constraints tox env
Replace django.core.urlresolves with django.urls

(In Django 2.0) The django.core.urlresolvers module is removed
in favor of its new location, django.urls.
It was deprecated in Django 1.10:
https://docs.djangoproject.com/en/2.0/releases/1.10/#id3

Add py35dj20 job to test Django 2.0 integration.
And update the lower-constraints.

Co-Authored-By: Akihiro Motoki <amotoki@gmail.com>
Co-Authored-By: Ellen Batbouta <ellen.batbouta@oracle.com>

Change-Id: I3456162c934eb48ccf180d80b5cf7ff5614221c0
2018-06-13 12:03:55 +00:00
OpenStack Proposal Bot f9d7fb188d Updated from global requirements
Change-Id: I68306ec455587831834b5cc1251a8f5b160d4403
2018-03-26 12:05:04 +00:00
Erik Olof Gunnar Andersson 33aba64889 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

Depends-On: https://review.openstack.org/#/c/553627/
Change-Id: I998fbec953dc4754c81e5ed75e9481d670429019
2018-03-15 22:47:02 +00:00
OpenStack Proposal Bot 2865b8faad Updated from global requirements
Change-Id: Ib8cea2a5aa5f8a5eb08ffde0f16dfe844a163a39
2018-03-13 07:02:39 +00:00
OpenStack Proposal Bot 9e93ef3dbb Updated from global requirements
Change-Id: I709fed97d6f10e78da7ff4c7eae0c4651dae1fbe
2018-01-16 03:30:36 +00:00
OpenStack Proposal Bot 4a0c5b5cfd Updated from global requirements
Change-Id: I53f3d80051de107db3279e09e7275a42926dcd6c
2017-12-19 17:17:19 +00:00
OpenStack Proposal Bot 30e29cc55c Updated from global requirements
Change-Id: Ie7de453daac7d886ef0f111e1731d15f6e6211c7
2017-11-16 11:11:42 +00:00
OpenStack Proposal Bot e6e7c76778 Updated from global requirements
Change-Id: I6714fca04656c47b87aa8c110404e76cc88188aa
2017-09-22 12:54:00 +00:00
OpenStack Proposal Bot baf32df269 Updated from global requirements
Change-Id: Icf655a1c14c7c2972bcf4235b66fd90e6348bd3f
2017-08-24 05:52:27 +00:00
OpenStack Proposal Bot 26c85a2043 Updated from global requirements
Change-Id: I0f8ab442e3412cb17122780b0e549d232624bc0e
2017-08-18 04:43:50 +00:00
Jenkins 8ca959e92e Merge "Add encryptData yaql function" 2017-07-31 07:40:26 +00:00
Paul Bourke 78732bf776 Add encryptData yaql function
Adds a new yaql function 'encryptData' which encrypts values passed from
MuranoPL UI definitions.

Requires a valid secret storage backend (e.g. Barbican) to be configured
via Castellan in _50_murano.py

Murano will still work fine without this config but the encrypt/decrypt
functions will be unavailable.

Implements blueprint: allow-encrypting-of-muranopl-properties
Depends-On: I09416b6d35ed2dafa823eca98262a4e23081e6eb
Change-Id: Ida94093425a113b67baa05a194525e3cf4e16f79
2017-07-21 13:36:39 +01:00
OpenStack Proposal Bot fa108232e8 Updated from global requirements
Change-Id: I140c3dad9ad4fcbe0fbb25f1c5a54a15c1e807c9
2017-07-20 13:17:17 +00:00
OpenStack Proposal Bot 72a5ef7e9e Updated from global requirements
Change-Id: Ib3338814792087a2f583e607c77ff8363931b67b
2017-07-14 05:01:03 +00:00
Jenkins 605e93cefb Merge "Adjust stringified dates to the local timezone" 2017-07-07 13:05:47 +00:00
Artem Tiumentcev 9806d7487f Adjust stringified dates to the local timezone
Fetch local timezone from session variable 'django_timezone'. This
setting can be either set in Horizon manually or it defaults to the
value of setting TIME_ZONE (with 'UTC' value as a default).

Change-Id: I6c0bbf7b0e0763bd238ab9fa9c4c75e3fdf02fbd
2017-07-07 12:24:10 +03:00
OpenStack Proposal Bot 462745747c Updated from global requirements
Change-Id: Id21792170bf23d253230a6e6d9bfbc6379c0c758
2017-07-06 01:37:32 +00:00
OpenStack Proposal Bot 19fa5d154c Updated from global requirements
Change-Id: Ifd0e78ac3483cce24e2ea62f44f0c9155a3f0b73
2017-06-02 11:36:06 +00:00
Jenkins 9cece5c7af Merge "Tri-state checkbox widget" 2017-06-01 21:05:27 +00:00
OpenStack Proposal Bot f612656b93 Updated from global requirements
Change-Id: I65df38894e1c53f4ab869f786f9451d3eb6817c1
2017-04-18 16:49:39 +00:00
OpenStack Proposal Bot ef236d7872 Updated from global requirements
Change-Id: I08551837ffdc6b48a5f63e81652cd44558dc9f92
2017-04-12 04:14:38 +00:00
Andrew Pashkin e096fbfa3c Tri-state checkbox widget
Tri-state checkbox is the kind of checkbox which has three states
instead of two, as the regular checkbox has.

Third state is "indeterminate", which means, that the element is in
undefined state. Common example of such situation is some parent
element, which has some of child elements selected and some not - and
so it means that parent element is not selected nor unselect - which
in terminology of this changeset called "indeterminate" state.

Partially implements bp assign-category-button
Depends-On: Ie65a77eab29aa191420fbd630b1d242b59c9ff9f
Change-Id: I98116fce362af5eb4c64941f4c442dd81120e762
2017-04-11 00:02:11 +01:00
OpenStack Proposal Bot e96b4c98e2 Updated from global requirements
Change-Id: Ie37736c019bbc747722043a7d45d5fb2d4e55f62
2017-04-07 06:08:23 +00:00
OpenStack Proposal Bot 7aeff3fe53 Updated from global requirements
Change-Id: I0461bbde5c7c5b2760d23fc0585b7fae3a9c3b43
2017-03-28 21:31:02 +00:00
OpenStack Proposal Bot 3cc21d3465 Updated from global requirements
Change-Id: I56e599ba461e192a111b6549cb7d34f495388738
2017-03-02 11:47:28 +00:00
avnish a17ed791eb Remove useless iso8601 requirements
This patch cleans up the requirements.txt list to remove
iso8601 module not used anymore.

Change-Id: Ifaae61d382a63335f53b519649b0901890f5c690
2017-01-11 11:20:10 +05:30
OpenStack Proposal Bot 0980494876 Updated from global requirements
Change-Id: I31b64ff97e806d6a6219600819a90fe713c9b37a
2016-11-09 04:17:46 +00:00
OpenStack Proposal Bot a6ad47118d Updated from global requirements
Change-Id: Ie60b363404aacea6d1c6a5f8b8cbfb08b3e02b84
2016-09-30 20:00:34 +00:00
OpenStack Proposal Bot 6533a6e1f4 Updated from global requirements
Change-Id: I6dad29d33c1c7eb135a745755b25e08d724a5e1c
2016-09-21 06:43:25 +00:00
OpenStack Proposal Bot 7e5e071720 Updated from global requirements
Change-Id: I44f3239d22e4b55c809dbb289d5b5c7326ed0f94
2016-05-23 12:00:10 +00:00
OpenStack Proposal Bot 19608ce065 Updated from global requirements
Change-Id: I5ceda7107c00dacf33a3dfcc025553c227980302
2016-05-14 03:58:11 +00:00
OpenStack Proposal Bot 452645f5cc Updated from global requirements
Change-Id: I69f912469503d8ebff9c9c1c3a44d9ba433c75c1
2016-04-13 12:44:16 +00:00
OpenStack Proposal Bot 2d30b5a1bc Updated from global requirements
Change-Id: I253f66ac917eda1c0c6f01a12b23cc2974052682
2016-02-19 22:27:42 +00:00
OpenStack Proposal Bot 94de4cc989 Updated from global requirements
Change-Id: I189f9fafe04cb2a42ff0d1a741eb33938adf5054
2016-02-16 18:13:55 +00:00
OpenStack Proposal Bot 080c1180b9 Updated from global requirements
Change-Id: Ia83fcb998f4dbdea77ddd022bf1850bef786c585
2016-01-16 03:27:56 +00:00
Jenkins 0c3617e438 Merge "Adds i18n machinery similar to the one used in horizon" 2016-01-11 10:56:02 +00:00
OpenStack Proposal Bot a3c1da71c8 Updated from global requirements
Change-Id: I70ca29c86ae44a96b0973b398ad6522401253272
2016-01-01 20:29:15 +00:00
Kirill Zaitsev a2305b69b4 Adds i18n machinery similar to the one used in horizon
Targets blueprint: murano-i18n

Change-Id: I1febd9404c4d99e4ef0cd30cf3e841df97847abe
2015-12-28 23:17:26 +03:00