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

View File

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

View File

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

View File

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