Bin Yang 4cdcf55d64 Update License Statement for locationservice
Story: 2008529
Task: 41923

Signed-off-by: Bin Yang <bin.yang@windriver.com>
Change-Id: Icd665ffff700f1d915233ee3630ffd8ec5c5d923
2021-02-24 09:58:36 +08:00

22 lines
434 B
Python

#
# Copyright (c) 2021 Wind River Systems, Inc.
#
# SPDX-License-Identifier: Apache-2.0
#
from pecan import make_app
from apiserver.repository.notification_control import notification_control
from pecan import conf
def setup_app(config):
notification_control.refresh()
app_conf = dict(config.app)
return make_app(
app_conf.pop('root'),
logging=getattr(config, 'logging', {}),
**app_conf
)