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

add support for proxies. #18

Merged
merged 4 commits into from
Aug 4, 2023
Merged

add support for proxies. #18

merged 4 commits into from
Aug 4, 2023

Conversation

mfrisbey
Copy link
Contributor

Description

Per customer request, they would like to use the CLI but their configuration requires a proxy. This PR adds proxy support to the CLI, and follows the support guidelines described in the aio-cli. In summary, a proxy URL can be defined in an environment variable, and the CLI will pick up the value in provide it to aem-upload to allow proxying.

Related Issue

Submitted internally.

Motivation and Context

Customer is using the CLI to upload assets as part of an automated job, and requires a way to configure a proxy so that requests to AEM succeed.

How Has This Been Tested?

Added new unit tests, will request some manual testing.

Screenshots (if appropriate):

N/A

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have signed the Adobe Open Source CLA.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@mfrisbey mfrisbey requested a review from tcallsen July 31, 2023 23:14
Copy link

@tcallsen tcallsen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and confirmed upload requests passing through proxy. Looks good!

@mfrisbey mfrisbey merged commit fc93b6c into master Aug 4, 2023
@mfrisbey mfrisbey deleted the proxy-support branch August 4, 2023 19:57
github-actions bot pushed a commit that referenced this pull request Aug 4, 2023
# [1.2.0](v1.1.1...v1.2.0) (2023-08-04)

### Features

* add support for proxies. ([#18](#18)) ([fc93b6c](fc93b6c))
@github-actions
Copy link

github-actions bot commented Aug 4, 2023

🎉 This PR is included in version 1.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants