+ svn diff svn://scm.gforge.inria.fr/svn/xtreemos/grid/srds/tags/0.2.19 svn://scm.gforge.inria.fr/svn/xtreemos/grid/srds/tags/0.2.20
Index: test/jsdlGrid5000Tests.xml
===================================================================
--- test/jsdlGrid5000Tests.xml (.../0.2.19) (revision 0)
+++ test/jsdlGrid5000Tests.xml (.../0.2.20) (revision 3246)
@@ -0,0 +1,2 @@
+My Gnuplot invocationSimple application invocation: User wants to run the application 'gnuplot' to produce a plotted graphical ile based on some data shipped in from elsewhere(perhaps as part of a workflow). A front-end application will then build into an animation of spinning data. Front-end application knows URL for data file which must be staged-in. Front-end application wants to stage in a control file that it specifiesdirectly which directs gnuplot to produce the outputfiles. In case of error, messages should be produced onstderr (also to be staged on completion) and no images are to be transferred.gnuplot/usr/local/bin/gnuplotcontrol.txtinput.dati38604Linux020971520000209715200000031457280010control.txtoverwritetruehttp://foo.bar.com/~me/control.txtinput.datoverwritetruehttp://foo.bar.com/~me/input.datoutput1.pngoverwritetruersync://spoolmachine/userdir
+
Index: VERSION
===================================================================
--- VERSION (.../0.2.19) (revision 3246)
+++ VERSION (.../0.2.20) (revision 3246)
@@ -1,2 +1,2 @@
-0.2.19
+0.2.20
Index: src/eu/xtreemos/ads/connection/rmi/InterfaceAEMclientRMI.java
===================================================================
--- src/eu/xtreemos/ads/connection/rmi/InterfaceAEMclientRMI.java (.../0.2.19) (revision 3246)
+++ src/eu/xtreemos/ads/connection/rmi/InterfaceAEMclientRMI.java (.../0.2.20) (revision 3246)
@@ -1,5 +1,6 @@
package eu.xtreemos.ads.connection.rmi;
import java.rmi.RemoteException;
+import java.security.cert.X509Certificate;
import eu.xtreemos.ads.exceptions.ClientNotFoundException;
/**
@@ -11,5 +12,6 @@
public interface InterfaceAEMclientRMI extends RMIclientInterface{
//public void AEMlocate(long clientID, String jsdlQuery)throws RemoteException,ClientNotFoundException;
- public String AEMlocate(String jsdlQuery)throws RemoteException,ClientNotFoundException;
+ //public String AEMlocate(String jsdlQuery)throws RemoteException,ClientNotFoundException;
+ public String AEMlocate(String jsdlQuery,String xacmlDocument, X509Certificate userXOSDCert, Integer howMany) throws RemoteException,ClientNotFoundException;
}
Index: src/eu/xtreemos/ads/connection/rmi/stub/AEMclientRMI.java
===================================================================
--- src/eu/xtreemos/ads/connection/rmi/stub/AEMclientRMI.java (.../0.2.19) (revision 3246)
+++ src/eu/xtreemos/ads/connection/rmi/stub/AEMclientRMI.java (.../0.2.20) (revision 3246)
@@ -9,6 +9,7 @@
import eu.xtreemos.ads.rss.RssQueue;
import java.rmi.RemoteException;
+import java.security.cert.X509Certificate;
import org.apache.log4j.Logger;
@@ -25,7 +26,7 @@
}
/******************** INTERFACCIA RMI ESPOSTA *************************/
- public String AEMlocate(String jsdlQuery) throws RemoteException,ClientNotFoundException
+ /*public String AEMlocate(String jsdlQuery) throws RemoteException,ClientNotFoundException
{
AEMRequest req = new AEMRequest(jsdlQuery, this);
@@ -41,8 +42,27 @@
}
}
return glueReply;
+ }*/
+ public String AEMlocate(String jsdlQuery,String xacmlDocument, X509Certificate userXOSDCert, Integer howMany) throws RemoteException,ClientNotFoundException
+ {
+
+ AEMRequest req = new AEMRequest(jsdlQuery,xacmlDocument, userXOSDCert, howMany, this);
+ glueReply = null;
+ RssQueue.push(req);
+ log.info("A new request has arrived to RMI\r\n"+jsdlQuery);
+ synchronized (this) {
+ try {
+
+ if(glueReply==null)this.wait();
+ } catch (InterruptedException e) {
+ log.error(e.getMessage());
+ }
+ }
+ return glueReply;
}
+
+
public void AEMsetADSresultSet(String glueResponse)
{
synchronized (this) {
Index: src/eu/xtreemos/ads/connection/rmi/testing/RmitestingClass.java
===================================================================
--- src/eu/xtreemos/ads/connection/rmi/testing/RmitestingClass.java (.../0.2.19) (revision 3246)
+++ src/eu/xtreemos/ads/connection/rmi/testing/RmitestingClass.java (.../0.2.20) (revision 3246)
@@ -86,7 +86,7 @@
}
try {
- return aem.AEMlocate(jsdl);
+ return aem.AEMlocate(jsdl,null,null,10);
} catch (RemoteException e) {
e.printStackTrace();
Index: src/eu/xtreemos/ads/connection/HttpsServer/WebServer.java
===================================================================
--- src/eu/xtreemos/ads/connection/HttpsServer/WebServer.java (.../0.2.19) (revision 3246)
+++ src/eu/xtreemos/ads/connection/HttpsServer/WebServer.java (.../0.2.20) (revision 3246)
@@ -10,7 +10,9 @@
import java.util.Hashtable;
import java.util.StringTokenizer;
+import eu.xtreemos.ads.dht.DhtObjectFactory;
import eu.xtreemos.ads.dht.ProcessManager;
+import eu.xtreemos.ads.qengine.QueryProvider;
import eu.xtreemos.ads.srds_configuration.SrdsConfiguration;
import eu.xtreemos.ads.util.NodeNetInformation;
@@ -28,9 +30,9 @@
String welcomePage= "
"
+".:SRDS webinterface:."
+""
- +"