Project

General

Profile

Actions

Feature #10984

closed

RGW Swift API: support for feature discoverability

Added by Radoslaw Zarzynski about 9 years ago. Updated almost 8 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

It would be nice to have support for Feature Discoverability in RGW. Please refer to: http://docs.openstack.org/api/openstack-object-storage/1.0/content/discoverability.html.
Swift currently implements it.

RGW via civetweb: curl -i http://localhost:8000/swift/info -X GET

HTTP/1.1 405 Method Not Allowed
Content-Length: 27
Accept-Ranges: bytes
Content-type: application/json; charset=utf-8
Date: Mon, 02 Mar 2015 10:26:01 GMT

{"Code":"MethodNotAllowed"}

Swift: curl -X GET -i http://localhost:9090/info

HTTP/1.1 200 OK
Content-Length: 780
Content-Type: application/json; charset=UTF-8
X-Trans-Id: txb54fe615e25e4f6482331-0054f4392f
Date: Mon, 02 Mar 2015 10:19:27 GMT

{"bulk_delete": {"max_failed_deletes": 1000, "max_deletes_per_request": 10000}, "container_quotas": {}, "swift": {"max_file_size": 5368709122, "account_listing_limit": 10000, "max_meta_count": 90, "max_meta_value_length": 256, "container_listing_limit": 10000, "version": "1.13.1", "max_meta_name_length": 128, "max_object_name_length": 1024, "max_account_name_length": 256, "strict_cors_mode": true, "max_container_name_length": 256}, "tempurl": {"methods": ["GET", "HEAD", "PUT"]}, "bulk_upload": {"max_failed_extractions": 1000, "max_containers_per_extraction": 10000}, "container_sync": {"realms": {}}, "ratelimit": {}, "slo": {"max_manifest_segments": 1000, "min_segment_size": 1048576, "max_manifest_size": 2097152}, "account_quotas": {}, "tempauth": {"account_acls": true}}

Actions #1

Updated by Orit Wasserman almost 8 years ago

  • Status changed from New to Duplicate

duplicate of #8945

Actions

Also available in: Atom PDF