Class StreamingImportingService

  • All Implemented Interfaces:
    com.xebialabs.deployit.engine.api.PackageService

    public class StreamingImportingService
    extends java.lang.Object
    implements com.xebialabs.deployit.engine.api.PackageService
    Imports a package bypassing resteasy. It's needed because of issue described at DEPLOYITPB-3999.
    • Constructor Detail

      • StreamingImportingService

        @Deprecated
        public StreamingImportingService​(DeployitCommunicator communicator,
                                         Proxies proxies)
        Deprecated.
        Use the second constructor
    • Method Detail

      • list

        public java.util.List<java.lang.String> list()
        Specified by:
        list in interface com.xebialabs.deployit.engine.api.PackageService
      • importPackage

        public com.xebialabs.deployit.plugin.api.udm.ConfigurationItem importPackage​(java.lang.String file)
        Specified by:
        importPackage in interface com.xebialabs.deployit.engine.api.PackageService
      • fetch

        public com.xebialabs.deployit.plugin.api.udm.ConfigurationItem fetch​(java.lang.String url)
        Specified by:
        fetch in interface com.xebialabs.deployit.engine.api.PackageService
      • fetch

        public com.xebialabs.deployit.plugin.api.udm.ConfigurationItem fetch​(com.xebialabs.deployit.engine.api.dto.ImportFromUrlParams params)
        Specified by:
        fetch in interface com.xebialabs.deployit.engine.api.PackageService
      • upload

        public com.xebialabs.deployit.plugin.api.udm.ConfigurationItem upload​(java.lang.String file,
                                                                              com.xebialabs.deployit.engine.api.dto.FileUpload form)
        This method should accept LocalFileUpload instance as second parameter.
        Specified by:
        upload in interface com.xebialabs.deployit.engine.api.PackageService