vertx/src/test/java/eu/internetofus/common/vertx/MainArgumentBuilder.java
/**
   * Add all the configuration to interact with the data base. container.
   *
   * @param container with the data base.
   *
   * @return the argument builder.
   */
Add all the configuration to interact with the data base. container.
@param container with the data base.

@return the argument builder.
Add all the configuration to interact with the data base . container . @param container with the data base . @return the argument builder .
public MainArgumentBuilder withMongoDB(@NotNull final MongoContainer<?> container) {
    this.with("persistence.db_name", MongoContainer.MONGODB_NAME);
    this.with("persistence.host", container.getMongoDBHost());
    this.with("persistence.port", container.getMongoDBPort());
    this.with("persistence.username", MongoContainer.MONGODB_USER);
    this.with("persistence.password", MongoContainer.MONGODB_PASSWORD);
    return this;
  }
public MainArgumentBuilder withMongoDB ( @ NotNull final MongoContainer < ? > container ) { this . with ( "persistence.db_name" , MongoContainer . MONGODB_NAME ) ; this . with ( "persistence.host" , container . getMongoDBHost ( ) ) ; this . with ( "persistence.port" , container . getMongoDBPort ( ) ) ; this . with ( "persistence.username" , MongoContainer . MONGODB_USER ) ; this . with ( "persistence.password" , MongoContainer . MONGODB_PASSWORD ) ; return this ; }
Add all the configuration to interact with the data base.
Add all the configuration to interact with the data base .