Skip to content

Commit

Permalink
Release 5.2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
IKCAP committed Oct 29, 2022
1 parent cef82d7 commit 63ef149
Show file tree
Hide file tree
Showing 9 changed files with 21 additions and 18 deletions.
2 changes: 1 addition & 1 deletion core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>edu.isi.wings</groupId>
<artifactId>wings-core</artifactId>
<version>5.2.4</version>
<version>5.2.5</version>
<name>Wings Core</name>
<packaging>pom</packaging>
<description>Wings project for the IKCAP group</description>
Expand Down
4 changes: 2 additions & 2 deletions planner/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
<parent>
<groupId>edu.isi.wings</groupId>
<artifactId>wings-core</artifactId>
<version>5.2.4</version>
<version>5.2.5</version>
<relativePath>../core/pom.xml</relativePath>
</parent>

<properties>
<jsch.version>0.1.53</jsch.version>
<ontapi.version>1.2.6</ontapi.version>
<ontapi.version>1.2.7</ontapi.version>
<nanocloud.version>0.8.11</nanocloud.version>
<gson.version>2.2.4</gson.version>
<junit.version>4.5</junit.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

package edu.isi.wings.catalog.component.classes;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
Expand All @@ -39,8 +40,10 @@
* basically a list of KBTriple Objects
* </ul>
*/
public class ComponentPacket {
private ComponentVariable component;
public class ComponentPacket implements Serializable {
private static final long serialVersionUID = 1L;

private ComponentVariable component;
private LinkedHashMap<Role, Variable> roleMap;
private ArrayList<KBTriple> requirements;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ public void onStepEnd(RuntimePlan exe) {
// - checks for next steps and executes them
// - or replans
// - or ends
System.out.println("Plan: Step End");
//System.out.println("Plan: Step End");
// If aborted, shut it down
if(exe.getRuntimeInfo().getStatus() == Status.FAILURE) {
exe.onEnd(this.logger, Status.FAILURE, "Finished");
Expand All @@ -158,13 +158,13 @@ public void onStepEnd(RuntimePlan exe) {
if(exe.getQueue().getFinishedSteps().size()
== exe.getQueue().getAllSteps().size()) {
if(exe.getPlan().isIncomplete()) {
System.out.println("* Workflow is Incomplete !");
//System.out.println("* Workflow is Incomplete !");
if(!exe.isReplanned()) {
exe.setReplanned(true);

// If the plan is incomplete, then replan and continue
System.out.println("* Workflow needs Replanning");
System.out.println(">> Replanning, and re-executing");
//System.out.println("* Workflow needs Replanning");
//System.out.println(">> Replanning, and re-executing");
exe = this.monitor.rePlan(exe);

if(exe.getRuntimeInfo().getStatus() !=
Expand All @@ -181,10 +181,10 @@ public void onStepEnd(RuntimePlan exe) {
}
else {
status = RuntimeInfo.Status.SUCCESS;
System.out.println("* Successful Finish");
//System.out.println("* Successful Finish");
}
}
System.out.println("** Shutting down execution !");
//System.out.println("** Shutting down execution !");
exe.onEnd(this.logger, status, endlog);
this.shutdown();
}
Expand All @@ -197,7 +197,7 @@ public void onStepEnd(RuntimePlan exe) {
}

for(RuntimeStep stepexe : steps) {
System.out.println(">> Executing " + stepexe.getName());
//System.out.println(">> Executing " + stepexe.getName());
this.stepEngine.execute(stepexe, exe);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1312,7 +1312,6 @@ else if (!cons.getObject().getValue()
*/
public ExecutionPlan getExecutionPlan(Template template) {
this.addExplanation("INFO: --------- Creating an execution plan ---------");
System.out.println("INFO: --------- Creating an execution plan ---------");

try {
String planid = UuidGen.generateURIUuid((URIEntity)template);
Expand Down Expand Up @@ -2397,7 +2396,8 @@ public PortBindingList configureBindings(PortBindingList ipblist, Node origNode,
}
c.setBinding(cb);

ComponentPacket ccmr = cmr.clone();
ComponentPacket ccmr = (ComponentPacket) SerializableObjectCloner.clone(cmr); //cmr.clone();
ccmr.setRequirements(cmr.getRequirements());
ccmr.setComponent(c);

PortBinding pb = ipblist.getPortBinding();
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<parent>
<groupId>edu.isi.wings</groupId>
<artifactId>wings-core</artifactId>
<version>5.2.4</version>
<version>5.2.5</version>
<relativePath>core/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion portal/.settings/org.eclipse.wst.common.component
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
<dependent-module archiveName="wings-planner-5.2.4.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/wings-planner/wings-planner">
<dependency-type>uses</dependency-type>
</dependent-module>
<dependent-module archiveName="ontapi-1.2.6.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/ontapi/ontapi">
<dependent-module archiveName="ontapi-1.2.7.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/ontapi/ontapi">
<dependency-type>uses</dependency-type>
</dependent-module>

Expand Down
2 changes: 1 addition & 1 deletion portal/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<parent>
<groupId>edu.isi.wings</groupId>
<artifactId>wings-core</artifactId>
<version>5.2.4</version>
<version>5.2.5</version>
<relativePath>../core/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion portal/src/main/webapp/html/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,6 @@ <h2>About Wings</h2>
</p>

<p>
You are running WINGS version: 5.2.4
You are running WINGS version: 5.2.5
</p>
</body>

0 comments on commit 63ef149

Please sign in to comment.