Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
37321 90 d 22 h amit /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/web/client/ Preserve transport-failure cause in RestClient; add 60s regulator timeout profile

RestClient wrapped IOException/ClientProtocolException into RuntimeException(GE_1006)
without a cause, so callers could not tell a read timeout apart from a business
rejection. Pass the original exception as the cause at all four transport catch sites;
message text is unchanged.

Add HttpClientFactory.slowRegulatorRequestConfig() (60s socket) for NIC e-invoice/EWB
calls, which routinely exceed the global 10s default at peak, plus a RestClient
constructor taking an explicit RequestConfig. The global default is unchanged.
 
36416 201 d 19 h amit /trunk/profitmandi-common/ Drop OkHttp, standardise on Apache HttpClient via HttpClientFactory. RestClient pool raised to 20/8, all construction routed through factory. Lint guard added to block direct OkHttp/createDefault usage.  
36295 212 d 23 h amit /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/web/client/ Plug response-entity leak in RestClient

Apache HttpClient connections are released back to the PoolingConnectionManager
only when the response entity is fully consumed. Error paths in execute(),
executeMandii(), and executeJson() threw before consumeQuietly was called,
leaking pool slots and accumulating CLOSE_WAIT sockets against Solr, Tomcat,
and external APIs. Wrap each in try/finally with EntityUtils.consumeQuietly
so the connection is always returned. Methods that return raw HttpResponse
(getResponse, postResponse) are still caller-close responsibility.
 
36200 223 d 18 h ranu /trunk/ error correctly will show  
35623 290 d 0 h amit /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/ Switch Reportico service calls from GET to POST to send params as form body  
34877 464 d 19 h ranu /trunk/ razor pay x comiit  
34805 486 d 17 h ranu /trunk/ icici insurance policy phase one uploaded  
34545 551 d 21 h vikas.jangra /trunk/ Bidding/Liquidation push notifications  
31828 1307 d 18 h amit.gupta /trunk/ Added new provider for SMS Service  
30616 1619 d 6 h amit.gupta /trunk/ Added Einvoice Files  
30383 1656 d 18 h amit.gupta /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/web/client/ Fixed ahead issue  
30289 1679 d 1 h amit.gupta /trunk/ Fixed changes related to einvoice and invoice generation  
29834 1769 d 21 h tejbeer /trunk/ change  
29710 1791 d 0 h amit.gupta /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/web/client/  
29496 1845 d 0 h amit.gupta /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/web/client/  
28653 1945 d 1 h amit.gupta /trunk/ Added Changes to order creation  
27179 2225 d 21 h amit.gupta /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/web/client/  
26656 2374 d 21 h amit.gupta /trunk/ Fixed sms sender  
26078 2509 d 20 h amit.gupta /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/web/client/  
25726 2574 d 1 h amit.gupta /trunk/ Fixed changes for toffee  

Show All