Use REST api for inter node communication (#7205)

This commit is contained in:
kannappanr
2019-03-14 16:27:31 -07:00
committed by GitHub
parent facbd653ba
commit eb69c4f946
9 changed files with 1258 additions and 806 deletions

View File

@@ -38,11 +38,12 @@ func registerDistXLRouters(router *mux.Router, endpoints EndpointList) {
// Register storage rpc router only if its a distributed setup.
registerStorageRESTHandlers(router, endpoints)
// Register peer REST router only if its a distributed setup.
registerPeerRESTHandlers(router)
// Register distributed namespace lock.
registerDistNSLockRouter(router)
// Register peer communication router.
registerPeerRPCRouter(router)
}
// List of some generic handlers which are applied for all incoming requests.