Brijesh-Thakkar opened a new pull request, #4077:
URL: https://github.com/apache/streampipes/pull/4077

   ### Purpose
   This PR refactors the former `Utils` class in the 
`streampipes-storage-couchdb` module
   into multiple focused utility and factory classes.
   
   The previous `Utils` class bundled a wide range of responsibilities such as 
environment
   access, authentication handling, URL construction, HTTP request creation, 
and CouchDB
   client configuration, which made it hard to test and maintain.
   
   This refactoring splits these concerns into dedicated classes:
   - `CouchDbConstants`
   - `CouchDbUrlUtils`
   - `CouchDbAuthUtils`
   - `CouchDbPropertiesFactory`
   - `CouchDbClientFactory`
   - `CouchDbRequestFactory`
   
   The original `Utils` class has been marked as deprecated and now delegates 
to the new
   utility classes to ensure backward compatibility.
   
   No functional behavior has been changed.
   
   ---
   
   ### Remarks
   - This change improves separation of concerns and testability of 
CouchDB-related utilities.
   - The refactoring is fully backward compatible through delegation in the 
deprecated `Utils` class.
   - No migration steps are required for existing code.
   
   PR introduces (a) breaking change(s): **no**
   
   PR introduces (a) deprecation(s): **yes**
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to