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);
}
Aggregations