Problem/Motivation

We need to remove php-http/guzzle6-adapter from our dependencies and allow guzzlehttp/guzzle ^6 || ^7.

3.1.x has the adapter, but it is not used. 3.x leverages the adapter.

Steps to reproduce

Proposed resolution

1.Remove dependency on php-http/guzzle6-adapter in composer.json'
2. Remove \Drupal\acquia_search\Client\Adapter\TimeoutAwarePsr18Adapter
3. \Drupal\acquia_search\Plugin\SolrConnector\SearchApiSolrAcquiaConnector::connect should rely on {{$this->createClient()}} like parent and not construct its own adapter

Remaining tasks

User interface changes

API changes

Data model changes

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

nkoporec created an issue. See original summary.

nkoporec’s picture

Status: Active » Needs review
mglaman’s picture

I'm pretty sure the adapter was added to work around #3198150: Curl adapter doesn't respect the configured timeout. Which is in 4.1.12 and 4.2.x, which is our minimum for 3.x

mglaman’s picture

Title: Remove usage of PSR-18 adapter to support Guzzle 6 and 7 » [3.x] Remove usage of PSR-18 adapter to support Guzzle 6 and 7

Prefixing with branch, since we need a 3.1.x as well.

  • mglaman committed 413a91d on 3.x
    Issue #3316883 by nkoporec: Remove usage of PSR-18 adapter to support...
mglaman’s picture

Status: Needs review » Fixed

Thanks, @nkoporec!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.