Class NodesAndReplicas
- java.lang.Object
-
- com.linkedin.venice.controller.server.AbstractRoute
-
- com.linkedin.venice.controller.server.NodesAndReplicas
-
public class NodesAndReplicas extends AbstractRoute
-
-
Constructor Summary
Constructors Constructor Description NodesAndReplicas(boolean sslEnabled, java.util.Optional<DynamicAccessController> accessController)
TODO: Make sure services "venice-hooks-deployable" is also in allowlist
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description spark.Route
addNodeIntoAllowList(Admin admin)
spark.Route
isNodeRemovable(Admin admin)
No ACL check; any user is allowed to check whether a node is removable.spark.Route
listAllNodes(Admin admin)
No ACL check; any user is allowed to list all nodes.spark.Route
listAllNodesStatus(Admin admin)
No ACL check; any user is allowed to list all node status.spark.Route
listReplicasForStorageNode(Admin admin)
No ACL check; any user is allowed to list replicas in a node.spark.Route
listReplicasForStore(Admin admin)
No ACL check; any user is allowed to list replicas for a store.spark.Route
nodeReplicasReadiness(Admin admin)
No ACL check; any user is allowed to check replicas readiness.spark.Route
removeNodeFromAllowList(Admin admin)
spark.Route
removeNodeFromCluster(Admin admin)
-
Methods inherited from class com.linkedin.venice.controller.server.AbstractRoute
getCertificate, getPrincipalId, hasAccessToStore, hasReadAccessToTopic, hasWriteAccessToTopic, isAclEnabled, isAllowListUser, isSslEnabled
-
-
-
-
Constructor Detail
-
NodesAndReplicas
public NodesAndReplicas(boolean sslEnabled, java.util.Optional<DynamicAccessController> accessController)
TODO: Make sure services "venice-hooks-deployable" is also in allowlist
-
-
Method Detail
-
listAllNodes
public spark.Route listAllNodes(Admin admin)
No ACL check; any user is allowed to list all nodes.- See Also:
Admin.getStorageNodes(String)
-
listAllNodesStatus
public spark.Route listAllNodesStatus(Admin admin)
No ACL check; any user is allowed to list all node status.
-
listReplicasForStore
public spark.Route listReplicasForStore(Admin admin)
No ACL check; any user is allowed to list replicas for a store.- See Also:
Admin.getReplicas(String, String)
-
listReplicasForStorageNode
public spark.Route listReplicasForStorageNode(Admin admin)
No ACL check; any user is allowed to list replicas in a node.
-
isNodeRemovable
public spark.Route isNodeRemovable(Admin admin)
No ACL check; any user is allowed to check whether a node is removable.
-
removeNodeFromCluster
public spark.Route removeNodeFromCluster(Admin admin)
- See Also:
Admin.removeStorageNode(String, String)
-
addNodeIntoAllowList
public spark.Route addNodeIntoAllowList(Admin admin)
-
removeNodeFromAllowList
public spark.Route removeNodeFromAllowList(Admin admin)
-
nodeReplicasReadiness
public spark.Route nodeReplicasReadiness(Admin admin)
No ACL check; any user is allowed to check replicas readiness.
-
-