Refactor the clients used in protect service

Registered by zengchen

In protection service, both protect and restore operation use user token
passed by context to create clients of other openstack services and access them
by that client. It may fail to access other services because of the expiration
of user token.

Blueprint information

Status:
Started
Approver:
None
Priority:
Undefined
Drafter:
zengchen
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
None
Implementation:
Needs Code Review
Milestone target:
None
Started by
chenying

Related branches

Sprints

Whiteboard

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

Addressed by: https://review.openstack.org/403330
    Spec: Refactor the clients used in protect service

Gerrit topic: https://review.openstack.org/#q,topic:bug/1566793,n,z

Addressed by: https://review.openstack.org/404644
    Refactor clients used in protect service

Addressed by: https://review.openstack.org/407899
    Refactor clients used in protect service

Addressed by: https://review.openstack.org/407990
    Update the way of getting endpoint of other service

Addressed by: https://review.openstack.org/408382
    Fix token expire wich may happen in using clients

Addressed by: https://review.openstack.org/408400
    Use common config in clients

Addressed by: https://review.openstack.org/424005
    Fix token expire wich may happen in using clients

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.