-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding disableStreamCache=true on every http call #66
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #66 +/- ##
============================================
- Coverage 89.76% 84.89% -4.87%
- Complexity 73 96 +23
============================================
Files 10 16 +6
Lines 293 331 +38
Branches 1 1
============================================
+ Hits 263 281 +18
- Misses 29 49 +20
Partials 1 1
Continue to review full report at Codecov.
|
@dannylamb I'm sorry I didn't catch you sooner, but couldn't we set this as an option in the blueprint.XML so you don't have to do this? |
@whikloj Depends on the type of parameter IIRC. Some can be set on the http component and some are done on a per endpoint basis. I'll look that up because if we can do it once in the blueprint, we should. |
Bit of a wormhole but.... I think we already have the groundwork laid for this. I can make an HttpClientConfigurer and add it as a bean here. Then it should be exported out and affect all http components used in Karaf. Also... sneaky claw reference!!! |
This works for us, I haven't noticed any regressions after upgrading, and the ability to pass huge files around the place is really cool. Thank you! |
checkstyle fail for long lines |
@dannylamb, do you want to revisit this so we can pull it over the finish line? |
Hi all, |
@simonhm , I believe this patch was superseded and incorporated into 7bf983d (available as part of the latest release). @whikloj or @dannylamb , can either of you confirm and close this PR? |
Yes this was added to the new one jar, you can find it here. |
We've been testing Islandora 8 using the Ansible Playbook. The Alpaca version on our testing sites is 1.x that was installed in the initial set up. We've been updating PHP modules and Drupal but everything else in the stack is what was initially installed. |
Hi @simonhm, |
GitHub Issue: Part of the fix for Islandora/documentation#1278
What does this Pull Request do?
Disables stream caching so payloads are streamed around and not read into memory.
How should this be tested?
See Islandora/documentation#1278
Interested parties
@Islandora/8-x-committers @kayakr @antbrown