Java Code Examples for org.apache.flink.runtime.net.SSLUtilsTest#AVAILABLE_SSL_PROVIDERS

The following examples show how to use org.apache.flink.runtime.net.SSLUtilsTest#AVAILABLE_SSL_PROVIDERS . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: JobSubmitHandlerTest.java    From flink with Apache License 2.0 5 votes vote down vote up
@Parameterized.Parameters(name = "SSL enabled: {0}")
public static Iterable<Tuple2<Boolean, String>> data() {
	ArrayList<Tuple2<Boolean, String>> parameters = new ArrayList<>(3);
	parameters.add(Tuple2.of(false, "no SSL"));
	for (String sslProvider : SSLUtilsTest.AVAILABLE_SSL_PROVIDERS) {
		parameters.add(Tuple2.of(true, sslProvider));
	}
	return parameters;
}
 
Example 2
Source File: JobSubmitHandlerTest.java    From flink with Apache License 2.0 5 votes vote down vote up
@Parameterized.Parameters(name = "SSL enabled: {0}")
public static Iterable<Tuple2<Boolean, String>> data() {
	ArrayList<Tuple2<Boolean, String>> parameters = new ArrayList<>(3);
	parameters.add(Tuple2.of(false, "no SSL"));
	for (String sslProvider : SSLUtilsTest.AVAILABLE_SSL_PROVIDERS) {
		parameters.add(Tuple2.of(true, sslProvider));
	}
	return parameters;
}
 
Example 3
Source File: NettyClientServerSslTest.java    From flink with Apache License 2.0 4 votes vote down vote up
@Parameterized.Parameters(name = "SSL provider = {0}")
public static List<String> parameters() {
	return SSLUtilsTest.AVAILABLE_SSL_PROVIDERS;
}
 
Example 4
Source File: NettyClientServerSslTest.java    From flink with Apache License 2.0 4 votes vote down vote up
@Parameterized.Parameters(name = "SSL provider = {0}")
public static List<String> parameters() {
	return SSLUtilsTest.AVAILABLE_SSL_PROVIDERS;
}