Add framework and apiserver
[pti/o2.git] / o2ims / adapter / notifications.py
1 # pylint: disable=too-few-public-methods
2 import abc
3 from o2ims import config
4
5
6 SMO_O2_ENDPOINT = config.get_smo_o2endpoint()
7
8
9 class AbstractNotifications(abc.ABC):
10     @abc.abstractmethod
11     def send(self, message):
12         raise NotImplementedError
13
14
15 class SmoO2Notifications(AbstractNotifications):
16     def __init__(self, smoO2Endpoint=SMO_O2_ENDPOINT):
17         self.smoO2Endpoint = smoO2Endpoint
18
19     def send(self, message):
20         pass