markap14 commented on code in PR #11599:
URL: https://github.com/apache/nifi/pull/11599#discussion_r3905773560


##########
nifi-system-tests/nifi-system-test-framework/src/main/java/org/apache/nifi/tests/system/NiFiSystemIT.java:
##########
@@ -94,6 +92,27 @@ public abstract class NiFiSystemIT implements 
NiFiInstanceProvider {
     public static final String TEST_REPORTING_TASK_PACKAGE = 
"org.apache.nifi.reporting";
     public static final String TEST_FLOW_ANALYSIS_RULE_PACKAGE = 
"org.apache.nifi.flowanalysis";
 
+    // Cluster role/node-state values as reported by the REST API's NodeDTO. 
Defined here as plain Strings, matching
+    // the wire format, instead of depending on 
nifi-framework-cluster-protocol's ClusterRoles/NodeConnectionState.
+    public static final String CLUSTER_ROLE_PRIMARY_NODE = "Primary Node";
+    public static final String CLUSTER_ROLE_COORDINATOR = "Cluster 
Coordinator";
+    public static final String NODE_STATE_CONNECTING = "CONNECTING";
+    public static final String NODE_STATE_CONNECTED = "CONNECTED";
+    public static final String NODE_STATE_OFFLOADING = "OFFLOADING";
+    public static final String NODE_STATE_DISCONNECTING = "DISCONNECTING";
+    public static final String NODE_STATE_DISCONNECTED = "DISCONNECTED";

Review Comment:
   Ah yeah, that's a great call! Just pushed an update



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to