public class AppGatewayAdminClient extends AbstractAPIGatewayAdminClient
| Constructor and Description |
|---|
AppGatewayAdminClient(org.wso2.carbon.appmgt.api.model.APIIdentifier apiId,
Environment environment) |
| Modifier and Type | Method and Description |
|---|---|
void |
addNonVersionedWebApp(APITemplateBuilder builder,
org.wso2.carbon.appmgt.api.model.APIIdentifier apiId,
String tenantDomain)
Add non-versioned web app configuration to the gateway.
|
void |
addSequence(org.apache.axiom.om.OMElement sequence,
String tenantDomain)
Deploy the sequence to the gateway.
|
void |
addVersionedWebApp(APITemplateBuilder builder,
org.wso2.carbon.appmgt.api.model.APIIdentifier apiId,
String tenantDomain)
Add versioned web app configuration to the gateway.
|
void |
deleteNonVersionedWebApp(org.wso2.carbon.appmgt.api.model.APIIdentifier apiId,
String tenantDomain)
Delete non-versioned web app configuration form the gateway
|
void |
deleteSequence(String sequenceName,
String tenantDomain)
Undeploy the sequence from gateway.
|
void |
deleteVersionedWebApp(org.wso2.carbon.appmgt.api.model.APIIdentifier apiId,
String tenantDomain)
Delete versioned web app configuration from the gateway
|
org.wso2.carbon.appmgt.gateway.dto.stub.WebAppData |
getNonVersionedWebAppData(org.wso2.carbon.appmgt.api.model.APIIdentifier apiId,
String tenantDomain)
Return the non-versioned web app configuration from the gateway.
|
org.apache.axiom.om.OMElement |
getSequence(String sequenceName,
String tenantDomain)
Get the sequence from gateway.
|
org.wso2.carbon.appmgt.gateway.dto.stub.WebAppData |
getVersionedWebApp(org.wso2.carbon.appmgt.api.model.APIIdentifier apiId,
String tenantDomain)
Return versioned web app configuration from the gateway.
|
boolean |
isExistingSequence(String sequenceName,
String tenantDomain)
Check whether the sequence is exiting or not.
|
void |
updateNonVersionedWebApp(APITemplateBuilder builder,
org.wso2.carbon.appmgt.api.model.APIIdentifier apiId,
String tenantDomain)
Update non-versioned web app configuration in the gateway
|
void |
updateVersionedWebApp(APITemplateBuilder builder,
org.wso2.carbon.appmgt.api.model.APIIdentifier apiId,
String tenantDomain)
Update versioned web app configuration in the gateway
|
setuppublic AppGatewayAdminClient(org.wso2.carbon.appmgt.api.model.APIIdentifier apiId,
Environment environment)
throws org.wso2.carbon.appmgt.api.AppManagementException
org.wso2.carbon.appmgt.api.AppManagementExceptionpublic void addVersionedWebApp(APITemplateBuilder builder, org.wso2.carbon.appmgt.api.model.APIIdentifier apiId, String tenantDomain) throws org.wso2.carbon.appmgt.api.AppManagementException
builder - tenantDomain - org.wso2.carbon.appmgt.api.AppManagementException - on errors.public org.wso2.carbon.appmgt.gateway.dto.stub.WebAppData getVersionedWebApp(org.wso2.carbon.appmgt.api.model.APIIdentifier apiId,
String tenantDomain)
throws org.wso2.carbon.appmgt.api.AppManagementException
tenantDomain - org.wso2.carbon.appmgt.api.AppManagementException - on errors.public void updateVersionedWebApp(APITemplateBuilder builder, org.wso2.carbon.appmgt.api.model.APIIdentifier apiId, String tenantDomain) throws org.wso2.carbon.appmgt.api.AppManagementException
builder - tenantDomain - org.apache.axis2.AxisFaultorg.wso2.carbon.appmgt.api.AppManagementExceptionpublic void deleteVersionedWebApp(org.wso2.carbon.appmgt.api.model.APIIdentifier apiId,
String tenantDomain)
throws org.wso2.carbon.appmgt.api.AppManagementException
tenantDomain - org.wso2.carbon.appmgt.api.AppManagementException - on errors.public void addNonVersionedWebApp(APITemplateBuilder builder, org.wso2.carbon.appmgt.api.model.APIIdentifier apiId, String tenantDomain) throws org.wso2.carbon.appmgt.api.AppManagementException
builder - tenantDomain - org.wso2.carbon.appmgt.api.AppManagementException - on errors.public void updateNonVersionedWebApp(APITemplateBuilder builder, org.wso2.carbon.appmgt.api.model.APIIdentifier apiId, String tenantDomain) throws org.wso2.carbon.appmgt.api.AppManagementException
builder - tenantDomain - org.wso2.carbon.appmgt.api.AppManagementException - on errors.public void deleteNonVersionedWebApp(org.wso2.carbon.appmgt.api.model.APIIdentifier apiId,
String tenantDomain)
throws org.wso2.carbon.appmgt.api.AppManagementException
tenantDomain - org.wso2.carbon.appmgt.api.AppManagementException - on errors.public org.wso2.carbon.appmgt.gateway.dto.stub.WebAppData getNonVersionedWebAppData(org.wso2.carbon.appmgt.api.model.APIIdentifier apiId,
String tenantDomain)
throws org.wso2.carbon.appmgt.api.AppManagementException
tenantDomain - org.wso2.carbon.appmgt.api.AppManagementException - on errors.public void addSequence(org.apache.axiom.om.OMElement sequence,
String tenantDomain)
throws org.wso2.carbon.appmgt.api.AppManagementException
sequence - - The sequence element , which to be deployed in synapsetenantDomain - - The Tenant Domainorg.wso2.carbon.appmgt.api.AppManagementException - on errors.public void deleteSequence(String sequenceName, String tenantDomain) throws org.wso2.carbon.appmgt.api.AppManagementException
sequenceName - -The sequence name, which need to be undeployed from synapse configurationtenantDomain - - The Tenant Domainorg.wso2.carbon.appmgt.api.AppManagementException - on errors.public org.apache.axiom.om.OMElement getSequence(String sequenceName, String tenantDomain) throws org.wso2.carbon.appmgt.api.AppManagementException
sequenceName - - The sequence name,tenantDomain - - The Tenant Domainorg.wso2.carbon.appmgt.api.AppManagementException - on errors.public boolean isExistingSequence(String sequenceName, String tenantDomain) throws org.wso2.carbon.appmgt.api.AppManagementException
sequenceName - tenantDomain - org.wso2.carbon.appmgt.api.AppManagementException - on errors.Copyright © 2018 WSO2. All rights reserved.