ha/service-mgmt-api/sm-api/sm_api/api/config.py
Bin Qian 045a37c672 Create independent sm-api client
1. use sm-api.conf for sm-api configuration
2. create sm-api client code and command line entry
3. add keystone authentication for accessing sm-api
4. removed dead sm-api client code

Story: 2002827
Task: 22744

Depends-On: I743f6b0f09c06325d3c9dc6e11902420882e7931
Change-Id: I861a6fa144494e135f6eb67d96e874d25f4db5d4
Signed-off-by: Bin Qian <bin.qian@windriver.com>
2018-08-13 14:16:57 -04:00

18 lines
416 B
Python

#
# Copyright (c) 2014-2018 Wind River Systems, Inc.
#
# SPDX-License-Identifier: Apache-2.0
#
# Server Configuration
server = {'host': '0.0.0.0', 'port': '7777'}
# Pecan Application Configurations
app = {'root': 'sm_api.api.controllers.root.RootController',
'modules': ['sm_api'],
'static_root': '',
'debug': False,
'enable_acl': True,
'acl_public_routes': ['/', '/v1']
}