Bug 1042069

Summary: [RFE][horizon]: api wrapper modules improvement
Product: Red Hat OpenStack Reporter: RHOS Integration <rhos-integ>
Component: RFEsAssignee: RHOS Maint <rhos-maint>
Status: CLOSED UPSTREAM QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: markmc, yeylon
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://blueprints.launchpad.net/horizon/+spec/api-wrapper-modules
Whiteboard: upstream_milestone_none upstream_status_unknown upstream_definition_obsolete
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-19 17:36:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description RHOS Integration 2013-12-12 20:49:39 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/horizon/+spec/api-wrapper-modules.

Description:

improve  openstack_dashboard/api/* modules:
- wrap module methods into classes that would mostly represent API resources - Tenant, User, Keypair
- these classes would implement basic (CRUD) operations and additional business logic related to these resources
- if a method returns an object, it would return object of this class or other class defined in openstack_dashboard/api/ modules (e.g. flavor_get would return instance of Flavor class which inherits from APIResourceWrapper) instead of an instance of an entity from the underlying client lib. 

Specification URL (additional information):

None