public class DelphixEngine
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
DelphixEngine.ContainerOperationType |
static class |
DelphixEngine.EnvironmentOperationType |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONTENT_LATEST_POINT |
static java.lang.String |
CONTENT_LATEST_SNAPSHOT |
static java.lang.String |
CONTENT_REFRESH_HOOK |
static java.lang.String |
CONTENT_SYNC_HOOK |
Constructor and Description |
---|
DelphixEngine(DelphixEngine engine) |
DelphixEngine(java.lang.String engineAddress,
java.lang.String engineUsername,
java.lang.String enginePassword) |
Modifier and Type | Method and Description |
---|---|
void |
cancelJob(java.lang.String jobRef)
Cancel a job running on the Delphix Engine
|
java.lang.String |
createEnvironment(java.lang.String address,
java.lang.String user,
java.lang.String password,
java.lang.String toolkit)
Create and discover an environment
|
java.lang.String |
deleteContainer(java.lang.String containerRef)
Delete a container
|
java.lang.String |
deleteEnvironment(java.lang.String environmentRef)
Delete an environment
|
java.lang.String |
getEngineAddress() |
java.lang.String |
getEnginePassword() |
java.lang.String |
getEngineUsername() |
JobStatus |
getJobStatus(java.lang.String job)
Get the status of a job running on the Delphix Engine
|
java.lang.String |
getParentContainer(java.lang.String vdbRef)
Get the parent of a virtual database on the Delphix Engine
|
java.util.LinkedHashMap<java.lang.String,DelphixContainer> |
listContainers()
List containers in the Delphix Engine
|
java.util.LinkedHashMap<java.lang.String,DelphixEnvironment> |
listEnvironments()
List environments in the Delphix Engine
|
java.util.ArrayList<DelphixGroup> |
listGroups() |
java.util.ArrayList<DelphixSnapshot> |
listSnapshots()
List snapshots in the Delphix Engine
|
java.util.LinkedHashMap<java.lang.String,DelphixSource> |
listSources()
List sources in the Delphix Engine
|
java.util.LinkedHashMap<java.lang.String,DelphixTimeflow> |
listTimeflows()
List timeflows in the Delphix Engine
|
void |
login()
Login to Delphix Engine Will throw a DelphixEngineException if the login
fails due to bad username or password
|
java.lang.String |
provisionVDB(java.lang.String containerRef,
java.lang.String snapshotRef,
java.lang.String containerName)
Provision a VDB either a semantic point or a snapshot with the name of the new VDB being optional
|
java.lang.String |
refreshContainer(java.lang.String vdbRef,
java.lang.String location)
Refresh a virtual database on the Delphix Engine using semantic location
|
java.lang.String |
refreshEnvironment(java.lang.String environmentRef)
Refresh and discover an environment
|
java.lang.String |
sync(java.lang.String sourceRef)
Run a sync operation for a source on the Delphix Engine
|
void |
updateHooks(DelphixEngine.ContainerOperationType targetOperation,
java.lang.String containerRef,
java.util.ArrayList<HookOperation> preOperations,
java.util.ArrayList<HookOperation> postOperations)
Update the pre and post hooks for a specific type of operation on a container
|
public static final java.lang.String CONTENT_LATEST_POINT
public static final java.lang.String CONTENT_LATEST_SNAPSHOT
public static final java.lang.String CONTENT_SYNC_HOOK
public static final java.lang.String CONTENT_REFRESH_HOOK
@DataBoundConstructor public DelphixEngine(java.lang.String engineAddress, java.lang.String engineUsername, java.lang.String enginePassword)
public DelphixEngine(DelphixEngine engine)
public void login() throws java.io.IOException, DelphixEngineException
java.io.IOException
DelphixEngineException
public java.util.LinkedHashMap<java.lang.String,DelphixContainer> listContainers() throws org.apache.http.client.ClientProtocolException, java.io.IOException, DelphixEngineException
org.apache.http.client.ClientProtocolException
java.io.IOException
DelphixEngineException
public java.util.ArrayList<DelphixGroup> listGroups() throws java.io.IOException, DelphixEngineException
java.io.IOException
DelphixEngineException
public java.util.LinkedHashMap<java.lang.String,DelphixSource> listSources() throws org.apache.http.client.ClientProtocolException, java.io.IOException, DelphixEngineException
org.apache.http.client.ClientProtocolException
java.io.IOException
DelphixEngineException
public java.util.LinkedHashMap<java.lang.String,DelphixTimeflow> listTimeflows() throws org.apache.http.client.ClientProtocolException, java.io.IOException, DelphixEngineException
org.apache.http.client.ClientProtocolException
java.io.IOException
DelphixEngineException
public java.util.LinkedHashMap<java.lang.String,DelphixEnvironment> listEnvironments() throws org.apache.http.client.ClientProtocolException, java.io.IOException, DelphixEngineException
org.apache.http.client.ClientProtocolException
java.io.IOException
DelphixEngineException
public java.util.ArrayList<DelphixSnapshot> listSnapshots() throws org.apache.http.client.ClientProtocolException, java.io.IOException, DelphixEngineException
org.apache.http.client.ClientProtocolException
java.io.IOException
DelphixEngineException
public void cancelJob(java.lang.String jobRef) throws org.apache.http.client.ClientProtocolException, java.io.IOException, DelphixEngineException
org.apache.http.client.ClientProtocolException
java.io.IOException
DelphixEngineException
public JobStatus getJobStatus(java.lang.String job) throws org.apache.http.client.ClientProtocolException, java.io.IOException, DelphixEngineException
org.apache.http.client.ClientProtocolException
java.io.IOException
DelphixEngineException
public java.lang.String refreshContainer(java.lang.String vdbRef, java.lang.String location) throws java.io.IOException, DelphixEngineException
java.io.IOException
DelphixEngineException
public java.lang.String getParentContainer(java.lang.String vdbRef) throws java.io.IOException, DelphixEngineException
java.io.IOException
DelphixEngineException
public java.lang.String sync(java.lang.String sourceRef) throws java.io.IOException, DelphixEngineException
java.io.IOException
DelphixEngineException
public java.lang.String provisionVDB(java.lang.String containerRef, java.lang.String snapshotRef, java.lang.String containerName) throws java.io.IOException, DelphixEngineException
java.io.IOException
DelphixEngineException
public java.lang.String createEnvironment(java.lang.String address, java.lang.String user, java.lang.String password, java.lang.String toolkit) throws java.io.IOException, DelphixEngineException
java.io.IOException
DelphixEngineException
public java.lang.String deleteContainer(java.lang.String containerRef) throws java.io.IOException, DelphixEngineException
java.io.IOException
DelphixEngineException
public java.lang.String refreshEnvironment(java.lang.String environmentRef) throws java.io.IOException, DelphixEngineException
java.io.IOException
DelphixEngineException
public java.lang.String deleteEnvironment(java.lang.String environmentRef) throws java.io.IOException, DelphixEngineException
java.io.IOException
DelphixEngineException
public void updateHooks(DelphixEngine.ContainerOperationType targetOperation, java.lang.String containerRef, java.util.ArrayList<HookOperation> preOperations, java.util.ArrayList<HookOperation> postOperations) throws java.io.IOException, DelphixEngineException
java.io.IOException
DelphixEngineException
public java.lang.String getEngineAddress()
public java.lang.String getEngineUsername()
public java.lang.String getEnginePassword()