This commit is contained in:
Nunzio Andrea Galante 2017-10-06 14:07:09 +00:00
parent 55d01e89a5
commit c20472bbc9
3 changed files with 30 additions and 15 deletions

View File

@ -286,24 +286,28 @@ public class CheckMethod ***REMOVED***
***REMOVED***a.copyFromDmToSVN(aa);
***REMOVED*** if (a.checkMethod("dataminer1-devnext.d4science.org", "***REMOVED***"))***REMOVED***
***REMOVED*** System.out.println("AAA");***REMOVED***
***REMOVED***
***REMOVED*** if (a.doesExist("/home/gcube/wps_algorithms/algorithms/RBLACKBOX.jar","Dev"))***REMOVED***
***REMOVED*** System.out.println("BBBB");
***REMOVED***
***REMOVED******REMOVED***
***REMOVED*** if (a.doesExist("/home/gcube/wps_algorithms/algorithms/RBLACKBOX_interface.jar","Dev"))***REMOVED***
***REMOVED*** System.out.println("CCCC");***REMOVED***
***REMOVED***
if (a.checkMethod("dataminer-ghost-d.dev.d4science.org", "***REMOVED***"))***REMOVED***
System.out.println("AAA");***REMOVED***
if (a.doesExist("/home/gcube/wps_algorithms/algorithms/WINDOWS_BLACK_BOX_EXAMPLE.jar"))***REMOVED***
System.out.println("BBBB");
***REMOVED***
if (a.doesExist("/home/gcube/wps_algorithms/algorithms/WINDOWS_BLACK_BOX_EXAMPLE_interface.jar"))***REMOVED***
System.out.println("CCCC");***REMOVED***
***REMOVED*** File aa = new File("/home/gcube/wps_algorithms/algorithms/RBLACKBOX_interface.jar");
***REMOVED*** a.copyFromDmToSVN(aa, "Dev");
Algorithm al = new Algorithm();
al.setName("RBLACKBOX");
a.deleteFiles(al);
***REMOVED***a.checkMethod("dataminer-ghost-d.dev.d4science.org",
***REMOVED*** "***REMOVED***");
***REMOVED*** Algorithm al = new Algorithm();
***REMOVED*** al.setName("RBLACKBOX");
***REMOVED*** a.deleteFiles(al);

View File

@ -376,7 +376,8 @@ public class SVNUpdater ***REMOVED***
public void updateAlgorithmFiles(File a) throws SVNException***REMOVED***
this.updateAlgorithmList(this.configuration.getSVNMainAlgoRepo(), a);
***REMOVED***this.updateAlgorithmList(this.configuration.getSVNMainAlgoRepo(), a);
this.updateAlgorithmList(this.configuration.getStageRepository(), a);
***REMOVED***

View File

@ -46,6 +46,15 @@ public class ServiceConfiguration ***REMOVED***
***REMOVED***
public String getStageRepository()***REMOVED***
return props.getProperty("svn.stage.software.repo");
***REMOVED***
public String getProdRepository()***REMOVED***
return props.getProperty("svn.prod.software.repo");
***REMOVED***
***REMOVED***RProto
***REMOVED*** public String getSVNRProtoAlgorithmsList()***REMOVED***
@ -311,6 +320,7 @@ public class ServiceConfiguration ***REMOVED***
***REMOVED***System.out.println(a.getSVNMainAlgoRepo());
***REMOVED***System.out.println(a.getSVNRProtoCRANDepsList());
System.out.println(a.getStagingHost());
System.out.println(a.getProdRepository());
***REMOVED***