[
https://issues.apache.org/jira/browse/JCLOUDS-306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13780609#comment-13780609
]
Adrian Cole commented on JCLOUDS-306:
-------------------------------------
While not documented, ListContainers does not page-break, at least on 1000
items by default.
http://docs.openstack.org/api/openstack-object-storage/1.0/content/s_listcontainers.html
A sample response includes a lot of metadata, but no "marker" and returns over
1000 items
13-09-27 16:11:54,757 DEBUG [jclouds.headers] [TestNG] >> GET
https://storage101.dfw1.clouddrive.com/v1/MossoCloudFS_2eb7963d-0f04-4cad-93e0-2227eab8bd7b/?format=json
HTTP/1.1
2013-09-27 16:11:54,757 DEBUG [jclouds.headers] [TestNG] >> Accept:
application/json
2013-09-27 16:11:54,757 DEBUG [jclouds.headers] [TestNG] >> X-Auth-Token: XXX
2013-09-27 16:11:55,060 DEBUG [jclouds.headers] [TestNG] << HTTP/1.1 200 OK
2013-09-27 16:11:55,060 DEBUG [jclouds.headers] [TestNG] <<
X-Account-Object-Count: 0
2013-09-27 16:11:55,060 DEBUG [jclouds.headers] [TestNG] <<
X-Account-Container-Count: 1003
2013-09-27 16:11:55,060 DEBUG [jclouds.headers] [TestNG] <<
X-Account-Meta-Myadd1: foo
2013-09-27 16:11:55,060 DEBUG [jclouds.headers] [TestNG] <<
X-Account-Meta-Testdelete2: bar
2013-09-27 16:11:55,060 DEBUG [jclouds.headers] [TestNG] << Connection:
keep-alive
2013-09-27 16:11:55,060 DEBUG [jclouds.headers] [TestNG] <<
X-Account-Bytes-Used: 0
2013-09-27 16:11:55,060 DEBUG [jclouds.headers] [TestNG] <<
X-Account-Meta-Testdelete1: foo
2013-09-27 16:11:55,060 DEBUG [jclouds.headers] [TestNG] <<
X-Account-Meta-Apiversion: v1.1
2013-09-27 16:11:55,060 DEBUG [jclouds.headers] [TestNG] << Date: Fri, 27 Sep
2013 23:12:00 GMT
2013-09-27 16:11:55,060 DEBUG [jclouds.headers] [TestNG] <<
X-Account-Meta-Apiname: swift
2013-09-27 16:11:55,060 DEBUG [jclouds.headers] [TestNG] <<
X-Account-Meta-Temp-Url-Key: XXX
2013-09-27 16:11:55,060 DEBUG [jclouds.headers] [TestNG] << X-Trans-Id:
tx1e392c5f6d87401e85503-00524610c0dfw1
2013-09-27 16:11:55,060 DEBUG [jclouds.headers] [TestNG] << X-Timestamp:
1348601440.13822
2013-09-27 16:11:55,060 DEBUG [jclouds.headers] [TestNG] <<
X-Account-Meta-Myadd2: bar
2013-09-27 16:11:55,060 DEBUG [jclouds.headers] [TestNG] << Accept-Ranges: bytes
2013-09-27 16:11:55,060 DEBUG [jclouds.headers] [TestNG] << Content-Type:
application/json; charset=utf-8
2013-09-27 16:11:55,060 DEBUG [jclouds.headers] [TestNG] << Content-Length:
61062
--snip--
> Add ContainerApi to openstack-swift
> -----------------------------------
>
> Key: JCLOUDS-306
> URL: https://issues.apache.org/jira/browse/JCLOUDS-306
> Project: jclouds
> Issue Type: Improvement
> Components: jclouds-labs-openstack
> Reporter: Adrian Cole
> Assignee: Adrian Cole
> Fix For: 1.7.0
>
>
> Current ContainerApi doesn't take into account long lists or metadata.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira