refactor cdh plugin

Registered by Shu Yingya

CDH plugin can be refactored to make it easier for adding new version. I would like to do it as follow:
1. remove codes before CDH 5.5.0 (already done in https://review.openstack.org/#/c/444717/)
2. clean the code related CDH before 5.5.0. There are still some codes which include judgments statements about version like 5.4.0
3. the codes in version dir (like v5_x_0/"cloudera_utils.py", "config_helper.py", "db_helper.py", "deploy.py" and "validation.py"), most of these code are duplicated between each other. we can
 simply move them into base classes. If needed, we also can have a child dir like "cdh5" under "cdh" when "cdh6" releases in the future.
4. add cdh-5.10.0 support

Blueprint information

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

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/refactor-cdh-plugin,n,z

Addressed by: https://review.openstack.org/455606
    Remove outdated judgment statement

Addressed by: https://review.openstack.org/455607
    refactor CDH db_helper

Addressed by: https://review.openstack.org/455608
    Refactor rest of CDH plugin code

Addressed by: https://review.openstack.org/456114
    Refactor unit test of cdh plugin

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.