use of com.codingchili.Controller.Website in project parser-excel-elasticsearch by codingchili.
the class ApplicationLauncher method start.
public void start(Future<Void> start) {
Future<String> writer = Future.future();
Future<String> website = Future.future();
vertx.deployVerticle(new ElasticWriter(), writer.completer());
vertx.deployVerticle(new Website(), website.completer());
CompositeFuture.all(writer, website).setHandler(done -> {
if (done.succeeded()) {
start.complete();
} else {
start.fail(done.cause());
}
});
}
use of com.codingchili.Controller.Website in project parser-excel-elasticsearch by codingchili.
the class TestWebsite method setUp.
@Before
public void setUp(TestContext context) {
vertx = Vertx.vertx();
vertx.deployVerticle(new Website(), context.asyncAssertSuccess());
}
Aggregations