Class CGAdminClient


  • public class CGAdminClient
    extends Object
    CGAdminClient provides the admin client for CSGAdmin service
    • Constructor Detail

      • CGAdminClient

        public CGAdminClient​(String cookie,
                             String backendServerUrl)
                      throws org.wso2.carbon.cloud.gateway.common.CGException
        Throws:
        org.wso2.carbon.cloud.gateway.common.CGException
      • CGAdminClient

        public CGAdminClient​(String cookie,
                             String backendServerURL,
                             org.apache.axis2.context.ConfigurationContext configCtx)
                      throws org.wso2.carbon.cloud.gateway.common.CGException
        Throws:
        org.wso2.carbon.cloud.gateway.common.CGException
    • Method Detail

      • deployProxy

        public void deployProxy​(org.wso2.carbon.cloud.gateway.stub.types.common.CGServiceMetaDataBean serviceMetaData)
                         throws org.wso2.carbon.cloud.gateway.common.CGException
        Throws:
        org.wso2.carbon.cloud.gateway.common.CGException
      • unDeployProxy

        public void unDeployProxy​(String serviceName)
                           throws org.wso2.carbon.cloud.gateway.common.CGException
        Throws:
        org.wso2.carbon.cloud.gateway.common.CGException
      • getThriftServerConnectionBean

        public org.wso2.carbon.cloud.gateway.stub.types.common.CGThriftServerBean getThriftServerConnectionBean()
                                                                                                         throws org.wso2.carbon.cloud.gateway.common.CGException
        Throws:
        org.wso2.carbon.cloud.gateway.common.CGException
      • updateProxy

        public void updateProxy​(String serviceName,
                                int eventType)
                         throws org.wso2.carbon.cloud.gateway.common.CGException
        Throws:
        org.wso2.carbon.cloud.gateway.common.CGException
      • getPublishedProxyToolsURLs

        public org.wso2.carbon.cloud.gateway.stub.types.common.CGProxyToolsURLs getPublishedProxyToolsURLs​(String serviceName,
                                                                                                           String domainName)
                                                                                                    throws org.wso2.carbon.cloud.gateway.common.CGException
        Throws:
        org.wso2.carbon.cloud.gateway.common.CGException