
Shard turned out to be a quite overloaded/confusing term to use here, although correct. We decided to rename our shard feature to pool. P.S: I swear I didn't use sed O.O Change-Id: Ic54f29a4da7d7690c9c9210b74876b96f0ae0eac
37 lines
1.3 KiB
Python
37 lines
1.3 KiB
Python
# Copyright (c) 2013 Red Hat, Inc.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
# implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
"""Exports Mongodb storage controllers.
|
|
|
|
Field Mappings:
|
|
In order to reduce the disk / memory space used,
|
|
fields name will be, most of the time, the first
|
|
letter of their long name. Fields mapping will be
|
|
updated and documented in each controller class.
|
|
"""
|
|
|
|
from marconi.queues.storage.mongodb import catalogue
|
|
from marconi.queues.storage.mongodb import claims
|
|
from marconi.queues.storage.mongodb import messages
|
|
from marconi.queues.storage.mongodb import pools
|
|
from marconi.queues.storage.mongodb import queues
|
|
|
|
|
|
CatalogueController = catalogue.CatalogueController
|
|
ClaimController = claims.ClaimController
|
|
MessageController = messages.MessageController
|
|
QueueController = queues.QueueController
|
|
PoolsController = pools.PoolsController
|