Switch health to use a data interface

This commit is contained in:
Joseph Schorr 2017-07-11 13:48:25 +03:00
parent ca5a47edad
commit 4853634c2f
3 changed files with 22 additions and 3 deletions

8
health/models_pre_oci.py Normal file
View file

@ -0,0 +1,8 @@
from data.model import health
from health.models_interface import HealthCheckDataInterface
class PreOCIModel(HealthCheckDataInterface):
def check_health(self, app_config):
return health.check_health(app_config)
pre_oci_model = PreOCIModel()