109110111112113114115116117118119
.getAttribute(GatewayServices.GATEWAY_SERVICES_ATTRIBUTE); t.setName(id); TopologyService ts = gs.getService(GatewayServices.TOPOLOGY_SERVICE); ts.deployTopology(t); return getTopology(id); } @DELETE
521522523524525526527528529530531
//.log().all() .statusCode(HttpStatus.SC_NOT_FOUND) .when() .get(url); ts.deployTopology(testTopology); given() //.log().all() .auth().preemptive().basic(user, password) .expect()
559560561562563564565566567568569
GatewayServices gs = GatewayServer.getGatewayServices(); TopologyService ts = gs.getService(GatewayServices.TOPOLOGY_SERVICE); ts.deployTopology(test); given() .auth().preemptive().basic(username, password) .expect() //.log().all()