-
Notifications
You must be signed in to change notification settings - Fork 304
Return generic error messages in production mode #1357
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
severussundar
merged 44 commits into
main
from
dev/shyamsundarj/genericize-error-messages-bad-requests
Apr 2, 2023
Merged
Changes from all commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
1c27a64
new method in metadataprovider for dev,prod mode info
severussundar 6b3b60f
refactoring system type conversion to reduce code duplciation
severussundar 8eb5d59
fix formatting
severussundar eacf11a
Merge branch 'main' into dev/shyamsundarj/genericize-error-messages-b…
severussundar c68a980
Merge branch 'main' into dev/shyamsundarj/genericize-error-messages-b…
severussundar da4f248
refactoring try-catch blocks
severussundar b5a1536
Merge branch 'main' into dev/shyamsundarj/genericize-error-messages-b…
severussundar 84e300c
re-wording the exception error message
severussundar e2fbc4b
Merge branch 'main' into dev/shyamsundarj/genericize-error-messages-b…
severussundar 513b78c
removing unnecessary inclusion of @
severussundar 9cd0bcb
Merge branch 'main' into dev/shyamsundarj/genericize-error-messages-b…
severussundar 0c74203
Merge branch 'main' into dev/shyamsundarj/genericize-error-messages-b…
severussundar 618af62
Merge branch 'main' into dev/shyamsundarj/genericize-error-messages-b…
severussundar b12a44c
displays entity name, adds method descriptions, remomves unused code …
severussundar 7a62c83
adds a REST GET request test with invalid params for postgresql
severussundar 6a5c4bd
Merge branch 'main' into dev/shyamsundarj/genericize-error-messages-b…
severussundar cd1d40b
adds test cases for sql dbs, removes incorrect test case
severussundar fc6cfe0
adds test and method descriptions to tests
severussundar f1b2290
Fix formatting
severussundar d6d8dd5
fixing tests
severussundar c3a04e3
Renaming test helper method
severussundar 36c9d08
using RestMethod enum in tests
severussundar 9327e66
removing code duplication when throwing exception
severussundar d1426f4
replacing != with is not check
severussundar 1de2cb9
Merge branch 'main' into dev/shyamsundarj/genericize-error-messages-b…
severussundar 7d68f0b
fix formatting
severussundar 4f947e5
updating test method name, fixing formatting
severussundar 83f8606
removing duplicate tests
severussundar 81944a0
moving constants to the same test file
severussundar df9e214
adding parameter name in function calls
severussundar 15ff00a
updating GetParamAsSystemType method description to include exceptions
severussundar f5870d5
using runtimeconfigprovider's implementation in cosmossqlmetadataprov…
severussundar 63c9db9
Merge branch 'main' into dev/shyamsundarj/genericize-error-messages-b…
severussundar 566fb02
returning exposed column names when mappings are defined
severussundar 2231d35
Merge branch 'main' into dev/shyamsundarj/genericize-error-messages-b…
severussundar 867aac7
reverting change in unused code path
severussundar f27e2e2
Merge branch 'main' into dev/shyamsundarj/genericize-error-messages-b…
severussundar 2942917
using when with exceptions, renaming method param name, updating meth…
severussundar 4b107e5
Merge branch 'main' into dev/shyamsundarj/genericize-error-messages-b…
severussundar b951844
Merge branch 'dev/shyamsundarj/genericize-error-messages-bad-requests…
severussundar 37827ee
Merge branch 'main' into dev/shyamsundarj/genericize-error-messages-b…
severussundar 7c0a107
renaming paramValue to fieldValue
severussundar 356fcee
Merge branch 'main' into dev/shyamsundarj/genericize-error-messages-b…
severussundar d959726
storing sourcetype in a variable, removing extra white line
severussundar 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
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
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.