
Since controllers are getting pretty long, I moved each class into its own module. I also took the opportunity to reconcile some stylistic differences between the MongoDB and SQLite drivers. Change-Id: If93a3e8db3c75c24aa993304c52f8d119842ce74
32 lines
1.1 KiB
Python
32 lines
1.1 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.storage.mongodb import claims
|
|
from marconi.storage.mongodb import messages
|
|
from marconi.storage.mongodb import queues
|
|
|
|
ClaimController = claims.ClaimController
|
|
MessageController = messages.MessageController
|
|
QueueController = queues.QueueController
|