Class ServiceDeploymentUtil
- java.lang.Object
-
- org.wso2.am.integration.test.utils.generic.ServiceDeploymentUtil
-
public class ServiceDeploymentUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description ServiceDeploymentUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisServiceWSDlExist(String wsdlURL, long synchronizingDelay)Check whether the wsdl is exists or notstatic booleanisWSDLAvailable(String serviceEndpoint)Check whether the wsdl is available
-
-
-
Method Detail
-
isServiceWSDlExist
public static boolean isServiceWSDlExist(String wsdlURL, long synchronizingDelay) throws IOException
Check whether the wsdl is exists or not- Parameters:
wsdlURL- - URL of the wsdlsynchronizingDelay- - time interval to wait until service get deployed on worker nodes.- Returns:
- - status of the wsdl availability
- Throws:
IOException- - Throws if given wsdl cannot be found
-
isWSDLAvailable
public static boolean isWSDLAvailable(String serviceEndpoint) throws IOException
Check whether the wsdl is available- Parameters:
serviceEndpoint- - service endpoint (without ?wsdl)- Returns:
- - Status of wsdl availability
- Throws:
IOException- - Throws if wsdl cannot be found
-
-