vertx/src/test/java/eu/internetofus/common/vertx/basic/UsersRepository.java
/**
   * Register this service.
   *
   * @param vertx   that contains the event bus to use.
   * @param pool    to create the database connections.
   * @param version of the schemas.
   *
   * @return the future that inform when the repository will be registered or not.
   */
Register this service.
@param vertx   that contains the event bus to use.
@param pool    to create the database connections.
@param version of the schemas.

@return the future that inform when the repository will be registered or not.
Register this service . @param vertx that contains the event bus to use . @param pool to create the database connections . @param version of the schemas . @return the future that inform when the repository will be registered or not .
static Future<Void> register(final Vertx vertx, final MongoClient pool, final String version) {
    final var repository = new UsersRepositoryImpl(vertx, pool, version);
    new ServiceBinder(vertx).setAddress(UsersRepository.ADDRESS).register(UsersRepository.class, repository);
    return repository.migrateDocumentsToCurrentVersions();
  }
static Future < Void > register ( final Vertx vertx , final MongoClient pool , final String version ) { final var repository = new UsersRepositoryImpl ( vertx , pool , version ) ; new ServiceBinder ( vertx ) . setAddress ( UsersRepository . ADDRESS ) . register ( UsersRepository . class , repository ) ; return repository . migrateDocumentsToCurrentVersions ( ) ; }
Register this service.
Register this service .