Subversion Repositories SmartDukaan

Rev

Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
37661 21 d 7 h amit /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/web/client/ Fix trunk: RestClient was left behind by r37655

r37655 deleted MandiiResponse but omitted RestClient from the commit, so
trunk did not compile - RestClient still imported the deleted class.

RestClient now uses RawHttpResponse: executeMandii is renamed executeRaw and
postWithResponse returns the new type. The dead getMandii helper is removed;
its only caller was MandiiService.
 
37388 44 d 9 h vikas /trunk/ Whatsapp Apis  
37321 51 d 10 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 162 d 7 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 173 d 11 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 184 d 6 h ranu /trunk/ error correctly will show  
35623 250 d 12 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 425 d 7 h ranu /trunk/ razor pay x comiit  
34805 447 d 5 h ranu /trunk/ icici insurance policy phase one uploaded  
34545 512 d 10 h vikas.jangra /trunk/ Bidding/Liquidation push notifications  
31828 1268 d 6 h amit.gupta /trunk/ Added new provider for SMS Service  
30616 1579 d 18 h amit.gupta /trunk/ Added Einvoice Files  
30383 1617 d 6 h amit.gupta /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/web/client/ Fixed ahead issue  
30289 1639 d 13 h amit.gupta /trunk/ Fixed changes related to einvoice and invoice generation  
29834 1730 d 9 h tejbeer /trunk/ change  
29710 1751 d 12 h amit.gupta /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/web/client/  
29496 1805 d 12 h amit.gupta /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/web/client/  
28653 1905 d 13 h amit.gupta /trunk/ Added Changes to order creation  
27179 2186 d 9 h amit.gupta /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/web/client/  
26656 2335 d 9 h amit.gupta /trunk/ Fixed sms sender  
26078 2470 d 8 h amit.gupta /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/web/client/  
25726 2534 d 13 h amit.gupta /trunk/ Fixed changes for toffee  
25702 2548 d 7 h amit.gupta /trunk/  
25244 2650 d 12 h amit.gupta /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/web/client/  
25011 2682 d 14 h amit.gupta /trunk/ Adedd web link for team in admin and accessories subcategories are displayed now insted of accessories brands  
23612 3082 d 18 h amit.gupta /trunk/ Added report changes + changes in cash collection  
23568 3095 d 8 h govind /trunk/ Fixed changes related to logging. Updated to log4j2  
23561 3096 d 13 h ashik.ali /trunk/profitmandi-common/src/main/ Integrated new recharge provider think walnut digital and some code refectoring  
23526 3106 d 13 h ashik.ali /trunk/profitmandi-common/src/main/ Feature : Recharge Commission, some improvements, recharge live integration  
23509 3107 d 18 h amit.gupta /trunk/ Checking in Returns and added cron like behaviour to profitmandi  
23502 3109 d 14 h ashik.ali /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/ Feature : Recharge integration  
22877 3254 d 12 h amit.gupta /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/web/client/  
22856 3256 d 9 h ashik.ali /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/web/client/  
22844 3258 d 19 h amit.gupta /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/web/client/  
22345 3325 d 14 h amit.gupta /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/web/client/  
22343 3325 d 14 h amit.gupta /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/web/client/  
22341 3325 d 15 h amit.gupta /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/web/client/  
22339 3325 d 15 h amit.gupta /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/web/client/  
22337 3325 d 15 h amit.gupta /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/web/client/  
22233 3346 d 13 h amit.gupta /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/web/client/