Debut indexer
Bug deploiement
This commit is contained in:
parent
7a0913d9cd
commit
67c2f98100
18 changed files with 645 additions and 22 deletions
|
|
@ -41,7 +41,7 @@ public class ProjectPersistService {
|
|||
@Autowired
|
||||
private KieServerRepositoryService kieServerRepositoryService;
|
||||
|
||||
private String isJobDone = "NO";
|
||||
|
||||
|
||||
|
||||
public ProjectPersistService(){
|
||||
|
|
@ -124,7 +124,7 @@ public class ProjectPersistService {
|
|||
return projectPersist;
|
||||
}
|
||||
|
||||
public String waitForJobToBeEnded(String url, String username, String password,ProjectPersist projectPersist, AddLog workOnGoingView, UI ui) {
|
||||
public void waitForJobToBeEnded(String url, String username, String password,ProjectPersist projectPersist, AddLog workOnGoingView, UI ui) {
|
||||
|
||||
UserConnected userConnected=userConnectedService.getUserConnected();
|
||||
|
||||
|
|
@ -160,10 +160,10 @@ public class ProjectPersistService {
|
|||
};
|
||||
thread.start();
|
||||
|
||||
|
||||
return isJobDone;
|
||||
}
|
||||
private void executeWrite(String url, String username, String password,AddLog workOnGoingView,String jobID,UI ui){
|
||||
|
||||
String isJobDone = "NO";
|
||||
while ("NO".equals(isJobDone)) {
|
||||
JobStatus jobStatus = kieRepositoryService.getStatusJobID(url,
|
||||
username,
|
||||
|
|
|
|||
Loading…
Add table
editor.link_modal.header
Reference in a new issue