class SupportUtil {

    public File createSupportZipFile(Map<String, Boolean> configurationMap, int page, int perPage) {
        File zipFile = null;
        try {
            zipFile = File.createTempFile("syndesis.", ".zip");
        } catch (IOException e) {
            log.error("Error creating Support zip file", e);
            throw new WebApplicationException(e, 500);
        }

        try (ZipOutputStream os = new ZipOutputStream(new FileOutputStream(zipFile))) {
            addPlatformPodsLogs(os);
            addResourceDescriptors(os);
            addIntegrationsFiles(configurationMap, page, perPage, os);
            log.info("Created Support file: {}", zipFile);
        } catch (IOException e) {
            log.error("Error producing Support zip file", e);
            if (zipFile != null && !zipFile.delete()) {
                zipFile.deleteOnExit();
            }
            throw new WebApplicationException(e, 500);
        }

        return zipFile;
    }

      SupportUtil(NamespacedOpenShiftClient client, IntegrationHandler integrationHandler,
                IntegrationSupportHandler integrationSupportHandler, Logger log);
    @Autowired public  SupportUtil(NamespacedOpenShiftClient client, IntegrationHandler integrationHandler,
                       IntegrationSupportHandler integrationSupportHandler);

}