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

View File

@ -286,24 +286,28 @@ public class CheckMethod {
***REMOVED***a.copyFromDmToSVN(aa);
***REMOVED*** if (a.checkMethod("dataminer1-devnext.d4science.org", "708e7eb8-11a7-4e9a-816b-c9ed7e7e99fe-98187548")){
***REMOVED*** System.out.println("AAA");***REMOVED***
***REMOVED***
***REMOVED*** if (a.doesExist("/home/gcube/wps_algorithms/algorithms/RBLACKBOX.jar","Dev")){
***REMOVED*** System.out.println("BBBB");
***REMOVED***
***REMOVED******REMOVED***
***REMOVED*** if (a.doesExist("/home/gcube/wps_algorithms/algorithms/RBLACKBOX_interface.jar","Dev")){
***REMOVED*** System.out.println("CCCC");***REMOVED***
***REMOVED***
if (a.checkMethod("dataminer-ghost-d.dev.d4science.org", "708e7eb8-11a7-4e9a-816b-c9ed7e7e99fe-98187548")){
System.out.println("AAA");***REMOVED***
if (a.doesExist("/home/gcube/wps_algorithms/algorithms/WINDOWS_BLACK_BOX_EXAMPLE.jar")){
System.out.println("BBBB");
***REMOVED***
if (a.doesExist("/home/gcube/wps_algorithms/algorithms/WINDOWS_BLACK_BOX_EXAMPLE_interface.jar")){
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*** "708e7eb8-11a7-4e9a-816b-c9ed7e7e99fe-98187548");
***REMOVED*** Algorithm al = new Algorithm();
***REMOVED*** al.setName("RBLACKBOX");
***REMOVED*** a.deleteFiles(al);

View File

@ -376,7 +376,8 @@ public class SVNUpdater {
public void updateAlgorithmFiles(File a) throws SVNException{
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***
public String getStageRepository(){
return props.getProperty("svn.stage.software.repo");
***REMOVED***
public String getProdRepository(){
return props.getProperty("svn.prod.software.repo");
***REMOVED***
***REMOVED***RProto
***REMOVED*** public String getSVNRProtoAlgorithmsList(){
@ -311,6 +320,7 @@ public class ServiceConfiguration {
***REMOVED***System.out.println(a.getSVNMainAlgoRepo());
***REMOVED***System.out.println(a.getSVNRProtoCRANDepsList());
System.out.println(a.getStagingHost());
System.out.println(a.getProdRepository());
***REMOVED***