mirror of
https://github.com/apache/nifi.git
synced 2025-02-16 06:55:28 +00:00
NIFI-3393 - replicates cluster/nodes/{id} to cluster coordinator. This closes #1443
This commit is contained in:
parent
e0e6f0bacb
commit
e113511fef
@ -512,6 +512,10 @@ public class ControllerResource extends ApplicationResource {
|
||||
throw new IllegalClusterResourceRequestException("Only a node connected to a cluster can process the request.");
|
||||
}
|
||||
|
||||
if (isReplicateRequest()) {
|
||||
return replicate(HttpMethod.GET, getClusterCoordinatorNode());
|
||||
}
|
||||
|
||||
// get the specified relationship
|
||||
final NodeDTO dto = serviceFacade.getNode(id);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user