telefonicaid/orchestrator

orch checks endpoints before start

Opened this issue · 1 comments

orch is waiting for perseo-fe is up
Maybe orch sould be start if perseo-fe is not started

According with this

# Perseo: optional
PERSEO_HOST = settings.PERSEO['host']
PERSEO_PORT = settings.PERSEO['port']
PERSEO_PROTOCOL = settings.PERSEO['protocol']
orion = PerseoOperations(PERSEO_PROTOCOL, PERSEO_HOST, PERSEO_PORT)
try:
orion.checkPERSEO()
logger.info("PERSEO endpoint OK")
except Exception as ex:
logger.warn("PERSEO endpoint not found: %s" % ex)

if perseo is not ready just a warn log about that is repoted, but orchestrator starts