Author: jeff.yuchang
Date: 2013-02-07 20:15:30 -0500 (Thu, 07 Feb 2013)
New Revision: 1603
Modified:
branches/RiftSaw-2.3.x/console/integration/src/main/java/org/jboss/soa/bpel/console/ProcessMgmtImpl.java
branches/RiftSaw-2.3.x/pom.xml
Log:
RIFTSAW-515: exposed the removing instances as restful service.
Modified:
branches/RiftSaw-2.3.x/console/integration/src/main/java/org/jboss/soa/bpel/console/ProcessMgmtImpl.java
===================================================================
---
branches/RiftSaw-2.3.x/console/integration/src/main/java/org/jboss/soa/bpel/console/ProcessMgmtImpl.java 2013-02-07
22:53:40 UTC (rev 1602)
+++
branches/RiftSaw-2.3.x/console/integration/src/main/java/org/jboss/soa/bpel/console/ProcessMgmtImpl.java 2013-02-08
01:15:30 UTC (rev 1603)
@@ -32,6 +32,7 @@
import javax.naming.NamingException;
import javax.xml.namespace.QName;
import java.io.ByteArrayInputStream;
+import java.util.Collection;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
@@ -166,5 +167,10 @@
public void signalExecution(String executionId, String signal)
{
throw new RuntimeException("Not implemented");
- }
+ }
+
+public long deleteInstances(String filter) {
+ Collection<Long> result = getMgmtFacade().delete(filter);
+ return result.size();
+}
}
Modified: branches/RiftSaw-2.3.x/pom.xml
===================================================================
--- branches/RiftSaw-2.3.x/pom.xml 2013-02-07 22:53:40 UTC (rev 1602)
+++ branches/RiftSaw-2.3.x/pom.xml 2013-02-08 01:15:30 UTC (rev 1603)
@@ -87,7 +87,7 @@
<properties>
<riftsaw.ode.version>2.3.7-SNAPSHOT</riftsaw.ode.version>
<riftsaw.engine.version>2.3.7-SNAPSHOT</riftsaw.engine.version>
- <bpel.console.version>2.2.10-SNAPSHOT</bpel.console.version>
+ <bpel.console.version>2.2.11-SNAPSHOT</bpel.console.version>
<activity.monitor.model.version>1.0.2-SNAPSHOT</activity.monitor.model.version>
<dsp.version>1.2.0-SNAPSHOT</dsp.version>
<commons.logging.version>1.1.1</commons.logging.version>