summaryrefslogtreecommitdiff
path: root/openstackclient/object/client.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove ClientManager._service_catalogDean Troyer2014-10-181-4/+4
| | | | | | | | | | Anything that needs a service catalog can get it directly from auth_ref.service_catalog, no need to carry the extra attribute. ClientManager.get_endpoint_for_service_type() reamins the proper method to get an endpoint for clients that still need one directly. Change-Id: I809091c9c71d08f29606d7fd8b500898ff2cb8ae
* Fix issues with object related commandsSteve Martinelli2014-10-061-6/+0
| | | | | | | | | | | | | | | 1) Can't create instance of swiftclient. Since we now create an API instance, creating a swiftclient instance won't work. Trying to do any object related command fails. 2) Listing objects in a container fails, we depend on the data returned in a specific way, during the API transition this must have slipped through. Needs regression/funcitonal tests to mame sure this doesn't happen again. Change-Id: I69079a0dc9f32b84e6f9307729d3dbbba549ac5e
* Move object-store commands to low-level APIDean Troyer2014-10-011-16/+6
| | | | | | | | api.object_store.APIv1 now contains the formerly top-level functions implementing the object-store REST client. This replaces the old-style ObjectClientv1 that is no longer necessary. Change-Id: I7d8fea326b214481e7d6b24119bd41777c6aa968
* More make_client() logging cleanupDean Troyer2014-07-261-1/+1
| | | | Change-Id: I5af4b9c52c69d6e31e6ca5f90d5880c097880a71
* Change object API_NAME to 'object_store'Steve Martinelli2014-07-171-2/+3
| | | | | | | | Previously the API_NAME was 'object-store' which caused all sorts of failures when running swift commands Change-Id: I448ca10f7d173024313722246e63cf23fd71117c Closes-Bug: #1343658
* Clean up make_client() loggingDean Troyer2014-07-081-1/+2
| | | | Change-Id: I0b6760a6401b50e3dfb891af75424ae89df42ebc
* Restore Object API name 'object-store'Dean Troyer2013-11-251-1/+1
| | | | | | It's used in the service catalog, doh! Change-Id: If8f6db49c84756fd8e58cc68910160da4cd99b5d
* Expand support for command extensionsDean Troyer2013-11-211-1/+17
| | | | | | | | | | | | Allows client libraries to have complete access to the rest of the OSC ClientManager. In addition, extension libraries can define global options (for API version options/env vars) and define versioned API entry points similar to the in-repo commands. The changes to ClientManager exposed some issues in the existing object api tests that needed to be cleaned up. Change-Id: Ic9662edf34c5dd130a2f1a69d2454adefc1f8a95
* Object API commands using our REST API layerDean Troyer2013-08-281-0/+58
* Add object-store API to ClientManager * Add object-store client * Add Object API library in openstackclient.object.v1.lib * Add Object API {container,object} list commands * Add library tests * Add command tests This should complete the Object v1 container and object list commands Change-Id: Ib1770d45efa8871959826b85faafa1e0bcef0a03