deckhand/etc/deckhand/noauth-paste.ini

36 lines
1.1 KiB
INI

# Copyright 2017 AT&T Intellectual Property. All other rights reserved.
#
# 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.
# PasteDeploy configuration file without Keystone authentication.
[app:api]
paste.app_factory = deckhand.service:deckhand_app_factory
[filter:noauth]
forged_roles = admin
paste.filter_factory = deckhand.control.no_oauth_middleware:noauth_filter_factory
[filter:debug]
use = egg:oslo.middleware#debug
[filter:cors]
paste.filter_factory = oslo_middleware.cors:filter_factory
oslo_config_project = deckhand
[filter:request_id]
paste.filter_factory = oslo_middleware:RequestId.factory
[pipeline:deckhand_api]
pipeline = noauth api