Create Fuel role with nailgun api/cli
Currently role is fetched from Release.
to freely hack on Fuel.
This blueprint proposes to make several internal changes in db structure and provide api/cli interface for creating role with API.
External API should take a form of:
POST/PUT release/<id>/role
{ name: 'redis',
description: 'Redis server',
volumes: {'id': 'os', 'allocate_size': 'min'}
other_ui_meta...}
GET /release/
DELETE /release/
From cli it should be like:
fuel rel --rel 1 role create --data release_
Role DB object should be extended to include all fields added to API.
UI should fetch roles info not from Release.
Blueprint information
- Status:
- Complete
- Approver:
- Dmitry Pyzhov
- Priority:
- High
- Drafter:
- Dima Shulyak
- Direction:
- Approved
- Assignee:
- Dima Shulyak
- Definition:
- Approved
- Series goal:
- Accepted for 6.1.x
- Implementation:
- Implemented
- Milestone target:
- 6.1
- Started by
- Dima Shulyak
- Completed by
- Dima Shulyak
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Programable API for role entity
Gerrit topic: https:/
Addressed by: https:/
Add actions to operate on role entity
Gerrit topic: https:/
Addressed by: https:/
Add api to operate Role object
Addressed by: https:/
Add guide for role operations
Addressed by: https:/
Cover all roles entities with schema
Gerrit topic: https:/
Addressed by: https:/
Implement check limits for attributes on nailgun
Gerrit topic: https:/