Commit Graph

23 Commits

Author SHA1 Message Date
Andreas Jaeger b014dbe64c Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.

Fix problems found.

Update local hacking checks for new flake8.

Change-Id: I41a5518f1210c9a1b6d5217bbbcd99bbaa3c9b53
2020-08-18 22:27:09 -03:00
Justin Ferrieu 16b6fa5ce8 Removing author identification in all files
As specified by the OpenStack Style Guidelines in its 1.1.1.dev15
version, which is the latest version to this day, *author* tags
should not be specified (see H105).

https://docs.openstack.org/hacking/latest/user/hacking.html#general

Change-Id: I0ab7359e15eb04948c7a905378001a66cb901e69
2019-07-22 12:21:54 +00:00
Luka Peschke 9c88e50b73 Add a custom JSONEncoder
A custom JSONEncoder allowing to serialize decimal.Decimal instances
is defined in several places in the codebase. This provides a common
encoder class that supports decimal.Decimal and datetime.datetime objects.

Change-Id: Ie65b1f97f2eeb7a8bc6203576bdbc50b109867cc
2019-02-13 15:05:17 +01:00
Luka Peschke dd64aaa3d5 Remove Ceilometer collector and transformer
As announced during the Queens cycle, all ceilometer-collector
related code has been removed.

Change-Id: I03f9a89ae4bc970fbc421dd6964be95cdacfe758
Task: 6293
Story: 2001503
2018-03-07 09:14:02 +00:00
Jenkins 9a26753b3b Merge "Changes default port from 8888 to 8889" 2016-06-29 15:24:49 +00:00
Michael Rice ab38996aaf Changes default port from 8888 to 8889
Closes-Bug: 1566705
Change-Id: I0a1e5ba643f3222bb494d16e89194a96f9395d5b
2016-06-29 14:53:00 +02:00
Gauvain Pocentek 867389302b Remove spec file since cloudkitty is in RDO
Change-Id: I24de09fc42cf30d605548d7ecbc1f32a5f9c9948
2016-06-13 15:21:41 +02:00
Aaron-DH a98d3b99e4 Load wsgi app(api) with paste.deploy
More scalable to add a filter

Change-Id: Ib5d3bd16d2bfbafc5a0aa5ef3b8db780e3b97520
2016-01-02 13:42:13 +08:00
Bertrand Lallau 50199eb15a Remove iso8601 dependency
CloudKitty does not import and use this module directly,
no need to list it in the requirements.
This dependency was required before oslo_utils.

Change-Id: Ie323185b6006af306b09f814ac92c19049d94d5a
2015-12-13 09:43:05 +01:00
Stéphane Albert 4be901f871 Updated files to the new namespace
Change-Id: If169e093dec77acfda028c81a193a5d867cdc8f1
2015-10-19 11:46:45 +02:00
Stéphane Albert 1039e44ee6 Moving to Liberty cycle (0.5)
Transitioned from deprecated oslo namespace to newer ones.
Updated requirements.
Updated configuration.

Change-Id: Ic395878a21564ceed6febe85179523efd9956eb9
2015-08-28 16:51:03 +02:00
Stéphane Albert a5bbe50dbd Refactored meta collector API
Global improvement of the API.
Added support for policy engine.
Added new policy rights to manage the collector mappings.
Updated documentation.
Added contrib script to do simple API tests.

Change-Id: Ibb9dc1e0c7ead75922d777a669e0270b632c4631
2015-06-03 09:23:46 +02:00
Stéphane Albert 9791135939 Changed network bandwidth from B to MB
Change-Id: I97fcfe6f0f5a9a7a7859058eae93b926579f3328
2015-05-13 23:29:19 +02:00
Stéphane Albert f7e9102dcb Added a fake fetcher and collector
Loads data from CSV file.
Added a tool to generate data to csv file.
These tools will be used for future CI and tests.

Change-Id: Id1fa2ab02976298c9bbf0c9cc21551e964e81804
2015-05-13 21:06:17 +02:00
Stéphane Albert a5961cff80 Added support for dashboard in devstack
Moved to devstack plugin.
Added section in the documentation related to CloudKitty's devstack
integration.

Change-Id: I9a7ce8c73724a54fb7855d788a1c4cb56a832535
2015-05-12 19:20:14 +02:00
Gauvain Pocentek f5bf240c88 Update the devstack scripts
The `auth` section doesn't exist anymore, it's been replaced with the
`keystone_fetcher` one.

Change-Id: I04a0990779031fbf0edace8fd24798c2e87d7819
2015-05-05 19:26:01 +02:00
Gauvain Pocentek 1960a4c114 Add ACL support on the API
Right now every authenticated user can perform administration actions on
CloudKitty's API. This patch uses oslo.context and oslo.policy to enable
a policy engine.

Enforcement of the policy will be added in another patchset.

Change-Id: Ia88a37b259f12aee00f65876686d12411297b8fb
2015-05-05 11:36:01 +02:00
Gauvain Pocentek dd81c45eb1 Added CloudKitty client install to devstack
Use the stackforge/python-cloudkittyclient repository to install the
client library and CLI.

Change-Id: If068b7c1473728d4e448cb8a75c844a1e18b6e71
2015-04-20 17:34:04 +02:00
Gauvain Pocentek 3bf8815b19 devstack: configure keystone middleware
Change-Id: I75337deb8c31d4554081684407a393fee4d3cece
2015-04-01 10:07:08 +02:00
Jenkins 7bc0aaca37 Merge "Update the devstack lib and documentation" 2015-03-05 08:31:37 +00:00
Gauvain Pocentek 98f0698f71 Move extra files to the contrib/ dir
Move all the packaging related files to contrib/.

Rework the .spec file to make automated builds easier.

Change-Id: I96482fdb838f46f9dcb57c725f3029a1ccf428f9
2015-03-03 14:46:09 +01:00
Gauvain Pocentek 4c3d82a69b Update the devstack lib and documentation
Reflect the latest changes in the configuration file, and use newer
devstack functions where possible.

Update the doc to make it a bit less verbose.

Change-Id: I2c1b28377a471b8e54da8dceacf0c1283d52302d
2015-03-02 12:01:05 +01:00
François Magimel 4dd1eb113d Add Devstack support for the api
Change-Id: If9140e12879bcbb850ab58ade2a88cfc703b98c7
2014-08-25 16:29:15 +02:00