improved logs
This commit is contained in:
parent
814753ca18
commit
391d0a2c3f
|
@ -1,5 +1,8 @@
|
|||
# Changelog for org.gcube.application.cms.sdi-plugins
|
||||
|
||||
## [v1.1.4-SNAPSHOT]
|
||||
- Improved logs
|
||||
|
||||
## [v1.1.3]
|
||||
- Added apply regex business logic [#26322]
|
||||
- Added reconnection attempts to DB on DB connection failure [#26322]
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<artifactId>sdi-plugins</artifactId>
|
||||
<version>1.1.3</version>
|
||||
<version>1.1.4-SNAPSHOT</version>
|
||||
<name>gCube CMS - SDI Plugins</name>
|
||||
|
||||
<parent>
|
||||
|
|
|
@ -48,9 +48,10 @@ public class SDIManager {
|
|||
geoserverHostName=new URL(currentGeoserver.getUrl()).getHost();
|
||||
|
||||
log.debug("Contacting Data Transfer from geoserver {} ",geoserverHostName);
|
||||
dtGeoServer=DataTransferClient.getInstanceByEndpoint("https://"+geoserverHostName);
|
||||
String gsEP = "https://"+geoserverHostName;
|
||||
dtGeoServer=DataTransferClient.getInstanceByEndpoint(gsEP);
|
||||
if(!currentGeoserver.getReader().existGeoserver())
|
||||
throw new Exception("Geoserver not reachable");
|
||||
throw new Exception("Geoserver not reachable at "+gsEP);
|
||||
}catch(Exception e) {
|
||||
log.error("SDIManager init failed: ",e);
|
||||
throw new SDIInteractionException("Unable to initialize SDI Manager",e);
|
||||
|
|
Loading…
Reference in New Issue