Class APICreationRequestBean
- java.lang.Object
-
- org.wso2.am.integration.test.utils.bean.AbstractRequest
-
- org.wso2.am.integration.test.utils.bean.APICreationRequestBean
-
public class APICreationRequestBean extends AbstractRequest
Bean class to contain the Information needed to create and update process of a API.
-
-
Field Summary
-
Fields inherited from class org.wso2.am.integration.test.utils.bean.AbstractRequest
action
-
-
Constructor Summary
Constructors Constructor Description APICreationRequestBean(String apiName, String context, String version, String provider)constructor of the APICreationRequestBean class with default endpointAPICreationRequestBean(String apiName, String context, String version, String provider, String apiTier, String resourceTier, URL endpointUrl)constructor of the APICreationRequestBean class only with production urlAPICreationRequestBean(String apiName, String context, String version, String provider, URL endpointUrl)constructor of the APICreationRequestBean class only with production urlAPICreationRequestBean(String apiName, String context, String version, String provider, URL endpointUrl, URL sandboxUrl)constructor of the APICreationRequestBean class with production url & sand box urlAPICreationRequestBean(String apiName, String context, String version, String provider, URL endpointUrl, List<APIResourceBean> resourceBeans)constructor of the APICreationRequestBean class only with production urlAPICreationRequestBean(String apiName, String context, String version, String provider, ArrayList<String> productionEndpoints)constructor of the APICreationRequestBean classAPICreationRequestBean(String apiName, String context, String version, String provider, List<String> productionEndpoints, List<String> sandboxEndpoints)constructor of the APICreationRequestBean class
-
Method Summary
-
Methods inherited from class org.wso2.am.integration.test.utils.bean.AbstractRequest
addParameter, generateRequestParameters, generateRequestParameters
-
-
-
-
Constructor Detail
-
APICreationRequestBean
public APICreationRequestBean(String apiName, String context, String version, String provider, String apiTier, String resourceTier, URL endpointUrl) throws APIManagerIntegrationTestException
constructor of the APICreationRequestBean class only with production url- Parameters:
apiName- - Name of the APicontext- - API contextversion- - API versionprovider- - Api ProviderapiTier- - Api TierresourceTier- - Resource TierendpointUrl- - Endpoint URL of the API- Throws:
APIManagerIntegrationTestException- - Exception throws when constructing the end point url JSON
-
APICreationRequestBean
public APICreationRequestBean(String apiName, String context, String version, String provider, URL endpointUrl) throws APIManagerIntegrationTestException
constructor of the APICreationRequestBean class only with production url- Parameters:
apiName- - Name of the APicontext- - API contextversion- - API versionendpointUrl- - Endpoint URL of the API- Throws:
APIManagerIntegrationTestException- - Exception throws when constructing the end point url JSON
-
APICreationRequestBean
public APICreationRequestBean(String apiName, String context, String version, String provider, URL endpointUrl, List<APIResourceBean> resourceBeans) throws APIManagerIntegrationTestException
constructor of the APICreationRequestBean class only with production url- Parameters:
apiName- - Name of the APicontext- - API contextversion- - API versionendpointUrl- - Endpoint URL of the APIresourceBeans- - Resource list- Throws:
APIManagerIntegrationTestException- - Exception throws when constructing the end point url JSON
-
APICreationRequestBean
public APICreationRequestBean(String apiName, String context, String version, String provider, ArrayList<String> productionEndpoints) throws APIManagerIntegrationTestException
constructor of the APICreationRequestBean class- Parameters:
apiName- - Name of the APIcontext- - API Contextversion- - API versionprovider- - API providerproductionEndpoints- - Load Balanced Production Endpoints Array- Throws:
APIManagerIntegrationTestException- - Exception throws when constructing the end point url JSON
-
APICreationRequestBean
public APICreationRequestBean(String apiName, String context, String version, String provider, URL endpointUrl, URL sandboxUrl) throws APIManagerIntegrationTestException
constructor of the APICreationRequestBean class with production url & sand box url- Parameters:
apiName- - Name of the APicontext- - API contextversion- - API versionendpointUrl- - Production Endpoint URL of the APIsandboxUrl- - Sandbox Endpoint URL of the API- Throws:
APIManagerIntegrationTestException- - Exception throws when constructing the end point url JSON
-
APICreationRequestBean
public APICreationRequestBean(String apiName, String context, String version, String provider, List<String> productionEndpoints, List<String> sandboxEndpoints) throws APIManagerIntegrationTestException
constructor of the APICreationRequestBean class- Parameters:
apiName- - Name of the APIcontext- - API Contextversion- - API Versionprovider- - API providerproductionEndpoints- - Load balanced Production Endpoints ArraysandboxEndpoints- - Load balanced Sandbox Endpoints Array- Throws:
APIManagerIntegrationTestException
-
APICreationRequestBean
public APICreationRequestBean(String apiName, String context, String version, String provider) throws APIManagerIntegrationTestException
constructor of the APICreationRequestBean class with default endpoint- Parameters:
apiName- - Name of the APicontext- - API contextversion- - API version- Throws:
APIManagerIntegrationTestException- - Exception throws when constructing the end point url JSON
-
-
Method Detail
-
setMutualSSLChecked
public void setMutualSSLChecked(String mutualSSLChecked)
To set mutual ssl.- Parameters:
mutualSSLChecked- Parameter to specify whether mutual ssl enabled.
-
setOauth2Checked
public void setOauth2Checked(String oauth2Checked)
-
getEnvironment
public String getEnvironment()
-
setEnvironment
public void setEnvironment(String environment)
-
setName
public void setName(String name)
-
setContext
public void setContext(String context)
-
getEndpoint
public org.json.JSONObject getEndpoint()
-
setEndpoint
public void setEndpoint(org.json.JSONObject endpoint)
-
setDefaultVersion
public void setDefaultVersion(String defaultVersion)
-
getBizOwner
public String getBizOwner()
-
setBizOwner
public void setBizOwner(String bizOwner)
-
getBizOwnerMail
public String getBizOwnerMail()
-
setBizOwnerMail
public void setBizOwnerMail(String bizOwnerMail)
-
getTechOwner
public String getTechOwner()
-
setTechOwner
public void setTechOwner(String techOwner)
-
getTechOwnerMail
public String getTechOwnerMail()
-
setTechOwnerMail
public void setTechOwnerMail(String techOwnerMail)
-
setAction
public void setAction()
- Specified by:
setActionin classAbstractRequest
-
setAction
public void setAction(String action)
- Overrides:
setActionin classAbstractRequest
-
init
public void init()
- Specified by:
initin classAbstractRequest
-
getEpUsername
public String getEpUsername()
-
setEpUsername
public void setEpUsername(String epUsername)
-
getEpPassword
public String getEpPassword()
-
setEpPassword
public void setEpPassword(String epPassword)
-
getResourceBeanList
public List<APIResourceBean> getResourceBeanList()
-
setResourceBeanList
public void setResourceBeanList(List<APIResourceBean> resourceBeanList)
-
getSandbox
public String getSandbox()
-
setSandbox
public void setSandbox(String sandbox)
-
getRoles
public String getRoles()
-
setRoles
public void setRoles(String roles)
-
getWsdl
public String getWsdl()
-
setWsdl
public void setWsdl(String wsdl)
-
getProvider
public String getProvider()
-
setProvider
public void setProvider(String provider)
-
getName
public String getName()
-
getEndpointConfig
public org.json.JSONObject getEndpointConfig()
-
getContext
public String getContext()
-
getVisibility
public String getVisibility()
-
setVisibility
public void setVisibility(String visibility)
-
getVersion
public String getVersion()
-
setVersion
public void setVersion(String version)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getEndpointType
public String getEndpointType()
-
setEndpointType
public void setEndpointType(String endpointType)
-
getEndpointAuthType
public String getEndpointAuthType()
-
setEndpointAuthType
public void setEndpointAuthType(String endpointAuthType)
-
getHttpChecked
public String getHttpChecked()
-
setHttpChecked
public void setHttpChecked(String httpChecked)
-
getHttpsChecked
public String getHttpsChecked()
-
setHttpsChecked
public void setHttpsChecked(String httpsChecked)
-
getTags
public String getTags()
-
setTags
public void setTags(String tags)
-
getTier
public String getTier()
-
setTier
public void setTier(String tier)
-
getThumbUrl
public String getThumbUrl()
-
setThumbUrl
public void setThumbUrl(String thumbUrl)
-
getTiersCollection
public String getTiersCollection()
-
setTiersCollection
public void setTiersCollection(String tiersCollection)
-
getType
public String getType()
-
setType
public void setType(String type)
-
getResourceCount
public String getResourceCount()
-
setResourceCount
public void setResourceCount(String resourceCount)
-
getDefaultVersion
public String getDefaultVersion()
-
setDefault_version
public void setDefault_version(String defaultVersion)
-
getDefaultVersionChecked
public String getDefaultVersionChecked()
-
setDefaultVersionChecked
public void setDefaultVersionChecked(String defaultVersionChecked)
-
getInSequence
public String getInSequence()
-
setInSequence
public void setInSequence(String inSequence)
-
getOutSequence
public String getOutSequence()
-
setOutSequence
public void setOutSequence(String outSequence)
-
getFaultSequence
public String getFaultSequence()
-
setFaultSequence
public void setFaultSequence(String faultSequence)
-
getCorsConfiguration
public org.json.JSONObject getCorsConfiguration()
-
setCorsConfiguration
public void setCorsConfiguration(org.json.JSONObject corsConfiguration)
-
getSwagger
public String getSwagger()
-
setSwagger
public void setSwagger(String swagger)
-
getSubPolicyCollection
public String getSubPolicyCollection()
-
setSubPolicyCollection
public void setSubPolicyCollection(String subPolicyCollection)
-
getProductionTps
public String getProductionTps()
-
setProductionTps
public void setProductionTps(String productionTps)
-
getEndpointUrl
public URL getEndpointUrl()
-
setEndpointUrl
public void setEndpointUrl(URL endpointUrl)
-
getSetEndpointSecurityDirectlyToEndpoint
public Boolean getSetEndpointSecurityDirectlyToEndpoint()
-
setSetEndpointSecurityDirectlyToEndpoint
public void setSetEndpointSecurityDirectlyToEndpoint(Boolean setEndpointSecurityDirectlyToEndpoint)
-
-