Class DeployitRemoteClient
java.lang.Object
com.xebialabs.deployit.booter.remote.client.DeployitRemoteClient
A thin wrapper to close a gap between REST api functionality, provided out of the box by proxies and deployit clients needs.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.xebialabs.deployit.plugin.api.udm.ConfigurationItemimportPackage(File file) Imports a package into XL Deploy bypassing resteasy.com.xebialabs.deployit.plugin.api.udm.ConfigurationItemimportPackage(String path) com.xebialabs.deployit.plugin.api.udm.ConfigurationItemimportPackage(String path, String credentialsId) Imports a package into XL Deploy bypassing resteasy.com.xebialabs.deployit.plugin.api.udm.ConfigurationItemimportPackage(String path, String user, String password) Imports a package into XL Deploy bypassing resteasy.
-
Constructor Details
-
DeployitRemoteClient
-
-
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 serveruser- Optional userpassword- 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 servercredentialsId- Optional id of the credentials for the URL- Returns:
- Configuration item as a result of import
-
importPackage
-
importPackage
Imports a package into XL Deploy bypassing resteasy. This method is preferably to use overimportPackage(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
-