[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: PNG File image-2021-04-22-11-32-40-402.png     PNG File image-2021-04-22-11-35-47-593.png    
Issue Links:
Cloners
clones ECOMMERCE-367 Ecommerce plugin getting stuck after ... Closed
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.

Generated at Mon Feb 12 01:43:38 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.