Instead of using paste and depending on the middleware chain, use ceilomenter's strategy and wrap transport's app using the auth_token middleware. NOTE: Tests with successful auth are missing Implements blueprint remove-paste Change-Id: I61e7d1fae6b80114e22c0a43b4e391e2d5443123
18 lines
359 B
Python
18 lines
359 B
Python
"""Marconi Transport Drivers"""
|
|
|
|
from marconi.common import config
|
|
from marconi.transport import base
|
|
|
|
OPTIONS = {
|
|
"auth_strategy": ""
|
|
}
|
|
|
|
cfg = config.project('marconi').from_options(**OPTIONS)
|
|
|
|
MAX_QUEUE_METADATA_SIZE = 64 * 1024
|
|
"""Maximum metadata size per queue when serialized as JSON"""
|
|
|
|
|
|
# Hoist into package namespace
|
|
DriverBase = base.DriverBase
|