Class Tools
java.lang.Object
org.arquillian.cube.openshift.api.Tools
Useful methods that can also be used in-container.
(keep dependecies to a minimal)
- Author:
- Ales Justin
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SSLContextstatic PropertiesloadProperties(Class<?> clazz, String fileName) Load properties.static SSLContextTrust all certs.
-
Constructor Details
-
Tools
public Tools()
-
-
Method Details
-
loadProperties
Load properties.- Parameters:
clazz- the class from classpath where the properties arefileName- properties file name- Returns:
- properties
- Throws:
IOException- for any error
-
trustAllCertificates
Trust all certs.- Throws:
Exception- for any error
-
getTlsSslContext
- Throws:
Exception
-