Commit 5196b57d authored by Matija Obreza's avatar Matija Obreza
Browse files

Moved workers to ..worker package

parent 898de00e
...@@ -19,7 +19,7 @@ package org.genesys2.server.listener.sample; ...@@ -19,7 +19,7 @@ package org.genesys2.server.listener.sample;
import org.genesys2.server.listener.RunAsAdminListener; import org.genesys2.server.listener.RunAsAdminListener;
import org.genesys2.server.service.GeoService; import org.genesys2.server.service.GeoService;
import org.genesys2.server.service.InstituteService; import org.genesys2.server.service.InstituteService;
import org.genesys2.server.service.impl.InstituteUpdater; import org.genesys2.server.service.worker.InstituteUpdater;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.PageRequest; import org.springframework.data.domain.PageRequest;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
**/ **/
package org.genesys2.server.service.impl; package org.genesys2.server.service.worker;
import java.io.BufferedInputStream; import java.io.BufferedInputStream;
import java.io.FileInputStream; import java.io.FileInputStream;
...@@ -42,6 +42,7 @@ import org.genesys2.server.model.impl.Country; ...@@ -42,6 +42,7 @@ import org.genesys2.server.model.impl.Country;
import org.genesys2.server.service.CountryNamesUpdater; import org.genesys2.server.service.CountryNamesUpdater;
import org.genesys2.server.service.GeoService; import org.genesys2.server.service.GeoService;
import org.genesys2.server.service.InstituteService; import org.genesys2.server.service.InstituteService;
import org.genesys2.server.service.impl.CSVReader2;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.core.task.TaskExecutor; import org.springframework.core.task.TaskExecutor;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
**/ **/
package org.genesys2.server.service.impl; package org.genesys2.server.service.worker;
import static org.genesys2.util.NumberUtils.parseDoubleIgnore0; import static org.genesys2.util.NumberUtils.parseDoubleIgnore0;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
**/ **/
package org.genesys2.server.service.impl; package org.genesys2.server.service.worker;
import java.io.BufferedReader; import java.io.BufferedReader;
import java.io.File; import java.io.File;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
**/ **/
package org.genesys2.server.service.impl; package org.genesys2.server.service.worker;
import java.io.BufferedReader; import java.io.BufferedReader;
import java.io.File; import java.io.File;
......
...@@ -26,9 +26,9 @@ import org.genesys2.server.service.GeoService; ...@@ -26,9 +26,9 @@ import org.genesys2.server.service.GeoService;
import org.genesys2.server.service.InstituteService; import org.genesys2.server.service.InstituteService;
import org.genesys2.server.service.LuceneIndexer; import org.genesys2.server.service.LuceneIndexer;
import org.genesys2.server.service.impl.ContentSanitizer; import org.genesys2.server.service.impl.ContentSanitizer;
import org.genesys2.server.service.impl.InstituteUpdater; import org.genesys2.server.service.worker.InstituteUpdater;
import org.genesys2.server.service.impl.SGSVInsertMissing; import org.genesys2.server.service.worker.SGSVInsertMissing;
import org.genesys2.server.service.impl.SGSVUpdate; import org.genesys2.server.service.worker.SGSVUpdate;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller; import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment