use of oracle.kubernetes.operator.helpers.CallBuilderFactory in project weblogic-kubernetes-operator by oracle.
the class ServiceHelperTest method startClean.
@Before
public void startClean() throws Exception {
CallBuilderFactory factory = new CallBuilderFactory(null);
// Delete the service if left around.
System.out.println("Deleting service pre-test");
try {
factory.create().deleteService("domain-uid-admin", "tests");
} catch (ApiException e) {
if (e.getCode() != CallBuilder.NOT_FOUND) {
throw e;
}
}
}
Aggregations