Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-10439

Remove Puppet::Network::HTTP::ConnectionAdapter

    XMLWordPrintable

Details

    • Task
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • None
    • PUP 7.0.0
    • None
    • Bug Fix
    • Hide
      This contains breaking changes:

      * Client networking code has been moved to Puppet::HTTP.
      * Removes Puppet::Network::HttpPool.http_instance method.
      * Removes Puppet.lookup(:http_pool)
      * The deprecated Puppet::Network::HttpPool.http_instance and connection methods are preserved.
      Show
      This contains breaking changes: * Client networking code has been moved to Puppet::HTTP. * Removes Puppet::Network::HttpPool.http_instance method. * Removes Puppet.lookup(:http_pool) * The deprecated Puppet::Network::HttpPool.http_instance and connection methods are preserved.
    • Needs Assessment

    Description

      This ticket is to delete deprecated http code and separate client vs server http code:

      1. Delete the following classes and tests:

      Puppet::Network::HTTP::Connection
      Puppet::Network::HTTP::NoCachePool
      Puppet::Network::HTTP::Compression

      2. Consolidate BasePool and Pool code and tests, since there is only one pool class
      3. Rename Puppet::Network::HTTP::Session to something else like PoolEntry
      4. Move remaining http client code and tests to `Puppet::HTTP`

      Puppet::Network::HTTP::Factory
      Puppet::Network::HTTP::Pool
      Puppet::Network::HTTP::PoolEntry
      Puppet::Network::HTTP::Site

      The classes left in Puppet::Network::HTTP::* should only be used in a puppetserver context.

      This is blocked on PUP-10252

      Attachments

        Issue Links

          Activity

            People

              josh Josh Cooper
              josh Josh Cooper
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support