(This should be documented in developers manual and perhaps included in an example of how to add services to your own GeoNetwork overlay via configuration overrides as it would be something I think quite a few sites would want to know how to do and maintain over different releases!).
Cheers and thanks,
Simon
________________________________________
From: jose garcia [josegar74@anonymised.com]
Sent: Friday, 18 November 2011 8:15 AM
To: geonetwork-devel@lists.sourceforge.net
Subject: [GeoNetwork-devel] Proposal for vote: VirtualCSW
Dear PSC members,
A proposal to add the capability to define custom CSW entry points that applies extra criteria to the CSW requests.
Maybe an advanced configuration chapter in the user configuration ?
and perhaps included in an example of how to add services to your own GeoNetwork overlay via configuration overrides
Here is an example
<overrides xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<!-- Add custom CSW service -->
<file name=".*/WEB-INF/config-csw-servers.xml">
<addXML xpath="services">
<service name="csw-inspire">
<class name=".services.main.CswDispatcher">
<param name="filter" value="+inspirerelated:on"/>
</class>
</service>
</addXML>
</file>
<file name=".*/WEB-INF/user-profiles.xml">
<addXML xpath="profile[@name='Guest']">
<allow service="csw-inspire"/>
</addXML>
</file>
</overrides>
Cheers
Francois
as it would be something I think quite a few sites would want to know how to do and maintain over different releases!).
Cheers and thanks,
Simon
________________________________________
From: jose garcia [josegar74@anonymised.com]
Sent: Friday, 18 November 2011 8:15 AM
To: geonetwork-devel@lists.sourceforge.net
Subject: [GeoNetwork-devel] Proposal for vote: VirtualCSW
Dear PSC members,
A proposal to add the capability to define custom CSW entry points that applies extra criteria to the CSW requests.
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
this capability is very nice; however, defining the CSW as "virtual", would
imply that we can create CSW subservices, each one with its own scope, where a
user (and her metadata) cannot "escape" from.
With this proposal, the "scope" concept holds only in the case of a read-only
CSW interface; anyway this concept is not enforced when including also the
transactional part.
Let's say we have a user profile where users can only perform CSW requests to
a given Virtual CSW, and also perform Transactions. If the user inserts a
metadata that does not match the Virtual CSW filter, the metadata will then be
invisible to the user (when only using CSW interface, of course). Maybe it
would be useful to define a XSL stylesheet to process metadata to be inserted
via CSW, to make sure they are consistent with the filter (either by rejecting
the insert request or by modifing the metadata to make it filter-compliant).
Update and delete transaction use cases should be examined as well.
Ciao,
Emanuele
Alle 22:15:24 di Thursday 17 November 2011, jose garcia ha scritto:
Dear PSC members,
A proposal to add the capability to define custom CSW entry points that
applies extra criteria to the CSW requests.
Thanks for feedback and sorry about delay in response.
You’re right about transaction service, but the check is not easy to do if metadata is not inserted, so can use lucene to query for it (one solution to implement can be insert the record in db, query for it using the filter and remove it if doesn’t fill the filter).
For now, I’ll add in manual about the transaction limitation and can open a issue in trac to manage about transaction improvement if seem ok.
this capability is very nice; however, defining the CSW as “virtual”, would
imply that we can create CSW subservices, each one with its own scope, where a
user (and her metadata) cannot “escape” from.
With this proposal, the “scope” concept holds only in the case of a read-only
CSW interface; anyway this concept is not enforced when including also the
transactional part.
Let’s say we have a user profile where users can only perform CSW requests to
a given Virtual CSW, and also perform Transactions. If the user inserts a
metadata that does not match the Virtual CSW filter, the metadata will then be
invisible to the user (when only using CSW interface, of course). Maybe it
would be useful to define a XSL stylesheet to process metadata to be inserted
via CSW, to make sure they are consistent with the filter (either by rejecting
the insert request or by modifing the metadata to make it filter-compliant).
Update and delete transaction use cases should be examined as well.
Ciao,
Emanuele
Alle 22:15:24 di Thursday 17 November 2011, jose garcia ha scritto:
Dear PSC members,
A proposal to add the capability to define custom CSW entry points that
applies extra criteria to the CSW requests.
the main implementation issue seems to be that you would need to check if a metadata would be found by a virtual CSW filter, in order to know whether to accept it or reject it.
I don’t think it is necessary to first store it in the db to do this – you could use a very small in-memory Lucene index that is otherwise the same as our ‘normal’ Lucene index, to add the document to and see if you get it back when querying for it with the Virtual CSW filter.
Thanks for feedback and sorry about delay in response.
You’re right about transaction service, but the check is not easy to do if metadata is not inserted, so can use lucene to query for it (one solution to implement can be insert the record in db, query for it using the filter and remove it if doesn’t fill the filter).
For now, I’ll add in manual about the transaction limitation and can open a issue in trac to manage about transaction improvement if seem ok.
this capability is very nice; however, defining the CSW as “virtual”, would
imply that we can create CSW subservices, each one with its own scope, where a
user (and her metadata) cannot “escape” from.
With this proposal, the “scope” concept holds only in the case of a read-only
CSW interface; anyway this concept is not enforced when including also the
transactional part.
Let’s say we have a user profile where users can only perform CSW requests to
a given Virtual CSW, and also perform Transactions. If the user inserts a
metadata that does not match the Virtual CSW filter, the metadata will then be
invisible to the user (when only using CSW interface, of course). Maybe it
would be useful to define a XSL stylesheet to process metadata to be inserted
via CSW, to make sure they are consistent with the filter (either by rejecting
the insert request or by modifing the metadata to make it filter-compliant).
Update and delete transaction use cases should be examined as well.
Ciao,
Emanuele
Alle 22:15:24 di Thursday 17 November 2011, jose garcia ha scritto:
Dear PSC members,
A proposal to add the capability to define custom CSW entry points that
applies extra criteria to the CSW requests.
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d