Skip to content

Commit 2c4f9fe

Browse files
committed
issue fix
1 parent 197ea73 commit 2c4f9fe

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

rally/src/main/java/com/publicissapient/kpidashboard/rally/controller/JobController.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -103,13 +103,13 @@ public class JobController {
103103
private RallyProcessorRepository rallyProcessorRepository;
104104

105105
/**
106-
* This method is used to start job for the Scrum projects with JQL setup
106+
* This method is used to start job for the Scrum projects with RQL setup
107107
*
108108
* @return ResponseEntity
109109
*/
110110
@GetMapping("/startscrumjqljob")
111111
public ResponseEntity<String> startScrumJqlJob() {
112-
log.info("Request come for job for Scrum project configured with JQL via controller");
112+
log.info("Request come for job for Scrum project configured with RQL via controller");
113113

114114
List<String> scrumBoardbasicProjConfIds = fetchProjectConfiguration.fetchBasicProjConfId(RallyConstants.RALLY,
115115
true, false);
@@ -124,13 +124,13 @@ public ResponseEntity<String> startScrumJqlJob() {
124124
try {
125125
jobLauncher.run(fetchIssueScrumRqlJob, params);
126126
} catch (Exception e) {
127-
log.info("Jira Scrum data for JQL fetch failed for BasicProjectConfigId : {}, with exception : {}",
127+
log.info("Rally Scrum data for RQL fetch failed for BasicProjectConfigId : {}, with exception : {}",
128128
params.getString(PROJECT_ID), e);
129129
}
130130
});
131131
}
132132
executorService.shutdown();
133-
return ResponseEntity.ok().body("job started for scrum JQL");
133+
return ResponseEntity.ok().body("job started for scrum RQL");
134134
}
135135

136136
private List<JobParameters> getDynamicParameterSets(List<String> scrumBoardbasicProjConfIds) {
@@ -178,7 +178,7 @@ public ResponseEntity<String> startFetchSprintJob(@RequestBody String sprintId)
178178
try {
179179
jobLauncher.run(fetchIssueSprintJob, params);
180180
} catch (Exception e) {
181-
log.info("Jira Sprint data fetch failed for SprintId : {}, with exception : {}",
181+
log.info("Rally Sprint data fetch failed for SprintId : {}, with exception : {}",
182182
params.getString(SPRINT_ID), e);
183183
}
184184
});
@@ -201,7 +201,7 @@ public ResponseEntity<String> startProjectWiseIssueJob(
201201
if (ongoingExecutionsService.isExecutionInProgress(basicProjectConfigId)) {
202202
log.error("An execution is already in progress");
203203
return ResponseEntity.badRequest()
204-
.body("Jira processor run is already in progress for this project. Please try after some time.");
204+
.body("Rally processor run is already in progress for this project. Please try after some time.");
205205
}
206206

207207
// Mark the execution as in progress before starting the job asynchronously
@@ -222,7 +222,7 @@ public ResponseEntity<String> startProjectWiseIssueJob(
222222

223223
runProjectBasedOnConfig(basicProjectConfigId, params, projBasicConfOpt);
224224
} catch (Exception e) {
225-
log.error("Jira fetch failed for BasicProjectConfigId : {}, with exception : {}",
225+
log.error("Rally fetch failed for BasicProjectConfigId : {}, with exception : {}",
226226
params.getString(PROJECT_ID), e);
227227
}
228228
});
@@ -250,7 +250,7 @@ public ResponseEntity<String> runMetadataStep(@RequestBody String projectBasicCo
250250
try {
251251
jobLauncher.run(runMetaDataStep, params);
252252
} catch (Exception e) {
253-
log.info("Jira Metadata failed for ProjectBasicConfigId : {}, with exception : {}",
253+
log.info("Rally Metadata failed for ProjectBasicConfigId : {}, with exception : {}",
254254
params.getString(PROJECT_ID), e);
255255
}
256256
});
@@ -279,7 +279,7 @@ private void launchJobBasedOnQueryEnabledForScrum(String basicProjectConfigId, J
279279
ProjectToolConfig projectToolConfig = projectToolConfigs.get(0);
280280

281281
if (projectToolConfig.isQueryEnabled()) {
282-
// JQL is setup for the project
282+
// RQL is setup for the project
283283
jobLauncher.run(fetchIssueScrumRqlJob, params);
284284
}
285285
} else {

0 commit comments

Comments
 (0)