Class RestAPIServiceCatalogImpl
- java.lang.Object
-
- org.wso2.am.integration.test.impl.RestAPIServiceCatalogImpl
-
public class RestAPIServiceCatalogImpl extends Object
-
-
Constructor Summary
Constructors Constructor Description RestAPIServiceCatalogImpl(String username, String password, String tenantDomain)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServiceDTOcreateService(ServiceDTO serviceMetadata, File definitionFile, String inlineContent)ApiResponsedeleteService(String serviceId)FileexportService(String name, String version)ServiceInfoListDTOimportService(File file, Boolean overwrite, String verifier)ServiceDTOretrieveServiceById(String serviceId)StringretrieveServiceDefinition(String serviceId)ServiceListDTOretrieveServices(String name, String version, String definitionType, String key, Boolean shrink, String sortBy, String sortOrder, Integer limit, Integer offset)APIListDTOretrieveServiceUsage(String serviceId)ServiceDTOupdateService(String serviceId, ServiceDTO serviceMetadata, File definitionFile, String inlineContent)
-
-
-
Method Detail
-
retrieveServices
public ServiceListDTO retrieveServices(String name, String version, String definitionType, String key, Boolean shrink, String sortBy, String sortOrder, Integer limit, Integer offset) throws ApiException
- Throws:
ApiException
-
createService
public ServiceDTO createService(ServiceDTO serviceMetadata, File definitionFile, String inlineContent) throws ApiException
- Throws:
ApiException
-
retrieveServiceById
public ServiceDTO retrieveServiceById(String serviceId) throws ApiException
- Throws:
ApiException
-
updateService
public ServiceDTO updateService(String serviceId, ServiceDTO serviceMetadata, File definitionFile, String inlineContent) throws ApiException
- Throws:
ApiException
-
deleteService
public ApiResponse deleteService(String serviceId) throws ApiException
- Throws:
ApiException
-
retrieveServiceDefinition
public String retrieveServiceDefinition(String serviceId) throws ApiException
- Throws:
ApiException
-
retrieveServiceUsage
public APIListDTO retrieveServiceUsage(String serviceId) throws ApiException
- Throws:
ApiException
-
importService
public ServiceInfoListDTO importService(File file, Boolean overwrite, String verifier) throws ApiException
- Throws:
ApiException
-
exportService
public File exportService(String name, String version) throws ApiException
- Throws:
ApiException
-
-