public ProductVariables getProductVariables() { ProductUrlGeneratorUtil productUrlGeneratorUtil = new ProductUrlGeneratorUtil(); this.properties = new ProductUrlGeneratorUtil().getStream(); productVariables.setProductVariables( this.managerHostName, this.managerHttpPort, this.managerHttpsPort, this.managerWebContextRoot, this.managerQpidPort, productUrlGeneratorUtil.getBackendUrl( managerHttpsPort, managerHostName, managerWebContextRoot)); return productVariables; }
public WorkerVariables getWorkerVariables() { ProductUrlGeneratorUtil productUrlGeneratorUtil = new ProductUrlGeneratorUtil(); this.properties = new ProductUrlGeneratorUtil().getStream(); if (environmentBuilder.getFrameworkSettings().getEnvironmentSettings().isClusterEnable()) { workerVariables.setWorkerVariables( this.managerHostName, this.managerHttpPort, this.managerHttpsPort, this.managerWebContextRoot, this.managerQpidPort, productUrlGeneratorUtil.getBackendUrl( managerHttpsPort, managerHostName, managerWebContextRoot)); } return workerVariables; }