Class RestAPIServiceCatalogImpl
java.lang.Object
org.wso2.am.integration.test.impl.RestAPIServiceCatalogImpl
-
Constructor Summary
ConstructorsConstructorDescriptionRestAPIServiceCatalogImpl(String username, String password, String tenantDomain) -
Method Summary
Modifier and TypeMethodDescriptioncreateService(ServiceDTO serviceMetadata, File definitionFile, String inlineContent) deleteService(String serviceId) exportService(String name, String version) importService(File file, Boolean overwrite, String verifier) retrieveServiceById(String serviceId) retrieveServiceDefinition(String serviceId) retrieveServices(String name, String version, String definitionType, String key, Boolean shrink, String sortBy, String sortOrder, Integer limit, Integer offset) retrieveServiceUsage(String serviceId) updateService(String serviceId, ServiceDTO serviceMetadata, File definitionFile, String inlineContent)
-
Constructor Details
-
RestAPIServiceCatalogImpl
-
-
Method Details
-
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
- Throws:
ApiException
-
updateService
public ServiceDTO updateService(String serviceId, ServiceDTO serviceMetadata, File definitionFile, String inlineContent) throws ApiException - Throws:
ApiException
-
deleteService
- Throws:
ApiException
-
retrieveServiceDefinition
- Throws:
ApiException
-
retrieveServiceUsage
- Throws:
ApiException
-
importService
public ServiceInfoListDTO importService(File file, Boolean overwrite, String verifier) throws ApiException - Throws:
ApiException
-
exportService
- Throws:
ApiException
-