[ECOMMERCE-393] [SF & SAP] Should consume the response entity to close input stream in case it's failed with error code Created: 22/Apr/21 Updated: 29/Jun/21 Resolved: 29/Jun/21 |
|
| Status: | Closed |
| Project: | E-commerce |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.2.5, 1.3 |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Thuy To | Assignee: | Thuy To |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | VN-Maintenance | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Template: |
|
||||||||
| Acceptance criteria: |
Empty
|
||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||
| Epic Link: | Chooser improvements 1.2.5 | ||||||||
| Sprint: | Content Mngmt 7 | ||||||||
| Story Points: | 3 | ||||||||
| Description |
|
Problem: The response entity isn't consumed correctly (input stream may open and does not close) Expectation: Consume entity explicitly, ecommerce can back to work as normal after sending 3 times error request. Solutions: Maybe change the code:
To:
|
| Comments |
| Comment by Thuy To [ 29/Jun/21 ] |
|
Won't fix because the current code on SF and SAP have covered with consume response entity. |