<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 20 Mar 2017, at 21:31, Wessel, Keith <<a href="mailto:kwessel@illinois.edu" class="">kwessel@illinois.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><span style="font-family: Monaco; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">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?</span></div></blockquote></div><div class=""><br class=""></div>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.<div class=""><br class=""></div><div class="">The other question, though, goes back to your original post:</div><div class=""><br class=""></div><div class=""><blockquote type="cite" class=""><span style="font-family: Monaco;" class="">Wondered how one would configure the MDA to do a conditional get of metadata in a bean using the file backed HTTP resource class.</span></blockquote><div class=""><br class=""></div>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?</div><div class=""><br class=""></div><div class="">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.</div><div class=""><br class=""></div><div class="">Cheers,<br class=""><div class=""><div class="">
<span class="Apple-style-span" style="border-collapse: separate; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; border-spacing: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><div class=""><span class="Apple-tab-span" style="white-space: pre;"><br class="Apple-interchange-newline"></span> -- Ian<br class=""></div><div class=""><span class="Apple-style-span" style="font-size: medium;"><br class=""></span></div></span></div></span><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br class=""></div></div></body></html>