Search in sources :

Example 1 with OpenShiftConfiguration

use of io.syndesis.qe.marketplace.openshift.OpenShiftConfiguration in project syndesis-qe by syndesisio.

the class TestConfiguration method getOpenShiftService.

public static OpenShiftService getOpenShiftService(String quayProject) {
    OpenShiftUser defaultUser = new OpenShiftUser(syndesisUsername(), syndesisPassword(), openShiftUrl());
    OpenShiftUser adminUser = new OpenShiftUser(adminUsername(), adminPassword(), openShiftUrl());
    OpenShiftConfiguration openShiftConfiguration = OpenShiftConfiguration.builder().namespace(openShiftNamespace()).pullSecretName(syndesisPullSecretName()).pullSecret(syndesisPullSecret()).quayOpsrcToken(quayOpsrcToken()).icspConfigURL(operatorhubIcspScriptURL()).build();
    return new OpenShiftService(quayNamespace(), quayProject, openShiftConfiguration, adminUser, defaultUser);
}
Also used : OpenShiftUser(io.syndesis.qe.marketplace.openshift.OpenShiftUser) OpenShiftService(io.syndesis.qe.marketplace.openshift.OpenShiftService) OpenShiftConfiguration(io.syndesis.qe.marketplace.openshift.OpenShiftConfiguration)

Aggregations

OpenShiftConfiguration (io.syndesis.qe.marketplace.openshift.OpenShiftConfiguration)1 OpenShiftService (io.syndesis.qe.marketplace.openshift.OpenShiftService)1 OpenShiftUser (io.syndesis.qe.marketplace.openshift.OpenShiftUser)1