use of oracle.kubernetes.operator.work.Container in project weblogic-kubernetes-operator by oracle.
the class RestTest method setUp.
@Before
public void setUp() throws Exception {
Container container = new Container();
savedhandlers = TestUtils.removeConsoleHandlers(logger);
// Start the REST server
rs = new RestServer(new TestRestConfigImpl());
rs.start(container);
// create the client
Client c = ClientBuilder.newBuilder().trustStore(createTrustStore()).register(JsonProcessingFeature.class).build();
externalHttpsTarget = c.target(rs.getExternalHttpsUri());
internalHttpsTarget = c.target(rs.getInternalHttpsUri());
}
Aggregations