Я хочу подключиться к openshift из затмения с помощью rest rest.
Используя браузер, я могу войти, но из elipse (STS) я получаю ошибку.
Exception in thread "main" com.openshift.client.OpenShiftEndpointException: Could not request https://openshift.redhat.com/broker/rest/api:
public class AAAAA {
public static void main(String[] args) throws FileNotFoundException, OpenShiftException, IOException {
IOpenShiftConnection connection = new OpenShiftConnectionFactory().getConnection("https://console.dev-mds-openshift.mohan.com", "username", "password");
}
}
https://console.dev -mds-openshift.mohan.com - домен, в который я хочу войти, используя свои учетные данные.