manila/manila
Goutham Pacha Ravi e983358493 Fix Share Replica details in the API
share_server_id is an admin privileged resource and
the tenant facing /share-replicas APIs are currently
returning it.

Fix this by returning the attribute only if the request is
made with administrator context.

Also add updated_at to better reflect when Manila
last updated the replica.

APIImpact:
Please review contractual changes on API Microversion
2.11. This change does not bump up the microversion
since:
 - Server still is on 2.11
 - /share-replicas APIs are experimental

Closes-Bug: 1544813

Change-Id: I8e4d2823c0737754bddac6ac5f25755842c6d492
2016-02-12 02:17:22 +00:00
..
api Fix Share Replica details in the API 2016-02-12 02:17:22 +00:00
cmd Using dict.items() is better than six.iteritems(dict) 2016-01-19 22:22:48 +08:00
common Share Replication API and Scheduler Support 2016-02-11 19:45:37 +00:00
compute Remove unused server_get() method 2016-01-21 09:16:14 +01:00
consistency_group Add space to message in manila/consistency_group/api.py 2015-12-17 06:56:43 +00:00
db Share Replication API and Scheduler Support 2016-02-11 19:45:37 +00:00
hacking Performance: leverage dict comprehension in PEP-0274 2015-12-11 19:24:56 -05:00
network Fix usage of standlone_network_plugin 2016-01-15 13:00:03 +02:00
scheduler Share Replication API and Scheduler Support 2016-02-11 19:45:37 +00:00
share Share Replication API and Scheduler Support 2016-02-11 19:45:37 +00:00
testing Rewrited mox tests to mock (part 2) 2014-06-17 17:55:21 +03:00
tests Fix Share Replica details in the API 2016-02-12 02:17:22 +00:00
volume Fix exceptions handling for py34 compatibility 2015-08-05 17:15:46 +03:00
__init__.py Remove vim headers 2014-10-06 15:00:27 +02:00
context.py Merge "Replace deprecated [logger/LOG].warn with warning" 2016-01-09 05:32:59 +00:00
exception.py Share Replication API and Scheduler Support 2016-02-11 19:45:37 +00:00
i18n.py Switch to using oslo_* instead of oslo.* 2015-01-27 09:19:50 +01:00
manager.py Reuse 'periodic_task' from oslo_service 2015-07-20 19:38:19 +03:00
opts.py Reorganize scheduler and merge code from Oslo incubator 2015-12-01 20:54:17 +00:00
policy.py Use oslo_policy lib instead of oslo-incubator code 2015-04-21 13:05:42 +03:00
quota.py Using dict.items() is better than six.iteritems(dict) 2016-01-19 22:22:48 +08:00
rpc.py Drop use of 'oslo' namespace package 2015-04-29 16:51:33 +03:00
service.py Trivial Fix: fix missing import 2016-01-21 19:36:47 +08:00
test.py Using dict.items() is better than six.iteritems(dict) 2016-01-19 22:22:48 +08:00
utils.py timeutils.total_seconds() is deprecated 2015-12-02 09:36:44 +08:00
version.py Remove vim headers 2014-10-06 15:00:27 +02:00
wsgi.py Using dict.items() is better than six.iteritems(dict) 2016-01-19 22:22:48 +08:00