Comments (5)
from azure-sdk-tools.
One idea I had:
- Run HTTP proxy in a docker container.
- Run tests in docker container with no outbound internet and only access to proxy container.
- Run tests, verify access through proxy works and direct access fails.
from azure-sdk-tools.
@JimSuplizio, pretty sure this very old issue is covered by the work you're planning to do with recordings. Feel free to reword/fix/close this issue as you see fit and as it aligns with the recording epic you're working on.
from azure-sdk-tools.
I will transfer this issue to sdk-tools and apply label to it. Test-proxy definitely supports this scenario if the policies on client side are set up properly.
The way it should work is
- Request with original URI.
core
package detects presence of HTTP_PROXY environment variable and updates target URI/headers.- Test-proxy policy applies last and updates the already updated target URI/headers to route to test proxy.
- Test-proxy makes request to the proxy server, records result as normal.
from azure-sdk-tools.
Closing, this is client side.
from azure-sdk-tools.
Related Issues (20)
- Create pipeline for deprecated packages from github.io HOT 2
- samples automation, handle x-ms-original-file from TypeSpec path
- Make CompareBodies without order if it is application/json HOT 1
- [SDK Automation] Establish base line for SDK automation for TypeSpecs HOT 2
- Verify-Links.ps1 should use an Accepts header
- [SDK Automation] Deprecate powershell scripts for typespec related automation
- [SDK Automation] Support SDK breaking change suppression for TypeSpecs
- Support variable substitution in the swagger path of the input-file config
- Next steps to merge in release-* branches provides wrong information
- [APIView] Use uniform Json Serialization across App HOT 1
- SDK Release Plan Target Date data integrity issues between Release Planner & ADO HOT 3
- Flow to mark a release plan as completed HOT 4
- APIView - Enable revision manager unit tests
- Delete Option in Context Menu
- APIView - C# API review is not showing delegates
- Display error message if Lifecycle metadata is empty when Service or Product onboards to the SDK System (using the Release Planner App)
- Increment the date condition for updating a meeting HOT 1
- Tests with bodies encoded by azure-storage-extensions compression crashing the test-proxy
- Clean reviewers approved in staging
- tsp-client failed to generate ts client for oracle/Oracle.Database.Management HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-sdk-tools.