Re: [openstack-dev] [cinder] about the cinder /volumes and /volumes/detail sort APIs

2015-10-26 Thread chenying
Thanks. Duncan. It is clear to me. We will plan to update our porject code 
using new sort API.

Best regard.chenying(IRC) ying.c...@huawei.com

Date: Mon, 26 Oct 2015 14:06:58 +0200
From: duncan.tho...@gmail.com
To: openstack-dev@lists.openstack.org
Subject: Re: [openstack-dev] [cinder] about the cinder /volumes and 
/volumes/detail sort APIs

The deprecated API will be removed in some future release, though the date for 
that is not know. It is not advised to code against a deprecated API for this 
reason, and any existing code that operates against a deprecated API should be 
updated where possible.
That said, the deprecated code in question is small and self contained, so if 
you are aware of any project(s) that make use of it, please let us know and we 
can try to avoid removing it until those projects are fixed up.
On 26 Oct 2015 11:15, "chenying"  wrote:



hi Folks
I find that the v2 /volumes and /volumes/detail sort API has been updated  
to support multiple sort keys and sort directions using the single 'sort' 
parameterin this patch[1]. But this patch still supported old API using 
'sort_key' and 'sort_dir' parameters which have been deprecated. We did not 
stop supporting the old API.So I want to know will the deprecated old sort 
APIs supporting code be deleted in the future? Or 'sort_key' and 'sort_dir' 
parameters will still be supported forever.
[1]https://review.openstack.org/#/c/141914/
Best regard.chenying(IRC) ying.c...@huawei.com  
  

__

OpenStack Development Mailing List (not for usage questions)

Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe

http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev




__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev   
  __
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [cinder] about the cinder /volumes and /volumes/detail sort APIs

2015-10-26 Thread Duncan Thomas
The deprecated API will be removed in some future release, though the date
for that is not know. It is not advised to code against a deprecated API
for this reason, and any existing code that operates against a deprecated
API should be updated where possible.

That said, the deprecated code in question is small and self contained, so
if you are aware of any project(s) that make use of it, please let us know
and we can try to avoid removing it until those projects are fixed up.
On 26 Oct 2015 11:15, "chenying"  wrote:

> hi Folks
>
> I find that the v2 /volumes and /volumes/detail sort API has been
> updated
> to support multiple sort keys and sort directions using the single 'sort'
> parameter
> in this patch[1].
> But this patch still supported old API using 'sort_key' and 'sort_dir'
> parameters
> which have been deprecated. We did not stop supporting the old API.
> So I want to know will the deprecated old sort APIs supporting code be
> deleted
> in the future? Or 'sort_key' and 'sort_dir' parameters will still be
> supported forever.
>
> [1]https://review.openstack.org/#/c/141914/
>
> Best regard.
> chenying(IRC)
> ying.c...@huawei.com
>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [cinder] about the cinder /volumes and /volumes/detail sort APIs

2015-10-25 Thread chenying
hi Folks
I find that the v2 /volumes and /volumes/detail sort API has been updated  
to support multiple sort keys and sort directions using the single 'sort' 
parameterin this patch[1]. But this patch still supported old API using 
'sort_key' and 'sort_dir' parameters which have been deprecated. We did not 
stop supporting the old API.So I want to know will the deprecated old sort 
APIs supporting code be deleted in the future? Or 'sort_key' and 'sort_dir' 
parameters will still be supported forever.
[1]https://review.openstack.org/#/c/141914/
Best regard.chenying(IRC) ying.c...@huawei.com  
  __
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev