public void deployVerticles()

in docker_images/java/wrapper/src/main/java/io/swagger/server/api/MainApiVerticle.java [77:133]


    public void deployVerticles(Future<Void> startFuture) {

        vertx.deployVerticle("io.swagger.server.api.verticle.ControlApiVerticle", res -> {
            if (res.succeeded()) {
                LOGGER.info("ControlApiVerticle : Deployed");
            } else {
                startFuture.fail(res.cause());
                LOGGER.error("ControlApiVerticle : Deployment failed");
            }
        });

        vertx.deployVerticle("io.swagger.server.api.verticle.DeviceApiVerticle", res -> {
            if (res.succeeded()) {
                LOGGER.info("DeviceApiVerticle : Deployed");
            } else {
                startFuture.fail(res.cause());
                LOGGER.error("DeviceApiVerticle : Deployment failed");
            }
        });

        vertx.deployVerticle("io.swagger.server.api.verticle.ModuleApiVerticle", res -> {
            if (res.succeeded()) {
                LOGGER.info("ModuleApiVerticle : Deployed");
            } else {
                startFuture.fail(res.cause());
                LOGGER.error("ModuleApiVerticle : Deployment failed");
            }
        });

        vertx.deployVerticle("io.swagger.server.api.verticle.NetApiVerticle", res -> {
            if (res.succeeded()) {
                LOGGER.info("NetApiVerticle : Deployed");
            } else {
                startFuture.fail(res.cause());
                LOGGER.error("NetApiVerticle : Deployment failed");
            }
        });

        vertx.deployVerticle("io.swagger.server.api.verticle.RegistryApiVerticle", res -> {
            if (res.succeeded()) {
                LOGGER.info("RegistryApiVerticle : Deployed");
            } else {
                startFuture.fail(res.cause());
                LOGGER.error("RegistryApiVerticle : Deployment failed");
            }
        });

        vertx.deployVerticle("io.swagger.server.api.verticle.ServiceApiVerticle", res -> {
            if (res.succeeded()) {
                LOGGER.info("ServiceApiVerticle : Deployed");
            } else {
                startFuture.fail(res.cause());
                LOGGER.error("ServiceApiVerticle : Deployment failed");
            }
        });

    }