Class HPCCWsCloudClient


  • public class HPCCWsCloudClient
    extends BaseHPCCWsClient
    Provides Containerized HPCC cluster information.
    • Constructor Detail

      • HPCCWsCloudClient

        protected HPCCWsCloudClient​(Connection baseConnection)
        Instantiates a new HPCC WSCloud client.
        Parameters:
        baseConnection - the base connection
    • Method Detail

      • getServiceWSDLURL

        public static String getServiceWSDLURL()
        Gets the service WSDLURL.
        Returns:
        the service WSDLURL
      • getServiceWSDLPort

        public static int getServiceWSDLPort()
        Gets the service WSDL port.
        Returns:
        the service WSDL port
      • getDefaultStub

        public org.apache.axis2.client.Stub getDefaultStub()
                                                    throws org.apache.axis2.AxisFault
        Gets the default stub.
        Specified by:
        getDefaultStub in class BaseHPCCWsClient
        Returns:
        the default stub
        Throws:
        org.apache.axis2.AxisFault - the axis fault
      • get

        public static HPCCWsCloudClient get​(Connection connection)
        Gets a HPCCWsCloudClient based on user provided connection object.
        Parameters:
        connection - the connection
        Returns:
        the HPCC HPCCWsCloud client
      • get

        public static HPCCWsCloudClient get​(String protocol,
                                            String targetHost,
                                            String targetPort,
                                            String user,
                                            String pass)
        Gets a HPCCWsCloudClient based on user provided connection attributes.
        Parameters:
        protocol - the protocol
        targetHost - the target host
        targetPort - the target port
        user - the user
        pass - the pass
        Returns:
        the HPCC HPCCWsCloudClient
      • get

        public static HPCCWsCloudClient get​(String protocol,
                                            String targetHost,
                                            String targetPort,
                                            String user,
                                            String pass,
                                            int timeout)
        Gets a HPCCWsCloudClient based on user provided connection attributes.
        Parameters:
        protocol - the protocol
        targetHost - the target host
        targetPort - the target port
        user - the user
        pass - the pass
        timeout - the timeout
        Returns:
        the HPCC HPCCWsCloudClient
      • initWsCloudClientStub

        protected void initWsCloudClientStub​(Connection conn)
        Initializes the service's underlying stub Should only be used by constructors.
        Parameters:
        conn - -- All connection settings included
      • getPods

        public String getPods()
                       throws Exception

        getPods.

        Returns:
        a JSON formatted list of available pods - in raw k8s format.
        Throws:
        Exception - if any.
      • ping

        public boolean ping()
                     throws Exception
        Ping.
        Returns:
        true, if successful
        Throws:
        Exception - the exception