14069 Commits

Author SHA1 Message Date
Zuul
ebd5649ab4 Merge "Use items per page setting on Angular tables" 2018-04-09 17:33:48 +00:00
Zuul
fde449834e Merge "Avoid popup blocker after key-pair creation" 2018-04-09 16:15:41 +00:00
Zuul
4cdd6f0ed1 Merge "Imported Translations from Zanata" 2018-04-09 12:12:46 +00:00
Cindy Lu
c58e5b8779 Use items per page setting on Angular tables
Make NG table get page size from the items per page setting
instead of a fixed number which is 20.

The styling of the pagination control is the same as the
django table with the prev and next links.

Co-Authored-By: Liuqing Jing <jing.liuqing@99cloud.net>
Co-Authored-By: Vladislav Kuzmin <vkuzmin@mirantis.com>

Change-Id: Ie5307e335ca3251a342d370e7277fe16067f7949
Closes-Bug: #1647677
2018-04-09 12:38:06 +04:00
Zuul
dd6f79e3d1 Merge "Make tests output more verbose" 2018-04-09 07:06:59 +00:00
OpenStack Proposal Bot
061f4b08cc Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Iee5da0eb017270ba087496ff154da058dd2425da
2018-04-09 06:48:54 +00:00
Zuul
9a0b11ee26 Merge "Pass whole selected entity to deleteEntity callback" 2018-04-08 15:18:19 +00:00
OpenStack Proposal Bot
f783b4e8af Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ifa275f223176b29aad5e487d62ad04054ba37fc1
2018-04-08 06:46:25 +00:00
Zuul
7c09346e08 Merge "Improve mocking in REST API tests (test_network)" 2018-04-06 10:08:07 +00:00
Zuul
368d942a57 Merge "Update lower-constraints to requirements.txt" 2018-04-06 10:08:05 +00:00
Zuul
febb96507b Merge "Reproduce navigations on refreshing ngdetails view" 2018-04-06 10:02:39 +00:00
Frank Kloeker
886852f13f Rename pull_catalog args from version to branch
It was a very bad idea to name the argument to fetch a specific
version from Zanata as 'version'.

At the moment I get this error mesage:
argparse.ArgumentError: argument --version: conflicting option string(s): --version

Change-Id: I662a218a2713fcefd3a624a4cc2a907a7fc1434b
2018-04-05 14:54:28 +02:00
Ivan Kolodyazhny
0c39d76e8a Make tests output more verbose
Added '--verbosity 2' to print list of executed and skipped tests to the
console.

Related blueprint: improve-horizon-testing
Change-Id: Ibdc4016bb1f8b7145a78b0f0bfc693741b6a123e
2018-04-05 10:44:05 +00:00
Zuul
91e659f172 Merge "[doc] Add the missing 'API Access' for project tab" 2018-04-04 10:46:19 +00:00
OpenStack Proposal Bot
c1eab3d4a1 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I127d460426f01fa9bdab9c181623e89dbf41c0bf
2018-04-04 07:09:53 +00:00
Shu Muto
d0beeb7e14 Pass whole selected entity to deleteEntity callback
For now, delete-modal service passes only ID to deleteEntity callback.
Some plugins need other parameters to delete entity.
So this patch passes whole selected entity to callback as second argument.

Change-Id: I395470110a5f03ebb08a043ca433b16b999dad3f
Needed-By: Ic5aba9b2e953cde7950ae7656cd5a3fee3f4a55c
Closes-Bug: #1761074
2018-04-04 15:50:33 +09:00
Zuul
c59343891f Merge "Speed up quotas fetching using futurist library" 2018-04-03 13:40:30 +00:00
Zuul
28251b789e Merge "Support description for instance update/rebuild" 2018-04-03 12:33:28 +00:00
Zuul
9aa69506df Merge "Drop FWaaS related SCSS entries" 2018-04-03 12:26:55 +00:00
OpenStack Proposal Bot
9ca9b5cd81 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I04685a81d9ddd312d33d0931a4b3ec4857a77b2d
2018-04-01 07:07:03 +00:00
Akihiro Motoki
f343212805 Improve mocking in REST API tests (test_network)
The current REST API tests have a lot of rooms to be improved like:
- mocking the whole module of the API wrapper

This commit improves test/unit/api/rest/test_network.py.

Change-Id: I1a1e6b69ac9334b05fc88b4568e823ae490a0b0b
Partial-Bug: #1752917
2018-03-31 23:23:25 +09:00
Zuul
946ecea7b7 Merge "Cleanup Plugin Registry" 2018-03-31 02:29:08 +00:00
Ivan Kolodyazhny
c3d6036f8a Cleanup Plugin Registry
This patch removes unsupported plugins and changes links from http to
https.

Change-Id: Ic2532f73dba64605bc646f88ed088fbcedc6e44a
2018-03-30 23:41:58 +03:00
Akihiro Motoki
da9bfa5cc0 Update lower-constraints to requirements.txt
Some entries in lower-constraints.txt are incompatible
with the current requirements.txt.

requirements repo now implements lower-constraints check,
so it is time to sync these two.

Depends-On: https://review.openstack.org/#/c/557927/
Change-Id: I99124afd2b88b80da21df96c16baeef49b31e097
Signed-off-by: Akihiro Motoki <amotoki@gmail.com>
2018-03-30 22:32:07 +09:00
Zuul
a14820321b Merge "Convert project tests into mock: api_access/backups/overview/snapshots" 2018-03-30 12:02:42 +00:00
Zuul
c6c18b1aca Merge "Convert project tests into mock: fip/sg/key_pairs/topology" 2018-03-30 12:01:59 +00:00
OpenStack Proposal Bot
6aa3c66543 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I791ed79f681708ddc1567a29f4bbae0c03e5ff6f
2018-03-30 07:09:57 +00:00
liyingjun
2ad84cb34f Support description for instance update/rebuild
In Nova Compute API microversion 2.19, you can specify a description
attribute when creating, rebuilding, or updating a server instance. This
description can be retrieved by getting server details, or list details
for servers, this patch adds support for this attribute for instance in
horizon.
This patch adds description for instance update/rebuild

Change-Id: I1c561607551fe6ed521772688b643cb27400e24e
Closes-bug: #1753661
2018-03-30 11:02:27 +08:00
Zuul
9ab701b5e2 Merge "add lower-constraints job" 2018-03-29 09:11:12 +00:00
OpenStack Proposal Bot
d00fd5b8d6 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I72f487de18ec92686e13caafba09ae6cb5529c44
2018-03-29 07:34:50 +00:00
Shu Muto
8275d67949 Reproduce navigations on refreshing ngdetails view
To setup proper navigation to side bar and breadcrumb,
this patch adds new 'defaultIndexUrl' parameter and
its getter/setter into resource-type-service.

The 'defaultIndexUrl' parameter makes details view
enable to set navigations properly in Angular-side.

Each panel module should set URL for default index view
using 'defaultIndexUrl' parameter. So, this patch adds
the `defaultIndexUrl` parameter into existing panel
modules that have Angularized details view.

Also, if query string has 'nav' parameter, the
navigation setting will be overwitten with it.
This URL overwriting may be used by panels that has
multiple index panels, like images panel.

Change-Id: I2edd44e55eb10114e5282cec1762e9635881f733
Closes-Bug: #1746706
2018-03-29 15:01:59 +09:00
Zuul
9696588870 Merge "project: Tabbify project quota update" 2018-03-29 05:24:34 +00:00
Zuul
1ade95cd4c Merge "Use load-edit directive in import key pair" 2018-03-29 05:03:07 +00:00
Zuul
e8cae58fe6 Merge "Update supported browsers list" 2018-03-29 02:10:15 +00:00
Zuul
9135dde8df Merge "operation_log: add QUERY_STRING to request_url" 2018-03-28 20:15:04 +00:00
Ivan Kolodyazhny
8220df7d6f Update supported browsers list
We don't need to keep a list of older releases since it can be found in
git history and stable/* branches.

Change-Id: I341391e1808e41db84444ba41de244b15884adb7
2018-03-28 22:33:14 +03:00
Zuul
b53163c297 Merge "Improve mocking in REST API tests (test_neutron)" 2018-03-28 19:14:29 +00:00
Zuul
1dba807824 Merge "Switch Neutron/Network API tests to mock" 2018-03-28 19:11:45 +00:00
Zuul
c0601c534c Merge "Improve mocking in REST API tests (test_nova)" 2018-03-28 18:54:16 +00:00
Akihiro Motoki
68167ca3b5 Improve mocking in REST API tests (test_neutron)
The current REST API tests have a lot of rooms to be improved like:
- mocking the whole module of the API wrapper
- Unnecessary usage of test.mock_factory()
- Unnecesary setUp()
- Test data should not be accessed directly via TestData

This commit improves test/unit/api/rest/test_neutron.py.

Change-Id: I8634b0f72fe089e0da4cda8a0ba5af56ffb856c6
Partial-Bug: #1752917
2018-03-28 18:39:52 +00:00
Akihiro Motoki
c5cd0b2048 Switch Neutron/Network API tests to mock
This patch changes mox to mock for the following test modules:
* openstack_dashboard/test/unit/api/test_network.py
* openstack_dashboard/test/unit/api/test_neutron.py
* openstack_dashboard/test/unit/api/rest/test_network.py
* openstack_dashboard/test/unit/api/rest/test_neutron.py

Partially-Implements: blueprint mock-framework-in-unit-tests

Change-Id: Ib97fb1c06a883fb9fd5ce39b8fe2362a88135692
2018-03-28 18:39:14 +00:00
Zuul
415c1066ff Merge "Add asterisk to conditionally required fields" 2018-03-28 16:04:48 +00:00
Zuul
a0272cd035 Merge "Improve mocking in REST API tests (test_keystone)" 2018-03-28 16:04:44 +00:00
Zuul
3ab24ad841 Merge "Imported Translations from Zanata" 2018-03-28 15:50:08 +00:00
OpenStack Proposal Bot
b34dcc8239 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I0a4721c3f6d438476842622d73779127da9dfe02
2018-03-28 07:40:16 +00:00
Zuul
92a7fdb33f Merge "project: Split quota update into a separate workflow" 2018-03-28 07:14:47 +00:00
Zuul
e71cf45782 Merge "Tabbity quota default update workflow" 2018-03-28 07:10:44 +00:00
Akihiro Motoki
65f43d21bd Improve mocking in REST API tests (test_nova)
The current REST API tests have a lot of rooms to be improved like:
- mocking the whole module of the API wrapper
- Some expected status code was 200 wrongly because mock.Mokc()
  object was returned from mocked methods. 204 is the correct
  response status code.

Change-Id: Ib3d6af27e94fb5577e259078d0215b1ace8617e1
Partial-Bug: #1752917
2018-03-28 09:51:17 +09:00
Zuul
370f136c3f Merge "Switch project neworks.ports to mock" 2018-03-27 21:35:49 +00:00
Zuul
e3e0486b41 Merge "Updated from global requirements" 2018-03-27 20:22:36 +00:00