-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FAB-4469] Add REST endpoint for sanity check
The sanity checking code added in FAB-4468 currently has no external interface. In order to satisfy the requirements of FAB-3831, it is necessary to expose an external interface to this sanity checking ability. This CR adds a REST endpoint at /configtxlator/sanitycheck/config which the user may POST a marshaled common.Config to. The REST target then replies with a JSON document, indicating the error types and paths, as reported by the sanity checking code. Change-Id: I97616eec67aebd77ea8191b8ae39808716330aec Signed-off-by: Jason Yellick <jyellick@us.ibm.com>
- Loading branch information
Jason Yellick
committed
Jun 9, 2017
1 parent
9577fb7
commit 9bb26f3
Showing
3 changed files
with
64 additions
and
1 deletion.
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