Skip to content
This repository was archived by the owner on Apr 22, 2022. It is now read-only.

Commit 3d6d70f

Browse files
committed
changed component links
1 parent cf44155 commit 3d6d70f

File tree

2 files changed

+12
-9
lines changed

2 files changed

+12
-9
lines changed

src/main/java/workflow/rest/Jobs.java

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -128,12 +128,15 @@ public Response deleteJob(@CookieParam(value = "user") Cookie userc,
128128
if (rootNode.path("boolean").getBooleanValue()) {
129129

130130
// stop the execution if running
131-
JobExecutions executions = BatchAdminClient.getAllExecutions();
132-
JobExecution lastExec = executions.getJobExecutions().get(0);
133-
if (lastExec.getStatus().contains("START")) {
134-
log.info("stopping " + lastExec.getId());
135-
BatchAdminClient.stopExecution(lastExec.getId());
136-
}
131+
// JobExecutions executions =
132+
// BatchAdminClient.getAllExecutions();
133+
// if (executions.getJobExecutions().size() > 0) {
134+
// JobExecution lastExec = executions.getJobExecutions().get(0);
135+
// if (lastExec.getStatus().contains("START")) {
136+
// log.info("stopping " + lastExec.getId());
137+
// BatchAdminClient.stopExecution(lastExec.getId());
138+
// }
139+
// }
137140

138141
query = "DELETE FROM <" + jobsGraph + "> { <" + uriBase + jobName + "> ?p ?o} "
139142
+ " WHERE { <" + uriBase + jobName + "> ?p ?o ; <"

src/main/resources/framework-components.ttl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464

6565
:SparqlifyService
6666
a lds:ExplorationService ;
67-
lds:serviceUrl <http://192.168.2.18:8080/sparqlify/> .
67+
lds:serviceUrl <http://localhost:8080/sparqlify/> .
6868

6969
:Facete
7070
a lds:StackComponent ;
@@ -74,7 +74,7 @@
7474
foaf:homepage <http://aksw.org/Projects/Facete.html> .
7575
:FaceteService
7676
a lds:ExplorationService ;
77-
lds:serviceUrl <http://192.168.2.18:8080/facete2/> .
77+
lds:serviceUrl <http://localhost:8080/facete2/> .
7878

7979
:Limes
8080
a lds:StackComponent ;
@@ -114,7 +114,7 @@
114114
foaf:homepage <http://aksw.org/Projects/OntoWiki.html> .
115115
:OntoWikiService
116116
a lds:AuthoringService ;
117-
lds:serviceUrl <http://192.168.2.18/OntoWiki> .
117+
lds:serviceUrl <http://localhost/OntoWiki> .
118118

119119
:Mappify
120120
a lds:StackComponent ;

0 commit comments

Comments
 (0)