Opened 13 years ago

Closed 13 years ago

#660 closed enhancement (fixed)

Virtual CSW endpoints

Reported by: josegar74 Owned by: geonetwork-devel@…
Priority: major Milestone: v2.7.0
Component: General Version: v2.6.3
Keywords: Cc:

Description (last modified by josegar74)

Add the capability to have custom CSW entry points that applies extra criteria to the CSW request.

A new CSW service entry point is defined using the following syntax:

<service name="csw-with-my-filter">
       <class name=".services.main.CswDispatcher" >
               <param name="filter" value="+inspirerelated:on +themekey:environment"/>
       </class>
</service>

The "filter" parameter value is the filter to apply to Lucene query using Lucene query syntax ( http://lucene.apache.org/java/2_9_1/queryparsersyntax.html). Allows OR and AND operators.

Adding new services require a restart of the application.

Attachments (2)

Patch_CSW_Virtual.patch (27.7 KB ) - added by josegar74 13 years ago.
Patch_for_CSW_Virtual_with_documentation.patch (40.1 KB ) - added by josegar74 13 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 by josegar74, 13 years ago

Description: modified (diff)

by josegar74, 13 years ago

Attachment: Patch_CSW_Virtual.patch added

comment:2 by josegar74, 13 years ago

Added updated patch including updated manual

comment:3 by josegar74, 13 years ago

Updated patch fixing service end-points in capabilities document and documentation section on how to configure using overrides feature

comment:4 by josegar74, 13 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.