nddipiazza opened a new pull request, #2488:
URL: https://github.com/apache/tika/pull/2488

   ## Summary
   Adds public API to PipesClient for dynamically managing fetchers and 
emitters at runtime through PipesServer's ConfigStore.
   
   ## Changes
   
   ### Protocol Enhancements
   - Extended PipesClient.COMMANDS enum with 8 new commands:
     - SAVE_FETCHER, DELETE_FETCHER, LIST_FETCHERS, GET_FETCHER
     - SAVE_EMITTER, DELETE_EMITTER, LIST_EMITTERS, GET_EMITTER
   
   ### PipesClient API
   Added public methods:
   - `saveFetcher(ExtensionConfig)` - Create/update fetcher
   - `deleteFetcher(String)` - Remove fetcher
   - `listFetchers()` - List all fetcher IDs
   - `getFetcherConfig(String)` - Get fetcher configuration
   - Same methods for emitters
   
   ### PipesServer Handlers
   Implemented request handlers for all 8 commands with proper error handling 
and serialization.
   
   ### Core Infrastructure  
   - Added `deleteComponent()` and `getComponentConfig()` to 
AbstractComponentManager
   - Added wrapper methods to FetcherManager and EmitterManager
   - Added `remove()` method to ConfigStore interface and implementations
   
   ## Benefits
   - Users can add/modify fetchers and emitters without restarting
   - Supports multi-tenant scenarios with isolated configs
   - Enables programmatic configuration
   - Maintains backwards compatibility with static config
   
   ## Testing
   - All existing tests pass
   - No breaking changes
   - Ready for integration testing
   
   ## JIRA
   https://issues.apache.org/jira/browse/TIKA-4595


-- 
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