Debut indexer

Bug deploiement
This commit is contained in:
Nicolas Héron 2019-01-29 11:20:23 +01:00
commit 67c2f98100
18 changed files with 645 additions and 22 deletions

View file

@ -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,