Bin Yang 545e6b6bb0 Add Notification Services and Notification Client Sidecar
Story: 2008529
Task: 41688

Signed-off-by: Bin Yang <bin.yang@windriver.com>
Change-Id: Ib276520605cc624a9976f804a1721ba2c5909403
2021-02-01 11:10:51 +08:00

21 lines
395 B
Python

#coding=utf-8
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())