vertx/src/test/java/eu/internetofus/common/vertx/MainArgumentBuilder.java
/**
   * Add all the configuration to interact with all the components defined on the
   * container.
   *
   * @param containers where are the components to use.
   *
   * @return the argument builder.
   */
Add all the configuration to interact with all the components defined on the
container.

@param containers where are the components to use.

@return the argument builder.
Add all the configuration to interact with all the components defined on the container . @param containers where are the components to use . @return the argument builder .
public MainArgumentBuilder withComponents(@NotNull final WeNetComponentContainers containers) {
    this.with("persistence.db_name", MongoContainer.MONGODB_NAME);
    this.with("persistence.host", containers.getMongoDBHost());
    this.with("persistence.port", containers.getMongoDBPort());
    this.with("persistence.username", MongoContainer.MONGODB_USER);
    this.with("persistence.password", MongoContainer.MONGODB_PASSWORD);
    this.withWeNetComponent("profileManager", containers.getProfileManagerApi());
    this.withWeNetComponent("profileDiversityManager", containers.getProfileDiversityManagerApi());
    this.withWeNetComponent("taskManager", containers.getTaskManagerApi());
    this.withWeNetComponent("interactionProtocolEngine", containers.getInteractionProtocolEngineApi());
    this.withWeNetComponent("service", containers.getServiceApi());
    this.withWeNetComponent("socialContextBuilder", containers.getSocialContextBuilderApi());
    this.withWeNetComponent("incentiveServer", containers.getIncentiveServerApi());
    this.withWeNetComponent("personalContextBuilder", containers.getPersonalContextBuilderApi());
    this.withApikey(WeNetComponentContainers.DEFAULT_WENET_COMPONENT_APIKEY);
    return this;
  }
public MainArgumentBuilder withComponents ( @ NotNull final WeNetComponentContainers containers ) { this . with ( "persistence.db_name" , MongoContainer . MONGODB_NAME ) ; this . with ( "persistence.host" , containers . getMongoDBHost ( ) ) ; this . with ( "persistence.port" , containers . getMongoDBPort ( ) ) ; this . with ( "persistence.username" , MongoContainer . MONGODB_USER ) ; this . with ( "persistence.password" , MongoContainer . MONGODB_PASSWORD ) ; this . withWeNetComponent ( "profileManager" , containers . getProfileManagerApi ( ) ) ; this . withWeNetComponent ( "profileDiversityManager" , containers . getProfileDiversityManagerApi ( ) ) ; this . withWeNetComponent ( "taskManager" , containers . getTaskManagerApi ( ) ) ; this . withWeNetComponent ( "interactionProtocolEngine" , containers . getInteractionProtocolEngineApi ( ) ) ; this . withWeNetComponent ( "service" , containers . getServiceApi ( ) ) ; this . withWeNetComponent ( "socialContextBuilder" , containers . getSocialContextBuilderApi ( ) ) ; this . withWeNetComponent ( "incentiveServer" , containers . getIncentiveServerApi ( ) ) ; this . withWeNetComponent ( "personalContextBuilder" , containers . getPersonalContextBuilderApi ( ) ) ; this . withApikey ( WeNetComponentContainers . DEFAULT_WENET_COMPONENT_APIKEY ) ; return this ; }
Add all the configuration to interact with all the components defined on the
 container.
Add all the configuration to interact with all the components defined on the container .