Package org.wso2.aws.client
Class AWSGatewayDeployer
- java.lang.Object
-
- org.wso2.aws.client.AWSGatewayDeployer
-
- All Implemented Interfaces:
org.wso2.carbon.apimgt.impl.deployer.ExternalGatewayDeployer
public class AWSGatewayDeployer extends Object implements org.wso2.carbon.apimgt.impl.deployer.ExternalGatewayDeployer
This class controls the API artifact deployments on the AWS API Gateway
-
-
Constructor Summary
Constructors Constructor Description AWSGatewayDeployer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringdeploy(org.wso2.carbon.apimgt.api.model.API api, org.wso2.carbon.apimgt.api.model.Environment environment, String referenceArtifact)StringgetAPIExecutionURL(String url, org.wso2.carbon.apimgt.api.model.Environment environment, String referenceArtifact)List<org.wso2.carbon.apimgt.api.model.ConfigurationDto>getConnectionConfigurations()StringgetDefaultHostnameTemplate()com.google.gson.JsonObjectgetGatewayFeatureCatalog()StringgetType()voidtransformAPI(org.wso2.carbon.apimgt.api.model.API api)booleanundeploy(String apiID, String apiName, String apiVersion, String apiContext, org.wso2.carbon.apimgt.api.model.Environment environment, String referenceArtifact)booleanundeployWhenRetire(org.wso2.carbon.apimgt.api.model.API api, org.wso2.carbon.apimgt.api.model.Environment environment, String referenceArtifact)List<String>validateApi(org.wso2.carbon.apimgt.api.model.API api)
-
-
-
Method Detail
-
deploy
public String deploy(org.wso2.carbon.apimgt.api.model.API api, org.wso2.carbon.apimgt.api.model.Environment environment, String referenceArtifact) throws org.wso2.carbon.apimgt.impl.deployer.exceptions.DeployerException
- Specified by:
deployin interfaceorg.wso2.carbon.apimgt.impl.deployer.ExternalGatewayDeployer- Throws:
org.wso2.carbon.apimgt.impl.deployer.exceptions.DeployerException
-
undeploy
public boolean undeploy(String apiID, String apiName, String apiVersion, String apiContext, org.wso2.carbon.apimgt.api.model.Environment environment, String referenceArtifact) throws org.wso2.carbon.apimgt.impl.deployer.exceptions.DeployerException
- Specified by:
undeployin interfaceorg.wso2.carbon.apimgt.impl.deployer.ExternalGatewayDeployer- Throws:
org.wso2.carbon.apimgt.impl.deployer.exceptions.DeployerException
-
undeployWhenRetire
public boolean undeployWhenRetire(org.wso2.carbon.apimgt.api.model.API api, org.wso2.carbon.apimgt.api.model.Environment environment, String referenceArtifact) throws org.wso2.carbon.apimgt.impl.deployer.exceptions.DeployerException- Specified by:
undeployWhenRetirein interfaceorg.wso2.carbon.apimgt.impl.deployer.ExternalGatewayDeployer- Throws:
org.wso2.carbon.apimgt.impl.deployer.exceptions.DeployerException
-
getConnectionConfigurations
public List<org.wso2.carbon.apimgt.api.model.ConfigurationDto> getConnectionConfigurations()
- Specified by:
getConnectionConfigurationsin interfaceorg.wso2.carbon.apimgt.impl.deployer.ExternalGatewayDeployer
-
getType
public String getType()
- Specified by:
getTypein interfaceorg.wso2.carbon.apimgt.impl.deployer.ExternalGatewayDeployer
-
getGatewayFeatureCatalog
public com.google.gson.JsonObject getGatewayFeatureCatalog() throws org.wso2.carbon.apimgt.impl.deployer.exceptions.DeployerException- Specified by:
getGatewayFeatureCatalogin interfaceorg.wso2.carbon.apimgt.impl.deployer.ExternalGatewayDeployer- Throws:
org.wso2.carbon.apimgt.impl.deployer.exceptions.DeployerException
-
validateApi
public List<String> validateApi(org.wso2.carbon.apimgt.api.model.API api) throws org.wso2.carbon.apimgt.impl.deployer.exceptions.DeployerException
- Specified by:
validateApiin interfaceorg.wso2.carbon.apimgt.impl.deployer.ExternalGatewayDeployer- Throws:
org.wso2.carbon.apimgt.impl.deployer.exceptions.DeployerException
-
getAPIExecutionURL
public String getAPIExecutionURL(String url, org.wso2.carbon.apimgt.api.model.Environment environment, String referenceArtifact) throws org.wso2.carbon.apimgt.impl.deployer.exceptions.DeployerException
- Specified by:
getAPIExecutionURLin interfaceorg.wso2.carbon.apimgt.impl.deployer.ExternalGatewayDeployer- Throws:
org.wso2.carbon.apimgt.impl.deployer.exceptions.DeployerException
-
transformAPI
public void transformAPI(org.wso2.carbon.apimgt.api.model.API api) throws org.wso2.carbon.apimgt.impl.deployer.exceptions.DeployerException- Specified by:
transformAPIin interfaceorg.wso2.carbon.apimgt.impl.deployer.ExternalGatewayDeployer- Throws:
org.wso2.carbon.apimgt.impl.deployer.exceptions.DeployerException
-
getDefaultHostnameTemplate
public String getDefaultHostnameTemplate()
- Specified by:
getDefaultHostnameTemplatein interfaceorg.wso2.carbon.apimgt.impl.deployer.ExternalGatewayDeployer
-
-