We should move the initialization of the HTTP server before trying to connect to the messaging system as a client. This because a liveness probe in K8S/OS should not fail if the bridge can't connect to the messaging system (see here : https://github.com/EnMasseProject/enmasse/issues/83).
At same time we should have another HTTP path in order to expose a readiness probe for K8S/OS when the bridge is effectivily connected to the messaging system.
We should move the initialization of the HTTP server before trying to connect to the messaging system as a client. This because a liveness probe in K8S/OS should not fail if the bridge can't connect to the messaging system (see here : https://github.com/EnMasseProject/enmasse/issues/83). At same time we should have another HTTP path in order to expose a readiness probe for K8S/OS when the bridge is effectivily connected to the messaging system.