-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ODS-5985] Correlation IDs in the API error messages (#833)
* Added logic to populate log4net context with correlation id from either the query string ('correlationId') or a header ('correlation-id'). * Added specific CorrelationId Postman test coverage and a couple spot checks for other types of errors (pervasive correlation testing on error responses recommended). * Added support for correlation ids in error response bodies. * Remove CheckModelForNullAttribute, which appears to not be used. (May need to revert this after CI testing.) * Added the lLogContextAccessor component to the controller constructors. * Remove usage of obsolete filter. * Fix compilation error in unit tests. * Added missing DataMember attribute on the RESTError class, now used for all errors. * Remove the correlationId from the query string before comparison with the response Location header. * Remove the correlationId from the query string before comparison with the response Location header. * Empty-commit
- Loading branch information
1 parent
bdbc272
commit 6d72d58
Showing
45 changed files
with
2,607 additions
and
1,915 deletions.
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
47 changes: 0 additions & 47 deletions
47
Application/EdFi.Ods.Api/Filters/CheckModelForNullAttribute.cs
This file was deleted.
Oops, something went wrong.
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.