forked from microsoft/CCF
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement Azure-compliant governance interface (microsoft#5660)
(cherry picked from commit 88cb1ea) # Conflicts: # CMakeLists.txt # src/node/rpc/member_frontend.h # src/node/share_manager.h # src/service/genesis_gen.h # tests/infra/clients.py # tests/requirements.txt
- Loading branch information
1 parent
08e2efb
commit 0f426ca
Showing
35 changed files
with
3,424 additions
and
130 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
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,12 @@ | ||
This folder implements a new governance API. | ||
This API is defined in the root-level `typespec-ccf` folder, with a TypeSpec source generating an OpenAPI definition. | ||
|
||
It aims to expose all of the functionality of the existing API, defined in `src/node/rpc/member_frontend.h`, but with naming and schemas compliant with Azure API standards. | ||
|
||
For a transition period (at least the 4.x release), both APIs will be offered. The plan is to eventually deprecate the old API. | ||
|
||
Implementation notes: | ||
|
||
- All endpoints validate and process an `api-version` parameter, modifying their behaviour accordingly. | ||
- To present both under the `/gov` prefix, the old frontend is a subclass of the new frontend. | ||
- The frontend implementation is split into distinct components which can be more easily moved around, rather than a single monolithic frontend implementation. |
Oops, something went wrong.