jiajunwang commented on a change in pull request #851: Add customized view
computation and modify Helix generic controller to include new stage
URL: https://github.com/apache/helix/pull/851#discussion_r388613231
##########
File path: helix-core/src/main/java/org/apache/helix/PropertyPathBuilder.java
##########
@@ -268,6 +271,18 @@ public static String externalView(String clusterName,
String resourceName) {
return String.format("/%s/EXTERNALVIEW/%s", clusterName, resourceName);
}
+ public static String customizedView(String clusterName) {
+ return String.format("/%s/CUSTOMIZEDVIEW", clusterName);
+ }
+
+ public static String customizedView(String clusterName, String
customizedStateName) {
+ return String.format("/%s/EXTERNALVIEW/%s", clusterName,
customizedStateName);
+ }
+
+ public static String customizedView(String clusterName, String
customizedStateName, String resourceName) {
+ return String.format("/%s/EXTERNALVIEW/%s/%s", clusterName,
customizedStateName, resourceName);
Review comment:
Same here.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]