<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
I thought this sounded like a good idea but since reading Renato's
message I am now confused.<br>
<br>
If a user does a search on a portal and gets 100 results and looks at
the first 10 does the provider of the 11th record get notified? Their
data has been used because it has been given in the count.&nbsp; Another
example would be if a portal gave a distribution map to 10km squares
based in data from multiple providers. Each data point is made from
several suppliers data and removal of any one supplier's data may not
change the map. Do we notify them all?<br>
<br>
I could envisage a GUID based system just about. The call to the log
function would basically say "Some one has accessed the data that I got
from you that you tag with this GUID" but I can't see how this would
work on a search based system. The log call would mean "Some one
searched for something that made used of data I got from a search I did
on you once".<br>
<br>
So really the only service we need is a GUID based one. Perhaps
extending the LSID resolution spec would be more appropriate?<br>
<br>
Roger<br>
<br>
<br>
Renato De Giovanni wrote:
<blockquote cite="mid44BE564D.1312.1452D5C@renato.cria.org.br"
 type="cite">
  <pre wrap="">Hi John,

Implementing the log request was never a problem. We discussed about 
that again during the Madrid meeting, and only after that a feature 
freeze was suggested. It's true that PyWrapper is being adjusted now 
to conform to the new specs, and considering that DiGIR2 (or wasabi) 
postponed implementation of TAPIR, I suppose it should not be a big 
problem to make additional changes if necessary.

The main problem I had with the log request was that it would 
probably not solve the issue behind it, which is to track usage by 
data aggregators. I still have the same feeling, and I can easily 
imagine situations when it would not be easy or even possible to 
translate searches on top of cached databases to TAPIR requests.

But maybe I'm wrong, and if you all think it's a good feature then we 
can try to include it. However, I do think that providers should be 
able to advertise as the part of capabilities if they want to receive 
log requests or not. 

To me it also sounds like a new operation, especially if it's only 
related to search. It could make sense for view, inventory and 
metadata operations. Maybe capabilities too. But it doesn't make 
sense for ping. Well, maybe it could make sense for ping if the data 
aggregator monitors provider status and accepts similar requests on 
top of its results...

So, yes, it could be a new attribute "logOnly" as part of the 
operationRequestGroup with an answer &lt;/received&gt; (just after the 
response header). And we could add an attribute "acceptLogRequests" 
in the &lt;operations&gt; element in capabilities responses. The other 
option would be to include a new operation, but maybe it's better to 
just have it as an optional attribute for all operations.

Best Regards,
--
Renato

On 19 Jul 2006 at 10:32, John R. WIECZOREK wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">I appreciate that you will consider this request. I always thought
it 
would be trivial to implement. Your simulation mode sounds very much
like what I had in mind. I hadn't thought it necessary to get a 
response from a log request, but if there was a simple response, it
could be used as a ping, or it could be used to retry logging until
the provider did respond. So, something like &lt;log request received&gt;.
I think the addition oflogOnly attribute is a good one, and could 
apply to every request type. 

Javi, I don't disagree that portals SHOULD log the data usage, 
especially to cover the situations where a provider doesn't respond.
I also think that having the information logged at the provider is a
responsible course of action, since they will have immediate access
to the usage statistics that way. It will be much easier for a
portal 
builder to send log requests than it will be to build the 
infrastructure and interfaces to logs, therefore it is more likely
to 
actually get done. 


On 7/18/06, Javier de la Torre <a class="moz-txt-link-rfc2396E" href="mailto:jatorre@mncn.csic.es">&lt;jatorre@mncn.csic.es&gt;</a> wrote: 
    I am not sure about this,
    
    I still think that portals should be gathering this data and
making
    it available for data providers... 
    
    But in any case if you like it then I agree with MArkus that the
best
    is to include another parameter in the operationRequestGroup.
    
    I havent checked but what happens if you do an extension there
with
    an attribute that is implementation specific? A qualified
attribute.
    Will this still validate against our schema? You were
discussing
    about qualification of attributes before no?
    
    Javi.
    
    On 18/07/2006, at 10:41, D&ouml;ring, Markus wrote: 
    
    &gt; John,
    &gt; all changes going on with TAPIR right now are really only
changes
    &gt; in terminology or removing inconsistencies we did not detect
before
    &gt; we started the documentation and final implementation. 
    &gt;
    &gt;
    &gt; But nevertheless I would support your request. Especially from
the
    &gt; implementation side of view this is a trivial change to the
code.
    &gt; So why dont add it? Just some additional thoughts: 
    &gt;
    &gt;
    &gt; - Ive added a "simulation" mode already to my code where no
SQL
    &gt; gets executed but just logged. So you can test
configurations
    &gt; without risking sending off killer statements. Thats similar
to 
    &gt; logOnly I guess, returning nothing but diagnostics. What would
you
    &gt; suggest to be returned for a logOnly request? just the empty
TAPIR
    &gt; envelope? Nothing? &lt;OK&gt;?
    &gt;
    &gt; - would this log-only request not be needed for all requests?
at 
    &gt; least for inventories? So it would be easiest to have a new
logOnly
    &gt; parameter in the header or "request element" just after the
header?
    &gt; something like &lt;search logOnly="true"&gt;
    &gt;
    &gt;
    &gt;
    &gt; -- Markus
    &gt;
    &gt;
    &gt;&gt; -----Urspr&uuml;ngliche Nachricht-----
    &gt;&gt; Von: <a class="moz-txt-link-abbreviated" href="mailto:pywrapper-devel-bounces@lists.sourceforge.net">pywrapper-devel-bounces@lists.sourceforge.net</a> 
    &gt;&gt; [<a class="moz-txt-link-freetext" href="mailto:pywrapper-devel-bounces@lists.sourceforge.net">mailto:pywrapper-devel-bounces@lists.sourceforge.net</a>] Im
    &gt;&gt; Auftrag von John R. WIECZOREK
    &gt;&gt; Gesendet: Montag, 17. Juli 2006 23:30 
    &gt;&gt; An: Renato De Giovanni
    &gt;&gt; Cc: <a class="moz-txt-link-abbreviated" href="mailto:pywrapper-devel@lists.sourceforge.net">pywrapper-devel@lists.sourceforge.net</a>; tdwg-
    <a class="moz-txt-link-abbreviated" href="mailto:tapir@lists.tdwg.org">tapir@lists.tdwg.org</a> 
    &gt;&gt; Betreff: Re: [PyWrapper-devel] [tdwg-tapir] RE: WG: tapir:
    &gt;&gt; capabilities
    &gt;&gt;
    &gt;&gt; A little off topic, but it occurs to me that a great deal
of
    &gt;&gt; work is still ongoing with TAPIR, which suggests to me that
    &gt;&gt; it may be warranted to re-state my request for a simple
    &gt;&gt; message type - a log request. This request would be the
same
    &gt;&gt; as a search request, except that the caller doesn't need a
    &gt;&gt; response. Providers would use this type of request to log 
    &gt;&gt; data usage if the data were retrieved from a cache
elsewhere.
    &gt;&gt; I remember talking about this in Berlin, at which time
there
    &gt;&gt; was supposed to be a feature freeze. Clearly we've gone
    &gt;&gt; beyond that, so I'm requesting it again. 
    &gt;&gt;
    &gt;&gt;
    &gt;&gt; On 7/17/06, Renato De Giovanni <a class="moz-txt-link-rfc2396E" href="mailto:renato@cria.org.br">&lt;renato@cria.org.br&gt;</a> wrote:
    &gt;&gt;
    &gt;&gt;Hi,
    &gt;&gt;
    &gt;&gt;If I remember well, the "view" operation was re-included in 
    the 
    &gt;&gt;protocol just to handle query templates, especifically
    &gt;&gt; for TapirLite
    &gt;&gt;providers. So if someone wants to query a provider using
some
    &gt;&gt;external output model that should be dynamically 
    &gt;&gt; parsed, then the
    &gt;&gt;"search" operation must be used instead (using either
    &gt;&gt; XML or simple
    &gt;&gt;GET request). View operations are really bound to query
    &gt;&gt; templates, 
    &gt;&gt;and they are not allowed to specify "filter" or
    &gt;&gt; "partial" parameters.
    &gt;&gt;--
    &gt;&gt;Renato
    &gt;&gt;
    &gt;&gt;On 17 Jul 2006 at 21:26, "D&ouml;ring, Markus" wrote: 
    &gt;&gt;
    &gt;&gt;&gt; I was just about to edit the schema and realizing
    &gt;&gt; that output models
    &gt;&gt;&gt; are only specified for searches. but what about
    &gt;&gt; views? they use
    &gt;&gt;&gt; query templates, yes. but only the ones listed in 
    &gt;&gt; capabilities? we
    &gt;&gt;&gt; should have dynamic ones here as well I think. And
    &gt;&gt; they link back to
    &gt;&gt;&gt; static/dynamic models.
    &gt;&gt;&gt;
    &gt;&gt;&gt; So should models maybe become a seperate section not tight
    to 
    &gt;&gt;&gt; search/view operations? I am going to modify the
    &gt;&gt; schema nevertheless
    &gt;&gt;&gt; already to accomodate the changes below - ignoring
    &gt;&gt; views for now.
    &gt;&gt;&gt;
    &gt;&gt;&gt; Markus
    </pre>
  </blockquote>
  <pre wrap=""><!---->
_______________________________________________
tdwg-tapir mailing list
<a class="moz-txt-link-abbreviated" href="mailto:tdwg-tapir@lists.tdwg.org">tdwg-tapir@lists.tdwg.org</a>
<a class="moz-txt-link-freetext" href="http://lists.tdwg.org/mailman/listinfo/tdwg-tapir">http://lists.tdwg.org/mailman/listinfo/tdwg-tapir</a>

  </pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">-- 

-------------------------------------
 Roger Hyam
 Technical Architect
 Taxonomic Databases Working Group
-------------------------------------
 <a class="moz-txt-link-freetext" href="http://www.tdwg.org">http://www.tdwg.org</a>
 <a class="moz-txt-link-abbreviated" href="mailto:roger@tdwg.org">roger@tdwg.org</a>
 +44 1578 722782
-------------------------------------
</pre>
</body>
</html>