public class CGAdminService
extends org.wso2.carbon.mediation.initializer.AbstractServiceBusAdmin
CGAdminService
service provides the operations for deploying the proxies
for out sliders. These proxies are the actual proxies that represent the internalConstructor and Description |
---|
CGAdminService() |
Modifier and Type | Method and Description |
---|---|
String |
composeServiceResourcesPath(String serviceName)
Constructs the registry path to persist a wsdl document ( - belonging to
service published on CG server)
|
void |
deployProxy(org.wso2.carbon.cloud.gateway.common.CGServiceMetaDataBean metaData)
Deploy the proxy service
|
org.wso2.carbon.cloud.gateway.common.CGProxyToolsURLs |
getPublishedProxyToolsURLs(String serviceName,
String domainName) |
org.wso2.carbon.cloud.gateway.common.CGThriftServerBean |
getThriftServerConnectionBean()
Returns the thrift server connection param
|
void |
unDeployProxy(String serviceName)
Un deploy the proxy service
|
void |
updateProxy(String serviceName,
int eventType)
Update the public proxy based on the new event of the back end service
|
getLock, getMediationPersistenceManager, getServerConfigurationInformation, getServerContextInformation, getSynapseConfiguration, getSynapseEnvironment, getSynapseEnvironment, lockSynapseConfiguration, unlockSynapseConfiguration
getAxisConfig, getConfigContext, getConfigSystemRegistry, getConfigUserRegistry, getGovernanceRegistry, getGovernanceSystemRegistry, getGovernanceUserRegistry, getHttpSession, getLocalRepo, getRegistry, getTenantDomain, getUsername, getUserRealm, setConfigurationContext, setPermissionUpdateTimestamp
public void deployProxy(org.wso2.carbon.cloud.gateway.common.CGServiceMetaDataBean metaData) throws org.wso2.carbon.cloud.gateway.common.CGException
metaData
- meta data associated with this proxyorg.wso2.carbon.cloud.gateway.common.CGException
- throws in case of an errorpublic void unDeployProxy(String serviceName) throws org.wso2.carbon.cloud.gateway.common.CGException
serviceName
- the name of the proxy to un deployorg.wso2.carbon.cloud.gateway.common.CGException
- throws in case of an errorpublic org.wso2.carbon.cloud.gateway.common.CGThriftServerBean getThriftServerConnectionBean() throws org.wso2.carbon.cloud.gateway.common.CGException
org.wso2.carbon.cloud.gateway.common.CGException
- In case the server is not runningpublic void updateProxy(String serviceName, int eventType) throws org.wso2.carbon.cloud.gateway.common.CGException
serviceName
- serviceeventType
- the new event typeorg.wso2.carbon.cloud.gateway.common.CGException
- throws in case of an errorpublic org.wso2.carbon.cloud.gateway.common.CGProxyToolsURLs getPublishedProxyToolsURLs(String serviceName, String domainName) throws org.wso2.carbon.cloud.gateway.common.CGException
org.wso2.carbon.cloud.gateway.common.CGException
Copyright © 2018 WSO2. All rights reserved.