components/src/test/java/eu/internetofus/common/components/Containers.java
/**
   * Start the profile diversity manager container if it is not started yet.
   *
   * @return this containers instance.
   */
Start the profile diversity manager container if it is not started yet.
@return this containers instance.
Start the profile diversity manager container if it is not started yet . @return this containers instance .
@SuppressWarnings("resource")
  public Containers startProfileDiversityManagerContainer() {
    if (this.profileDiversityManagerContainer == null) {
      Logger.trace("Starting Profile Diversity Manager");
      this.profileDiversityManagerContainer = new WeNetComponentContainer<>(WENET_PROFILE_DIVERSITY_MANAGER_DOCKER_NAME,
          this.profileDiversityManagerApiPort, 80).withNetwork(this).waitingFor(Wait.forListeningPort());
      this.profileDiversityManagerContainer.start();
      Logger.trace("Started Profile Diversity Manager");
    }
    return this;
  }
@ SuppressWarnings ( "resource" ) public Containers startProfileDiversityManagerContainer ( ) { if ( this . profileDiversityManagerContainer == null ) { Logger . trace ( "Starting Profile Diversity Manager" ) ; this . profileDiversityManagerContainer = new WeNetComponentContainer < > ( WENET_PROFILE_DIVERSITY_MANAGER_DOCKER_NAME , this . profileDiversityManagerApiPort , 80 ) . withNetwork ( this ) . waitingFor ( Wait . forListeningPort ( ) ) ; this . profileDiversityManagerContainer . start ( ) ; Logger . trace ( "Started Profile Diversity Manager" ) ; } return this ; }
Start the profile diversity manager container if it is not started yet.
Start the profile diversity manager container if it is not started yet .