Uploaded image for project: 'Usergrid (Retired)'
  1. Usergrid (Retired)
  2. USERGRID-1271

Enforce a TTL For Entities

    XMLWordPrintableJSON

Details

    • Story
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.2.0
    • None
    • Stack

    Description

      Usergrid should support the ability to set a TTL for an entity:

      1) When it is created, using either the qparam TTL (in seconds)
      2) After it is created by calling PUT /

      {org}

      /

      {app}

      /

      {collection}

      /

      {entity}

      /_ttl (value in seconds)

      A TTL of -1 should indicate that there is no expiry.

      Also the ttl should be returned in the 'metadata' section of an entity if there is a TTL.

      When setting a TTL, ensure all column families and related data are updated:
      1) MVCC_Entity_Data_
      2) Unique_Values_
      3) Directed edges in all of Graph_
      4) The edge reference in appropriate Edge_Shards row
      5) The indexed document in ElasticSearch

      Attachments

        Activity

          People

            Ayesha12 Ayesha Amrin Dastagiri
            jeffreyawest Jeffrey West
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: