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

26 lines
485 B
Python

#coding=utf-8
#
# Copyright (c) 2021 Wind River Systems, Inc.
#
# SPDX-License-Identifier: Apache-2.0
#
from pecan import expose, redirect, rest, route, response
from webob.exc import status_map
from wsme import types as wtypes
from wsmeext.pecan import wsexpose
class HealthController(rest.RestController):
@wsexpose(wtypes.text)
def get(self):
return {'health': True}
class RootController(object):
pass
route(RootController, 'health', HealthController())