PostgisIndxer Init
This commit is contained in:
parent
9f4c79d416
commit
bffae85071
|
@ -11,6 +11,7 @@ import org.gcube.application.cms.plugins.faults.InitializationException;
|
|||
import org.gcube.application.cms.plugins.faults.ShutDownException;
|
||||
import org.gcube.application.cms.plugins.reports.InitializationReport;
|
||||
import org.gcube.application.cms.plugins.reports.Report;
|
||||
import org.gcube.application.cms.sdi.engine.PostgisIndexer;
|
||||
import org.gcube.application.cms.sdi.engine.SDIManagerWrapper;
|
||||
import org.gcube.application.geoportal.common.model.rest.ConfigurationException;
|
||||
import org.gcube.application.geoportal.common.model.rest.DatabaseConnection;
|
||||
|
@ -66,6 +67,7 @@ public abstract class SDIAbstractPlugin extends AbstractPlugin implements Initia
|
|||
InitializationReport report = new InitializationReport();
|
||||
try{
|
||||
initCache();
|
||||
PostgisIndexer.init();
|
||||
report.setStatus(Report.Status.OK);
|
||||
} catch (Throwable e) {
|
||||
throw new InitializationException("SDI Plugins : Unable to initialize Internal Caches ",e);
|
||||
|
|
Loading…
Reference in New Issue