Class DeployitRemoteClient

java.lang.Object
com.xebialabs.deployit.booter.remote.client.DeployitRemoteClient

public class DeployitRemoteClient extends Object
A thin wrapper to close a gap between REST api functionality, provided out of the box by proxies and deployit clients needs.
  • Constructor Details

  • Method Details

    • importPackage

      public com.xebialabs.deployit.plugin.api.udm.ConfigurationItem importPackage(String path, String user, String password)
      Imports a package into XL Deploy bypassing resteasy.
      Parameters:
      path - Either URL or local path, or path on XL Deploy server
      user - Optional user
      password - Optional password
      Returns:
      Configuration item as a result of import
    • importPackage

      public com.xebialabs.deployit.plugin.api.udm.ConfigurationItem importPackage(String path, String credentialsId)
      Imports a package into XL Deploy bypassing resteasy.
      Parameters:
      path - Either URL or local path, or path on XL Deploy server
      credentialsId - Optional id of the credentials for the URL
      Returns:
      Configuration item as a result of import
    • importPackage

      public com.xebialabs.deployit.plugin.api.udm.ConfigurationItem importPackage(String path)
    • importPackage

      public com.xebialabs.deployit.plugin.api.udm.ConfigurationItem importPackage(File file)
      Imports a package into XL Deploy bypassing resteasy. This method is preferably to use over importPackage(String) when you know that you are not going to deal with remote URLs.
      Parameters:
      file - either local file, or relative file path on XL Deploy server
      Returns:
      Configuration item as a result of import