fuel-certification

Registered by Kostiantyn Danylov

fuel-client changes
===================

Currently fuel-client code is optimized to be used from command-line, but not
as a library from other scripts. We aim to fix this, which preserving backward
compatibility as much as possible. Also code lack of separation of concepts
and some parameters passed implicitly (using environment variables).

Proposed changes
================

1) Allows Client class to be instaltiated using dictinary of parameters.
2) Move all hardcoded values, like path_to_config in Client.__init__ to
    parameters with default values or class members, so they can be overloaded
3) Add function to client.py to override default instance of Client class or
   (much better) force all other code to use explicitly instantiated Client
   classes
4) Swith from manual logging method to logging module
5) Move all explicit HTTP calls (request.get/request.post/etc) to separated
   class

6) Apply 1-4 to FuelClientSettings class as well

Additional functionality
========================

1) Add CLI call, which allowed to create entire cluster from single yaml file
2) Add CLI option to set logging config
3) Add CLI call to dump current cluster into yaml file
4) Add CLI call to run tests on specific environment

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
Kostiantyn Danylov
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.