Class ISClientConnector


  • public class ISClientConnector
    extends Object
    Define the queries for IS-Collector service
    Author:
    Roberto Cirillo (ISTI-CNR)
    • Field Detail

      • username

        protected String username
      • password

        protected String password
      • storageResource

        protected org.gcube.common.resources.gcore.ServiceEndpoint storageResource
      • region

        public String region
      • CATEGORY

        public final String CATEGORY
        identify the ServiceEndpoint Category of the storage-manager backend
        See Also:
        Constant Field Values
    • Constructor Detail

      • ISClientConnector

        public ISClientConnector​(String backendType)
      • ISClientConnector

        public ISClientConnector()
    • Method Detail

      • retrieveConnectionInfo

        public String[] retrieveConnectionInfo​(org.gcube.common.resources.gcore.ServiceEndpoint resource)
      • getServiceEndpoint

        public List<org.gcube.common.resources.gcore.ServiceEndpoint> getServiceEndpoint​(String category,
                                                                                         String name)
      • getStorageEndpoint

        public org.gcube.common.resources.gcore.ServiceEndpoint getStorageEndpoint()
      • getBackendType

        public String getBackendType​(org.gcube.common.resources.gcore.ServiceEndpoint resource)
      • getVolatileHost

        public String[] getVolatileHost​(org.gcube.common.resources.gcore.ServiceEndpoint resource)
      • retrievePropertyValue

        public String retrievePropertyValue​(String name)
      • retrievePropertyValue

        public String retrievePropertyValue​(org.gcube.common.resources.gcore.ServiceEndpoint.AccessPoint ap,
                                            String name)
      • getResolverHost

        public String getResolverHost​(org.gcube.common.resources.gcore.ServiceEndpoint serviceEndpoint)
      • getServer

        public String[] getServer()
      • setServer

        public void setServer​(String[] server)
      • getBackendType

        public String getBackendType()
      • getVolatileHost

        public String[] getVolatileHost()
      • setVolatileHost

        public void setVolatileHost​(String[] volatileHost)
      • getUsername

        public String getUsername()
      • setUsername

        public void setUsername​(String username)
      • getPassword

        public String getPassword()
      • setPassword

        public void setPassword​(String password)
      • getStorageResource

        public org.gcube.common.resources.gcore.ServiceEndpoint getStorageResource()
      • setStorageResource

        public void setStorageResource​(org.gcube.common.resources.gcore.ServiceEndpoint storageResource)
      • getRegion

        public String getRegion()