public class ESBTestCaseUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.logging.Log |
log |
| Constructor and Description |
|---|
ESBTestCaseUtils() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAPI(String backEndUrl,
String sessionCookie,
org.apache.axiom.om.OMElement api) |
void |
addEndpoint(String backEndUrl,
String sessionCookie,
org.apache.axiom.om.OMElement endpointConfig) |
void |
addEndpointTemplate(String backEndUrl,
String sessionCookie,
org.apache.axiom.om.OMElement endpointTemplate) |
void |
addInboundEndpoint(String backEndUrl,
String sessionCookie,
org.apache.axiom.om.OMElement inboundEndpoint) |
void |
addInboundEndpointFromParams(String backEndUrl,
String sessionCookie,
org.apache.axiom.om.OMElement inboundEndpoint)
Adds Inbound Endpoint using parameters
|
void |
addLocalEntry(String backEndUrl,
String sessionCookie,
org.apache.axiom.om.OMElement localEntryConfig) |
void |
addMessageProcessor(String backEndUrl,
String sessionCookie,
org.apache.axiom.om.OMElement messageProcessor) |
void |
addMessageStore(String backEndUrl,
String sessionCookie,
org.apache.axiom.om.OMElement messageStore) |
void |
addPriorityExecutor(String backEndUrl,
String sessionCookie,
org.apache.axiom.om.OMElement priorityExecutor) |
void |
addProxyService(String backEndUrl,
String sessionCookie,
org.apache.axiom.om.OMElement proxyConfig) |
void |
addScheduleTask(String backEndUrl,
String sessionCookie,
org.apache.axiom.om.OMElement taskDescription) |
void |
addSequence(String backEndUrl,
String sessionCookie,
org.apache.axiom.om.OMElement sequenceConfig) |
void |
addSequenceTemplate(String backEndUrl,
String sessionCookie,
org.apache.axiom.om.OMElement sequenceTemplate) |
void |
deleteApi(String backEndUrl,
String sessionCookie,
String apiName) |
void |
deleteArtifact(org.apache.axiom.om.OMElement synapseConfig,
String backendURL,
String sessionCookie) |
void |
deleteEndpoint(String backEndUrl,
String sessionCookie,
String endpointName) |
void |
deleteEndpointTemplate(String backEndUrl,
String sessionCookie,
String endpointTemplate) |
void |
deleteInboundEndpointDeployed(String backEndUrl,
String sessionCookie,
String name) |
void |
deleteLibrary(String backEndUrl,
String sessionCookie,
String liqQualifiedname)
Delete connector from file system
|
void |
deleteLocalEntry(String backEndUrl,
String sessionCookie,
String localEntryName) |
void |
deleteMessageProcessor(String backEndUrl,
String sessionCookie,
String messageProcessor) |
void |
deleteMessageStore(String backEndUrl,
String sessionCookie,
String messageStore) |
void |
deletePriorityExecutor(String backEndUrl,
String sessionCookie,
String executorName) |
void |
deleteProxyService(String backEndUrl,
String sessionCookie,
String proxyServiceName) |
void |
deleteScheduleTask(String backEndUrl,
String sessionCookie,
String taskName,
String group) |
void |
deleteSequence(String backEndUrl,
String sessionCookie,
String sequenceName) |
void |
deleteSequenceTemplate(String backEndUrl,
String sessionCookie,
String sequenceTemplateName) |
void |
deploySynapseArtifactsFromFileSystem(String directoryPath,
String backendURL,
String sessionCookie) |
String[] |
getAllImports(String backEndUrl,
String sessionCookie)
Provide All Imports
|
org.wso2.carbon.inbound.stub.types.carbon.InboundEndpointDTO[] |
getAllInboundEndpoints(String backEndUrl,
String sessionCookie) |
boolean |
isApiDeployed(String backEndUrl,
String sessionCookie,
String apiName) |
boolean |
isApiExist(String backEndUrl,
String sessionCookie,
String apiName) |
boolean |
isApiUnDeployed(String backEndUrl,
String sessionCookie,
String apiName) |
boolean |
isEndpointDeployed(String backEndUrl,
String sessionCookie,
String endpointName) |
boolean |
isEndpointExist(String backEndUrl,
String sessionCookie,
String endpointName) |
boolean |
isEndpointTemplateDeployed(String backEndUrl,
String sessionCookie,
String endpointTemplateName) |
boolean |
isEndpointTemplateExist(String backEndUrl,
String sessionCookie,
String endpointTemplate) |
boolean |
isEndpointTemplateUnDeployed(String backEndUrl,
String sessionCookie,
String endpointTemplateName) |
boolean |
isEndpointUnDeployed(String backEndUrl,
String sessionCookie,
String endpointName) |
void |
isInboundEndpointDeployed(String backEndUrl,
String sessionCookie,
String name) |
boolean |
isLocalEntryDeployed(String backEndUrl,
String sessionCookie,
String localEntryName) |
boolean |
isLocalEntryExist(String backEndUrl,
String sessionCookie,
String localEntryName) |
boolean |
isLocalEntryUnDeployed(String backEndUrl,
String sessionCookie,
String localEntryName) |
boolean |
isMessageProcessorDeployed(String backEndUrl,
String sessionCookie,
String messageProcessorName) |
boolean |
isMessageProcessorExist(String backEndUrl,
String sessionCookie,
String messageProcessor) |
boolean |
isMessageProcessorUnDeployed(String backEndUrl,
String sessionCookie,
String messageProcessorName) |
boolean |
isMessageStoreDeployed(String backEndUrl,
String sessionCookie,
String messageStoreName) |
boolean |
isMessageStoreExist(String backEndUrl,
String sessionCookie,
String messageProcessor) |
boolean |
isMessageStoreUnDeployed(String backEndUrl,
String sessionCookie,
String messageStoreName) |
boolean |
isPriorityExecutorDeployed(String backEndUrl,
String sessionCookie,
String executorName) |
boolean |
isPriorityExecutorExist(String backEndUrl,
String sessionCookie,
String priorityExecutorName) |
boolean |
isPriorityExecutorUnDeployed(String backEndUrl,
String sessionCookie,
String executorName) |
boolean |
isProxyDeployed(String backEndUrl,
String sessionCookie,
String proxyName)
Waiting for proxy to deploy
|
boolean |
isProxyServiceExist(String backEndUrl,
String sessionCookie,
String proxyName) |
boolean |
isProxyUnDeployed(String backEndUrl,
String sessionCookie,
String proxyName)
waiting for proxy to undeploy
|
boolean |
isScheduleTaskDeployed(String backEndUrl,
String sessionCookie,
String taskName)
Wait for task to to deploy and return true once it deploy
|
boolean |
isScheduleTaskExist(String backEndUrl,
String sessionCookie,
String taskName) |
boolean |
isScheduleTaskUnDeployed(String backEndUrl,
String sessionCookie,
String taskName)
wait for task to undeploy and return true once it is undeployed
|
boolean |
isSequenceDeployed(String backEndUrl,
String sessionCookie,
String sequenceName) |
boolean |
isSequenceExist(String backEndUrl,
String sessionCookie,
String sequenceName) |
boolean |
isSequenceTemplateDeployed(String backEndUrl,
String sessionCookie,
String sequenceTemplateName) |
boolean |
isSequenceTemplateExist(String backEndUrl,
String sessionCookie,
String sequenceTemplate) |
boolean |
isSequenceTemplateUnDeployed(String backEndUrl,
String sessionCookie,
String sequenceTemplateName) |
boolean |
isSequenceUnDeployed(String backEndUrl,
String sessionCookie,
String sequenceName) |
void |
loadESBConfigurationFrom(String synapseFilePath,
String backendURL,
String sessionCookie)
Loads the specified ESB configuration file from the classpath and deploys it into the ESB.
|
org.apache.axiom.om.OMElement |
loadESBSampleConfiguration(int number)
Loads the configuration of the specified sample into the ESB.
|
org.apache.axiom.om.OMElement |
loadResource(String path)
Loads the specified resource from the classpath and returns its content as an OMElement.
|
void |
updateConnectorStatus(String backEndUrl,
String sessionCookie,
String libQName,
String libName,
String packageName,
String status)
Update connector status
|
void |
updateESBConfiguration(org.apache.axiom.om.OMElement synapseConfig,
String backendURL,
String sessionCookie)
load synapse configuration from OMElement
|
void |
updateInboundEndpoint(String backEndUrl,
String sessionCookie,
org.apache.axiom.om.OMElement inboundEndpoint)
Updates inbound Endpoint Using Parameters
|
void |
uploadConnector(String backEndUrl,
String sessionCookie,
org.wso2.carbon.mediation.library.stub.upload.types.carbon.LibraryFileItem[] fileItems)
Upload connector zip to file system
|
void |
verifySynapseDeployment(org.apache.axiom.om.OMElement synapseConfig,
String backendURL,
String sessionCookie) |
public org.apache.axiom.om.OMElement loadResource(String path) throws FileNotFoundException, XMLStreamException
path - A relative path to the resource fileFileNotFoundExceptionXMLStreamExceptionpublic void loadESBConfigurationFrom(String synapseFilePath, String backendURL, String sessionCookie) throws Exception
synapseFilePath - A relative path to the configuration fileRemoteException - If an error occurs while loading the specified configurationExceptionpublic org.apache.axiom.om.OMElement loadESBSampleConfiguration(int number)
throws Exception
number - Sample numberException - If an error occurs while loading the sample configurationpublic void updateESBConfiguration(org.apache.axiom.om.OMElement synapseConfig,
String backendURL,
String sessionCookie)
throws Exception
synapseConfig - synapse configurationbackendURL - server backEnd urlsessionCookie - session CookieRemoteExceptionXMLStreamExceptionjavax.servlet.ServletExceptionExceptionpublic void addProxyService(String backEndUrl, String sessionCookie, org.apache.axiom.om.OMElement proxyConfig) throws Exception
backEndUrl - sessionCookie - proxyConfig - XMLStreamExceptionIOExceptionorg.wso2.carbon.proxyadmin.stub.ProxyServiceAdminProxyAdminExceptionInterruptedExceptionExceptionpublic void addInboundEndpoint(String backEndUrl, String sessionCookie, org.apache.axiom.om.OMElement inboundEndpoint) throws Exception
Exceptionpublic void addInboundEndpointFromParams(String backEndUrl, String sessionCookie, org.apache.axiom.om.OMElement inboundEndpoint) throws Exception
backEndUrl - sessionCookie - inboundEndpoint - Exceptionpublic void updateInboundEndpoint(String backEndUrl, String sessionCookie, org.apache.axiom.om.OMElement inboundEndpoint) throws Exception
backEndUrl - sessionCookie - inboundEndpoint - Exceptionpublic void isInboundEndpointDeployed(String backEndUrl, String sessionCookie, String name) throws Exception
Exceptionpublic void deleteInboundEndpointDeployed(String backEndUrl, String sessionCookie, String name) throws Exception
Exceptionpublic org.wso2.carbon.inbound.stub.types.carbon.InboundEndpointDTO[] getAllInboundEndpoints(String backEndUrl, String sessionCookie) throws Exception
Exceptionpublic void uploadConnector(String backEndUrl, String sessionCookie, org.wso2.carbon.mediation.library.stub.upload.types.carbon.LibraryFileItem[] fileItems) throws RemoteException
backEndUrl - sessionCookie - fileItems - RemoteExceptionpublic void updateConnectorStatus(String backEndUrl, String sessionCookie, String libQName, String libName, String packageName, String status) throws RemoteException
backEndUrl - sessionCookie - libQName - libName - packageName - status - RemoteExceptionpublic String[] getAllImports(String backEndUrl, String sessionCookie) throws RemoteException
backEndUrl - sessionCookie - RemoteExceptionpublic void deleteLibrary(String backEndUrl, String sessionCookie, String liqQualifiedname) throws RemoteException, org.wso2.carbon.mediation.library.stub.MediationLibraryAdminServiceException
backEndUrl - sessionCookie - liqQualifiedname - RemoteExceptionorg.wso2.carbon.mediation.library.stub.MediationLibraryAdminServiceExceptionpublic void addEndpoint(String backEndUrl, String sessionCookie, org.apache.axiom.om.OMElement endpointConfig) throws Exception
backEndUrl - sessionCookie - endpointConfig - Exceptionpublic void addLocalEntry(String backEndUrl, String sessionCookie, org.apache.axiom.om.OMElement localEntryConfig) throws Exception
backEndUrl - sessionCookie - localEntryConfig - Exceptionpublic void addSequence(String backEndUrl, String sessionCookie, org.apache.axiom.om.OMElement sequenceConfig) throws Exception
backEndUrl - sessionCookie - sequenceConfig - Exceptionpublic void addMessageStore(String backEndUrl, String sessionCookie, org.apache.axiom.om.OMElement messageStore) throws Exception
backEndUrl - sessionCookie - messageStore - RemoteExceptionExceptionpublic void addMessageProcessor(String backEndUrl, String sessionCookie, org.apache.axiom.om.OMElement messageProcessor) throws Exception
backEndUrl - sessionCookie - messageProcessor - RemoteExceptionExceptionpublic void addSequenceTemplate(String backEndUrl, String sessionCookie, org.apache.axiom.om.OMElement sequenceTemplate) throws RemoteException
RemoteExceptionpublic void addEndpointTemplate(String backEndUrl, String sessionCookie, org.apache.axiom.om.OMElement endpointTemplate) throws RemoteException
RemoteExceptionpublic void addAPI(String backEndUrl, String sessionCookie, org.apache.axiom.om.OMElement api) throws RemoteException, org.wso2.carbon.rest.api.stub.RestApiAdminAPIException
RemoteExceptionorg.wso2.carbon.rest.api.stub.RestApiAdminAPIExceptionpublic void addPriorityExecutor(String backEndUrl, String sessionCookie, org.apache.axiom.om.OMElement priorityExecutor) throws RemoteException
RemoteExceptionpublic void addScheduleTask(String backEndUrl, String sessionCookie, org.apache.axiom.om.OMElement taskDescription) throws org.wso2.carbon.task.stub.TaskManagementException, RemoteException
backEndUrl - sessionCookie - taskDescription - org.wso2.carbon.task.stub.TaskManagementExceptionRemoteExceptionpublic boolean isProxyDeployed(String backEndUrl, String sessionCookie, String proxyName) throws RemoteException
backEndUrl - sessionCookie - proxyName - RemoteExceptionpublic boolean isEndpointDeployed(String backEndUrl, String sessionCookie, String endpointName) throws org.wso2.carbon.endpoint.stub.types.EndpointAdminEndpointAdminException, RemoteException
backEndUrl - sessionCookie - endpointName - org.wso2.carbon.endpoint.stub.types.EndpointAdminEndpointAdminExceptionRemoteExceptionpublic boolean isMessageProcessorDeployed(String backEndUrl, String sessionCookie, String messageProcessorName) throws org.wso2.carbon.sequences.stub.types.SequenceEditorException, RemoteException
backEndUrl - sessionCookie - messageProcessorName - org.wso2.carbon.sequences.stub.types.SequenceEditorExceptionRemoteExceptionpublic boolean isSequenceDeployed(String backEndUrl, String sessionCookie, String sequenceName) throws org.wso2.carbon.sequences.stub.types.SequenceEditorException, RemoteException
backEndUrl - sessionCookie - sequenceName - org.wso2.carbon.sequences.stub.types.SequenceEditorExceptionRemoteExceptionpublic boolean isMessageStoreDeployed(String backEndUrl, String sessionCookie, String messageStoreName) throws org.wso2.carbon.sequences.stub.types.SequenceEditorException, RemoteException
backEndUrl - sessionCookie - messageStoreName - org.wso2.carbon.sequences.stub.types.SequenceEditorExceptionRemoteExceptionpublic boolean isSequenceTemplateDeployed(String backEndUrl, String sessionCookie, String sequenceTemplateName) throws RemoteException
RemoteExceptionpublic boolean isEndpointTemplateDeployed(String backEndUrl, String sessionCookie, String endpointTemplateName) throws RemoteException
RemoteExceptionpublic boolean isApiDeployed(String backEndUrl, String sessionCookie, String apiName) throws RemoteException, org.wso2.carbon.rest.api.stub.RestApiAdminAPIException
RemoteExceptionorg.wso2.carbon.rest.api.stub.RestApiAdminAPIExceptionpublic boolean isPriorityExecutorDeployed(String backEndUrl, String sessionCookie, String executorName) throws RemoteException
RemoteExceptionpublic boolean isScheduleTaskDeployed(String backEndUrl, String sessionCookie, String taskName) throws RemoteException, org.wso2.carbon.task.stub.TaskManagementException
backEndUrl - sessionCookie - taskName - RemoteExceptionorg.wso2.carbon.task.stub.TaskManagementExceptionpublic boolean isProxyServiceExist(String backEndUrl, String sessionCookie, String proxyName) throws RemoteException
backEndUrl - sessionCookie - proxyName - RemoteExceptionpublic boolean isLocalEntryExist(String backEndUrl, String sessionCookie, String localEntryName) throws org.wso2.carbon.localentry.stub.types.LocalEntryAdminException, RemoteException
backEndUrl - sessionCookie - localEntryName - org.wso2.carbon.localentry.stub.types.LocalEntryAdminExceptionRemoteExceptionpublic boolean isSequenceExist(String backEndUrl, String sessionCookie, String sequenceName) throws org.wso2.carbon.sequences.stub.types.SequenceEditorException, RemoteException
backEndUrl - sessionCookie - sequenceName - org.wso2.carbon.sequences.stub.types.SequenceEditorExceptionRemoteExceptionpublic boolean isEndpointExist(String backEndUrl, String sessionCookie, String endpointName) throws org.wso2.carbon.endpoint.stub.types.EndpointAdminEndpointAdminException, RemoteException
backEndUrl - sessionCookie - endpointName - org.wso2.carbon.endpoint.stub.types.EndpointAdminEndpointAdminExceptionRemoteExceptionpublic boolean isMessageStoreExist(String backEndUrl, String sessionCookie, String messageProcessor) throws RemoteException
backEndUrl - sessionCookie - messageProcessor - RemoteExceptionpublic boolean isMessageProcessorExist(String backEndUrl, String sessionCookie, String messageProcessor) throws RemoteException
backEndUrl - sessionCookie - messageProcessor - RemoteExceptionpublic boolean isSequenceTemplateExist(String backEndUrl, String sessionCookie, String sequenceTemplate) throws RemoteException
RemoteExceptionpublic boolean isEndpointTemplateExist(String backEndUrl, String sessionCookie, String endpointTemplate) throws RemoteException
RemoteExceptionpublic boolean isApiExist(String backEndUrl, String sessionCookie, String apiName) throws RemoteException, org.wso2.carbon.rest.api.stub.RestApiAdminAPIException
RemoteExceptionorg.wso2.carbon.rest.api.stub.RestApiAdminAPIExceptionpublic boolean isPriorityExecutorExist(String backEndUrl, String sessionCookie, String priorityExecutorName) throws RemoteException
RemoteExceptionpublic boolean isScheduleTaskExist(String backEndUrl, String sessionCookie, String taskName) throws RemoteException, org.wso2.carbon.task.stub.TaskManagementException
RemoteExceptionorg.wso2.carbon.task.stub.TaskManagementExceptionpublic void deleteProxyService(String backEndUrl, String sessionCookie, String proxyServiceName) throws org.wso2.carbon.proxyadmin.stub.ProxyServiceAdminProxyAdminException, RemoteException
backEndUrl - sessionCookie - proxyServiceName - org.wso2.carbon.proxyadmin.stub.ProxyServiceAdminProxyAdminExceptionRemoteExceptionpublic void deleteLocalEntry(String backEndUrl, String sessionCookie, String localEntryName) throws org.wso2.carbon.localentry.stub.types.LocalEntryAdminException, RemoteException
backEndUrl - sessionCookie - localEntryName - org.wso2.carbon.localentry.stub.types.LocalEntryAdminExceptionRemoteExceptionpublic void deleteEndpoint(String backEndUrl, String sessionCookie, String endpointName) throws org.wso2.carbon.endpoint.stub.types.EndpointAdminEndpointAdminException, RemoteException
backEndUrl - sessionCookie - endpointName - org.wso2.carbon.endpoint.stub.types.EndpointAdminEndpointAdminExceptionRemoteExceptionpublic void deleteSequence(String backEndUrl, String sessionCookie, String sequenceName) throws org.wso2.carbon.sequences.stub.types.SequenceEditorException, RemoteException
backEndUrl - sessionCookie - sequenceName - org.wso2.carbon.sequences.stub.types.SequenceEditorExceptionRemoteExceptionpublic void deleteMessageStore(String backEndUrl, String sessionCookie, String messageStore) throws RemoteException, org.wso2.carbon.sequences.stub.types.SequenceEditorException
backEndUrl - sessionCookie - messageStore - RemoteExceptionorg.wso2.carbon.sequences.stub.types.SequenceEditorExceptionpublic void deleteMessageProcessor(String backEndUrl, String sessionCookie, String messageProcessor) throws RemoteException, org.wso2.carbon.sequences.stub.types.SequenceEditorException
backEndUrl - sessionCookie - messageProcessor - RemoteExceptionorg.wso2.carbon.sequences.stub.types.SequenceEditorExceptionpublic void deleteEndpointTemplate(String backEndUrl, String sessionCookie, String endpointTemplate) throws RemoteException, org.wso2.carbon.sequences.stub.types.SequenceEditorException, org.wso2.carbon.endpoint.stub.types.EndpointAdminEndpointAdminException
RemoteExceptionorg.wso2.carbon.sequences.stub.types.SequenceEditorExceptionorg.wso2.carbon.endpoint.stub.types.EndpointAdminEndpointAdminExceptionpublic void deleteSequenceTemplate(String backEndUrl, String sessionCookie, String sequenceTemplateName) throws RemoteException, org.wso2.carbon.sequences.stub.types.SequenceEditorException, org.wso2.carbon.endpoint.stub.types.EndpointAdminEndpointAdminException
RemoteExceptionorg.wso2.carbon.sequences.stub.types.SequenceEditorExceptionorg.wso2.carbon.endpoint.stub.types.EndpointAdminEndpointAdminExceptionpublic void deleteApi(String backEndUrl, String sessionCookie, String apiName) throws RemoteException, org.wso2.carbon.rest.api.stub.RestApiAdminAPIException
RemoteExceptionorg.wso2.carbon.rest.api.stub.RestApiAdminAPIExceptionpublic void deletePriorityExecutor(String backEndUrl, String sessionCookie, String executorName) throws RemoteException
RemoteExceptionpublic void deleteScheduleTask(String backEndUrl, String sessionCookie, String taskName, String group) throws org.wso2.carbon.task.stub.TaskManagementException, RemoteException
backEndUrl - sessionCookie - taskName - name of the ScheduleTaskgroup - group of the ScheduleTaskorg.wso2.carbon.task.stub.TaskManagementExceptionRemoteExceptionpublic boolean isProxyUnDeployed(String backEndUrl, String sessionCookie, String proxyName) throws RemoteException
backEndUrl - sessionCookie - proxyName - RemoteExceptionpublic boolean isMessageStoreUnDeployed(String backEndUrl, String sessionCookie, String messageStoreName) throws org.wso2.carbon.sequences.stub.types.SequenceEditorException, RemoteException
org.wso2.carbon.sequences.stub.types.SequenceEditorExceptionRemoteExceptionpublic boolean isMessageProcessorUnDeployed(String backEndUrl, String sessionCookie, String messageProcessorName) throws org.wso2.carbon.sequences.stub.types.SequenceEditorException, RemoteException
org.wso2.carbon.sequences.stub.types.SequenceEditorExceptionRemoteExceptionpublic boolean isLocalEntryDeployed(String backEndUrl, String sessionCookie, String localEntryName) throws org.wso2.carbon.localentry.stub.types.LocalEntryAdminException, RemoteException
backEndUrl - sessionCookie - localEntryName - org.wso2.carbon.localentry.stub.types.LocalEntryAdminExceptionRemoteExceptionpublic boolean isLocalEntryUnDeployed(String backEndUrl, String sessionCookie, String localEntryName) throws org.wso2.carbon.localentry.stub.types.LocalEntryAdminException, RemoteException
backEndUrl - sessionCookie - localEntryName - org.wso2.carbon.localentry.stub.types.LocalEntryAdminExceptionRemoteExceptionpublic boolean isSequenceUnDeployed(String backEndUrl, String sessionCookie, String sequenceName) throws org.wso2.carbon.sequences.stub.types.SequenceEditorException, RemoteException
backEndUrl - sessionCookie - sequenceName - org.wso2.carbon.sequences.stub.types.SequenceEditorExceptionRemoteExceptionpublic boolean isEndpointUnDeployed(String backEndUrl, String sessionCookie, String endpointName) throws org.wso2.carbon.endpoint.stub.types.EndpointAdminEndpointAdminException, RemoteException
backEndUrl - sessionCookie - endpointName - org.wso2.carbon.endpoint.stub.types.EndpointAdminEndpointAdminExceptionRemoteExceptionpublic boolean isEndpointTemplateUnDeployed(String backEndUrl, String sessionCookie, String endpointTemplateName) throws org.wso2.carbon.endpoint.stub.types.EndpointAdminEndpointAdminException, RemoteException
org.wso2.carbon.endpoint.stub.types.EndpointAdminEndpointAdminExceptionRemoteExceptionpublic boolean isSequenceTemplateUnDeployed(String backEndUrl, String sessionCookie, String sequenceTemplateName) throws org.wso2.carbon.endpoint.stub.types.EndpointAdminEndpointAdminException, RemoteException
org.wso2.carbon.endpoint.stub.types.EndpointAdminEndpointAdminExceptionRemoteExceptionpublic boolean isApiUnDeployed(String backEndUrl, String sessionCookie, String apiName) throws RemoteException, org.wso2.carbon.rest.api.stub.RestApiAdminAPIException
RemoteExceptionorg.wso2.carbon.rest.api.stub.RestApiAdminAPIExceptionpublic boolean isPriorityExecutorUnDeployed(String backEndUrl, String sessionCookie, String executorName) throws RemoteException
RemoteExceptionpublic boolean isScheduleTaskUnDeployed(String backEndUrl, String sessionCookie, String taskName) throws RemoteException, org.wso2.carbon.task.stub.TaskManagementException
backEndUrl - sessionCookie - taskName - RemoteExceptionorg.wso2.carbon.task.stub.TaskManagementExceptionpublic void verifySynapseDeployment(org.apache.axiom.om.OMElement synapseConfig,
String backendURL,
String sessionCookie)
throws org.wso2.carbon.localentry.stub.types.LocalEntryAdminException,
RemoteException,
org.wso2.carbon.endpoint.stub.types.EndpointAdminEndpointAdminException,
org.wso2.carbon.sequences.stub.types.SequenceEditorException,
org.wso2.carbon.rest.api.stub.RestApiAdminAPIException
synapseConfig - backendURL - sessionCookie - org.wso2.carbon.localentry.stub.types.LocalEntryAdminExceptionRemoteExceptionorg.wso2.carbon.endpoint.stub.types.EndpointAdminEndpointAdminExceptionorg.wso2.carbon.sequences.stub.types.SequenceEditorExceptionorg.wso2.carbon.rest.api.stub.RestApiAdminAPIExceptionpublic void deleteArtifact(org.apache.axiom.om.OMElement synapseConfig,
String backendURL,
String sessionCookie)
throws Exception
ExceptionCopyright © 2015 WSO2 Inc. All rights reserved.