Add flexible api debuging capabilities for nailgun in fuel client

Registered by Dima Shulyak

Main idea of this blueprint is to introduce flexible debuging capabilities into fuel client, which will allow
to READ, WRITE, DELETE anything that we have in nailgun api.

Why not to use CURL?

1. Need to fetch auth token and then add X-Auth-Token header into request
2. Working with raw response is not very usefull, you need to pretify output from api, to be able to work with it
Lets talk about concrete examples:

1. Read anything from nailgun
fuel api read /api/nodes
Will authenticate and simply fetch /api/nodes output, by default it should just print it to stdout
fuel api read /api/nodes --yaml > all_nodes.yaml

2. Update/create anything that we have in nailgun
fuel api update /api/nodes --path /path/to/file
or even better allow to use pipes

3. Delete is simple
fuel api delete /api/nodes/1

Ofcourse user need to understand what he is doing, but such api will allow to modify literally anything

Blueprint information

Status:
Not started
Approver:
Dmitry Pyzhov
Priority:
Undefined
Drafter:
Dima Shulyak
Direction:
Needs approval
Assignee:
Fuel Python (Deprecated)
Definition:
New
Series goal:
Accepted for 6.1.x
Implementation:
Unknown
Milestone target:
milestone icon next

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.