Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set user agent string #140

Merged
merged 4 commits into from
Jun 10, 2020
Merged

Set user agent string #140

merged 4 commits into from
Jun 10, 2020

Conversation

danepowell
Copy link
Contributor

@danepowell danepowell commented Jun 10, 2020

I've confirmed this shows up in Sumo Logic as "acli/@package_version@" (with a real version for a phar release)

Also talking about setting a default user agent for the SDK: typhonius/acquia-php-sdk-v2#73

@danepowell
Copy link
Contributor Author

We might need to refactor how we mock the Acquia client service, so that it starts from a common base. Every client call should add this header, but not every test calls the client so the current code won't work.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.008%) to 92.915% when pulling f9e72e2 on danepowell:DT-1701 into 65e5efa on acquia:master.

@danepowell danepowell requested a review from grasmash June 10, 2020 21:35
@grasmash grasmash merged commit eaf8476 into acquia:master Jun 10, 2020
grasmash pushed a commit that referenced this pull request Oct 10, 2020
* Set user agent string

* this won't work

* fix mock

* Fixed test
@danepowell danepowell deleted the DT-1701 branch September 22, 2021 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants