public class ApiProductTestHelper extends Object
| Constructor and Description |
|---|
ApiProductTestHelper(RestAPIPublisherImpl restAPIPublisher,
RestAPIStoreImpl restAPIStore) |
| Modifier and Type | Method and Description |
|---|---|
WorkflowResponseDTO |
changeLifecycleStateOfApiProduct(String apiProductId,
String action,
String lifecycleChecklist) |
APIProductDTO |
createAPIProductInPublisher(String provider,
String name,
String context,
List<APIDTO> apisToBeUsed,
List<String> policies) |
void |
verfiyApiProductInPublisher(APIProductDTO responseData) |
APIDTO |
verifyApiProductInPortal(APIProductDTO apiProductDTO) |
public ApiProductTestHelper(RestAPIPublisherImpl restAPIPublisher, RestAPIStoreImpl restAPIStore)
public APIProductDTO createAPIProductInPublisher(String provider, String name, String context, List<APIDTO> apisToBeUsed, List<String> policies) throws ApiException
ApiExceptionpublic WorkflowResponseDTO changeLifecycleStateOfApiProduct(String apiProductId, String action, String lifecycleChecklist) throws ApiException, APIManagerIntegrationTestException
public void verfiyApiProductInPublisher(APIProductDTO responseData) throws ApiException
ApiExceptionpublic APIDTO verifyApiProductInPortal(APIProductDTO apiProductDTO) throws ApiException, InterruptedException
ApiExceptionInterruptedExceptionCopyright © 2022 WSO2 Inc. All rights reserved.