diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b83d222 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/target/ diff --git a/README.md b/README.md index 0a420f6..1c39089 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/src/test/java/org/gcube/portlets/widgets/wsthreddssync/TestWsThreddsEngine.java b/src/test/java/org/gcube/portlets/widgets/wsthreddssync/TestWsThreddsEngine.java index ad711e1..e05ba39 100644 --- a/src/test/java/org/gcube/portlets/widgets/wsthreddssync/TestWsThreddsEngine.java +++ b/src/test/java/org/gcube/portlets/widgets/wsthreddssync/TestWsThreddsEngine.java @@ -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(); + + */ }