removed static method to instance WsThredds. Commented tests

pull/1/head
Francesco Mangiacrapa 4 years ago
parent 6568ba7495
commit 129d07b736

1
.gitignore vendored

@ -0,0 +1 @@
/target/

@ -1,6 +1,6 @@
# gCube Ws Thredds Sync Widget
gCube ws-thredds-sync-widget is a widget to use and interact with ws-thredds facility in order to synchronize the Workspace folders with Thredds Reporitory folders
gCube ws-thredds-sync-widget is a widget to use and interact with ws-thredds facility in order to synchronize the Workspace folders with Thredds repository folders
## Built With

@ -1,5 +1,7 @@
package org.gcube.portlets.widgets.wsthreddssync;
import org.gcube.portal.wssynclibrary.thredds.WorkspaceThreddsSynchronize;
import org.gcube.portlets.widgets.wsthreddssync.server.SyncronizeWithThredds;
import org.gcube.usecases.ws.thredds.SyncEngine;
import org.gcube.usecases.ws.thredds.engine.impl.ProcessDescriptor;
import org.gcube.usecases.ws.thredds.engine.impl.ProcessStatus;
@ -27,13 +29,13 @@ public class TestWsThreddsEngine {
public static void main(String[] args) throws Exception {
// GET ENGINE : SINGLETON INSTANCE
SyncEngine engine=SyncEngine.get();
SyncronizeWithThredds engine = new SyncronizeWithThredds();
// FOLDER CONFIGURATION BEAN
//SynchFolderConfiguration config=TestCommons.getSynchConfig();
String filter = "";
/*String filter = "";
String remotePersistence = "";
String remotePath = "";
String targetToken = "";
@ -91,6 +93,8 @@ public class TestWsThreddsEngine {
// INVOKE WHEN PORTAL SHUTS DOWN TO FREE RESOURCES AND STOP SYNC PROCESSES
engine.shutDown();
*/
}

Loading…
Cancel
Save