@@ -0,0 +1,723 @@
+package io.syndesis.qe.rest.tests.hooks;%0A%0Aimport cucumber.api.Scenario;%0Aimport cucumber.api.java.After;%0Aimport io.syndesis.qe.utils.OpenShiftUtils;%0Aimport lombok.extern.slf4j.Slf4j;%0A%0A@Slf4j%0Apublic class RestHooks %7B%0A    @After%0A    public void getLogs(Scenario scenario)%7B%0A        if (scenario.isFailed()) %7B%0A            log.warn(%22Scenario %7B%7D failed, saving server logs and integration logs to scenario%22, scenario.getName());%0A            scenario.embed(OpenShiftUtils.getInstance().getPodLog(OpenShiftUtils.getPodByPartialName(%22syndesis-server%22)).getBytes(), %22text/plain%22);%0A            scenario.embed(OpenShiftUtils.getInstance().getPodLog(OpenShiftUtils.getPodByPartialName(%22i-%22)).getBytes(), %22text/plain%22);%0A        %7D%0A    %7D%0A%7D%0A

Add after hook that saves server/integration logs