Fixed messages
This commit is contained in:
parent
5e4a84a77f
commit
bdefe8bbc5
|
@ -51,13 +51,13 @@ public class SDIMaterializerPlugin implements MaterializationPlugin {
|
|||
public InitializationReport initInContext() throws InitializationException {
|
||||
InitializationReport report = new InitializationReport();
|
||||
try{
|
||||
if(getSDIManager()==null) {
|
||||
String context = ContextUtils.getCurrentScope();
|
||||
if(getSDIManager()==null) {
|
||||
log.info("Initializing in " + context);
|
||||
sdiManagerMap.put(context,new SDIManager());
|
||||
}
|
||||
report.setStatus(Report.Status.OK);
|
||||
report.putMessage("Initialized SDI Manager");
|
||||
report.putMessage("Initialized SDI Manager in "+context+" pointing to "+getSDIManager().getGeoserverHostName());
|
||||
} catch (SDIInteractionException e) {
|
||||
throw new InitializationException("Unable to initialize SDI Manager ",e);
|
||||
}
|
||||
|
|
|
@ -49,8 +49,9 @@ public class SDIManager {
|
|||
private final GISInterface gis;
|
||||
@Getter
|
||||
private final DataTransferClient dtGeoServer;
|
||||
@Getter
|
||||
private final String geoserverHostName;
|
||||
|
||||
@Getter
|
||||
private final AbstractGeoServerDescriptor currentGeoserver;
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue