commit 897424af777b10e2c8e79f79de6f7e5a37b096c5
Author: Eva Balycheva <email address hidden>
Date: Sat Mar 5 06:28:34 2016 +0300
Show 'age' field in subscriptions (redis)
We recently fixed subscriptions and now they are expirable resources as
they should be.
This patch adds 'age' field to subscription resource representation
which is exposed to the user and defined in redis driver.
This patch also removes existing 'expires' field, because:
1. The 'expires' field is missing in mongodb's subscription resource
representation. (But age field was also missing until a recent patch).
2. The 'expires' field has int (timestamp) format, which is not human
readable.
3. Other Zaqar's expirable resources show 'age' and 'ttl' fields instead
of showing 'expires' field.
4. There is no need in 'expires' field when 'age' and 'ttl' fields are
exposed to the user.
This change in unlikely to affect backward compatibility, because
subscription expirations started to work only recently.
Reviewed: https:/ /review. openstack. org/288908 /git.openstack. org/cgit/ openstack/ zaqar/commit/ ?id=897424af777 b10e2c8e79f79de 6f7e5a37b096c5
Committed: https:/
Submitter: Jenkins
Branch: master
commit 897424af777b10e 2c8e79f79de6f7e 5a37b096c5
Author: Eva Balycheva <email address hidden>
Date: Sat Mar 5 06:28:34 2016 +0300
Show 'age' field in subscriptions (redis)
We recently fixed subscriptions and now they are expirable resources as
they should be.
This patch adds 'age' field to subscription resource representation
which is exposed to the user and defined in redis driver.
This patch also removes existing 'expires' field, because:
1. The 'expires' field is missing in mongodb's subscription resource
representation. (But age field was also missing until a recent patch).
2. The 'expires' field has int (timestamp) format, which is not human
readable.
3. Other Zaqar's expirable resources show 'age' and 'ttl' fields instead
of showing 'expires' field.
4. There is no need in 'expires' field when 'age' and 'ttl' fields are
exposed to the user.
This change in unlikely to affect backward compatibility, because
subscription expirations started to work only recently.
Closes-Bug: 1552845 4b8e5b3d3275063 a1d37942093
APIImpact
DocImpact
Change-Id: I18f908b2f137bd