Commit Graph

52 Commits

Author SHA1 Message Date
Hieu LE
cbdec03b82 Refactor NSD4 UT for using upstream eventlet
This patch refactor NSD4 UT by mocking out instead of using eventlet
for fake NSD4 backend.

This patch also remove pinned eventlet version and use upper constraint
of eventlet for UT.

Closes-Bug: 1686601
Change-Id: Iabc7fe6a1f6932959f4531a333bcbd1ad6f06e4f
2017-04-27 17:11:16 +07:00
Monty Taylor
7f4a9a65ea Add SOA to RECORD_TYPES in sqlalchemy.tables and remove eventlet constraint
sqlalchemy 1.1 is more strict on enum values. Because of that, the fact
that the two RECORD_TYPES enums are out of sync makes things sad.

This patch also pin eventlet version to 0.19.0 since eventlet >=0.20.0 in
upper constraint still make UT fail.

Co-Authored-By: Hieu LE <hieulq@vn.fujitsu.com>
Change-Id: I4de68749e9eddbddbc7f8d8df68ce3ea71cc4fcb
2017-04-24 17:16:18 +00:00
Luong Anh Tuan
e5cb2569a6 Using sys.exit(main()) instead of main()
TrivialFix: Similar [1] in Kolla project
As we known, Exceptions are raised by the sys.exit() function. When they
are not handled, no stack traceback is printed in the Python interpreter.
Therefore, when using sys.exit(main()) instead of main()
may be more readable and reasonable.

[1] https://review.openstack.org/#/c/349353/

Change-Id: Ied52a7631da82a72f0dcf2fc9ed81840d24041d9
2016-09-26 03:23:44 +00:00
Graham Hayes
5939880717 Removed old tooling for ks CLI
Change-Id: Ie4f6ccc7b0fdf33d86dcb623a781fc21b643e91e
2016-04-18 20:34:29 +01:00
Federico Ceratto
ecda910c2b Add delayed NOTIFY
Based on specs in https://review.openstack.org/#/c/246515
Add database column zones.pending_notify and migration script
Add Zone Manager Task to perform delayed NOTIFY
Add Admin API method to count zones pending notify

closes-bug: #1498462
partial-bug: #1436210
Change-Id: Ic5c2745bcd2cc057a42cb8edf21ed4c1a3ddc952
Depends-On: If15594099eb7cf74f1c534a05884c2d2501e57e6
2016-02-17 15:24:00 +00:00
Graham Hayes
00892b3d45 Only print flake8 table if there is results
Change-Id: I1496280ff5003d507751f04a06b08942c89539da
2015-07-20 16:26:03 +01:00
sonu.kumar
884d3613af Replaced print with print() to provide py 2/3 compatibility
Replaced print statement of python 2 to print() of python 3
to provide py 2/3 compatibility.

Change-Id: I4d0501d37051607c2c7b44fe71374421765a922b
2015-07-20 18:10:10 +05:30
Graham Hayes
e33a3cf35a Test - add nicer formating to flake8 output
Change-Id: Ie1ee4ae5416277f5012646c8b47477e61ec55be0
2015-07-08 18:29:30 +01:00
Kiall Mac Innes
165a3873dd Add pretty_tox subunit wrapper
Cleans up tox output to be more human friendly, this however does not
resolve the logs/stacktraces being shown three times.

Partial-Bug: 1413807
Change-Id: I8328b89e6a2d1c3f3dd8bd3218f450a4613ade59
2015-01-30 20:25:08 +00:00
Kiall Mac Innes
a7764eb067 Update from oslo-incubator
Change-Id: I16b9f94b74de927bb831f0f38483fb3909bbb3f7
2014-07-24 12:34:48 -07:00
Kiall Mac Innes
e9975b12d0 Update install_venv from Oslo
Change-Id: I1879787b3ae42ffa6b26f43595429e6cb1bad06f
2014-04-11 14:12:31 +01:00
Endre Karlson
c05371737b Register as a endpoint without version
Change-Id: Iea300ca5a57c2952d2adefb2694d8f2f0183e491
2014-02-25 13:07:55 +00:00
Kiall Mac Innes
2ffa222a54 Rename keystone-setup script for designate
Change-Id: I8366ba81ba6c58ceb9e8ba457a8b2f9b6006b3fa
2013-06-13 13:34:51 +01:00
Kiall Mac Innes
193085cf56 Rename Moniker -> Designate
Change-Id: I4b9c7b277a524058408d5c551bb51531e9a3949c
2013-06-09 21:15:03 +01:00
Kiall Mac Innes
28becedeee Switch to PBR
Change-Id: Ib62c6ab685c1bcf14ed363031010c4a145098df6
2013-05-31 21:41:45 +01:00
Endre Karlson
0c7535e4b9 Helper utilities
Change-Id: Ia689302fc1bcc3b11dceb51f131cdd4ac1ad30ba
2013-05-23 22:22:12 +02:00
Kiall Mac Innes
0da486e9ff Pin to jsonschema less than 1.0
Change-Id: Ia53a31435174eef6792a2e7c44944f72f2a9a881
2013-02-26 17:01:54 +00:00
Kiall Mac Innes
e922d4cd98 Update to JSONSchema 0.8 final
Change-Id: I5230943841165c1b552afce4c21c6d0836ea4a94
2013-01-30 10:23:30 +00:00
Kiall Mac Innes
512f379cda Sync with Oslo 30a50c8a
Change-Id: I2614b234d0d59b698ddefbeb87541867843848b2
2013-01-29 00:12:44 +00:00
Kiall Mac Innes
1d71b7ae58 Handle RPC timeout's appropriately in the API
Change-Id: I178912ddf5e2dde45bc68b5dc14a8fd17f455ad2
2013-01-09 12:51:04 +00:00
Kiall Mac Innes
88882e4373 Switch to plain .json schemas and improve Schema handling.
Additionaly - All hostnames now REQUIRE a trailing "."

Change-Id: I1ee0b6e8911e1b6207aace619dd19c014363bfd7
2012-12-03 11:33:14 +00:00
Kiall Mac Innes
400dae7348 Sync with Oslo-Incubator 1fd7694e
Change-Id: Iba4619e4a2b50c3e471133c4f65826a0be7c9e90
2012-11-29 23:57:33 +00:00
Endre Karlson
f891714b34 Keystone helper
Change-Id: Ib3c314f98550dc90dcbe772cef356647c2df4576
2012-11-23 18:20:58 +01:00
Kiall Mac Innes
40fb2989d2 Add first API test for listing servers
Change-Id: I090796adfad7aab60962505797fd25dfa086738b
2012-11-21 12:21:27 +00:00
Kiall Mac Innes
faa471acf6 Add cliff to pip-requires and ensure all bin/ files are checked with pep8
Fixup of Ib881a57a

Change-Id: I5661166f7c5f05b2ec777631ac7d4a359f43637e
2012-11-20 10:08:09 +00:00
Endre Karlson
016a629e12 Make us client library independent for server side operations
Change-Id: Ib881a57a2c1ff856d011e0dc832cedd6281fd3e3
2012-11-20 09:44:26 +01:00
Kiall Mac Innes
ceebf859eb Cleanup tox / test deps
Change-Id: I4f18d98b71a18b7a314d52db8ff31bdef16ba2f1
2012-11-18 03:14:12 +00:00
Kiall Mac Innes
0a53f232c2 Add PyFlakes tox env
Change-Id: I4195a203c30d0104c33c41b0e60fa8fc2a89643b
2012-11-18 02:52:38 +00:00
Kiall Mac Innes
815736f358 Pull Keystone middleware from the keystone client package.
Change-Id: Id4fe251bca4df501ab5cc911afa2d02861c739f2
2012-11-17 15:21:16 +00:00
Kiall Mac Innes
16297b3394 Remove backported unittest assertions in favour of unittest2.
Change-Id: I99535799838a68e3132414b32fef4a475d666ef3
2012-11-09 21:24:39 +00:00
Kiall Mac Innes
60ae4add32 Add nosexcover and nosehtmloutput Nosetests plugins to tools/test-requires
I believe adding these should be all that's needed to procduce HTML test output on Jenkins.

Change-Id: I55bee56f08c8911094725062ed4fa10a0f7cf0ca
2012-11-07 09:52:55 +00:00
Kiall Mac Innes
da418a0945 Ensure we depend on SQLAlchemy 7.x
Change-Id: I2d220d2ea36d074818b352de497eaeaa7fda82fa
2012-11-06 14:26:11 +00:00
Kiall Mac Innes
fb6160b14e Update requirements for monikerclient -> python-monikerclient
Change-Id: Ic80439c824289aee5b4506383999bbd99e8e7027
2012-11-01 15:18:37 +00:00
Kiall Mac Innes
43550a969b Fixup deps and tox.ini for Stackforge+Gerrit
Change-Id: Ic227d28d74d5b63b6b633ebc22ed37e57c796223
2012-11-01 02:49:50 +00:00
Kiall Mac Innes
a2f022d41b Add sphinx doc skeleton 2012-10-31 19:12:07 +00:00
Kiall Mac Innes
0e80f0fe96 Move optional dep's to their own file 2012-10-30 16:33:01 +00:00
Kiall Mac Innes
3e9b8a3e1a Move SQLA dep in pip-requires to indicate it is optional (kinda) 2012-10-28 20:24:26 +00:00
Endre Karlson
d1a5e56a50 Attempt to make backends more driver based like in Ceilometer 2012-10-28 16:36:23 +01:00
Kiall Mac Innes
998a3ef376 Switch from git:// to GubHub tarball via https for python-monikerclient dep 2012-10-27 15:55:56 +01:00
Kiall Mac Innes
61d0f9a029 Add database init + sync commands 2012-10-26 19:36:10 +01:00
Kiall Mac Innes
567b07f305 Add openstack.nose_plugin as a test dep 2012-10-25 18:10:41 +01:00
Kiall Mac Innes
15a271cbda Add Openstack-Nose test dep 2012-10-25 18:01:31 +01:00
Kiall Mac Innes
bfeda12487 Add SQLAlchemy Migrate dep 2012-10-23 18:22:20 +01:00
Kiall Mac Innes
a03c834955 Add some missing deps required by OS-Common 2012-10-23 18:05:48 +01:00
Kiall Mac Innes
7dd8afa3d7 Use the latest version of PEP8 2012-10-22 21:41:56 +01:00
Kiall Mac Innes
2939ef73a9 Add PasteDeploy dep to tools/pip-requires 2012-10-22 17:21:18 +01:00
Kiall Mac Innes
d3cd6007ad Remove duplicate requirement on setuptools-git 2012-10-21 17:10:53 +01:00
Kiall Mac Innes
9f88e0b8a8 Extract setup-requires from setup.py 2012-10-14 21:22:04 +01:00
Kiall Mac Innes
14d38041f9 Move some dep's from test-requires to pip-requires 2012-10-14 19:15:31 +01:00
Kiall Mac Innes
829ad53ed1 Add skeleton test framework 2012-10-13 01:05:53 +01:00