reverted pom at 1.8.0
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@133277 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
33948e4a69
commit
9f4671130d
2
pom.xml
2
pom.xml
|
@ -8,7 +8,7 @@
|
|||
</parent>
|
||||
<groupId>org.gcube.data.transfer</groupId>
|
||||
<artifactId>uri-resolver</artifactId>
|
||||
<version>1.8.1-SNAPSHOT</version>
|
||||
<version>1.8.0-SNAPSHOT</version>
|
||||
<packaging>war</packaging>
|
||||
<description>The URI Resolver is an HTTP URI resolver implemented as an HTTP servlet which gives access trough HTTP to different protocols URIs. </description>
|
||||
|
||||
|
|
|
@ -52,7 +52,7 @@ public class GeonetworkRequestDecoder {
|
|||
String[] params = pathWithoutGN.split("/");
|
||||
if(params[0]==null || params[0].isEmpty()){
|
||||
logger.error("Scope is null or empty, you must set a valid scope /geonetwork/root_vo_vre");
|
||||
throw new ServletException("Scope is null or empty, you must set a valid scope /geonetwork/root_vo_vre");
|
||||
throw new ServletException("Scope is null or empty, you must set a valid scope /geonetwork/root"+SCOPE_SEPARATOR+"vo"+SCOPE_SEPARATOR+"vre");
|
||||
}
|
||||
|
||||
geonetworkRequestCriteria = getGeonetworkRequestCriteria(params[0]);
|
||||
|
|
|
@ -364,7 +364,7 @@ public class GeonetworkResolver extends HttpServlet{
|
|||
}
|
||||
try{
|
||||
|
||||
if(filterGetRecords!=null){
|
||||
if(filterGetRecords!=null && filterGetRecords.getFoundPublicIds()!=null){
|
||||
logger.info("I'm removing list of public IDs with "+filterGetRecords.getFoundPublicIds() +" IDs, Is it right?");
|
||||
in = GetResponseRecordFilter.overrideResponseIdsByListIds(in, filterGetRecords.getFoundPublicIds());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue