Skip to content

Commit

Permalink
Reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
pierre-yves-monnet committed Aug 16, 2024
1 parent 8170798 commit 76a3654
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ private List<BpmnServerDefinition> getFromServerConfiguration() {
camunda8.operateUserPassword = configurationServersEngine.zeebeOperateUserPassword;
camunda8.taskListUrl = configurationServersEngine.zeebeTaskListUrl;
camunda8.taskListUserName = configurationServersEngine.zeebeTaskListUserName;
camunda8.taskListUserPassword= configurationServersEngine.zeebeTaskListUserPassword;
camunda8.taskListUserPassword = configurationServersEngine.zeebeTaskListUserPassword;
list.add(camunda8);
logger.info(
"Configuration: Camunda8 Name[{}] zeebeGateway[{}] MaxJobsActive[{}] WorkerThreads[{}] " + "OperateURL[{}]",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ public boolean isPolicyDeployProcess() {
public Integer getStartEventNbThreads() {
return startEventNbThreads;
}

public List<String> getScenarioFileAtStartup() {
return recalibrateAfterSplit(scenarioFileAtStartup);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class ScenarioStep {
*/
private Integer nbThreads = Integer.valueOf(1);

private Integer nbTokens = null;
private final Integer nbTokens = null;
/**
* if the step is used in a WarmingUp operation, it can decide this is the time to finish it
* Expression is
Expand Down Expand Up @@ -217,8 +217,9 @@ public void setNbThreads(int nbThreads) {
}

public int getNbTokens() {
return nbTokens==null? 1: nbTokens;
return nbTokens == null ? 1 : nbTokens;
}

public String getProcessId() {
return processId;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -191,10 +191,10 @@ public RunParameters setNumberOfThreadsPerScenario(int numberOfThreadsPerScenari
return this;
}


/**
* return the nbThreads to use in a start event, comming from the configuration
* If the configuration does not specify anything, then return null.
*
* @return the number of thread to use for the start event
*/
public Integer getStartEventNbThreads() {
Expand All @@ -204,6 +204,7 @@ public Integer getStartEventNbThreads() {
public void setStartEventNbThreads(Integer startEventNbThreads) {
this.startEventNbThreads = startEventNbThreads;
}

public boolean showLevelDebug() {
return getLogLevelAsNumber() >= 5;
}
Expand Down

0 comments on commit 76a3654

Please sign in to comment.