Show 'age' field in subscriptions (redis)

Bug #1589768 reported by OpenStack Infra on 2016-06-07
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zaqar
Undecided
Unassigned

Bug Description

https://review.openstack.org/288908
Dear bug triager. This bug was created since a commit was marked with DOCIMPACT.
Your project "openstack/zaqar" is set up so that we directly report the documentation bugs against it. If this needs changing, the docimpact-group option needs to be added for the project. You can ask the OpenStack infra team (#openstack-infra on freenode) for help if you need to.

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.

    Closes-Bug: 1552845
    APIImpact
    DocImpact
    Change-Id: I18f908b2f137bd4b8e5b3d3275063a1d37942093

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers