org.gcube.application.enm.service.conn
Class InformationSystemClient

java.lang.Object
  extended by org.gcube.application.enm.service.conn.InformationSystemClient

public class InformationSystemClient
extends Object

A client to the gCube Information System.

Author:
Erik Torres

Nested Class Summary
 class InformationSystemClient.COMPSsCredentials
           
 class InformationSystemClient.FtpCredentials
           
 class InformationSystemClient.OpenModellerImage
           
 class InformationSystemClient.VmInstance
           
 
Field Summary
static String COMPSS_EXECUTION_RESOURCE_PLUGIN
           
static String COMPSS_JOB_PLUGIN
           
static String OMWS_JOB_PLUGIN
           
 
Constructor Summary
InformationSystemClient()
           
 
Method Summary
 InformationSystemClient.FtpCredentials getCOMPSFtpCredentials()
           
 InformationSystemClient.COMPSsCredentials getCOMPSsCredentials()
           
 String getCOMPSsLayersetsAbsolutePath(String path)
          Adds the prefix used in the local filesystem of the execution resource provider to the layetsets path.
 String getExecutionResourcePluginName(org.gcube.application.enm.common.xml.request.ExperimentRequest request)
           
 String getJobPluginName(org.gcube.application.enm.common.xml.request.ExperimentRequest request)
           
 InformationSystemClient.OpenModellerImage getOpenModellerImage()
           
 InformationSystemClient.VmInstance getVmInstance(org.gcube.application.enm.common.xml.request.InstanceType type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMPSS_JOB_PLUGIN

public static final String COMPSS_JOB_PLUGIN
See Also:
Constant Field Values

OMWS_JOB_PLUGIN

public static final String OMWS_JOB_PLUGIN
See Also:
Constant Field Values

COMPSS_EXECUTION_RESOURCE_PLUGIN

public static final String COMPSS_EXECUTION_RESOURCE_PLUGIN
See Also:
Constant Field Values
Constructor Detail

InformationSystemClient

public InformationSystemClient()
Method Detail

getJobPluginName

public String getJobPluginName(org.gcube.application.enm.common.xml.request.ExperimentRequest request)

getExecutionResourcePluginName

public String getExecutionResourcePluginName(org.gcube.application.enm.common.xml.request.ExperimentRequest request)

getCOMPSFtpCredentials

public InformationSystemClient.FtpCredentials getCOMPSFtpCredentials()

getCOMPSsCredentials

public InformationSystemClient.COMPSsCredentials getCOMPSsCredentials()

getOpenModellerImage

public InformationSystemClient.OpenModellerImage getOpenModellerImage()

getCOMPSsLayersetsAbsolutePath

public String getCOMPSsLayersetsAbsolutePath(String path)
Adds the prefix used in the local filesystem of the execution resource provider to the layetsets path. For example, relative layerset paths looks like: "/layers/...", while execution provider may include additional routes to the path: "/sharedDisk/openbio/layers/...".

Returns:
Absolute path to the location of the layersets in the local filesystem of the execution resource provider.

getVmInstance

public InformationSystemClient.VmInstance getVmInstance(org.gcube.application.enm.common.xml.request.InstanceType type)


Copyright © 2012. All Rights Reserved.