-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Eg sync stack testproxy #36656
Merged
Merged
Eg sync stack testproxy #36656
Changes from all commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
130895c
Add missing sync test cases
billwert 5dc3fca
Enable sync-stack
billwert 2daff85
Remove extra set of aeg-channel-name.
billwert 6a0874a
enable AssertingHttpClient
billwert b80c1a8
add back missing Context arguments
billwert 043e39a
Don't stop trying dev credentials on failures
billwert dbc2b6c
Tests now use test proxy and recordings are pushed to assets repo
billwert 18dd529
resolve merge conflicts
srnagar f9ed9a0
address pr comments
srnagar 64f5e98
fix merge conflicts
srnagar 1b35edc
add exports
srnagar dcf148a
fix version
srnagar c6a2bb3
remove unused imports
srnagar 26cc35a
use unreleased test version
srnagar dc41e49
fix tag
srnagar fb20989
fix tag
srnagar 5560758
refactor
srnagar 44e43fd
fix spring test after sync stack migration
srnagar 1d2d820
log the test proxy response on error
srnagar 48911db
fix header sanitizer in Service Bus
srnagar edbe426
fix regex for quantum job tests
srnagar f4d8493
Add missing sync test cases
billwert 503813c
Enable sync-stack
billwert a1f0197
Remove extra set of aeg-channel-name.
billwert 5087c06
enable AssertingHttpClient
billwert b224700
add back missing Context arguments
billwert e9a00d1
Tests now use test proxy and recordings are pushed to assets repo
billwert 9b5a6eb
address pr comments
srnagar e01a753
add exports
srnagar 7ec717e
fix version
srnagar 67c932a
use unreleased test version
srnagar 4cffdee
fix tag
srnagar 66939e8
fix tag
srnagar a7ca1f7
refactor
srnagar 799c12a
fix spring test after sync stack migration
srnagar 507db27
log the test proxy response on error
srnagar baaf27d
fix header sanitizer in Service Bus
srnagar 5ad9038
fix regex for quantum job tests
srnagar b29abdd
Put a semaphore around starting the proxy.
billwert 531a43c
make the methods of `TestProxyManager` static and synchronized.
billwert 189b6a3
Use the working directory to search for the root of the repo from.
billwert 7d2ed33
add missing sanitizer setup
billwert 3b8518e
base class has this so it's not needed here
billwert ceb9d57
removed this in merge accidentally
billwert 10da9a6
resolve merge conflicts
srnagar 6dc76f6
Merge branch 'main' into eg-sync-stack-testproxy
srnagar dca5125
pin azure-core version
srnagar File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"AssetsRepo": "Azure/azure-sdk-assets", | ||
"AssetsRepoPrefixPath": "java", | ||
"TagPrefix": "java/eventgrid/azure-messaging-eventgrid", | ||
"Tag": "java/eventgrid/azure-messaging-eventgrid_7bb36a1579" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested this running in IntelliJ as well as
mvn
from both the SDK directory and the root of the repo using-pl
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think user.dir is consistent.
https://stackoverflow.com/questions/16239130/java-user-dir-property-what-exactly-does-it-mean
We should avoid hard coding that path here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it is consistent enough for our purposes - java.exe (through Maven typically) will be started in some path in the repo, which is all we need. My goal is to stop using the
target
dir here as it isn't something we need in this class so plumbing it in isn't necessary. Happy to hear of another alternative.