13501 Commits

Author SHA1 Message Date
Andreas Jaeger
8c5f7196b6 Remove app-catalog from plugin list
The repo is retired, see I52ce13057643d69a0fd87bce20ee460c6b7c2f17.
Remove it from the list of plugins.

Change-Id: I233c3f30e84f8568a2d29683bdefd1f5f40aeccc
2017-12-10 20:45:32 +01:00
Akihiro Motoki
58faa56ee8 openstack_auth: Move test files to match module structure
blueprint relocation-test-codes

This commit relocates test codes in openstack_auth
according to blueprint relocation-test-codes.

Change-Id: I78fcfb72a1522283724126bd95e251b52f294831
2017-12-09 21:37:12 +09:00
Akihiro Motoki
493a943e6e horizon: Move test files to match corresponding module structure
blueprint relocation-test-codes

The current test file structure in horizon looks random.
This is the first patch of blueprint relocation-test-codes.

This commit proposes to change the structure to match the structure
of test targets (i.e., main codes).
More concretely, a unit test file for {TOP_MODULE}/{MODULE}/{FILENAME}.py
will be located at {TOP_MODULE}/test/units/{MODULE}/test_{FILENAME}.py.
When a module is test as a whole, a location of a corresponding test file
will be {TOP_MODULE}/test/units/{MODULE}/test_{MODULE}.py.
This clarifies locations of test files.

In addition, this commit changes the base class of utils.test_secret_key
from horizon.test.helper.TestCase to unittest.TestCase. This is because
calling secret_key.generate_key() somehow interferes django.test.TestCase
(which is a parent class of horizon.test.helper.TestCase).

Change-Id: I48b9c317645e63a5819c52512b30f25969574817
2017-12-09 21:37:12 +09:00
Zuul
8bb0d6be83 Merge "Add Heat Dasbhoard to Plugin Registry" 2017-12-09 10:27:45 +00:00
Zuul
b4fccffccc Merge "Drop Heat related code from horizon" 2017-12-09 10:27:43 +00:00
OpenStack Proposal Bot
f63183bc81 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I3f7e7a6ed21ca09ac5942040472f73e44c5a9f01
2017-12-08 18:23:00 +00:00
kaz_shinohara
23a6a821b7 Add Heat Dasbhoard to Plugin Registry
Now Heat Dashboard is ready to departure, therefore added github and
launchpad url of Heat Dashboard to Horizn's plugin registry

Change-Id: I3c392c843f48efe63c930775fdaf337ca6a3d4c8
2017-12-08 09:22:53 +09:00
OpenStack Proposal Bot
09e1ab26d3 Updated from global requirements
Change-Id: I92226d5a6afe99db08ca698f466288025ed298bb
2017-12-07 13:26:18 +00:00
Zuul
15df756659 Merge "Render 'Volume Transfer' as modal instead of page" 2017-12-06 07:17:45 +00:00
OpenStack Proposal Bot
ffd011441d Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I5f00992a26f8001a4f00a4ac95c8737cdbe18f2d
2017-12-05 07:42:38 +00:00
Akihiro Motoki
eac3e7032a Drop Heat related code from horizon
Orchestration tab in the admin info panel needs a discussion.
It seems not to be covered by heat-dashboard yet.

blueprint heat-dashboard-split-out

Change-Id: I56e6edb1f2ac72e2f42d0e9f3291308e67f24cad
2017-12-05 07:38:55 +00:00
Zuul
36f3e93a1a Merge "Fix wrong link to VM in admin volume table" 2017-12-04 05:31:58 +00:00
Zuul
c62d6c4071 Merge "API micro-version support for multiple features" 2017-12-04 05:09:55 +00:00
OpenStack Proposal Bot
43494b963c Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I2b0ff2e262c5cac5d9afd2c754b4d07993adb1e6
2017-12-03 07:19:57 +00:00
Akihiro Motoki
4c8a294aee API micro-version support for multiple features
Previously horizon micro-version support only supports one feature,
but there is a case where we need to support more than one feature
using micro-versioning. For example, "instance_description" and
"auto_allocated_network" in the server create operation both require
micro-version. This case was not supported previously.

This commit changes get_microversion() function to take a feature list
and looks up a micro-version which supports all requested features.

A known limitation is that we need to re-call get_microversion() with
different feature(s) if no micro-version which satisfies all requested
features is found and we would like to look up a micro-version which
supports a subset of the requested features. Most features are expected
in recent API versions, so I believe this would be a minor limitation.

Change-Id: I46f1c7fa1ddcf1dfac93d921cffaf3aa5ac011a7
Related-Bug: #1690433
2017-12-03 07:59:32 +09:00
Daniel Park
8aca02a732 Render 'Volume Transfer' as modal instead of page
Change-Id: Iaa26bacb6ef369145345615821cbe4c3dc24f83f
Closes-bug: #1631193
2017-12-03 06:56:10 +09:00
OpenStack Proposal Bot
82d5499ae5 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I92610d3a39fe8d81c0aeebe750ccbeccc6f678e1
2017-12-02 06:41:50 +00:00
Zuul
54e81dd29d Merge "Import django_openstack_auth settings missing in horizon doc" 2017-12-02 04:57:21 +00:00
Zuul
4c7e5872b8 Merge "Update job skip condition" 2017-12-02 04:57:18 +00:00
Zuul
3850aa8294 Merge "Prepare test env for Django 2.0 with python 3.5" 2017-12-02 04:43:53 +00:00
OpenStack Proposal Bot
3d9b639165 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ifbe6a8e71fb5ae50869195ea3638a2b47da17475
2017-12-01 06:40:10 +00:00
Akihiro Motoki
9854147407 Fix broken nova console support
A patch of MKS console support replaces 'console' key into
'remote_console', but 'remote_console' key is only available
in Nova API version 2.6 or later. Horizon uses Nova API version
2.1 by default, so this change breaks the existing server console
support completely. This patch fixes it.

Change-Id: I656037511e0d80688df4b82fa8c77fe5c09402bd
Closes-Bug: #1735436
2017-12-01 00:07:31 +09:00
Akihiro Motoki
2d0c4e9f51 Update job skip condition
There is no need to run tempest job for changes only with translations.

Also adds openstack_auth/locale/ to the skip condition.

Change-Id: I9b21de25a06cb08d1a08dd91637cd0135bf937be
2017-11-30 16:31:26 +09:00
Zuul
d46246d476 Merge "Make list_targets_by_instance look up IPv4 address as target" 2017-11-30 05:54:29 +00:00
Zuul
0b79c35007 Merge "Drop unused floating_ip_target_get_by_instance" 2017-11-30 05:54:26 +00:00
Zuul
520de94f75 Merge "FIP associate: Show only ports from a target server" 2017-11-30 05:44:13 +00:00
Zuul
6b179be916 Merge "Disable metadata switch if only one item is available" 2017-11-30 05:37:55 +00:00
Zuul
e3e8194fd2 Merge "Move legacy horizon-dsvm-tempest-plugin to in-repo jobs" 2017-11-30 05:22:16 +00:00
Zuul
57c857329d Merge "Commonize load-edit directive" 2017-11-30 05:18:20 +00:00
Zuul
865f793ff8 Merge "Add MKS console support" 2017-11-30 04:39:27 +00:00
Shu Muto
876f80c4a8 Commonize load-edit directive
Codes for load-edit directive is placing under framework directory:
horizon/static/framework/widgets
But it has code inside for Instance creation workflow.
This should be commonized.

If load-edit will be commonized, we can use it for Key Pair importing,
Orchestration Template and Environment in stack creation.
Furthermore, plugins can use load-edit. e.g. cert file uploading in
Magnum UI, cluster spec yaml registering in Senlin Dashboard, etc.

This patch fixes the issue.

Also, at the point view from UX, file input element should be
above of textarea. Because user wants to load file at first,
rather than input directly.

Change-Id: I3e1befb81996841820111558adf3ca386709904d
Closes-Bug: #1704260
2017-11-30 11:52:11 +09:00
yong sheng gong
1f41f29f0b Add MKS console support
Co-Authored-By: jinke <jin.ke@99cloud.net>
Co-Authored-By: yong sheng gong <gong.yongsheng@99cloud.net>

Change-Id: Id8ee4a28a09eb3d7f7598c507c0a4320a97cd01c
implements: bp support-mks-console-type
2017-11-29 21:06:38 -05:00
Akihiro Motoki
0c54f56aa6 Prepare test env for Django 2.0 with python 3.5
Change-Id: I657d3d5cbec9a62b4322b4f6f892ecc0b2912fa4
2017-11-30 07:18:25 +09:00
Zuul
6590ecd473 Merge "Raise detailed exception" 2017-11-29 17:18:39 +00:00
Akihiro Motoki
62365ba4d6 Move legacy horizon-dsvm-tempest-plugin to in-repo jobs
Change-Id: I2415030b8c035aca008dc43c80b465d90423c9b5
2017-11-29 15:04:45 +00:00
Ivan Udovichenko
d16f750b36 Raise detailed exception
This change allows to throw a detailed exception
in case if 'files' list has 'None' value:
"""
Exception occurred:
  File "/<<PKGBUILDDIR>>/openstack_dashboard/utils/\
    settings.py", line 263, in get_xstatic_dirs
    for file in files:
TypeError: 'NoneType' object is not iterable
"""

Closes-Bug: #1732567

Change-Id: Iaf6282819c26c12ca24d19ef7dee00a5c8586418
2017-11-29 23:52:02 +09:00
Zuul
179a7ca60e Merge "Updated from global requirements" 2017-11-29 13:57:49 +00:00
OpenStack Proposal Bot
bcf86913cc Updated from global requirements
Change-Id: I31471c602d63ae0a5513cfe9c4611afa356aa5f0
2017-11-29 08:56:28 +00:00
OpenStack Proposal Bot
6a6cb7bc0a Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I340c8c7ffb714dbf0056764bd13d4735d241d63f
2017-11-29 07:41:19 +00:00
Zuul
bf88aaf245 Merge "Trunks panel: enable project trunk panel by default" 2017-11-28 23:35:14 +00:00
Zuul
ba883c8d4f Merge "Remove initScope from trunk delete.action.service" 2017-11-28 23:25:06 +00:00
Zuul
dd0f70416c Merge "Fix admin/project instance UT" 2017-11-28 22:42:35 +00:00
Zuul
acc37a6074 Merge "Use oslo.config for Horizon configuration" 2017-11-28 22:42:31 +00:00
Zuul
f9d0c0c3ba Merge "Trunks panel: edit button" 2017-11-28 22:16:21 +00:00
Zuul
68424b8324 Merge "Trunks panel: create button" 2017-11-28 22:16:19 +00:00
Zuul
ef1dffd368 Merge "Fixes the deletion on click action assignment" 2017-11-28 16:15:44 +00:00
Zuul
dee95a0dfd Merge "tox: allow to specify module when running pep8 env" 2017-11-28 04:32:54 +00:00
Zuul
15f083b271 Merge "Move openstack_auth API refernece into a separate place" 2017-11-28 03:31:39 +00:00
Bence Romsics
7caead688e Trunks panel: enable project trunk panel by default
The trunk panel in the project dashboard is completed,
so this commit enables it by default.

To test it build devstack with neutron trunk support. Eg:

  local.conf:
  enable_plugin neutron https://git.openstack.org/openstack/neutron
  enable_service q-trunk

As long as the 'trunk' API extension is available (openstack
extension show trunk) the panel should automatically appear under
Project/Network/Trunks.

Change-Id: I5f5e343f21ac92e4195825e44f0f3d58b44c134a
Implements: blueprint neutron-trunk-ui
2017-11-27 14:05:43 +01:00
Lajos Katona
7b207fbf89 Remove initScope from trunk delete.action.service
The initScope method is deprecated, the action service should be
stateless.

Also refactor to simplify delete action logic. Some code got carried
over from the images panel, what we originally used as an example. But
much of that code was doing checks useless for trunks. Trunks don't have
complicated 'public' and 'shared' attributes controlling who can operate
on them. A simple policy check will suffice.

Co-Authored-By: Bence Romsics <bence.romsics@ericsson.com>
Change-Id: I689a98697d997780af42eb31a4b5eeee2ddf9b0f
Partially-Implements: blueprint neutron-trunk-ui
Related-Bug: #1640049
2017-11-27 14:05:43 +01:00