public class AppGatewayAdminClient extends AbstractAPIGatewayAdminClient
| Constructor and Description |
|---|
AppGatewayAdminClient(org.wso2.carbon.appmgt.api.model.APIIdentifier apiId,
Environment environment)
Constructor.
|
| 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
apiId - APIIdentifier objectenvironment - Environment objectorg.wso2.carbon.appmgt.api.AppManagementException - on errors while trying to initiate AppGatewayAdminStubpublic void addVersionedWebApp(APITemplateBuilder builder, org.wso2.carbon.appmgt.api.model.APIIdentifier apiId, String tenantDomain) throws org.wso2.carbon.appmgt.api.AppManagementException
builder - APITemplateBuilder objectapiId - APIIdentifier objecttenantDomain - Tenant domainorg.wso2.carbon.appmgt.api.AppManagementException - on errors while trying to add versioned WebApppublic 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
apiId - APIIdentifier objecttenantDomain - Tenant domainWebAppData objectorg.wso2.carbon.appmgt.api.AppManagementException - on errors while trying to get versioned WebAppspublic void updateVersionedWebApp(APITemplateBuilder builder, org.wso2.carbon.appmgt.api.model.APIIdentifier apiId, String tenantDomain) throws org.wso2.carbon.appmgt.api.AppManagementException
builder - APITemplateBuilder objectapiId - APIIdentifier objecttenantDomain - Tenant domainorg.wso2.carbon.appmgt.api.AppManagementException - on errors while trying to update WebApppublic void deleteVersionedWebApp(org.wso2.carbon.appmgt.api.model.APIIdentifier apiId,
String tenantDomain)
throws org.wso2.carbon.appmgt.api.AppManagementException
apiId - APIIdentifier objecttenantDomain - Tenant domainorg.wso2.carbon.appmgt.api.AppManagementException - on errors while trying to delete versioned WebApppublic void addNonVersionedWebApp(APITemplateBuilder builder, org.wso2.carbon.appmgt.api.model.APIIdentifier apiId, String tenantDomain) throws org.wso2.carbon.appmgt.api.AppManagementException
builder - APITemplateBuilder objectapiId - APIIdentifier objecttenantDomain - Tenant domainorg.wso2.carbon.appmgt.api.AppManagementException - on errors while trying to add non versioned WebAppspublic void updateNonVersionedWebApp(APITemplateBuilder builder, org.wso2.carbon.appmgt.api.model.APIIdentifier apiId, String tenantDomain) throws org.wso2.carbon.appmgt.api.AppManagementException
builder - APITemplateBuilder objectapiId - APIIdentifier objecttenantDomain - Tenant domainorg.wso2.carbon.appmgt.api.AppManagementException - on errors while trying to update non versioned WebAppspublic void deleteNonVersionedWebApp(org.wso2.carbon.appmgt.api.model.APIIdentifier apiId,
String tenantDomain)
throws org.wso2.carbon.appmgt.api.AppManagementException
apiId - APIIdentifier objecttenantDomain - Tenant domainorg.wso2.carbon.appmgt.api.AppManagementException - on errors while trying to delete non versioned WebApppublic 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
apiId - APIIdentifier objecttenantDomain - Tenant domainWebAppData objectorg.wso2.carbon.appmgt.api.AppManagementException - on errors while trying to get non versioned WebApppublic 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 while occurred in deploy sequencespublic 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 while trying to undeploy sequencepublic org.apache.axiom.om.OMElement getSequence(String sequenceName, String tenantDomain) throws org.wso2.carbon.appmgt.api.AppManagementException
sequenceName - - The sequence nametenantDomain - - The Tenant Domainorg.wso2.carbon.appmgt.api.AppManagementException - on errors while trying to get sequencespublic boolean isExistingSequence(String sequenceName, String tenantDomain) throws org.wso2.carbon.appmgt.api.AppManagementException
sequenceName - Sequence nametenantDomain - Tenant domainorg.wso2.carbon.appmgt.api.AppManagementException - on errors while trying to check whether sequence exist or notCopyright © 2017 WSO2. All rights reserved.