8 Commits

Author SHA1 Message Date
Sylvain Bauza
53059527c1 Update requirements, fix oslo imports and correct tests
Since Blazar was in Winter, lots of tech debt was added.

This big change is actually trying to provide a +1 from Jenkins voting jobs.
ie.

 - fix calls to oslo_config
 - correct unittests failing due to removed assert_called()
 - remove pep8 check for verifying blazar.conf (can be readded later)
 - fix oslo_messaging imports

Not sure it's fully functional, Tempest needs to be fixed too but I
hope the gate will allow that change to pass.

Change-Id: Ib70b5b48b47626fc2613ee894d1162219417994f
2015-09-04 13:17:25 +02:00
Cristian A Sanchez
6b26ecaf75 Change references of tenant to project
Refernces from tenant to project were made in several
places, including DB, HTTP Headers, configuration items,
json in responses and devstack integration. Additionally,
a migration script using Alembic was included.

Implements: blueprint tenant-to-project-ref
Change-Id: I4b21182f555ccd412a4ca4e0ce753f07edcd07f8
2014-04-17 11:16:09 -03:00
Sylvain Bauza
eb0c81f95a Port to Pecan/WSME for API v2
Routing either V1 or V2 using a Facade. By default, V1 is enabled
but can be deactivated by a confflag.

Pecan controller for Lease created using WSME i/o validation

Implements blueprint: pecan-wsme

Change-Id: I9047abece78632daa13fdebfea9fb8aaa3c60981
2014-03-31 13:45:48 +02:00
Sylvain Bauza
c219fb6903 Clean-up config files for API and Manager
Moves some config files for better clarity, and adds the possibility to
define climate-api.conf and climate-manager.conf

Change-Id: I8b628d051a563bec9f644710e44b6d87a1f7de88
Closes-Bug: #1284716
2014-02-27 11:58:41 +01:00
Swann Croiset
e9d03ee1ea Reworking configuration options
Use config tools from Oslo-incubator :

* generate a consistant config file sample:
  etc/climate/climate.conf.sample

* Add a new check in tox env 'pep8' to check out-dated config file sample.

Move specifics options for admin credential in group config 'physical:host'

Factorize by declaring config options in each plugins with available values and
centralizing RESOURCE_TYPE value in plugin's module (one dir per plugin)

Use socket.gethostname() in place of socket.getfqdn() to have
predictable default value for 'host' config in climate.config,
since it's ugly forced in openstack.common.config.generator#L232

Fixes: bug #1271875

Change-Id: Ie54fc98b58b49400360c4fd2ce7d8bb3b75915e2
2014-02-24 18:04:22 +01:00
Dina Belova
429b48fae0 Remove nova dependency
Nova filter should be removed to the separated repo.
That fixes Jenkins tests/gate jobs fails.

Fixes: bug #1254018
Change-Id: I725dd222204f159e9fe3b1ebd64292de62d62a1b
2013-11-22 17:16:23 +04:00
Dina Belova
f50a50b3fe Implement Manager service.
Implement RPC service to work with plugins and DB.
Base plugin class added.

Implements: blueprint lease-manager
Change-Id: Icbed7fabef6c0673c62f67017e5e9cd8d257b5ee
2013-11-14 17:50:11 +01:00
Dina Belova
7b6cd50ecd Implement REST API.
Change-Id: I7b63c692f153d766ddd3ab261bdc0c1715934c0b
2013-10-22 16:11:06 +04:00