Improve consumption of oslo code

Registered by Lin Hua Cheng

Horizon currently have a copy of the oslo code in the openstack_dashboard/common directory, instead of having a copy we should move this into a dependency model so that we don't have to manual sync the code anymore.

Blueprint information

Status:
Complete
Approver:
David Lyle
Priority:
Medium
Drafter:
Lin Hua Cheng
Direction:
Approved
Assignee:
Lin Hua Cheng
Definition:
Approved
Series goal:
Accepted for kilo
Implementation:
Implemented
Milestone target:
milestone icon 2015.1.0
Started by
Felipe Reyes
Completed by
Lin Hua Cheng

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/improve-oslo-usage,n,z

Addressed by: https://review.openstack.org/113626
    Replace timeutils from openstack-common with oslo.utils

Addressed by: https://review.openstack.org/113677
    Replace excutils from openstack-common with oslo.utils

[Lin Oct-2-2014] freyes: I haven't seen much activity for a while on this patch, are you still interested to work on it? If not, I like to work on it. Let me know. Thanks

[Lin Oct-7-2014] Here are the work needed:

Use the code oslo.utils and remove the copy in horizon:
- excutils
- importutils
- strutils
- timeutils

Use the code from oslo.i18n and remove the copy in horizon:
- gettextutils

Update the copy from oslo-incubator:
- fileutils
- local
- log
- policy

Use the code from oslo.serialization
- jsonutils

[Lin Oct-7-2014] I've been trying to reach out to freyes through IRC and mail, I plan to work on this if I still don't get a response.

Addressed by: https://review.openstack.org/127405
    Add graduated oslo code to requirements

Addressed by: https://review.openstack.org/127407
    Use timeutils from oslo.utils

Addressed by: https://review.openstack.org/127410
    Use strutils from oslo.utils

Addressed by: https://review.openstack.org/127681
    Sync oslo-incubator for fileutils, log and policy

Addressed by: https://review.openstack.org/127703
    Migrate jsonutils to oslo.serializer.jsonutils

Addressed by: https://review.openstack.org/127718
    Use strutils from oslo.utils

Addressed by: https://review.openstack.org/127719
    Use timeutils from oslo.utils

Addressed by: https://review.openstack.org/128101
    Use importutils from oslo.utils

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.