git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-analysis/dataminer-pool-manager@152606 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
b29cce9580
commit
079ba2faeb
|
@ -430,7 +430,8 @@ public class SVNUpdater ***REMOVED***
|
||||||
***REMOVED***
|
***REMOVED***
|
||||||
|
|
||||||
public String generateAlgorithmEntry(Algorithm algorithm, String targetVRE, String category, String algorithm_type,String env) ***REMOVED***
|
public String generateAlgorithmEntry(Algorithm algorithm, String targetVRE, String category, String algorithm_type,String env) ***REMOVED***
|
||||||
Timestamp timestamp = new Timestamp(System.currentTimeMillis());
|
***REMOVED***Timestamp timestamp = new Timestamp(System.currentTimeMillis());
|
||||||
|
long unixTime = System.currentTimeMillis() / 1000L;
|
||||||
|
|
||||||
StringBuffer sb = new StringBuffer("| ");
|
StringBuffer sb = new StringBuffer("| ");
|
||||||
sb.append(algorithm.getName() + " | ");
|
sb.append(algorithm.getName() + " | ");
|
||||||
|
@ -441,7 +442,7 @@ public class SVNUpdater ***REMOVED***
|
||||||
+ algorithm.getClazz() + " " + targetVRE + " " + algorithm_type + " N "
|
+ algorithm.getClazz() + " " + targetVRE + " " + algorithm_type + " N "
|
||||||
+ algorithm.getPackageURL() + " \"" + algorithm.getDescription() + "\" </notextile> | ");
|
+ algorithm.getPackageURL() + " \"" + algorithm.getDescription() + "\" </notextile> | ");
|
||||||
sb.append("none | ");
|
sb.append("none | ");
|
||||||
sb.append(timestamp + " | ");
|
sb.append(unixTime + " | ");
|
||||||
return sb.toString();
|
return sb.toString();
|
||||||
***REMOVED***
|
***REMOVED***
|
||||||
|
|
||||||
|
@ -647,7 +648,8 @@ public class SVNUpdater ***REMOVED***
|
||||||
|
|
||||||
***REMOVED***File a = new File("/home/ngalante/Desktop/testCiro");
|
***REMOVED***File a = new File("/home/ngalante/Desktop/testCiro");
|
||||||
***REMOVED***File b = new File ("/home/ngalante/Desktop/testB");
|
***REMOVED***File b = new File ("/home/ngalante/Desktop/testB");
|
||||||
|
long unixTime = System.currentTimeMillis() / 1000L;
|
||||||
|
System.out.println(unixTime);
|
||||||
***REMOVED***c.updateAlgorithmFiles(a);
|
***REMOVED***c.updateAlgorithmFiles(a);
|
||||||
***REMOVED***c.updateAlgorithmFiles(b);
|
***REMOVED***c.updateAlgorithmFiles(b);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue