Commit Graph

101 Commits

Author SHA1 Message Date
OpenDev Sysadmins 31168a829b OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:49:54 +00:00
Zuo ZongMing 31842b6f3d Update the README
Change-Id: If8d426f73e1e8eaea6dd9a2b8e4fa2b06500d4b4
2017-11-29 15:27:28 +08:00
Zuul 5503d44ee5 Merge "Remove deprecated oslotest.mockpatch usage" 2017-10-27 06:23:46 +00:00
Sean Pryor 6c56e96b5c Removed kwarg enforce_type from oslo.config set_override method
This change relates to change I8a5e868e0adc2c7b6f46f56ee77a8129c34badb9
which removes the kwarg enforce_type from the oslo config library
functions set_override and set_default

Change-Id: Ic1bbd5c965440a38ed9f35dd451f6025c30330ca
2017-10-27 03:09:48 +00:00
Thomas Bechtold 808a5b14fc Remove deprecated oslotest.mockpatch usage
It is deprecated[1] and will be removed soon.

[1] https://docs.openstack.org/oslotest/latest/reference/api/oslotest.mockpatch.html

Change-Id: I06f12724c7e64057f1c5971f4847f878a3f87a51
Closes-Bug: #1712017
2017-10-27 03:08:47 +00:00
Jon Schlueter 0ce7a9d7f3 fixup python35 tox
bilean/api/openstack/versions.py used httplib convert to using
six.moves http_client

https://pythonhosted.org/six/#module-six.moves identified httplib
since six is already part of requirements this is the easiest
approach to making this code python 2 and 3 compatible

Change-Id: Ieb2357fc7c2945b95d9d5d117d6f2ebc8c88d6ae
2017-10-17 23:24:25 -04:00
Dung Ha 2f13fc3283 Fixes all current typo errors on Bilean project.
Change-Id: I3fccec3af657e49f3f149318829eb970f3183913
2017-06-23 05:50:48 +00:00
Jenkins a3fb6de594 Merge "Remove unused logging import" 2017-06-23 03:54:30 +00:00
lvdongbing 6f880c827b Remove sqlite_db in set_defaults()
Config option sqlite_db was removed from oslo.db[1].  Unit tests will be
failed if this argument is set, so we shouldn't set its default value.

[1]cc64f70105

Change-Id: I0f84690a538544a76d2ee536e2c6378d91055528
2017-06-22 15:27:30 +08:00
Anh Tran b35c2b1c4d Remove unused logging import
Change-Id: I087e7a221ea784678e8a90d2666e2ccc28831ecb
2017-02-16 10:21:15 +07:00
Jenkins df84bb1d95 Merge "Add Python 3.5 classifier and venv for bilean" 2016-10-11 02:22:22 +00:00
gengchc2 4b8d059a56 Add Python 3.5 classifier and venv for bilean
Now that there is a passing gate job, we can claim support for
Python 3.5 in the classifier. This patch also adds the
convenience py35 venv.

Change-Id: I5318a89c420e445b4a495f05f7eb0ce59c1ad28d
2016-09-01 17:56:01 +08:00
Jenkins aa15d9e9e3 Merge imports in code
This patch merges all lines importing i18n into 1 line:

http://docs.openstack.org/developer/hacking/#imports

Change-Id: I1f637883cbc5e0efd1bc20feb6cb672b8f92d4a0
2016-09-01 09:10:49 +00:00
Jenkins 03250b0a82 Merge "Translate info-level log messages for LOG.info" 2016-09-01 07:12:06 +00:00
Jenkins cab7399499 Merge "Translate info-level log messages for LOG.warn" 2016-08-30 05:54:14 +00:00
gengchc2 a67563944f Translate info-level log messages for LOG.info
The Log "LOG.info(_LI(...)" is used in some places,
but the log "LOG.info(_(..))"  still used in a few places.

Change-Id: I12a25b9c95f67e08db0f422aa8fcff39028ccf95
2016-08-29 05:22:22 +00:00
gengchc2 2f287ffdc0 Translate info-level log messages for LOG.warn
The Log "LOG.warn(_LW(...)" is used in some places,but
the log "LOG.warn(_(..))"  still used in a few places.

Change-Id: Ife3ce21190907386e69f78f97b9c601467016b89
2016-08-26 23:47:03 +00:00
gengchc2 c6e90aaed2 Correct bilean reraising of exception
When an exception was caught and rethrown, it should call 'raise'
without any arguments because it shows the place where an exception
occured initially instead of place where the exception re-raised

Change-Id: Iee0d0c14c77e4ae2dbd0c3661eb7e3959a244290
2016-08-26 09:14:21 +00:00
Nguyen Hung Phuong e09fdeddad Clean imports in code
In some part in the code we import objects.
In the Openstack style guidelines they recommend to import only
modules.

http://docs.openstack.org/developer/hacking/#imports

Change-Id: Ie752a6115effac5e2539f27340bd6f922e9dae58
2016-08-24 15:51:17 +07:00
lvdongbing a1f01ab73e Suupport to generate resource consumption list.
Change-Id: I691cad21e63772e00602cb0048974e635dc144a1
2016-08-14 23:05:17 -04:00
lvdongbing 673374761e Should generate consumpiton when freeze
Change-Id: Id6d3ef30badc7ca0f7c7e51e61837f1b5390ec7c
2016-08-09 04:26:45 -04:00
Jenkins a6fff8d084 Merge "Auto set first policy as default policy" 2016-08-09 03:28:50 +00:00
lvdongbing 132891b988 Auto set first policy as default policy
Change-Id: I6bd5a8f9718ac9a282c3bd409ae261072a88b8b7
2016-08-08 22:57:45 -04:00
lvdongbing 1a0b71ecb2 Fix the issue that consumption filter not work
Change-Id: I27118fd95864c1383339c3e74da799d3c841d9fd
2016-08-07 23:18:20 -04:00
Jenkins 3223e42c21 Merge "Add os.cinder.volume plugin" 2016-08-05 02:19:42 +00:00
lvdongbing aee6d03c03 Add os.cinder.volume plugin
Change-Id: I0a465fbb1763fd84f95dbe8898788bcea9811fd4
2016-08-04 03:06:12 -04:00
Jenkins 511987913a Merge "Add consumptions API support." 2016-08-04 03:13:41 +00:00
Jenkins afe725693f Merge "Remove discover from test-requirements" 2016-08-04 01:22:05 +00:00
lvdongbing 711c54e6d2 Add consumptions API support.
Change-Id: I56a60b98801fce9de6a792371d3ca60ed5712c56
2016-08-03 21:07:06 -04:00
Swapnil Kulkarni (coolsvap) d0a7db77b8 Remove discover from test-requirements
It's only needed for python < 2.7 which is not supported

Change-Id: Ie7f475496899ef15f4eb2805ebc8ebaeb815fc13
2016-07-21 07:32:59 +00:00
lvdongbing ff26ed98e7 Replace float with decimal
Floating point calculations are inaccurate, often lose precision even
when storing into database. So we replace float with decimal.

Change-Id: I3782264015e0b0e260f0c046dc7c3ea94eab0b52
2016-06-22 21:11:09 -04:00
lvdongbing 5025328bc1 Enable notification messaging pools
Use notification pools by default and use the same notification
topic as ceilometer, separate notification topic is no need to add.

Change-Id: Ieef1ece78e6e8d20abfeea9546e1a9170b7eeb70
2016-06-11 21:33:42 -04:00
Andreas Jaeger e5385d4e9b Remove unused POT files
We do not store translation source files anymore
in git, remove the outdated file.

Change-Id: I24da40db05492e413768da8b4885242810a6c517
2016-06-09 15:09:49 +02:00
Jenkins 0e72931d84 Merge "Combine rules and resources to plugins" 2016-06-06 13:44:53 +00:00
lvdongbing 1dbdb83115 Combine rules and resources to plugins
Change-Id: Iee26ccbd47918c198edbcea5f9368d0609783e2b
2016-06-06 05:40:36 -04:00
ZhongShengping f084d62739 Add Documentation in README.rst
Change-Id: I430d0848fc911db53c5fe3d96755f35dd7b6577d
2016-06-03 22:54:48 +08:00
Jenkins 3746f1cb34 Merge "Support readthedocs" 2016-05-26 09:08:29 +00:00
lvdongbing 4981409b2c Support readthedocs
Change-Id: Iae3a15cf1f2f2455a5284b42017291b815e7cc7e
2016-05-26 04:57:34 -04:00
Jenkins 0a70196545 Merge "Revise policy conf" 2016-05-26 06:30:55 +00:00
lvdongbing 6fd1258861 Revise resource definition conf
Change-Id: I9354654f99c61961228147ed3e984a63102bbaaa
2016-05-24 05:30:52 -04:00
lvdongbing b54485fb0d Revise policy conf
Change-Id: I5c94aa7e5d0428073efb5465ec450cc09ef584a5
2016-05-24 05:29:48 -04:00
Jenkins e6f58709bc Merge "Ignore ATHORS and ChangeLog" 2016-05-23 09:30:41 +00:00
lvdongbing 277b7f7809 Ignore ATHORS and ChangeLog
Change-Id: I9d68fbbe6aede2ebba3b495b291b0f8fa0a5aec7
2016-05-23 05:09:31 -04:00
lvdongbing dd679bba81 Revise install doc
As devstack plugin is added, this commit revises install doc about
installing bilean via devstack.

Change-Id: I6052e83a3d503b941e8fc44a0db9f1f0d73b5816
2016-05-23 05:06:34 -04:00
lvdongbing 3274078d80 Add devstack plugin
Implements: blueprint bilean-devstack
Change-Id: Iad273d97806b939f7f10356eb6deae256f760cc2
2016-05-17 05:40:34 -04:00
Jenkins 2408d71cb4 Merge "Modify api and remove project_id" 2016-05-12 03:16:10 +00:00
lvdongbing d1f574f9dc Modify api and remove project_id
Change-Id: If87115db29f6f1bf80963be2b3af5d6d8a5f1caf
2016-05-11 21:32:49 -04:00
lvdongbing f0d0a1403a Separate consumption and recharge from event
Change-Id: I77d8ae8952f8a436105277f13ca469ea7130aa97
2016-04-14 05:51:33 -04:00
Jenkins 2c9d918525 Merge "Add 'name' field to user object" 2016-04-12 09:33:11 +00:00
lvdongbing 3a825e2e07 Add 'name' field to user object
Change-Id: I47bd9e0b35e61e9999c4563b797764a7e002b086
2016-04-12 05:12:04 -04:00