Skip to content

Commit

Permalink
Adding changes in db action
Browse files Browse the repository at this point in the history
  • Loading branch information
Ark2307 committed Jan 7, 2025
1 parent a24eee3 commit 32d3010
Showing 1 changed file with 11 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,8 @@ public void setTestSourceConfig(TestSourceConfig testSourceConfig) {
String state;
Bson filter;

String operator;

public BasicDBList getIssuesIds() {
return issuesIds;
}
Expand Down Expand Up @@ -1814,11 +1816,7 @@ public String updateAccessMatrixUrlToRoles() {

public String updateIssueCountInSummary() {
try {
if (summaryId != null) {
ObjectId summaryObjectId = new ObjectId(summaryId);
totalCountIssues = TestExecutor.calcTotalCountIssues(summaryObjectId);
}
trrs = DbLayer.updateIssueCountInSummary(summaryId, totalCountIssues);
trrs = DbLayer.updateIssueCountInSummary(summaryId, totalCountIssues, operator);
trrs.setTestingRunHexId(trrs.getTestingRunId().toHexString());
} catch (Exception e) {
loggerMaker.errorAndAddToDb(e, "Error in updateIssueCountInSummary " + e.toString());
Expand Down Expand Up @@ -3339,5 +3337,13 @@ public void setFilter(Bson filter) {
public TestScript getTestScript() {
return testScript;
}

public String getOperator() {
return operator;
}

public void setOperator(String operator) {
this.operator = operator;
}

}

0 comments on commit 32d3010

Please sign in to comment.