Summary
Multiple legacy HTTP APIs are marked deprecated in favor of Puppet.runtime[:http] and modern HTTP client paths.
Evidence
lib/puppet/network/http_pool.rb:10 deprecates module in favor of Puppet::HTTP::Client.
lib/puppet/network/http_pool.rb:31 and lib/puppet/network/http_pool.rb:55 deprecate http_instance and connection.
lib/puppet/network/http_pool.rb:35 and lib/puppet/network/http_pool.rb:59 emit runtime deprecation warnings.
lib/puppet/network/http/connection.rb:18 marks class deprecated in favor of Puppet.runtime[:http].
lib/puppet/network/http/handler.rb:43 marks format_to_mime deprecated.
Proposed OpenVox 9 Change
- Remove
Puppet::Network::HttpPool API surface.
- Remove deprecated
Puppet::Network::HTTP::Connection compatibility class.
- Remove deprecated
format_to_mime helper from HTTP handler.
Compatibility / Risk
- High plugin ecosystem risk if external code depends on legacy classes.
- Core can migrate with controlled internal refactors.
Implementation Notes
- Inventory internal call sites before deletion.
- Consider short transition shim with hard failure message if external adoption risk is high.
- Ensure all transport code uses modern HTTP abstractions consistently.
Acceptance Criteria
- Legacy HTTP pool/connection APIs removed from core.
- No deprecation warnings for these APIs remain (because APIs are gone).
- All network-related tests pass using modern client paths.
Suggested Tests
- Unit/integration coverage for catalog/file/report HTTP operations via modern APIs.
- Negative tests for removed constants/methods if compatibility policy requires explicit failure text.
Summary
Multiple legacy HTTP APIs are marked deprecated in favor of
Puppet.runtime[:http]and modern HTTP client paths.Evidence
lib/puppet/network/http_pool.rb:10deprecates module in favor ofPuppet::HTTP::Client.lib/puppet/network/http_pool.rb:31andlib/puppet/network/http_pool.rb:55deprecatehttp_instanceandconnection.lib/puppet/network/http_pool.rb:35andlib/puppet/network/http_pool.rb:59emit runtime deprecation warnings.lib/puppet/network/http/connection.rb:18marks class deprecated in favor ofPuppet.runtime[:http].lib/puppet/network/http/handler.rb:43marksformat_to_mimedeprecated.Proposed OpenVox 9 Change
Puppet::Network::HttpPoolAPI surface.Puppet::Network::HTTP::Connectioncompatibility class.format_to_mimehelper from HTTP handler.Compatibility / Risk
Implementation Notes
Acceptance Criteria
Suggested Tests