2014-06-05 11:16:28 +02:00
|
|
|
package org.gcube.dataaccess.test;
|
|
|
|
|
|
|
|
import org.gcube.common.encryption.StringEncrypter;
|
|
|
|
import org.gcube.common.scope.api.ScopeProvider;
|
|
|
|
import org.gcube.contentmanagement.lexicalmatcher.utils.AnalysisLogger;
|
|
|
|
import org.gcube.dataanalysis.ecoengine.configuration.AlgorithmConfiguration;
|
|
|
|
import org.gcube.dataanalysis.ecoengine.interfaces.StandardLocalExternalAlgorithm;
|
|
|
|
|
|
|
|
public class Prova {
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param args
|
|
|
|
*/
|
|
|
|
public static void main(String[] args) {
|
|
|
|
// TODO Auto-generated method stub
|
|
|
|
// AnalysisLogger.setLogger("./cfg/"+AlgorithmConfiguration.defaultLoggerFile);
|
|
|
|
|
|
|
|
// AnalysisLogger.getLogger().debug("ciao");
|
|
|
|
|
|
|
|
|
|
|
|
ScopeProvider.instance.set("/gcube/devsec");
|
|
|
|
|
|
|
|
try {
|
2014-10-16 11:09:52 +02:00
|
|
|
|
2014-06-05 11:16:28 +02:00
|
|
|
String password = StringEncrypter.getEncrypter().decrypt("UwNMZOK7FlIjGPR+NZCV6w==");
|
|
|
|
|
2014-10-16 11:09:52 +02:00
|
|
|
System.out.println("pwd: " + password);
|
2014-06-05 11:16:28 +02:00
|
|
|
} catch (Exception e) {
|
|
|
|
// TODO Auto-generated catch block
|
|
|
|
e.printStackTrace();
|
|
|
|
}
|
|
|
|
StandardLocalExternalAlgorithm sle = null;
|
|
|
|
// System.out.println("CIAO");
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|