public void start()

in services/tracking-service/reactive-vertx/src/main/java/com/amazon/verticles/HttpVerticle.java [43:60]


    public void start() {

        this.eb = vertx.eventBus();

        Router router = Router.router(vertx);

        router.route().handler(BodyHandler.create());
        router.get("/event/:eventID").handler(this::handleTrackingEvent);
        router.get("/cache/fill").handler(this::fillCacheWithData);
        router.get("/cache/purge").handler(this::purgeCache);
        router.get("/health/check").handler(this::checkHealth);

        HttpServerOptions httpServerOptions = new HttpServerOptions();
        httpServerOptions.setCompressionSupported(true);

        HttpServer httpServer = vertx.createHttpServer(httpServerOptions);
        httpServer.requestHandler(router).listen(8080);
    }