Performing conditional gets with the metadata aggregator
Ian Young
ian at iay.org.uk
Tue Mar 21 08:02:54 EDT 2017
> On 20 Mar 2017, at 21:31, Wessel, Keith <kwessel at illinois.edu> wrote:
>
> So, with that said, Ian, what would the Spring code look like to perform a conditional get in comparison to what's in the IdP?
I took a quick look at this today. One thing to watch out for is that the java-support cacheing client builders only cache documents up to a given size, and that size is in both cases too low for the InCommon metadata specifically. There are properties for these things, though.
The other question, though, goes back to your original post:
> Wondered how one would configure the MDA to do a conditional get of metadata in a bean using the file backed HTTP resource class.
How are you using the MDA in your application? Are you using the provided CLI interface, the mdq-server code or some other framework to invoke the MDA stages?
I ask because the cacheing provided by the java-support http client builders doesn't seem at first glance to persist the document metadata, just its body. That means that if you're just running the CLI once every five minutes, you're not going to get any cacheing. Just want to make sure I am not chasing down a blind alley here.
Cheers,
-- Ian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20170321/8f0cb26f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3563 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/users/attachments/20170321/8f0cb26f/attachment.p7s>
More information about the users
mailing list