components/src/test/java/eu/internetofus/common/components/Containers.java
/**
   * Expose the ports of the module that can be started.
   *
   * @return this containers instance.
   */
Expose the ports of the module that can be started.
@return this containers instance.
Expose the ports of the module that can be started . @return this containers instance .
public Containers exposeModulePortsContainers() {
    if (this.profileManagerApiPort == 0) {
      this.profileManagerApiPort = WeNetComponentContainers.nextFreePort();
      this.profileDiversityManagerApiPort = WeNetComponentContainers.nextFreePort();
      this.taskManagerApiPort = WeNetComponentContainers.nextFreePort();
      this.interactionProtocolEngineApiPort = WeNetComponentContainers.nextFreePort();
      Testcontainers.exposeHostPorts(this.profileManagerApiPort, this.profileDiversityManagerApiPort,
          this.taskManagerApiPort, this.interactionProtocolEngineApiPort);
    }
    return this;
  }
public Containers exposeModulePortsContainers ( ) { if ( this . profileManagerApiPort == 0 ) { this . profileManagerApiPort = WeNetComponentContainers . nextFreePort ( ) ; this . profileDiversityManagerApiPort = WeNetComponentContainers . nextFreePort ( ) ; this . taskManagerApiPort = WeNetComponentContainers . nextFreePort ( ) ; this . interactionProtocolEngineApiPort = WeNetComponentContainers . nextFreePort ( ) ; Testcontainers . exposeHostPorts ( this . profileManagerApiPort , this . profileDiversityManagerApiPort , this . taskManagerApiPort , this . interactionProtocolEngineApiPort ) ; } return this ; }
Expose the ports of the module that can be started.
Expose the ports of the module that can be started .