-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Entra/Library Updates #38532
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
Merged
Merged
Entra/Library Updates #38532
Changes from all commits
Commits
Show all changes
84 commits
Select commit
Hold shift + click to select a range
d279f42
Marked empty/null actions as failed
hakimms 8792bb3
replaced tabs with spaces
hakimms 738b7ed
Updated spacing
hakimms 3bfb603
Replaced tab with spaces
hakimms fc8b677
Updates based on feedback
hakimms 92dffa6
Updated Validation Logic
hakimms d5eb101
WIP Added test cases for OneOrMoreRequiredAttribute
hakimms bcc1696
Added test case for EnumberableItemsNotNull Attribute
hakimms 9c3eff8
Feedback updates
hakimms e754635
Updates based on PR feedback
hakimms dc23ad0
Sort 'using' lists and removed unapplicable data annotation
hakimms f8d54e4
Removed xUnit reference now that we are using NUnit tests
hakimms bbec11f
removed Update-Snippets.ps1 changes and will rebase
hakimms 0f74218
Added null check and test for response before marking as failed
hakimms dc7e054
Updated exception to validation exception and corrected test
hakimms ad25761
Changed back to argument null exception
hakimms 49b91e8
Added response validation exception type
hakimms 7632272
Update sdk/entra/Microsoft.Azure.WebJobs.Extensions.AuthenticationEve…
hakimms be27912
Added period
hakimms cbf1fd8
Added not null check for source field in payload
hakimms 501a400
Changed source attribute to required
hakimms fd34095
Adding necessary updates to merge with azure main
hakimms 6230dad
Added validation class
hakimms ef6e7b5
added logic to throw RequestValidationException
hakimms 9d6ed8a
Replaced tabs with spaces
hakimms f48d46c
Added pull request template
hakimms e5d64b2
Added existing text to PR template
hakimms 0a9d9ae
Removed pr template
hakimms 65932db
Reverted IsMsaPassThroughEnabled and ran scripts to pass build merge
hakimms 31d1517
Added comment
hakimms d5c9e38
Updated changelog
hakimms dd0f136
added more context to changelog file
hakimms 3e89070
Revert changes
hakimms c429e23
ODataType property in Request is now required
hakimms d818b79
Add bug fix description to changelog
hakimms bb49dda
Corrected format
hakimms 54baa7f
Add metrics to header
HarmanDhunna b67e5f0
Reverting code that was changed by accident
HarmanDhunna b410ea0
passing inner exception to RequestValidationException
hakimms 5df7574
Modify version semantics
HarmanDhunna 07e8250
Revert version name
HarmanDhunna 6401df3
ChangeLog
HarmanDhunna 8204e4a
Changes to metrics
HarmanDhunna 80aed27
Change the metrics format string to match the general guidelines for …
HarmanDhunna 2e34056
Sorted usings
HarmanDhunna 9a44051
ran the scripts
HarmanDhunna 9d9ada9
Updated Errors and added unit tests
hakimms 0303673
Used newtonsoft to parse json and updated unit tests
hakimms 1fdc7ce
Updated changelog
hakimms e8ac9c7
Updated error for invalid json characters
hakimms 2d34cc1
Updated exception identifier
hakimms c46a94d
Replaced data with sanitized values
hakimms c79ff74
Updated GUIDs, IP address and emails
hakimms 11400c4
Merge pull request #18 from hakimms/abdulhakim/Fix-Test-Payloads
hakimms 135581e
Removed newtonsoft dependencies and used system.text.json instead
hakimms fc153ca
Removed newtonsoft dependency from AuthenticationEventDataTests
hakimms 0f0a60f
Changing access level on AuthEventResponseHandler
HarmanDhunna afa0968
Change the which assembly is used for metrics
HarmanDhunna 33ba0c3
Ran script
HarmanDhunna 45c1eb6
Use type to look up assembly
HarmanDhunna b3c8682
Updated TestHelpers newtonsoft dependencies to stj
hakimms 4350c23
Removed usings
hakimms e2e2657
Using assembly name instead of assembly itself
HarmanDhunna 788ac1b
Modify the tests to check only for value exsistence and not actual value
HarmanDhunna 21c742b
Adding using for JsonDocument and Used JsonObject
hakimms 6a2b5cd
Changing metrics to a singleton pattern and modifing the tests to trim
HarmanDhunna 0688fb5
Ran Scripts
HarmanDhunna befaee8
Added braces
hakimms 8e7c2e8
Merge pull request #21 from hakimms/hadhunna/UpdateResponseAccess
HarmanDhunna 1e62d7f
Reverted test project changes as newtonsoft linq is currently needed
hakimms 8641df2
removed unnecessary comment and line
hakimms 98f4580
replaced string quotes with string.empty
hakimms c8264f5
Merge pull request #20 from hakimms/abdulhakim/Revert-Newtonsoft-Depe…
hakimms 071a453
Simplified isJson method and reverted project change
hakimms 252c3c6
Updated IsJson boolean method to ValidateJson void
hakimms 662397c
Updated spacing
hakimms 905eaa2
Updated Json error string for empty payload
hakimms a38d753
Update error string
hakimms 5fcdf97
Merge pull request #22 from hakimms/abdulhakim/Change-Json-Validation
hakimms 898f69a
Added structure for Exception classes
hakimms eff078c
Made classes internal
hakimms 70fbd78
Merge pull request #23 from hakimms/abdulhakim/Add-Custom-Exceptions
HarmanDhunna 15780b6
Update class to remove Old exceptions
hakimms 1d35022
Merge pull request #24 from hakimms/abdulhakim/Run-Scripts-for-Except…
hakimms 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
19 changes: 14 additions & 5 deletions
19
...Azure.WebJobs.Extensions.AuthenticationEvents/src/AuthenticationEventResource.Designer.cs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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.
Uh oh!
There was an error while loading. Please reload this page.