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,

View file

@ -1,15 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>drools-framework-admin-console-parent</artifactId>
<groupId>com.pymmasoftware.jbpm</groupId>
<version>1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>drools-framework-artefact-ui</artifactId>
</project>

View file

@ -13,6 +13,5 @@
<modules>
<module>drools-framework-admin-console</module>
<module>drools-framework-artefact-ui</module>
</modules>
</project>