"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "zaqar/storage/redis/subscriptions.py" between
zaqar-5.0.0.tar.gz and zaqar-7.0.0.tar.gz

About: OpenStack Zaqar is a multi-tenant cloud messaging and notification service for web and mobile developers.
The "Rocky" series (latest release).

subscriptions.py  (zaqar-5.0.0):subscriptions.py  (zaqar-7.0.0)
skipping to change at line 34 skipping to change at line 34
from zaqar.storage import errors from zaqar.storage import errors
from zaqar.storage.redis import models from zaqar.storage.redis import models
from zaqar.storage.redis import utils from zaqar.storage.redis import utils
SubscriptionEnvelope = models.SubscriptionEnvelope SubscriptionEnvelope = models.SubscriptionEnvelope
SUBSET_INDEX_KEY = 'subset_index' SUBSET_INDEX_KEY = 'subset_index'
SUBSCRIPTION_IDS_SUFFIX = 'subscriptions' SUBSCRIPTION_IDS_SUFFIX = 'subscriptions'
class SubscriptionController(base.Subscription): class SubscriptionController(base.Subscription):
"""Implements subscription resource operations using MongoDB. """Implements subscription resource operations using Redis.
Subscriptions are unique by project + queue/topic + subscriber. Subscriptions are unique by project + queue + subscriber.
Schema: Schema:
's': source :: six.text_type 's': source :: six.text_type
'u': subscriber:: six.text_type 'u': subscriber:: six.text_type
't': ttl:: int 't': ttl:: int
'e': expires: int 'e': expires: int
'o': options :: dict 'o': options :: dict
'p': project :: six.text_type 'p': project :: six.text_type
""" """
def __init__(self, *args, **kwargs): def __init__(self, *args, **kwargs):
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)