Modified: helix/site-content/1.0.2-docs/tutorial_admin.html
URL: 
http://svn.apache.org/viewvc/helix/site-content/1.0.2-docs/tutorial_admin.html?rev=1900255&r1=1900254&r2=1900255&view=diff
==============================================================================
--- helix/site-content/1.0.2-docs/tutorial_admin.html (original)
+++ helix/site-content/1.0.2-docs/tutorial_admin.html Mon Apr 25 08:18:23 2022
@@ -1,7 +1,13 @@
 
 <!DOCTYPE html>
+
+
+
+
+
+
 <!--
- Generated by Apache Maven Doxia at 2022-04-23  Rendered using Reflow Maven 
Skin 2.0.0-SNAPSHOT (https://andriusvelykis.github.io/reflow-maven-skin)
+ Generated by Apache Maven Doxia at 2022-04-25  Rendered using Reflow Maven 
Skin 2.0.0 (https://olamy.github.io/reflow-maven-skin)
 -->
 <html  xml:lang="en" lang="en">
 
@@ -29,24 +35,31 @@
                <![endif]-->
 
 
-               <script type="text/javascript">
-
-        var _gaq = _gaq || [];
-        _gaq.push(['_setAccount', 'UA-3211522-12']);
-        _gaq.push(['_trackPageview']);
 
-        (function() {
-        var ga = document.createElement('script'); ga.type = 
'text/javascript'; ga.async = true;
-        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 
'http://www') + '.google-analytics.com/ga.js';
-        var s = document.getElementsByTagName('script')[0]; 
s.parentNode.insertBefore(ga, s);
-        })();
 
-      </script>
 
-       </head>
+    
+<!-- Matomo -->
+<script>
+    var _paq = window._paq = window._paq || [];
+                        _paq.push(['disableCookies']);
+                                    _paq.push(['trackPageView']);
+                                    _paq.push(['enableLinkTracking']);
+                    
+    (function() {
+        var u="https://analytics.apache.org";;
+        _paq.push(['setTrackerUrl', u+'/matomo.php']);
+        _paq.push(['setSiteId', '15']);
+        var d=document, g=d.createElement('script'), 
s=d.getElementsByTagName('script')[0];
+        g.async=true; g.src=u+'/matomo.js'; s.parentNode.insertBefore(g,s);
+    })();
+</script>
+<!-- End Matomo Code -->
+       </head>
 
        <body class="page-tutorial_admin project-102-docs" data-spy="scroll" 
data-offset="60" data-target="#toc-scroll-target">
 
+    
                <div class="navbar navbar-fixed-top">
                        <div class="navbar-inner">
                                <div class="container">
@@ -119,7 +132,7 @@
                                <li><a href="./" title="Release 1.0.2">Release 
1.0.2</a></li>
                                <li class="divider">/</li>
                                <li>Tutorial - Admin Operations</li>
-                               <li class="publishDate version-date 
pull-right">Last Published: 2022-04-23</li>
+                               <li class="publishDate version-date 
pull-right">Last Published: 2022-04-25</li>
                        </ul>
                </div>
        </header>
@@ -385,7 +398,7 @@ chmod +x *.sh
       <li>Add a cluster</li> 
      </ul> 
      <div class="source"> 
-      <pre><code>curl -d 
'jsonParameters={&quot;command&quot;:&quot;addCluster&quot;,&quot;clusterName&quot;:&quot;MyCluster&quot;}'
 -H &quot;Content-Type: application/json&quot; http://localhost:8100/clusters
+      <pre><code>curl -d 
'jsonParameters={"command":"addCluster","clusterName":"MyCluster"}' -H 
"Content-Type: application/json" http://localhost:8100/clusters
 </code></pre> 
      </div> </li> 
     <li> <p><i>/clusters/{clusterName}</i></p> 
@@ -400,7 +413,7 @@ chmod +x *.sh
       <li>Enable/disable a cluster in distributed controller mode</li> 
      </ul> 
      <div class="source"> 
-      <pre><code>curl -d 
'jsonParameters={&quot;command&quot;:&quot;activateCluster&quot;,&quot;grandCluster&quot;:&quot;MyControllerCluster&quot;,&quot;enabled&quot;:&quot;true&quot;}'
 -H &quot;Content-Type: application/json&quot; 
http://localhost:8100/clusters/MyCluster
+      <pre><code>curl -d 
'jsonParameters={"command":"activateCluster","grandCluster":"MyControllerCluster","enabled":"true"}'
 -H "Content-Type: application/json" http://localhost:8100/clusters/MyCluster
 </code></pre> 
      </div> 
      <ul> 
@@ -422,7 +435,7 @@ chmod +x *.sh
       <li>Add a resource to cluster</li> 
      </ul> 
      <div class="source"> 
-      <pre><code>curl -d 
'jsonParameters={&quot;command&quot;:&quot;addResource&quot;,&quot;resourceGroupName&quot;:&quot;MyDB&quot;,&quot;partitions&quot;:&quot;8&quot;,&quot;stateModelDefRef&quot;:&quot;MasterSlave&quot;
 }' -H &quot;Content-Type: application/json&quot; 
http://localhost:8100/clusters/MyCluster/resourceGroups
+      <pre><code>curl -d 
'jsonParameters={"command":"addResource","resourceGroupName":"MyDB","partitions":"8","stateModelDefRef":"MasterSlave"
 }' -H "Content-Type: application/json" 
http://localhost:8100/clusters/MyCluster/resourceGroups
 </code></pre> 
      </div> </li> 
     <li> <p><i>/clusters/{clusterName}/resourceGroups/{resourceName}</i></p> 
@@ -444,7 +457,7 @@ chmod +x *.sh
       <li>Reset all erroneous partitions of a resource</li> 
      </ul> 
      <div class="source"> 
-      <pre><code>curl -d 
'jsonParameters={&quot;command&quot;:&quot;resetResource&quot;}' -H 
&quot;Content-Type: application/json&quot; 
http://localhost:8100/clusters/MyCluster/resourceGroups/MyDB
+      <pre><code>curl -d 'jsonParameters={"command":"resetResource"}' -H 
"Content-Type: application/json" 
http://localhost:8100/clusters/MyCluster/resourceGroups/MyDB
 </code></pre> 
      </div> </li> 
     <li> 
<p><i>/clusters/{clusterName}/resourceGroups/{resourceName}/idealState</i></p> 
@@ -452,7 +465,7 @@ chmod +x *.sh
       <li>Rebalance a resource</li> 
      </ul> 
      <div class="source"> 
-      <pre><code>curl -d 
'jsonParameters={&quot;command&quot;:&quot;rebalance&quot;,&quot;replicas&quot;:&quot;3&quot;}'
 -H &quot;Content-Type: application/json&quot; 
http://localhost:8100/clusters/MyCluster/resourceGroups/MyDB/idealState
+      <pre><code>curl -d 
'jsonParameters={"command":"rebalance","replicas":"3"}' -H "Content-Type: 
application/json" 
http://localhost:8100/clusters/MyCluster/resourceGroups/MyDB/idealState
 </code></pre> 
      </div> 
      <ul> 
@@ -460,23 +473,23 @@ chmod +x *.sh
      </ul> 
      <div class="source"> 
       <pre><code>echo jsonParameters={
-&quot;command&quot;:&quot;addIdealState&quot;
+"command":"addIdealState"
    }&amp;newIdealState={
-  &quot;id&quot; : &quot;MyDB&quot;,
-  &quot;simpleFields&quot; : {
-    &quot;IDEAL_STATE_MODE&quot; : &quot;AUTO&quot;,
-    &quot;NUM_PARTITIONS&quot; : &quot;8&quot;,
-    &quot;REBALANCE_MODE&quot; : &quot;SEMI_AUTO&quot;,
-    &quot;REPLICAS&quot; : &quot;0&quot;,
-    &quot;STATE_MODEL_DEF_REF&quot; : &quot;MasterSlave&quot;,
-    &quot;STATE_MODEL_FACTORY_NAME&quot; : &quot;DEFAULT&quot;
+  "id" : "MyDB",
+  "simpleFields" : {
+    "IDEAL_STATE_MODE" : "AUTO",
+    "NUM_PARTITIONS" : "8",
+    "REBALANCE_MODE" : "SEMI_AUTO",
+    "REPLICAS" : "0",
+    "STATE_MODEL_DEF_REF" : "MasterSlave",
+    "STATE_MODEL_FACTORY_NAME" : "DEFAULT"
   },
-  &quot;listFields&quot; : {
+  "listFields" : {
   },
-  &quot;mapFields&quot; : {
-    &quot;MyDB_0&quot; : {
-      &quot;localhost_1001&quot; : &quot;MASTER&quot;,
-      &quot;localhost_1002&quot; : &quot;SLAVE&quot;
+  "mapFields" : {
+    "MyDB_0" : {
+      "localhost_1001" : "MASTER",
+      "localhost_1002" : "SLAVE"
     }
   }
 }
@@ -488,7 +501,7 @@ curl -d @'./newIdealState.json' -H 'Cont
       <li>Add resource property</li> 
      </ul> 
      <div class="source"> 
-      <pre><code>curl -d 
'jsonParameters={&quot;command&quot;:&quot;addResourceProperty&quot;,&quot;REBALANCE_TIMER_PERIOD&quot;:&quot;500&quot;}'
 -H &quot;Content-Type: application/json&quot; 
http://localhost:8100/clusters/MyCluster/resourceGroups/MyDB/idealState
+      <pre><code>curl -d 
'jsonParameters={"command":"addResourceProperty","REBALANCE_TIMER_PERIOD":"500"}'
 -H "Content-Type: application/json" 
http://localhost:8100/clusters/MyCluster/resourceGroups/MyDB/idealState
 </code></pre> 
      </div> </li> 
     <li> 
<p><i>/clusters/{clusterName}/resourceGroups/{resourceName}/externalView</i></p>
 
@@ -511,14 +524,14 @@ curl -d @'./newIdealState.json' -H 'Cont
       <li>Add an instance</li> 
      </ul> 
      <div class="source"> 
-      <pre><code>curl -d 
'jsonParameters={&quot;command&quot;:&quot;addInstance&quot;,&quot;instanceNames&quot;:&quot;localhost_1001&quot;}'
 -H &quot;Content-Type: application/json&quot; 
http://localhost:8100/clusters/MyCluster/instances
+      <pre><code>curl -d 
'jsonParameters={"command":"addInstance","instanceNames":"localhost_1001"}' -H 
"Content-Type: application/json" 
http://localhost:8100/clusters/MyCluster/instances
 </code></pre> 
      </div> 
      <ul> 
       <li>Swap an instance</li> 
      </ul> 
      <div class="source"> 
-      <pre><code>curl -d 
'jsonParameters={&quot;command&quot;:&quot;swapInstance&quot;,&quot;oldInstance&quot;:&quot;localhost_1001&quot;,
 &quot;newInstance&quot;:&quot;localhost_1002&quot;}' -H &quot;Content-Type: 
application/json&quot; http://localhost:8100/clusters/MyCluster/instances
+      <pre><code>curl -d 
'jsonParameters={"command":"swapInstance","oldInstance":"localhost_1001", 
"newInstance":"localhost_1002"}' -H "Content-Type: application/json" 
http://localhost:8100/clusters/MyCluster/instances
 </code></pre> 
      </div> </li> 
     <li> <p><i>/clusters/{clusterName}/instances/{instanceName}</i></p> 
@@ -533,7 +546,7 @@ curl -d @'./newIdealState.json' -H 'Cont
       <li>Enable/disable an instance</li> 
      </ul> 
      <div class="source"> 
-      <pre><code>curl -d 
'jsonParameters={&quot;command&quot;:&quot;enableInstance&quot;,&quot;enabled&quot;:&quot;false&quot;}'
 -H &quot;Content-Type: application/json&quot; 
http://localhost:8100/clusters/MyCluster/instances/localhost_1001
+      <pre><code>curl -d 
'jsonParameters={"command":"enableInstance","enabled":"false"}' -H 
"Content-Type: application/json" 
http://localhost:8100/clusters/MyCluster/instances/localhost_1001
 </code></pre> 
      </div> 
      <ul> 
@@ -547,21 +560,21 @@ curl -d @'./newIdealState.json' -H 'Cont
       <li>Disable/enable partitions on an instance</li> 
      </ul> 
      <div class="source"> 
-      <pre><code>curl -d 
'jsonParameters={&quot;command&quot;:&quot;enablePartition&quot;,&quot;resource&quot;:
 &quot;MyDB&quot;,&quot;partition&quot;:&quot;MyDB_0&quot;,  
&quot;enabled&quot; : &quot;false&quot;}' -H &quot;Content-Type: 
application/json&quot; 
http://localhost:8100/clusters/MyCluster/instances/localhost_1001
+      <pre><code>curl -d 
'jsonParameters={"command":"enablePartition","resource": 
"MyDB","partition":"MyDB_0",  "enabled" : "false"}' -H "Content-Type: 
application/json" 
http://localhost:8100/clusters/MyCluster/instances/localhost_1001
 </code></pre> 
      </div> 
      <ul> 
       <li>Reset an erroneous partition on an instance</li> 
      </ul> 
      <div class="source"> 
-      <pre><code>curl -d 
'jsonParameters={&quot;command&quot;:&quot;resetPartition&quot;,&quot;resource&quot;:
 &quot;MyDB&quot;,&quot;partition&quot;:&quot;MyDB_0&quot;}' -H 
&quot;Content-Type: application/json&quot; 
http://localhost:8100/clusters/MyCluster/instances/localhost_1001
+      <pre><code>curl -d 
'jsonParameters={"command":"resetPartition","resource": 
"MyDB","partition":"MyDB_0"}' -H "Content-Type: application/json" 
http://localhost:8100/clusters/MyCluster/instances/localhost_1001
 </code></pre> 
      </div> 
      <ul> 
       <li>Reset all erroneous partitions on an instance</li> 
      </ul> 
      <div class="source"> 
-      <pre><code>curl -d 
'jsonParameters={&quot;command&quot;:&quot;resetInstance&quot;}' -H 
&quot;Content-Type: application/json&quot; 
http://localhost:8100/clusters/MyCluster/instances/localhost_1001
+      <pre><code>curl -d 'jsonParameters={"command":"resetInstance"}' -H 
"Content-Type: application/json" 
http://localhost:8100/clusters/MyCluster/instances/localhost_1001
 </code></pre> 
      </div> </li> 
     <li> <p><i>/clusters/{clusterName}/configs</i></p> 
@@ -576,28 +589,28 @@ curl -d @'./newIdealState.json' -H 'Cont
       <li>Set user cluster level config</li> 
      </ul> 
      <div class="source"> 
-      <pre><code>curl -d 
'jsonParameters={&quot;command&quot;:&quot;setConfig&quot;,&quot;configs&quot;:&quot;key1=value1,key2=value2&quot;}'
 -H &quot;Content-Type: application/json&quot; 
http://localhost:8100/clusters/MyCluster/configs/cluster
+      <pre><code>curl -d 
'jsonParameters={"command":"setConfig","configs":"key1=value1,key2=value2"}' -H 
"Content-Type: application/json" 
http://localhost:8100/clusters/MyCluster/configs/cluster
 </code></pre> 
      </div> 
      <ul> 
       <li>Remove user cluster level config</li> 
      </ul> 
      <div class="source"> 
-      <pre><code>curl -d 
'jsonParameters={&quot;command&quot;:&quot;removeConfig&quot;,&quot;configs&quot;:&quot;key1,key2&quot;}'
 -H &quot;Content-Type: application/json&quot; 
http://localhost:8100/clusters/MyCluster/configs/cluster
+      <pre><code>curl -d 
'jsonParameters={"command":"removeConfig","configs":"key1,key2"}' -H 
"Content-Type: application/json" 
http://localhost:8100/clusters/MyCluster/configs/cluster
 </code></pre> 
      </div> 
      <ul> 
       <li>Get/set/remove user participant level config</li> 
      </ul> 
      <div class="source"> 
-      <pre><code>curl -d 
'jsonParameters={&quot;command&quot;:&quot;setConfig&quot;,&quot;configs&quot;:&quot;key1=value1,key2=value2&quot;}'
 -H &quot;Content-Type: application/json&quot; 
http://localhost:8100/clusters/MyCluster/configs/participant/localhost_1001
+      <pre><code>curl -d 
'jsonParameters={"command":"setConfig","configs":"key1=value1,key2=value2"}' -H 
"Content-Type: application/json" 
http://localhost:8100/clusters/MyCluster/configs/participant/localhost_1001
 </code></pre> 
      </div> 
      <ul> 
       <li>Get/set/remove resource level config</li> 
      </ul> 
      <div class="source"> 
-      <pre><code>curl -d 
'jsonParameters={&quot;command&quot;:&quot;setConfig&quot;,&quot;configs&quot;:&quot;key1=value1,key2=value2&quot;}'
 -H &quot;Content-Type: application/json&quot; 
http://localhost:8100/clusters/MyCluster/configs/resource/MyDB
+      <pre><code>curl -d 
'jsonParameters={"command":"setConfig","configs":"key1=value1,key2=value2"}' -H 
"Content-Type: application/json" 
http://localhost:8100/clusters/MyCluster/configs/resource/MyDB
 </code></pre> 
      </div> </li> 
     <li> <p><i>/clusters/{clusterName}/controller</i></p> 
@@ -612,7 +625,7 @@ curl -d @'./newIdealState.json' -H 'Cont
       <li>Enable/disable cluster</li> 
      </ul> 
      <div class="source"> 
-      <pre><code>curl -d 
'jsonParameters={&quot;command&quot;:&quot;enableCluster&quot;,&quot;enabled&quot;:&quot;false&quot;}'
 -H &quot;Content-Type: application/json&quot; 
http://localhost:8100/clusters/MyCluster/Controller
+      <pre><code>curl -d 
'jsonParameters={"command":"enableCluster","enabled":"false"}' -H 
"Content-Type: application/json" 
http://localhost:8100/clusters/MyCluster/Controller
 </code></pre> 
      </div> </li> 
     <li> <p><i>/zkPath/{path}</i></p> 
@@ -636,33 +649,33 @@ curl -d @'./newIdealState.json' -H 'Cont
      </ul> 
      <div class="source"> 
       <pre><code>echo jsonParameters={
-  &quot;command&quot;:&quot;addStateModelDef&quot;
+  "command":"addStateModelDef"
 }&amp;newStateModelDef={
-  &quot;id&quot; : &quot;OnlineOffline&quot;,
-  &quot;simpleFields&quot; : {
-    &quot;INITIAL_STATE&quot; : &quot;OFFLINE&quot;
+  "id" : "OnlineOffline",
+  "simpleFields" : {
+    "INITIAL_STATE" : "OFFLINE"
   },
-  &quot;listFields&quot; : {
-    &quot;STATE_PRIORITY_LIST&quot; : [ &quot;ONLINE&quot;, 
&quot;OFFLINE&quot;, &quot;DROPPED&quot; ],
-    &quot;STATE_TRANSITION_PRIORITYLIST&quot; : [ &quot;OFFLINE-ONLINE&quot;, 
&quot;ONLINE-OFFLINE&quot;, &quot;OFFLINE-DROPPED&quot; ]
+  "listFields" : {
+    "STATE_PRIORITY_LIST" : [ "ONLINE", "OFFLINE", "DROPPED" ],
+    "STATE_TRANSITION_PRIORITYLIST" : [ "OFFLINE-ONLINE", "ONLINE-OFFLINE", 
"OFFLINE-DROPPED" ]
   },
-  &quot;mapFields&quot; : {
-    &quot;DROPPED.meta&quot; : {
-      &quot;count&quot; : &quot;-1&quot;
+  "mapFields" : {
+    "DROPPED.meta" : {
+      "count" : "-1"
     },
-    &quot;OFFLINE.meta&quot; : {
-      &quot;count&quot; : &quot;-1&quot;
+    "OFFLINE.meta" : {
+      "count" : "-1"
     },
-    &quot;OFFLINE.next&quot; : {
-      &quot;DROPPED&quot; : &quot;DROPPED&quot;,
-      &quot;ONLINE&quot; : &quot;ONLINE&quot;
+    "OFFLINE.next" : {
+      "DROPPED" : "DROPPED",
+      "ONLINE" : "ONLINE"
     },
-    &quot;ONLINE.meta&quot; : {
-      &quot;count&quot; : &quot;R&quot;
+    "ONLINE.meta" : {
+      "count" : "R"
     },
-    &quot;ONLINE.next&quot; : {
-      &quot;DROPPED&quot; : &quot;OFFLINE&quot;,
-      &quot;OFFLINE&quot; : &quot;OFFLINE&quot;
+    "ONLINE.next" : {
+      "DROPPED" : "OFFLINE",
+      "OFFLINE" : "OFFLINE"
     }
   }
 }
@@ -690,7 +703,7 @@ curl -d @'./untitled.txt' -H 'Content-Ty
       <li>Set a contraint</li> 
      </ul> 
      <div class="source"> 
-      <pre><code>curl -d 
'jsonParameters={&quot;constraintAttributes&quot;:&quot;RESOURCE=MyDB,CONSTRAINT_VALUE=1&quot;}'
 -H &quot;Content-Type: application/json&quot; 
http://localhost:8100/clusters/MyCluster/constraints/MESSAGE_CONSTRAINT/MyConstraint
+      <pre><code>curl -d 
'jsonParameters={"constraintAttributes":"RESOURCE=MyDB,CONSTRAINT_VALUE=1"}' -H 
"Content-Type: application/json" 
http://localhost:8100/clusters/MyCluster/constraints/MESSAGE_CONSTRAINT/MyConstraint
 </code></pre> 
      </div> 
      <ul> 
@@ -773,7 +786,7 @@ curl -d @'./untitled.txt' -H 'Content-Ty
                        <div class="span12">
                                <p class="pull-right"><a href="#">Back to 
top</a></p>
                                <p class="copyright">Copyright &copy;2022 <a 
href="https://www.apache.org/";>The Apache Software Foundation</a>. All Rights 
Reserved.</p>
-                               <p><a 
href="https://github.com/olamy/reflow-maven-skin"; title="Reflow Maven 
skin">Reflow Maven skin</a> by <a href="https://andrius.velykis.lt"; 
target="_blank" title="Andrius Velykis">Andrius Velykis</a>.</p>
+                               <p><a 
href="https://github.com/olamy/reflow-maven-skin"; title="Reflow Maven 
skin">Reflow Maven skin</a> maintained by <a href="https://twitter.com/olamy"; 
target="_blank" title="Olivier Lamy">Olivier Lamy</a>.</p>
                <div class="row span16"><div>Apache Helix, Apache, the Apache 
feather logo, and the Apache Helix project logos are trademarks of The Apache 
Software Foundation.
         All other marks mentioned may be trademarks or registered trademarks 
of their respective owners.</div>
         <a 
href="https://helix.apache.org/1.0.2-docs/privacy-policy.html";>Privacy 
Policy</a>

Modified: helix/site-content/1.0.2-docs/tutorial_agent.html
URL: 
http://svn.apache.org/viewvc/helix/site-content/1.0.2-docs/tutorial_agent.html?rev=1900255&r1=1900254&r2=1900255&view=diff
==============================================================================
--- helix/site-content/1.0.2-docs/tutorial_agent.html (original)
+++ helix/site-content/1.0.2-docs/tutorial_agent.html Mon Apr 25 08:18:23 2022
@@ -1,7 +1,13 @@
 
 <!DOCTYPE html>
+
+
+
+
+
+
 <!--
- Generated by Apache Maven Doxia at 2022-04-23  Rendered using Reflow Maven 
Skin 2.0.0-SNAPSHOT (https://andriusvelykis.github.io/reflow-maven-skin)
+ Generated by Apache Maven Doxia at 2022-04-25  Rendered using Reflow Maven 
Skin 2.0.0 (https://olamy.github.io/reflow-maven-skin)
 -->
 <html  xml:lang="en" lang="en">
 
@@ -29,24 +35,31 @@
                <![endif]-->
 
 
-               <script type="text/javascript">
-
-        var _gaq = _gaq || [];
-        _gaq.push(['_setAccount', 'UA-3211522-12']);
-        _gaq.push(['_trackPageview']);
 
-        (function() {
-        var ga = document.createElement('script'); ga.type = 
'text/javascript'; ga.async = true;
-        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 
'http://www') + '.google-analytics.com/ga.js';
-        var s = document.getElementsByTagName('script')[0]; 
s.parentNode.insertBefore(ga, s);
-        })();
 
-      </script>
 
-       </head>
+    
+<!-- Matomo -->
+<script>
+    var _paq = window._paq = window._paq || [];
+                        _paq.push(['disableCookies']);
+                                    _paq.push(['trackPageView']);
+                                    _paq.push(['enableLinkTracking']);
+                    
+    (function() {
+        var u="https://analytics.apache.org";;
+        _paq.push(['setTrackerUrl', u+'/matomo.php']);
+        _paq.push(['setSiteId', '15']);
+        var d=document, g=d.createElement('script'), 
s=d.getElementsByTagName('script')[0];
+        g.async=true; g.src=u+'/matomo.js'; s.parentNode.insertBefore(g,s);
+    })();
+</script>
+<!-- End Matomo Code -->
+       </head>
 
        <body class="page-tutorial_agent project-102-docs" data-spy="scroll" 
data-offset="60" data-target="#toc-scroll-target">
 
+    
                <div class="navbar navbar-fixed-top">
                        <div class="navbar-inner">
                                <div class="container">
@@ -119,7 +132,7 @@
                                <li><a href="./" title="Release 1.0.2">Release 
1.0.2</a></li>
                                <li class="divider">/</li>
                                <li>Tutorial - Helix Agent</li>
-                               <li class="publishDate version-date 
pull-right">Last Published: 2022-04-23</li>
+                               <li class="publishDate version-date 
pull-right">Last Published: 2022-04-25</li>
                        </ul>
                </div>
        </header>
@@ -180,9 +193,9 @@ ConfigAccessor configAccessor = new Conf
 // Specify the script for OFFLINE --&gt; ONLINE
 CommandConfig.Builder builder = new CommandConfig.Builder();
 CommandConfig cmdConfig =
-    builder.setTransition(&quot;OFFLINE&quot;, 
&quot;ONLINE&quot;).setCommand(&quot;simpleHttpClient.py OFFLINE-ONLINE&quot;)
+    builder.setTransition("OFFLINE", "ONLINE").setCommand("simpleHttpClient.py 
OFFLINE-ONLINE")
         .setCommandWorkingDir(workingDir)
-        .setCommandTimeout(&quot;5000L&quot;) // optional: ms to wait before 
failing
+        .setCommandTimeout("5000L") // optional: ms to wait before failing
         .setPidFile(pidFile) // optional: for daemon-like systems that will 
write the process id to a file
         .build();
 configAccessor.set(scope, cmdConfig.toKeyValueMap());
@@ -190,7 +203,7 @@ configAccessor.set(scope, cmdConfig.toKe
 // Specify the script for ONLINE --&gt; OFFLINE
 builder = new CommandConfig.Builder();
 cmdConfig =
-    builder.setTransition(&quot;ONLINE&quot;, 
&quot;OFFLINE&quot;).setCommand(&quot;simpleHttpClient.py ONLINE-OFFLINE&quot;)
+    builder.setTransition("ONLINE", "OFFLINE").setCommand("simpleHttpClient.py 
ONLINE-OFFLINE")
         .setCommandWorkingDir(workingDir)
         .build();
 configAccessor.set(scope, cmdConfig.toKeyValueMap());
@@ -198,7 +211,7 @@ configAccessor.set(scope, cmdConfig.toKe
 // Specify NOP for OFFLINE --&gt; DROPPED
 builder = new CommandConfig.Builder();
 cmdConfig =
-    builder.setTransition(&quot;OFFLINE&quot;, &quot;DROPPED&quot;)
+    builder.setTransition("OFFLINE", "DROPPED")
         .setCommand(CommandAttribute.NOP.getName())
         .build();
 configAccessor.set(scope, cmdConfig.toKeyValueMap());
@@ -212,19 +225,19 @@ configAccessor.set(scope, cmdConfig.toKe
    <p>It is also possible to configure everything directly from the command 
line. Here's how that would look for cluster-wide configuration:</p> 
    <div class="source"> 
     <pre><code># Specify the script for OFFLINE --&gt; ONLINE
-/helix-admin.sh --zkSvr localhost:2181 --setConfig CLUSTER clusterName 
OFFLINE-ONLINE.command=&quot;simpleHttpClient.py 
OFFLINE-ONLINE&quot;,OFFLINE-ONLINE.command.workingDir=&quot;/path/to/script&quot;,
 OFFLINE-ONLINE.command.pidfile=&quot;/path/to/pidfile&quot;
+/helix-admin.sh --zkSvr localhost:2181 --setConfig CLUSTER clusterName 
OFFLINE-ONLINE.command="simpleHttpClient.py 
OFFLINE-ONLINE",OFFLINE-ONLINE.command.workingDir="/path/to/script", 
OFFLINE-ONLINE.command.pidfile="/path/to/pidfile"
 
 # Specify the script for ONLINE --&gt; OFFLINE
-/helix-admin.sh --zkSvr localhost:2181 --setConfig CLUSTER clusterName 
ONLINE-OFFLINE.command=&quot;simpleHttpClient.py 
ONLINE-OFFLINE&quot;,ONLINE-OFFLINE.workingDir=&quot;/path/to/script&quot;, 
OFFLINE-ONLINE.command.pidfile=&quot;/path/to/pidfile&quot;
+/helix-admin.sh --zkSvr localhost:2181 --setConfig CLUSTER clusterName 
ONLINE-OFFLINE.command="simpleHttpClient.py 
ONLINE-OFFLINE",ONLINE-OFFLINE.workingDir="/path/to/script", 
OFFLINE-ONLINE.command.pidfile="/path/to/pidfile"
 
 # Specify NOP for OFFLINE --&gt; DROPPED
-/helix-admin.sh --zkSvr localhost:2181 --setConfig CLUSTER clusterName 
ONLINE-OFFLINE.command=&quot;nop&quot;
+/helix-admin.sh --zkSvr localhost:2181 --setConfig CLUSTER clusterName 
ONLINE-OFFLINE.command="nop"
 </code></pre> 
    </div> 
    <p>Like in the Java configuration, it is also possible to specify a 
resource scope instead of a cluster scope:</p> 
    <div class="source"> 
     <pre><code># Specify the script for OFFLINE --&gt; ONLINE
-/helix-admin.sh --zkSvr localhost:2181 --setConfig RESOURCE 
clusterName,resourceName OFFLINE-ONLINE.command=&quot;simpleHttpClient.py 
OFFLINE-ONLINE&quot;,OFFLINE-ONLINE.command.workingDir=&quot;/path/to/script&quot;,
 OFFLINE-ONLINE.command.pidfile=&quot;/path/to/pidfile&quot;
+/helix-admin.sh --zkSvr localhost:2181 --setConfig RESOURCE 
clusterName,resourceName OFFLINE-ONLINE.command="simpleHttpClient.py 
OFFLINE-ONLINE",OFFLINE-ONLINE.command.workingDir="/path/to/script", 
OFFLINE-ONLINE.command.pidfile="/path/to/pidfile"
 </code></pre> 
    </div> 
   </section> 
@@ -237,7 +250,7 @@ configAccessor.set(scope, cmdConfig.toKe
    <h4 id="Java">Java</h4> 
    <div class="source"> 
     <pre><code>// Start your application process
-ExternalCommand serverCmd = ExternalCommand.start(workingDir + 
&quot;/simpleHttpServer.py&quot;);
+ExternalCommand serverCmd = ExternalCommand.start(workingDir + 
"/simpleHttpServer.py");
 
 // Start the agent
 Thread agentThread = new Thread() {
@@ -246,14 +259,14 @@ Thread agentThread = new Thread() {
     while(!isInterrupted()) {
       try {
         HelixAgentMain.main(new String[] {
-            &quot;--zkSvr&quot;, zkAddr, &quot;--cluster&quot;, clusterName, 
&quot;--instanceName&quot;, instanceName,
-            &quot;--stateModel&quot;, &quot;OnlineOffline&quot;
+            "--zkSvr", zkAddr, "--cluster", clusterName, "--instanceName", 
instanceName,
+            "--stateModel", "OnlineOffline"
         });
       } catch (InterruptedException e) {
-        LOG.info(&quot;Agent thread interrupted&quot;, e);
+        LOG.info("Agent thread interrupted", e);
         interrupt();
       } catch (Exception e) {
-        LOG.error(&quot;Exception start helix-agent&quot;, e);
+        LOG.error("Exception start helix-agent", e);
       }
     }
   }
@@ -360,7 +373,7 @@ helix-agent/target/helix-agent-pkg/bin/s
                        <div class="span12">
                                <p class="pull-right"><a href="#">Back to 
top</a></p>
                                <p class="copyright">Copyright &copy;2022 <a 
href="https://www.apache.org/";>The Apache Software Foundation</a>. All Rights 
Reserved.</p>
-                               <p><a 
href="https://github.com/olamy/reflow-maven-skin"; title="Reflow Maven 
skin">Reflow Maven skin</a> by <a href="https://andrius.velykis.lt"; 
target="_blank" title="Andrius Velykis">Andrius Velykis</a>.</p>
+                               <p><a 
href="https://github.com/olamy/reflow-maven-skin"; title="Reflow Maven 
skin">Reflow Maven skin</a> maintained by <a href="https://twitter.com/olamy"; 
target="_blank" title="Olivier Lamy">Olivier Lamy</a>.</p>
                <div class="row span16"><div>Apache Helix, Apache, the Apache 
feather logo, and the Apache Helix project logos are trademarks of The Apache 
Software Foundation.
         All other marks mentioned may be trademarks or registered trademarks 
of their respective owners.</div>
         <a 
href="https://helix.apache.org/1.0.2-docs/privacy-policy.html";>Privacy 
Policy</a>

Modified: helix/site-content/1.0.2-docs/tutorial_cloud_support.html
URL: 
http://svn.apache.org/viewvc/helix/site-content/1.0.2-docs/tutorial_cloud_support.html?rev=1900255&r1=1900254&r2=1900255&view=diff
==============================================================================
--- helix/site-content/1.0.2-docs/tutorial_cloud_support.html (original)
+++ helix/site-content/1.0.2-docs/tutorial_cloud_support.html Mon Apr 25 
08:18:23 2022
@@ -1,7 +1,13 @@
 
 <!DOCTYPE html>
+
+
+
+
+
+
 <!--
- Generated by Apache Maven Doxia at 2022-04-23  Rendered using Reflow Maven 
Skin 2.0.0-SNAPSHOT (https://andriusvelykis.github.io/reflow-maven-skin)
+ Generated by Apache Maven Doxia at 2022-04-25  Rendered using Reflow Maven 
Skin 2.0.0 (https://olamy.github.io/reflow-maven-skin)
 -->
 <html  xml:lang="en" lang="en">
 
@@ -29,24 +35,31 @@
                <![endif]-->
 
 
-               <script type="text/javascript">
-
-        var _gaq = _gaq || [];
-        _gaq.push(['_setAccount', 'UA-3211522-12']);
-        _gaq.push(['_trackPageview']);
 
-        (function() {
-        var ga = document.createElement('script'); ga.type = 
'text/javascript'; ga.async = true;
-        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 
'http://www') + '.google-analytics.com/ga.js';
-        var s = document.getElementsByTagName('script')[0]; 
s.parentNode.insertBefore(ga, s);
-        })();
 
-      </script>
 
-       </head>
+    
+<!-- Matomo -->
+<script>
+    var _paq = window._paq = window._paq || [];
+                        _paq.push(['disableCookies']);
+                                    _paq.push(['trackPageView']);
+                                    _paq.push(['enableLinkTracking']);
+                    
+    (function() {
+        var u="https://analytics.apache.org";;
+        _paq.push(['setTrackerUrl', u+'/matomo.php']);
+        _paq.push(['setSiteId', '15']);
+        var d=document, g=d.createElement('script'), 
s=d.getElementsByTagName('script')[0];
+        g.async=true; g.src=u+'/matomo.js'; s.parentNode.insertBefore(g,s);
+    })();
+</script>
+<!-- End Matomo Code -->
+       </head>
 
        <body class="page-tutorial_cloud_support project-102-docs" 
data-spy="scroll" data-offset="60" data-target="#toc-scroll-target">
 
+    
                <div class="navbar navbar-fixed-top">
                        <div class="navbar-inner">
                                <div class="container">
@@ -119,7 +132,7 @@
                                <li><a href="./" title="Release 1.0.2">Release 
1.0.2</a></li>
                                <li class="divider">/</li>
                                <li>Tutorial - Cloud Support</li>
-                               <li class="publishDate version-date 
pull-right">Last Published: 2022-04-23</li>
+                               <li class="publishDate version-date 
pull-right">Last Published: 2022-04-25</li>
                        </ul>
                </div>
        </header>
@@ -209,9 +222,9 @@ under the License.
     <p>Helix enhanced current cluster creation REST API as well as Java API 
with extra fields that represent cloud related input. For example, in the 
following modified <code>createCluster</code> API, <code>addCloudConfig</code> 
is a Boolean value denotes whether to create with cloud config, and the 
<code>cloudConfigManifest</code> is the cloud config string, which will be 
converted to a Znode record.</p> 
     <div class="source"> 
      <pre><code>@PUT
-  @Path(&quot;{clusterId}&quot;)
-  public Response createCluster(@PathParam(&quot;clusterId&quot;) String 
clusterId, @DefaultValue(&quot;false&quot;) @QueryParam(&quot;recreate&quot;) 
String recreate,
-      @DefaultValue(&quot;false&quot;) @QueryParam(&quot;addCloudConfig&quot;) 
String addCloudConfig, String cloudConfigManifest)
+  @Path("{clusterId}")
+  public Response createCluster(@PathParam("clusterId") String clusterId, 
@DefaultValue("false") @QueryParam("recreate") String recreate,
+      @DefaultValue("false") @QueryParam("addCloudConfig") String 
addCloudConfig, String cloudConfigManifest)
 </code></pre> 
     </div> 
     <p>Besides the enhanced cluster creation API, Helix also provides a set of 
cloud specific APIs in Java and REST that handles the get/add/update of cloud 
config.</p> 
@@ -219,15 +232,15 @@ under the License.
      <li>Create cluster and add meanwhile cloud config related information to 
ZK.</li> 
     </ul> 
     <div class="source"> 
-     <pre><code>$ curl -X PUT -H &quot;Content-Type: application/json&quot; 
http://localhost:1234/admin/v2/clusters/myCluster?addCloudConfig=true -d '
+     <pre><code>$ curl -X PUT -H "Content-Type: application/json" 
http://localhost:1234/admin/v2/clusters/myCluster?addCloudConfig=true -d '
 {
-    &quot;simpleFields&quot; : 
+    "simpleFields" : 
     {
-        &quot;CLOUD_ENABLED&quot; : &quot;true&quot;,
-        &quot;CLOUD_PROVIDER&quot;: &quot;AWS&quot;,
-        &quot;CLOUD_ID&quot; : &quot;12345&quot;
-        &quot;CLOUD_INFO_SOURCE&quot;: {&quot;http://169.254.169.254/&quot;}
-        &quot;CLOUD_INFO_PROCESSOR_NAME&quot;: 
&quot;AWSCloudInformationProcesser&quot;
+        "CLOUD_ENABLED" : "true",
+        "CLOUD_PROVIDER": "AWS",
+        "CLOUD_ID" : "12345"
+        "CLOUD_INFO_SOURCE": {"http://169.254.169.254/"}
+        "CLOUD_INFO_PROCESSOR_NAME": "AWSCloudInformationProcesser"
     }
 }'
 </code></pre> 
@@ -236,15 +249,15 @@ under the License.
      <li>Add cloud config to an existing cluster</li> 
     </ul> 
     <div class="source"> 
-     <pre><code>$ curl -X PUT -H &quot;Content-Type: application/json&quot; 
http://localhost:1234/admin/v2/clusters/myCluster/cloudconfig -d '
+     <pre><code>$ curl -X PUT -H "Content-Type: application/json" 
http://localhost:1234/admin/v2/clusters/myCluster/cloudconfig -d '
 {
-    &quot;simpleFields&quot; : 
+    "simpleFields" : 
     {
-        &quot;CLOUD_ENABLED&quot; : &quot;true&quot;,
-        &quot;CLOUD_PROVIDER&quot;: &quot;AWS&quot;,
-        &quot;CLOUD_ID&quot; : &quot;12345&quot;
-        &quot;CLOUD_INFO_SOURCE&quot;: {&quot;http://169.254.169.254/&quot;}
-        &quot;CLOUD_INFO_PROCESSOR_NAME&quot;: 
&quot;AWSCloudInformationProcesser&quot;
+        "CLOUD_ENABLED" : "true",
+        "CLOUD_PROVIDER": "AWS",
+        "CLOUD_ID" : "12345"
+        "CLOUD_INFO_SOURCE": {"http://169.254.169.254/"}
+        "CLOUD_INFO_PROCESSOR_NAME": "AWSCloudInformationProcesser"
     }
 }'
 </code></pre> 
@@ -267,10 +280,10 @@ under the License.
      <li>Update the cloud config of a cluster</li> 
     </ul> 
     <div class="source"> 
-     <pre><code>$ curl -X POST -H &quot;Content-Type: application/json&quot;  
http://localhost:1234/admin/v2/clusters/myCluster/cloudconfig?command=update -d 
'
+     <pre><code>$ curl -X POST -H "Content-Type: application/json"  
http://localhost:1234/admin/v2/clusters/myCluster/cloudconfig?command=update -d 
'
 {
-    &quot;simpleFields&quot; : {
-        &quot;CLOUD_ID&quot; : &quot;12345&quot;
+    "simpleFields" : {
+        "CLOUD_ID" : "12345"
     }
 }'
 </code></pre> 
@@ -279,10 +292,10 @@ under the License.
      <li>Delete some of the fields in the cloud config</li> 
     </ul> 
     <div class="source"> 
-     <pre><code>$ curl -X POST -H &quot;Content-Type: application/json&quot; 
http://localhost:1234/admin/v2/clusters/myCluster/cloudconfig?command=delete -d 
'
+     <pre><code>$ curl -X POST -H "Content-Type: application/json" 
http://localhost:1234/admin/v2/clusters/myCluster/cloudconfig?command=delete -d 
'
 {
-    &quot;simpleFields&quot; : {
-        &quot;CLOUD_ID&quot; : &quot;12345&quot;
+    "simpleFields" : {
+        "CLOUD_ID" : "12345"
     }
 }'
 </code></pre> 
@@ -361,19 +374,19 @@ public interface CloudInstanceInformatio
    <p>To make the participant auto registration work, users would need to make 
sure their cluster config is set properly. The most important one is the 
<code>allowParticipantAutoJoin</code> field in cluster config.</p> 
    <div class="source"> 
     <pre><code>{
-    &quot;id&quot;: &quot;clusterName&quot;,
-    &quot;listFields&quot;: {},
-    &quot;mapFields&quot;: {},
-    &quot;simpleFields&quot;: {
+    "id": "clusterName",
+    "listFields": {},
+    "mapFields": {},
+    "simpleFields": {
         ......
-        &quot;allowParticipantAutoJoin&quot;: &quot;true&quot;
+        "allowParticipantAutoJoin": "true"
         ......
     }
 }
 </code></pre> 
    </div> 
    <p>This field is used in participant manager logic as a prerequisite for 
participants to do auto registration. The detailed logic is shown in the 
following flow chart. The related code is in <a class="externalLink" 
href="https://github.com/apache/helix/blob/master/helix-core/src/main/java/org/apache/helix/manager/zk/ParticipantManager.java";>Participant
 Manager</a>.</p> 
-   <p><img src="./images/ParticipantAutoRegistrationLogic.png" 
alt="Participant Auto Registration Logic" /></p> 
+   <p><img src="./images/ParticipantAutoRegistrationLogic.png" 
alt="Participant Auto Registration Logic"></p> 
    <p>If the participant decides that it should do auto registration based on 
the config, it will first query cloud config and decide what environment it is 
in. Based on this information, the participant will call the corresponding 
cloud instance information processor. Then with all the information, especially 
the domain information, the participant can auto register to the cluster 
without any manual effort.</p> 
   </section> 
  </section> 
@@ -447,7 +460,7 @@ public interface CloudInstanceInformatio
                        <div class="span12">
                                <p class="pull-right"><a href="#">Back to 
top</a></p>
                                <p class="copyright">Copyright &copy;2022 <a 
href="https://www.apache.org/";>The Apache Software Foundation</a>. All Rights 
Reserved.</p>
-                               <p><a 
href="https://github.com/olamy/reflow-maven-skin"; title="Reflow Maven 
skin">Reflow Maven skin</a> by <a href="https://andrius.velykis.lt"; 
target="_blank" title="Andrius Velykis">Andrius Velykis</a>.</p>
+                               <p><a 
href="https://github.com/olamy/reflow-maven-skin"; title="Reflow Maven 
skin">Reflow Maven skin</a> maintained by <a href="https://twitter.com/olamy"; 
target="_blank" title="Olivier Lamy">Olivier Lamy</a>.</p>
                <div class="row span16"><div>Apache Helix, Apache, the Apache 
feather logo, and the Apache Helix project logos are trademarks of The Apache 
Software Foundation.
         All other marks mentioned may be trademarks or registered trademarks 
of their respective owners.</div>
         <a 
href="https://helix.apache.org/1.0.2-docs/privacy-policy.html";>Privacy 
Policy</a>

Modified: helix/site-content/1.0.2-docs/tutorial_controller.html
URL: 
http://svn.apache.org/viewvc/helix/site-content/1.0.2-docs/tutorial_controller.html?rev=1900255&r1=1900254&r2=1900255&view=diff
==============================================================================
--- helix/site-content/1.0.2-docs/tutorial_controller.html (original)
+++ helix/site-content/1.0.2-docs/tutorial_controller.html Mon Apr 25 08:18:23 
2022
@@ -1,7 +1,13 @@
 
 <!DOCTYPE html>
+
+
+
+
+
+
 <!--
- Generated by Apache Maven Doxia at 2022-04-23  Rendered using Reflow Maven 
Skin 2.0.0-SNAPSHOT (https://andriusvelykis.github.io/reflow-maven-skin)
+ Generated by Apache Maven Doxia at 2022-04-25  Rendered using Reflow Maven 
Skin 2.0.0 (https://olamy.github.io/reflow-maven-skin)
 -->
 <html  xml:lang="en" lang="en">
 
@@ -29,24 +35,31 @@
                <![endif]-->
 
 
-               <script type="text/javascript">
-
-        var _gaq = _gaq || [];
-        _gaq.push(['_setAccount', 'UA-3211522-12']);
-        _gaq.push(['_trackPageview']);
 
-        (function() {
-        var ga = document.createElement('script'); ga.type = 
'text/javascript'; ga.async = true;
-        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 
'http://www') + '.google-analytics.com/ga.js';
-        var s = document.getElementsByTagName('script')[0]; 
s.parentNode.insertBefore(ga, s);
-        })();
 
-      </script>
 
-       </head>
+    
+<!-- Matomo -->
+<script>
+    var _paq = window._paq = window._paq || [];
+                        _paq.push(['disableCookies']);
+                                    _paq.push(['trackPageView']);
+                                    _paq.push(['enableLinkTracking']);
+                    
+    (function() {
+        var u="https://analytics.apache.org";;
+        _paq.push(['setTrackerUrl', u+'/matomo.php']);
+        _paq.push(['setSiteId', '15']);
+        var d=document, g=d.createElement('script'), 
s=d.getElementsByTagName('script')[0];
+        g.async=true; g.src=u+'/matomo.js'; s.parentNode.insertBefore(g,s);
+    })();
+</script>
+<!-- End Matomo Code -->
+       </head>
 
        <body class="page-tutorial_controller project-102-docs" 
data-spy="scroll" data-offset="60" data-target="#toc-scroll-target">
 
+    
                <div class="navbar navbar-fixed-top">
                        <div class="navbar-inner">
                                <div class="container">
@@ -119,7 +132,7 @@
                                <li><a href="./" title="Release 1.0.2">Release 
1.0.2</a></li>
                                <li class="divider">/</li>
                                <li>Tutorial - Controller</li>
-                               <li class="publishDate version-date 
pull-right">Last Published: 2022-04-23</li>
+                               <li class="publishDate version-date 
pull-right">Last Published: 2022-04-25</li>
                        </ul>
                </div>
        </header>
@@ -348,7 +361,7 @@ manager.connect();
                        <div class="span12">
                                <p class="pull-right"><a href="#">Back to 
top</a></p>
                                <p class="copyright">Copyright &copy;2022 <a 
href="https://www.apache.org/";>The Apache Software Foundation</a>. All Rights 
Reserved.</p>
-                               <p><a 
href="https://github.com/olamy/reflow-maven-skin"; title="Reflow Maven 
skin">Reflow Maven skin</a> by <a href="https://andrius.velykis.lt"; 
target="_blank" title="Andrius Velykis">Andrius Velykis</a>.</p>
+                               <p><a 
href="https://github.com/olamy/reflow-maven-skin"; title="Reflow Maven 
skin">Reflow Maven skin</a> maintained by <a href="https://twitter.com/olamy"; 
target="_blank" title="Olivier Lamy">Olivier Lamy</a>.</p>
                <div class="row span16"><div>Apache Helix, Apache, the Apache 
feather logo, and the Apache Helix project logos are trademarks of The Apache 
Software Foundation.
         All other marks mentioned may be trademarks or registered trademarks 
of their respective owners.</div>
         <a 
href="https://helix.apache.org/1.0.2-docs/privacy-policy.html";>Privacy 
Policy</a>

Modified: helix/site-content/1.0.2-docs/tutorial_customized_view.html
URL: 
http://svn.apache.org/viewvc/helix/site-content/1.0.2-docs/tutorial_customized_view.html?rev=1900255&r1=1900254&r2=1900255&view=diff
==============================================================================
--- helix/site-content/1.0.2-docs/tutorial_customized_view.html (original)
+++ helix/site-content/1.0.2-docs/tutorial_customized_view.html Mon Apr 25 
08:18:23 2022
@@ -1,7 +1,13 @@
 
 <!DOCTYPE html>
+
+
+
+
+
+
 <!--
- Generated by Apache Maven Doxia at 2022-04-23  Rendered using Reflow Maven 
Skin 2.0.0-SNAPSHOT (https://andriusvelykis.github.io/reflow-maven-skin)
+ Generated by Apache Maven Doxia at 2022-04-25  Rendered using Reflow Maven 
Skin 2.0.0 (https://olamy.github.io/reflow-maven-skin)
 -->
 <html  xml:lang="en" lang="en">
 
@@ -29,24 +35,31 @@
                <![endif]-->
 
 
-               <script type="text/javascript">
-
-        var _gaq = _gaq || [];
-        _gaq.push(['_setAccount', 'UA-3211522-12']);
-        _gaq.push(['_trackPageview']);
 
-        (function() {
-        var ga = document.createElement('script'); ga.type = 
'text/javascript'; ga.async = true;
-        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 
'http://www') + '.google-analytics.com/ga.js';
-        var s = document.getElementsByTagName('script')[0]; 
s.parentNode.insertBefore(ga, s);
-        })();
 
-      </script>
 
-       </head>
+    
+<!-- Matomo -->
+<script>
+    var _paq = window._paq = window._paq || [];
+                        _paq.push(['disableCookies']);
+                                    _paq.push(['trackPageView']);
+                                    _paq.push(['enableLinkTracking']);
+                    
+    (function() {
+        var u="https://analytics.apache.org";;
+        _paq.push(['setTrackerUrl', u+'/matomo.php']);
+        _paq.push(['setSiteId', '15']);
+        var d=document, g=d.createElement('script'), 
s=d.getElementsByTagName('script')[0];
+        g.async=true; g.src=u+'/matomo.js'; s.parentNode.insertBefore(g,s);
+    })();
+</script>
+<!-- End Matomo Code -->
+       </head>
 
        <body class="page-tutorial_customized_view project-102-docs" 
data-spy="scroll" data-offset="60" data-target="#toc-scroll-target">
 
+    
                <div class="navbar navbar-fixed-top">
                        <div class="navbar-inner">
                                <div class="container">
@@ -119,7 +132,7 @@
                                <li><a href="./" title="Release 1.0.2">Release 
1.0.2</a></li>
                                <li class="divider">/</li>
                                <li>Tutorial - Customized View</li>
-                               <li class="publishDate version-date 
pull-right">Last Published: 2022-04-23</li>
+                               <li class="publishDate version-date 
pull-right">Last Published: 2022-04-25</li>
                        </ul>
                </div>
        </header>
@@ -152,7 +165,7 @@ under the License.
  </div> 
  <p>Helix supports users to define their own per partition states that are 
different from the states appeared in the state model. These states are called 
customized states. Helix also provides aggregation function for these per 
partition states across all participants to facilitate the use of them. The 
aggregated customized state result is called customized view. Usually users 
would only need to listen on the customized view change to capture customized 
state updates.</p> 
  <p>The relationship between customized states and customized view is very 
similar to that between current states and external view. Helix controller uses 
similar logic to aggregate external view and customized view. But the two views 
are designed for different purposes. External view is mainly used to represent 
Helix state transition status, while customized view is to record users' own 
state status. This tutorial provides information for users to get started with 
using customized view, which needs more user input than external view.</p> 
- <p>The following figure shows the high level architecture of customized view 
aggregation. <img src="./images/CustomizedViewSystemArchitecture.jpeg" 
alt="CustomizedViewSystemArchitecture" /></p> 
+ <p>The following figure shows the high level architecture of customized view 
aggregation. <img src="./images/CustomizedViewSystemArchitecture.jpeg" 
alt="CustomizedViewSystemArchitecture"></p> 
  <section> 
   <h3 id="Terminologies">Terminologies</h3> 
   <ul> 
@@ -224,15 +237,15 @@ under the License.
    </div> 
    <p>Every JAVA API has a corresponding REST API. For example, the function 
<code>addCustomizedStateConfig</code> can be performed by the following REST 
call.</p> 
    <div class="source"> 
-    <pre><code>  $curl -X PUT -H &quot;Content-Type: application/json&quot; 
http://localhost:1234/admin/v2/clusters/myCluster/customized-state-config -d '
+    <pre><code>  $curl -X PUT -H "Content-Type: application/json" 
http://localhost:1234/admin/v2/clusters/myCluster/customized-state-config -d '
     {
-     &quot;id&quot; : &quot;CustomizedStateConfig&quot;,
-      &quot;listFields&quot; : {
-        &quot;AGGREGATION_ENABLED_TYPES&quot; : 
[&quot;CUSTOMIZED_STATE_TYPE_0&quot;, &quot;CUSTOMIZED_STATE_TYPE_1&quot;&quot;]
+     "id" : "CustomizedStateConfig",
+      "listFields" : {
+        "AGGREGATION_ENABLED_TYPES" : ["CUSTOMIZED_STATE_TYPE_0", 
"CUSTOMIZED_STATE_TYPE_1""]
       },
-      &quot;simpleFields&quot; : {
+      "simpleFields" : {
       },
-      &quot;mapFields&quot; : {
+      "mapFields" : {
       }
     }'
 </code></pre> 
@@ -274,40 +287,40 @@ routingTableProvider = new RoutingTableP
    <div class="source"> 
     <pre><code>P0: 
 {
- &quot;id&quot;: &quot;MyResource&quot;,
-    &quot;listFields&quot;: {},
-     &quot;mapFields&quot;: {
-          &quot;MyResource_0&quot;: {
-              &quot;CURRENT_STATE&quot;: &quot;STATE_NAME_1&quot;,
-              &quot;PREVIOUS_STATE&quot;: &quot;STATE_NAME_0&quot;,
-              &quot;START_TIME&quot;: &quot;1580221789100&quot;,
-              &quot;END_TIME&quot;: &quot;1580221835197&quot;,
+ "id": "MyResource",
+    "listFields": {},
+     "mapFields": {
+          "MyResource_0": {
+              "CURRENT_STATE": "STATE_NAME_1",
+              "PREVIOUS_STATE": "STATE_NAME_0",
+              "START_TIME": "1580221789100",
+              "END_TIME": "1580221835197",
           },
-          &quot;MyResource_1&quot;: {
-              &quot;CURRENT_STATE&quot;: &quot;STATE_NAME_2&quot;,
-              &quot;PREVIOUS_STATE&quot;: &quot;STATE_NAME1&quot;,
-              &quot;START_TIME&quot;: &quot;1580221789880&quot;,
-              &quot;END_TIME&quot;: &quot;1580221835117&quot;
+          "MyResource_1": {
+              "CURRENT_STATE": "STATE_NAME_2",
+              "PREVIOUS_STATE": "STATE_NAME1",
+              "START_TIME": "1580221789880",
+              "END_TIME": "1580221835117"
           }   
      }
 }                          
 
 P1: 
 {
- &quot;id&quot;: &quot;MyResource&quot;,
-    &quot;listFields&quot;: {},
-     &quot;mapFields&quot;: {
-          &quot;MyResource_0&quot;: {
-              &quot;CURRENT_STATE&quot;: &quot;STATE_NAME_2&quot;,
-              &quot;PREVIOUS_STATE&quot;: &quot;STATE_NAME_0&quot;,
-              &quot;START_TIME&quot;: &quot;1570221125566&quot;,
-              &quot;END_TIME&quot;: &quot;15744432835197&quot;,
+ "id": "MyResource",
+    "listFields": {},
+     "mapFields": {
+          "MyResource_0": {
+              "CURRENT_STATE": "STATE_NAME_2",
+              "PREVIOUS_STATE": "STATE_NAME_0",
+              "START_TIME": "1570221125566",
+              "END_TIME": "15744432835197",
           },
-          &quot;MyResource_1&quot;: {
-              &quot;CURRENT_STATE&quot;: &quot;STATE_NAME_0&quot;,
-              &quot;PREVIOUS_STATE&quot;: &quot;STATE_NAME1&quot;,
-              &quot;START_TIME&quot;: &quot;1570221723440&quot;,
-              &quot;END_TIME&quot;: &quot;1570321835117&quot;
+          "MyResource_1": {
+              "CURRENT_STATE": "STATE_NAME_0",
+              "PREVIOUS_STATE": "STATE_NAME1",
+              "START_TIME": "1570221723440",
+              "END_TIME": "1570321835117"
           }   
      }
 }   
@@ -315,16 +328,16 @@ P1:
    </div> 
    <p>After Helix controller aggregation, the customized view should look like 
the following:</p> 
    <div class="source"> 
-    <pre><code>{ &quot;id&quot;: &quot;MyResource&quot;,
-  &quot;listFields&quot;: {},
-  &quot;mapFields&quot;: {
-     &quot;MyResource_0&quot;: {
-      &quot;P0&quot;: &quot;STATE_NAME_1&quot;,
-      &quot;P1&quot;: &quot;STATE_NAME_2&quot;
+    <pre><code>{ "id": "MyResource",
+  "listFields": {},
+  "mapFields": {
+     "MyResource_0": {
+      "P0": "STATE_NAME_1",
+      "P1": "STATE_NAME_2"
     },
-    &quot;MyResource_1&quot;: {
-      &quot;P0&quot;: &quot;STATE_NAME_2&quot;,
-      &quot;P1&quot;: &quot;STATE_NAME_0&quot;
+    "MyResource_1": {
+      "P0": "STATE_NAME_2",
+      "P1": "STATE_NAME_0"
     }
 }
 </code></pre> 
@@ -401,7 +414,7 @@ P1:
                        <div class="span12">
                                <p class="pull-right"><a href="#">Back to 
top</a></p>
                                <p class="copyright">Copyright &copy;2022 <a 
href="https://www.apache.org/";>The Apache Software Foundation</a>. All Rights 
Reserved.</p>
-                               <p><a 
href="https://github.com/olamy/reflow-maven-skin"; title="Reflow Maven 
skin">Reflow Maven skin</a> by <a href="https://andrius.velykis.lt"; 
target="_blank" title="Andrius Velykis">Andrius Velykis</a>.</p>
+                               <p><a 
href="https://github.com/olamy/reflow-maven-skin"; title="Reflow Maven 
skin">Reflow Maven skin</a> maintained by <a href="https://twitter.com/olamy"; 
target="_blank" title="Olivier Lamy">Olivier Lamy</a>.</p>
                <div class="row span16"><div>Apache Helix, Apache, the Apache 
feather logo, and the Apache Helix project logos are trademarks of The Apache 
Software Foundation.
         All other marks mentioned may be trademarks or registered trademarks 
of their respective owners.</div>
         <a 
href="https://helix.apache.org/1.0.2-docs/privacy-policy.html";>Privacy 
Policy</a>

Modified: helix/site-content/1.0.2-docs/tutorial_distributed_lock.html
URL: 
http://svn.apache.org/viewvc/helix/site-content/1.0.2-docs/tutorial_distributed_lock.html?rev=1900255&r1=1900254&r2=1900255&view=diff
==============================================================================
--- helix/site-content/1.0.2-docs/tutorial_distributed_lock.html (original)
+++ helix/site-content/1.0.2-docs/tutorial_distributed_lock.html Mon Apr 25 
08:18:23 2022
@@ -1,7 +1,13 @@
 
 <!DOCTYPE html>
+
+
+
+
+
+
 <!--
- Generated by Apache Maven Doxia at 2022-04-23  Rendered using Reflow Maven 
Skin 2.0.0-SNAPSHOT (https://andriusvelykis.github.io/reflow-maven-skin)
+ Generated by Apache Maven Doxia at 2022-04-25  Rendered using Reflow Maven 
Skin 2.0.0 (https://olamy.github.io/reflow-maven-skin)
 -->
 <html  xml:lang="en" lang="en">
 
@@ -29,24 +35,31 @@
                <![endif]-->
 
 
-               <script type="text/javascript">
-
-        var _gaq = _gaq || [];
-        _gaq.push(['_setAccount', 'UA-3211522-12']);
-        _gaq.push(['_trackPageview']);
 
-        (function() {
-        var ga = document.createElement('script'); ga.type = 
'text/javascript'; ga.async = true;
-        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 
'http://www') + '.google-analytics.com/ga.js';
-        var s = document.getElementsByTagName('script')[0]; 
s.parentNode.insertBefore(ga, s);
-        })();
 
-      </script>
 
-       </head>
+    
+<!-- Matomo -->
+<script>
+    var _paq = window._paq = window._paq || [];
+                        _paq.push(['disableCookies']);
+                                    _paq.push(['trackPageView']);
+                                    _paq.push(['enableLinkTracking']);
+                    
+    (function() {
+        var u="https://analytics.apache.org";;
+        _paq.push(['setTrackerUrl', u+'/matomo.php']);
+        _paq.push(['setSiteId', '15']);
+        var d=document, g=d.createElement('script'), 
s=d.getElementsByTagName('script')[0];
+        g.async=true; g.src=u+'/matomo.js'; s.parentNode.insertBefore(g,s);
+    })();
+</script>
+<!-- End Matomo Code -->
+       </head>
 
        <body class="page-tutorial_distributed_lock project-102-docs" 
data-spy="scroll" data-offset="60" data-target="#toc-scroll-target">
 
+    
                <div class="navbar navbar-fixed-top">
                        <div class="navbar-inner">
                                <div class="container">
@@ -119,7 +132,7 @@
                                <li><a href="./" title="Release 1.0.2">Release 
1.0.2</a></li>
                                <li class="divider">/</li>
                                <li>Tutorial - Distributed Lock</li>
-                               <li class="publishDate version-date 
pull-right">Last Published: 2022-04-23</li>
+                               <li class="publishDate version-date 
pull-right">Last Published: 2022-04-25</li>
                        </ul>
                </div>
        </header>
@@ -269,7 +282,7 @@ public interface DistributedLock {
   </section> 
   <section> 
    <h4 id="Priority_Lock_Workflow">Priority Lock Workflow</h4> 
-   <p>To better visualize the above analysis, we draw the following diagram 
shows how a client may go through the possible scenarios. <img 
src="./images/HelixPriorityLockWorkflow.jpeg" alt="HelixPriorityLockWorkflow" 
/></p> 
+   <p>To better visualize the above analysis, we draw the following diagram 
shows how a client may go through the possible scenarios. <img 
src="./images/HelixPriorityLockWorkflow.jpeg" 
alt="HelixPriorityLockWorkflow"></p> 
   </section> 
   <section> 
    <h4 id="Priority_Lock_Usage">Priority Lock Usage</h4> 
@@ -321,7 +334,7 @@ public interface DistributedLock {
     <div class="source"> 
      <pre><code>    ZKDistributedNonblockingLock.Builder lockBuilder = new 
ZKDistributedNonblockingLock.Builder();
     lockBuilder.setLockScope(new 
HelixLockScope(HelixLockScope.LockScopeProperty.CLUSTER, 
pathKeys)).setZkAddress(ZK_ADDR).setTimeout(3600000L)
-        .setLockMsg(&quot;test lock&quot;).setUserId(&quot;test 
Id&quot;).setPriority(0).setWaitingTimeout(1000)
+        .setLockMsg("test lock").setUserId("test 
Id").setPriority(0).setWaitingTimeout(1000)
         .setCleanupTimeout(2000).setIsForceful(false)
         .setLockListener(new LockListener() {@Override public void 
onCleanupNotification() {});
     ZKDistributedNonblockingLock testLock = lockBuilder.build();
@@ -400,7 +413,7 @@ public interface DistributedLock {
                        <div class="span12">
                                <p class="pull-right"><a href="#">Back to 
top</a></p>
                                <p class="copyright">Copyright &copy;2022 <a 
href="https://www.apache.org/";>The Apache Software Foundation</a>. All Rights 
Reserved.</p>
-                               <p><a 
href="https://github.com/olamy/reflow-maven-skin"; title="Reflow Maven 
skin">Reflow Maven skin</a> by <a href="https://andrius.velykis.lt"; 
target="_blank" title="Andrius Velykis">Andrius Velykis</a>.</p>
+                               <p><a 
href="https://github.com/olamy/reflow-maven-skin"; title="Reflow Maven 
skin">Reflow Maven skin</a> maintained by <a href="https://twitter.com/olamy"; 
target="_blank" title="Olivier Lamy">Olivier Lamy</a>.</p>
                <div class="row span16"><div>Apache Helix, Apache, the Apache 
feather logo, and the Apache Helix project logos are trademarks of The Apache 
Software Foundation.
         All other marks mentioned may be trademarks or registered trademarks 
of their respective owners.</div>
         <a 
href="https://helix.apache.org/1.0.2-docs/privacy-policy.html";>Privacy 
Policy</a>

Modified: helix/site-content/1.0.2-docs/tutorial_health.html
URL: 
http://svn.apache.org/viewvc/helix/site-content/1.0.2-docs/tutorial_health.html?rev=1900255&r1=1900254&r2=1900255&view=diff
==============================================================================
--- helix/site-content/1.0.2-docs/tutorial_health.html (original)
+++ helix/site-content/1.0.2-docs/tutorial_health.html Mon Apr 25 08:18:23 2022
@@ -1,7 +1,13 @@
 
 <!DOCTYPE html>
+
+
+
+
+
+
 <!--
- Generated by Apache Maven Doxia at 2022-04-23  Rendered using Reflow Maven 
Skin 2.0.0-SNAPSHOT (https://andriusvelykis.github.io/reflow-maven-skin)
+ Generated by Apache Maven Doxia at 2022-04-25  Rendered using Reflow Maven 
Skin 2.0.0 (https://olamy.github.io/reflow-maven-skin)
 -->
 <html  xml:lang="en" lang="en">
 
@@ -29,24 +35,31 @@
                <![endif]-->
 
 
-               <script type="text/javascript">
-
-        var _gaq = _gaq || [];
-        _gaq.push(['_setAccount', 'UA-3211522-12']);
-        _gaq.push(['_trackPageview']);
 
-        (function() {
-        var ga = document.createElement('script'); ga.type = 
'text/javascript'; ga.async = true;
-        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 
'http://www') + '.google-analytics.com/ga.js';
-        var s = document.getElementsByTagName('script')[0]; 
s.parentNode.insertBefore(ga, s);
-        })();
 
-      </script>
 
-       </head>
+    
+<!-- Matomo -->
+<script>
+    var _paq = window._paq = window._paq || [];
+                        _paq.push(['disableCookies']);
+                                    _paq.push(['trackPageView']);
+                                    _paq.push(['enableLinkTracking']);
+                    
+    (function() {
+        var u="https://analytics.apache.org";;
+        _paq.push(['setTrackerUrl', u+'/matomo.php']);
+        _paq.push(['setSiteId', '15']);
+        var d=document, g=d.createElement('script'), 
s=d.getElementsByTagName('script')[0];
+        g.async=true; g.src=u+'/matomo.js'; s.parentNode.insertBefore(g,s);
+    })();
+</script>
+<!-- End Matomo Code -->
+       </head>
 
        <body class="page-tutorial_health project-102-docs" data-spy="scroll" 
data-offset="60" data-target="#toc-scroll-target">
 
+    
                <div class="navbar navbar-fixed-top">
                        <div class="navbar-inner">
                                <div class="container">
@@ -119,7 +132,7 @@
                                <li><a href="./" title="Release 1.0.2">Release 
1.0.2</a></li>
                                <li class="divider">/</li>
                                <li>Tutorial - Customizing Heath Checks</li>
-                               <li class="publishDate version-date 
pull-right">Last Published: 2022-04-23</li>
+                               <li class="publishDate version-date 
pull-right">Last Published: 2022-04-25</li>
                        </ul>
                </div>
        </header>
@@ -235,7 +248,7 @@ under the License.
                        <div class="span12">
                                <p class="pull-right"><a href="#">Back to 
top</a></p>
                                <p class="copyright">Copyright &copy;2022 <a 
href="https://www.apache.org/";>The Apache Software Foundation</a>. All Rights 
Reserved.</p>
-                               <p><a 
href="https://github.com/olamy/reflow-maven-skin"; title="Reflow Maven 
skin">Reflow Maven skin</a> by <a href="https://andrius.velykis.lt"; 
target="_blank" title="Andrius Velykis">Andrius Velykis</a>.</p>
+                               <p><a 
href="https://github.com/olamy/reflow-maven-skin"; title="Reflow Maven 
skin">Reflow Maven skin</a> maintained by <a href="https://twitter.com/olamy"; 
target="_blank" title="Olivier Lamy">Olivier Lamy</a>.</p>
                <div class="row span16"><div>Apache Helix, Apache, the Apache 
feather logo, and the Apache Helix project logos are trademarks of The Apache 
Software Foundation.
         All other marks mentioned may be trademarks or registered trademarks 
of their respective owners.</div>
         <a 
href="https://helix.apache.org/1.0.2-docs/privacy-policy.html";>Privacy 
Policy</a>

Modified: helix/site-content/1.0.2-docs/tutorial_messaging.html
URL: 
http://svn.apache.org/viewvc/helix/site-content/1.0.2-docs/tutorial_messaging.html?rev=1900255&r1=1900254&r2=1900255&view=diff
==============================================================================
--- helix/site-content/1.0.2-docs/tutorial_messaging.html (original)
+++ helix/site-content/1.0.2-docs/tutorial_messaging.html Mon Apr 25 08:18:23 
2022
@@ -1,7 +1,13 @@
 
 <!DOCTYPE html>
+
+
+
+
+
+
 <!--
- Generated by Apache Maven Doxia at 2022-04-23  Rendered using Reflow Maven 
Skin 2.0.0-SNAPSHOT (https://andriusvelykis.github.io/reflow-maven-skin)
+ Generated by Apache Maven Doxia at 2022-04-25  Rendered using Reflow Maven 
Skin 2.0.0 (https://olamy.github.io/reflow-maven-skin)
 -->
 <html  xml:lang="en" lang="en">
 
@@ -29,24 +35,31 @@
                <![endif]-->
 
 
-               <script type="text/javascript">
-
-        var _gaq = _gaq || [];
-        _gaq.push(['_setAccount', 'UA-3211522-12']);
-        _gaq.push(['_trackPageview']);
 
-        (function() {
-        var ga = document.createElement('script'); ga.type = 
'text/javascript'; ga.async = true;
-        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 
'http://www') + '.google-analytics.com/ga.js';
-        var s = document.getElementsByTagName('script')[0]; 
s.parentNode.insertBefore(ga, s);
-        })();
 
-      </script>
 
-       </head>
+    
+<!-- Matomo -->
+<script>
+    var _paq = window._paq = window._paq || [];
+                        _paq.push(['disableCookies']);
+                                    _paq.push(['trackPageView']);
+                                    _paq.push(['enableLinkTracking']);
+                    
+    (function() {
+        var u="https://analytics.apache.org";;
+        _paq.push(['setTrackerUrl', u+'/matomo.php']);
+        _paq.push(['setSiteId', '15']);
+        var d=document, g=d.createElement('script'), 
s=d.getElementsByTagName('script')[0];
+        g.async=true; g.src=u+'/matomo.js'; s.parentNode.insertBefore(g,s);
+    })();
+</script>
+<!-- End Matomo Code -->
+       </head>
 
        <body class="page-tutorial_messaging project-102-docs" 
data-spy="scroll" data-offset="60" data-target="#toc-scroll-target">
 
+    
                <div class="navbar navbar-fixed-top">
                        <div class="navbar-inner">
                                <div class="container">
@@ -119,7 +132,7 @@
                                <li><a href="./" title="Release 1.0.2">Release 
1.0.2</a></li>
                                <li class="divider">/</li>
                                <li>Tutorial - Messaging</li>
-                               <li class="publishDate version-date 
pull-right">Last Published: 2022-04-23</li>
+                               <li class="publishDate version-date 
pull-right">Last Published: 2022-04-25</li>
                        </ul>
                </div>
        </header>
@@ -168,10 +181,10 @@ requestBackupUriRequest.setMsgState(Mess
 
 // Set the Recipient criteria: all nodes that satisfy the criteria will 
receive the message
 Criteria recipientCriteria = new Criteria();
-recipientCriteria.setInstanceName(&quot;%&quot;);
+recipientCriteria.setInstanceName("%");
 recipientCriteria.setRecipientInstanceType(InstanceType.PARTICIPANT);
-recipientCriteria.setResource(&quot;MyDB&quot;);
-recipientCriteria.setPartition(&quot;&quot;);
+recipientCriteria.setResource("MyDB");
+recipientCriteria.setPartition("");
 
 // Should be processed only by process(es) that are active at the time of 
sending the message
 // This means if the recipient is restarted after message is sent, it will not 
be processe.
@@ -260,7 +273,7 @@ int sentMessageCount = messagingService.
                        <div class="span12">
                                <p class="pull-right"><a href="#">Back to 
top</a></p>
                                <p class="copyright">Copyright &copy;2022 <a 
href="https://www.apache.org/";>The Apache Software Foundation</a>. All Rights 
Reserved.</p>
-                               <p><a 
href="https://github.com/olamy/reflow-maven-skin"; title="Reflow Maven 
skin">Reflow Maven skin</a> by <a href="https://andrius.velykis.lt"; 
target="_blank" title="Andrius Velykis">Andrius Velykis</a>.</p>
+                               <p><a 
href="https://github.com/olamy/reflow-maven-skin"; title="Reflow Maven 
skin">Reflow Maven skin</a> maintained by <a href="https://twitter.com/olamy"; 
target="_blank" title="Olivier Lamy">Olivier Lamy</a>.</p>
                <div class="row span16"><div>Apache Helix, Apache, the Apache 
feather logo, and the Apache Helix project logos are trademarks of The Apache 
Software Foundation.
         All other marks mentioned may be trademarks or registered trademarks 
of their respective owners.</div>
         <a 
href="https://helix.apache.org/1.0.2-docs/privacy-policy.html";>Privacy 
Policy</a>

Modified: helix/site-content/1.0.2-docs/tutorial_participant.html
URL: 
http://svn.apache.org/viewvc/helix/site-content/1.0.2-docs/tutorial_participant.html?rev=1900255&r1=1900254&r2=1900255&view=diff
==============================================================================
--- helix/site-content/1.0.2-docs/tutorial_participant.html (original)
+++ helix/site-content/1.0.2-docs/tutorial_participant.html Mon Apr 25 08:18:23 
2022
@@ -1,7 +1,13 @@
 
 <!DOCTYPE html>
+
+
+
+
+
+
 <!--
- Generated by Apache Maven Doxia at 2022-04-23  Rendered using Reflow Maven 
Skin 2.0.0-SNAPSHOT (https://andriusvelykis.github.io/reflow-maven-skin)
+ Generated by Apache Maven Doxia at 2022-04-25  Rendered using Reflow Maven 
Skin 2.0.0 (https://olamy.github.io/reflow-maven-skin)
 -->
 <html  xml:lang="en" lang="en">
 
@@ -29,24 +35,31 @@
                <![endif]-->
 
 
-               <script type="text/javascript">
-
-        var _gaq = _gaq || [];
-        _gaq.push(['_setAccount', 'UA-3211522-12']);
-        _gaq.push(['_trackPageview']);
 
-        (function() {
-        var ga = document.createElement('script'); ga.type = 
'text/javascript'; ga.async = true;
-        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 
'http://www') + '.google-analytics.com/ga.js';
-        var s = document.getElementsByTagName('script')[0]; 
s.parentNode.insertBefore(ga, s);
-        })();
 
-      </script>
 
-       </head>
+    
+<!-- Matomo -->
+<script>
+    var _paq = window._paq = window._paq || [];
+                        _paq.push(['disableCookies']);
+                                    _paq.push(['trackPageView']);
+                                    _paq.push(['enableLinkTracking']);
+                    
+    (function() {
+        var u="https://analytics.apache.org";;
+        _paq.push(['setTrackerUrl', u+'/matomo.php']);
+        _paq.push(['setSiteId', '15']);
+        var d=document, g=d.createElement('script'), 
s=d.getElementsByTagName('script')[0];
+        g.async=true; g.src=u+'/matomo.js'; s.parentNode.insertBefore(g,s);
+    })();
+</script>
+<!-- End Matomo Code -->
+       </head>
 
        <body class="page-tutorial_participant project-102-docs" 
data-spy="scroll" data-offset="60" data-target="#toc-scroll-target">
 
+    
                <div class="navbar navbar-fixed-top">
                        <div class="navbar-inner">
                                <div class="container">
@@ -119,7 +132,7 @@
                                <li><a href="./" title="Release 1.0.2">Release 
1.0.2</a></li>
                                <li class="divider">/</li>
                                <li>Tutorial - Participant</li>
-                               <li class="publishDate version-date 
pull-right">Last Published: 2022-04-23</li>
+                               <li class="publishDate version-date 
pull-right">Last Published: 2022-04-25</li>
                        </ul>
                </div>
        </header>
@@ -198,12 +211,12 @@ manager.connect();
     OnlineOfflineStateModel stateModel = new OnlineOfflineStateModel();
     return stateModel;
   }
-  @StateModelInfo(states = &quot;{'OFFLINE','ONLINE'}&quot;, initialState = 
&quot;OFFINE&quot;)
+  @StateModelInfo(states = "{'OFFLINE','ONLINE'}", initialState = "OFFINE")
   public static class OnlineOfflineStateModel extends StateModel {
-    @Transition(from = &quot;OFFLINE&quot;, to = &quot;ONLINE&quot;)
+    @Transition(from = "OFFLINE", to = "ONLINE")
     public void onBecomeOnlineFromOffline(Message message,
         NotificationContext context) {
-      
System.out.println(&quot;OnlineOfflineStateModel.onBecomeOnlineFromOffline()&quot;);
+      
System.out.println("OnlineOfflineStateModel.onBecomeOnlineFromOffline()");
 
       
////////////////////////////////////////////////////////////////////////////////////////////////
       // Application logic to handle transition                                
                     //
@@ -211,10 +224,10 @@ manager.connect();
       
////////////////////////////////////////////////////////////////////////////////////////////////
     }
 
-    @Transition(from = &quot;ONLINE&quot;, to = &quot;OFFLINE&quot;)
+    @Transition(from = "ONLINE", to = "OFFLINE")
     public void onBecomeOfflineFromOnline(Message message,
         NotificationContext context) {
-      
System.out.println(&quot;OnlineOfflineStateModel.onBecomeOfflineFromOnline()&quot;);
+      
System.out.println("OnlineOfflineStateModel.onBecomeOfflineFromOnline()");
 
       
////////////////////////////////////////////////////////////////////////////////////////////////
       // Application logic to handle transition                                
                     //
@@ -296,7 +309,7 @@ manager.connect();
                        <div class="span12">
                                <p class="pull-right"><a href="#">Back to 
top</a></p>
                                <p class="copyright">Copyright &copy;2022 <a 
href="https://www.apache.org/";>The Apache Software Foundation</a>. All Rights 
Reserved.</p>
-                               <p><a 
href="https://github.com/olamy/reflow-maven-skin"; title="Reflow Maven 
skin">Reflow Maven skin</a> by <a href="https://andrius.velykis.lt"; 
target="_blank" title="Andrius Velykis">Andrius Velykis</a>.</p>
+                               <p><a 
href="https://github.com/olamy/reflow-maven-skin"; title="Reflow Maven 
skin">Reflow Maven skin</a> maintained by <a href="https://twitter.com/olamy"; 
target="_blank" title="Olivier Lamy">Olivier Lamy</a>.</p>
                <div class="row span16"><div>Apache Helix, Apache, the Apache 
feather logo, and the Apache Helix project logos are trademarks of The Apache 
Software Foundation.
         All other marks mentioned may be trademarks or registered trademarks 
of their respective owners.</div>
         <a 
href="https://helix.apache.org/1.0.2-docs/privacy-policy.html";>Privacy 
Policy</a>

Modified: helix/site-content/1.0.2-docs/tutorial_propstore.html
URL: 
http://svn.apache.org/viewvc/helix/site-content/1.0.2-docs/tutorial_propstore.html?rev=1900255&r1=1900254&r2=1900255&view=diff
==============================================================================
--- helix/site-content/1.0.2-docs/tutorial_propstore.html (original)
+++ helix/site-content/1.0.2-docs/tutorial_propstore.html Mon Apr 25 08:18:23 
2022
@@ -1,7 +1,13 @@
 
 <!DOCTYPE html>
+
+
+
+
+
+
 <!--
- Generated by Apache Maven Doxia at 2022-04-23  Rendered using Reflow Maven 
Skin 2.0.0-SNAPSHOT (https://andriusvelykis.github.io/reflow-maven-skin)
+ Generated by Apache Maven Doxia at 2022-04-25  Rendered using Reflow Maven 
Skin 2.0.0 (https://olamy.github.io/reflow-maven-skin)
 -->
 <html  xml:lang="en" lang="en">
 
@@ -29,24 +35,31 @@
                <![endif]-->
 
 
-               <script type="text/javascript">
-
-        var _gaq = _gaq || [];
-        _gaq.push(['_setAccount', 'UA-3211522-12']);
-        _gaq.push(['_trackPageview']);
 
-        (function() {
-        var ga = document.createElement('script'); ga.type = 
'text/javascript'; ga.async = true;
-        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 
'http://www') + '.google-analytics.com/ga.js';
-        var s = document.getElementsByTagName('script')[0]; 
s.parentNode.insertBefore(ga, s);
-        })();
 
-      </script>
 
-       </head>
+    
+<!-- Matomo -->
+<script>
+    var _paq = window._paq = window._paq || [];
+                        _paq.push(['disableCookies']);
+                                    _paq.push(['trackPageView']);
+                                    _paq.push(['enableLinkTracking']);
+                    
+    (function() {
+        var u="https://analytics.apache.org";;
+        _paq.push(['setTrackerUrl', u+'/matomo.php']);
+        _paq.push(['setSiteId', '15']);
+        var d=document, g=d.createElement('script'), 
s=d.getElementsByTagName('script')[0];
+        g.async=true; g.src=u+'/matomo.js'; s.parentNode.insertBefore(g,s);
+    })();
+</script>
+<!-- End Matomo Code -->
+       </head>
 
        <body class="page-tutorial_propstore project-102-docs" 
data-spy="scroll" data-offset="60" data-target="#toc-scroll-target">
 
+    
                <div class="navbar navbar-fixed-top">
                        <div class="navbar-inner">
                                <div class="container">
@@ -119,7 +132,7 @@
                                <li><a href="./" title="Release 1.0.2">Release 
1.0.2</a></li>
                                <li class="divider">/</li>
                                <li>Tutorial - Application Property Store</li>
-                               <li class="publishDate version-date 
pull-right">Last Published: 2022-04-23</li>
+                               <li class="publishDate version-date 
pull-right">Last Published: 2022-04-25</li>
                        </ul>
                </div>
        </header>
@@ -227,7 +240,7 @@ under the License.
                        <div class="span12">
                                <p class="pull-right"><a href="#">Back to 
top</a></p>
                                <p class="copyright">Copyright &copy;2022 <a 
href="https://www.apache.org/";>The Apache Software Foundation</a>. All Rights 
Reserved.</p>
-                               <p><a 
href="https://github.com/olamy/reflow-maven-skin"; title="Reflow Maven 
skin">Reflow Maven skin</a> by <a href="https://andrius.velykis.lt"; 
target="_blank" title="Andrius Velykis">Andrius Velykis</a>.</p>
+                               <p><a 
href="https://github.com/olamy/reflow-maven-skin"; title="Reflow Maven 
skin">Reflow Maven skin</a> maintained by <a href="https://twitter.com/olamy"; 
target="_blank" title="Olivier Lamy">Olivier Lamy</a>.</p>
                <div class="row span16"><div>Apache Helix, Apache, the Apache 
feather logo, and the Apache Helix project logos are trademarks of The Apache 
Software Foundation.
         All other marks mentioned may be trademarks or registered trademarks 
of their respective owners.</div>
         <a 
href="https://helix.apache.org/1.0.2-docs/privacy-policy.html";>Privacy 
Policy</a>

Modified: helix/site-content/1.0.2-docs/tutorial_rebalance.html
URL: 
http://svn.apache.org/viewvc/helix/site-content/1.0.2-docs/tutorial_rebalance.html?rev=1900255&r1=1900254&r2=1900255&view=diff
==============================================================================
--- helix/site-content/1.0.2-docs/tutorial_rebalance.html (original)
+++ helix/site-content/1.0.2-docs/tutorial_rebalance.html Mon Apr 25 08:18:23 
2022
@@ -1,7 +1,13 @@
 
 <!DOCTYPE html>
+
+
+
+
+
+
 <!--
- Generated by Apache Maven Doxia at 2022-04-23  Rendered using Reflow Maven 
Skin 2.0.0-SNAPSHOT (https://andriusvelykis.github.io/reflow-maven-skin)
+ Generated by Apache Maven Doxia at 2022-04-25  Rendered using Reflow Maven 
Skin 2.0.0 (https://olamy.github.io/reflow-maven-skin)
 -->
 <html  xml:lang="en" lang="en">
 
@@ -29,24 +35,31 @@
                <![endif]-->
 
 
-               <script type="text/javascript">
-
-        var _gaq = _gaq || [];
-        _gaq.push(['_setAccount', 'UA-3211522-12']);
-        _gaq.push(['_trackPageview']);
 
-        (function() {
-        var ga = document.createElement('script'); ga.type = 
'text/javascript'; ga.async = true;
-        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 
'http://www') + '.google-analytics.com/ga.js';
-        var s = document.getElementsByTagName('script')[0]; 
s.parentNode.insertBefore(ga, s);
-        })();
 
-      </script>
 
-       </head>
+    
+<!-- Matomo -->
+<script>
+    var _paq = window._paq = window._paq || [];
+                        _paq.push(['disableCookies']);
+                                    _paq.push(['trackPageView']);
+                                    _paq.push(['enableLinkTracking']);
+                    
+    (function() {
+        var u="https://analytics.apache.org";;
+        _paq.push(['setTrackerUrl', u+'/matomo.php']);
+        _paq.push(['setSiteId', '15']);
+        var d=document, g=d.createElement('script'), 
s=d.getElementsByTagName('script')[0];
+        g.async=true; g.src=u+'/matomo.js'; s.parentNode.insertBefore(g,s);
+    })();
+</script>
+<!-- End Matomo Code -->
+       </head>
 
        <body class="page-tutorial_rebalance project-102-docs" 
data-spy="scroll" data-offset="60" data-target="#toc-scroll-target">
 
+    
                <div class="navbar navbar-fixed-top">
                        <div class="navbar-inner">
                                <div class="container">
@@ -119,7 +132,7 @@
                                <li><a href="./" title="Release 1.0.2">Release 
1.0.2</a></li>
                                <li class="divider">/</li>
                                <li>Tutorial - Rebalancing Algorithms</li>
-                               <li class="publishDate version-date 
pull-right">Last Published: 2022-04-23</li>
+                               <li class="publishDate version-date 
pull-right">Last Published: 2022-04-25</li>
                        </ul>
                </div>
        </header>
@@ -182,19 +195,19 @@ under the License.
   <p>For example, consider this system that uses a MasterSlave state model, 
with 3 partitions and 2 replicas in the ideal state.</p> 
   <div class="source"> 
    <pre><code>{
-  &quot;id&quot; : &quot;MyResource&quot;,
-  &quot;simpleFields&quot; : {
-    &quot;REBALANCE_MODE&quot; : &quot;FULL_AUTO&quot;,
-    &quot;NUM_PARTITIONS&quot; : &quot;3&quot;,
-    &quot;REPLICAS&quot; : &quot;2&quot;,
-    &quot;STATE_MODEL_DEF_REF&quot; : &quot;MasterSlave&quot;,
+  "id" : "MyResource",
+  "simpleFields" : {
+    "REBALANCE_MODE" : "FULL_AUTO",
+    "NUM_PARTITIONS" : "3",
+    "REPLICAS" : "2",
+    "STATE_MODEL_DEF_REF" : "MasterSlave",
   }
-  &quot;listFields&quot; : {
-    &quot;MyResource_0&quot; : [],
-    &quot;MyResource_1&quot; : [],
-    &quot;MyResource_2&quot; : []
+  "listFields" : {
+    "MyResource_0" : [],
+    "MyResource_1" : [],
+    "MyResource_2" : []
   },
-  &quot;mapFields&quot; : {
+  "mapFields" : {
   }
 }
 </code></pre> 
@@ -202,24 +215,24 @@ under the License.
   <p>If there are 3 nodes in the cluster, then Helix will balance the masters 
and slaves equally. The ideal state is therefore:</p> 
   <div class="source"> 
    <pre><code>{
-  &quot;id&quot; : &quot;MyResource&quot;,
-  &quot;simpleFields&quot; : {
-    &quot;NUM_PARTITIONS&quot; : &quot;3&quot;,
-    &quot;REPLICAS&quot; : &quot;2&quot;,
-    &quot;STATE_MODEL_DEF_REF&quot; : &quot;MasterSlave&quot;,
+  "id" : "MyResource",
+  "simpleFields" : {
+    "NUM_PARTITIONS" : "3",
+    "REPLICAS" : "2",
+    "STATE_MODEL_DEF_REF" : "MasterSlave",
   },
-  &quot;mapFields&quot; : {
-    &quot;MyResource_0&quot; : {
-      &quot;N1&quot; : &quot;MASTER&quot;,
-      &quot;N2&quot; : &quot;SLAVE&quot;,
+  "mapFields" : {
+    "MyResource_0" : {
+      "N1" : "MASTER",
+      "N2" : "SLAVE",
     },
-    &quot;MyResource_1&quot; : {
-      &quot;N2&quot; : &quot;MASTER&quot;,
-      &quot;N3&quot; : &quot;SLAVE&quot;,
+    "MyResource_1" : {
+      "N2" : "MASTER",
+      "N3" : "SLAVE",
     },
-    &quot;MyResource_2&quot; : {
-      &quot;N3&quot; : &quot;MASTER&quot;,
-      &quot;N1&quot; : &quot;SLAVE&quot;,
+    "MyResource_2" : {
+      "N3" : "MASTER",
+      "N1" : "SLAVE",
     }
   }
 }
@@ -233,19 +246,19 @@ under the License.
   <p>Example: In the ideal state below, the partition 'MyResource_0' is 
constrained to be placed only on node1 or node2. The choice of <i>state</i> is 
still controlled by Helix. That means MyResource_0.MASTER could be on node1 and 
MyResource_0.SLAVE on node2, or vice-versa but neither would be placed on 
node3.</p> 
   <div class="source"> 
    <pre><code>{
-  &quot;id&quot; : &quot;MyResource&quot;,
-  &quot;simpleFields&quot; : {
-    &quot;REBALANCE_MODE&quot; : &quot;SEMI_AUTO&quot;,
-    &quot;NUM_PARTITIONS&quot; : &quot;3&quot;,
-    &quot;REPLICAS&quot; : &quot;2&quot;,
-    &quot;STATE_MODEL_DEF_REF&quot; : &quot;MasterSlave&quot;,
+  "id" : "MyResource",
+  "simpleFields" : {
+    "REBALANCE_MODE" : "SEMI_AUTO",
+    "NUM_PARTITIONS" : "3",
+    "REPLICAS" : "2",
+    "STATE_MODEL_DEF_REF" : "MasterSlave",
   }
-  &quot;listFields&quot; : {
-    &quot;MyResource_0&quot; : [node1, node2],
-    &quot;MyResource_1&quot; : [node2, node3],
-    &quot;MyResource_2&quot; : [node3, node1]
+  "listFields" : {
+    "MyResource_0" : [node1, node2],
+    "MyResource_1" : [node2, node3],
+    "MyResource_2" : [node3, node1]
   },
-  &quot;mapFields&quot; : {
+  "mapFields" : {
   }
 }
 </code></pre> 
@@ -259,25 +272,25 @@ under the License.
   <p>Here's an example, again with 3 partitions, 2 replicas per partition, and 
the MasterSlave state model:</p> 
   <div class="source"> 
    <pre><code>{
-  &quot;id&quot; : &quot;MyResource&quot;,
-  &quot;simpleFields&quot; : {
-    &quot;REBALANCE_MODE&quot; : &quot;CUSTOMIZED&quot;,
-    &quot;NUM_PARTITIONS&quot; : &quot;3&quot;,
-    &quot;REPLICAS&quot; : &quot;2&quot;,
-    &quot;STATE_MODEL_DEF_REF&quot; : &quot;MasterSlave&quot;,
+  "id" : "MyResource",
+  "simpleFields" : {
+    "REBALANCE_MODE" : "CUSTOMIZED",
+    "NUM_PARTITIONS" : "3",
+    "REPLICAS" : "2",
+    "STATE_MODEL_DEF_REF" : "MasterSlave",
   },
-  &quot;mapFields&quot; : {
-    &quot;MyResource_0&quot; : {
-      &quot;N1&quot; : &quot;MASTER&quot;,
-      &quot;N2&quot; : &quot;SLAVE&quot;,
+  "mapFields" : {
+    "MyResource_0" : {
+      "N1" : "MASTER",
+      "N2" : "SLAVE",
     },
-    &quot;MyResource_1&quot; : {
-      &quot;N2&quot; : &quot;MASTER&quot;,
-      &quot;N3&quot; : &quot;SLAVE&quot;,
+    "MyResource_1" : {
+      "N2" : "MASTER",
+      "N3" : "SLAVE",
     },
-    &quot;MyResource_2&quot; : {
-      &quot;N3&quot; : &quot;MASTER&quot;,
-      &quot;N1&quot; : &quot;SLAVE&quot;,
+    "MyResource_2" : {
+      "N3" : "MASTER",
+      "N1" : "SLAVE",
     }
   }
 }
@@ -363,7 +376,7 @@ under the License.
                        <div class="span12">
                                <p class="pull-right"><a href="#">Back to 
top</a></p>
                                <p class="copyright">Copyright &copy;2022 <a 
href="https://www.apache.org/";>The Apache Software Foundation</a>. All Rights 
Reserved.</p>
-                               <p><a 
href="https://github.com/olamy/reflow-maven-skin"; title="Reflow Maven 
skin">Reflow Maven skin</a> by <a href="https://andrius.velykis.lt"; 
target="_blank" title="Andrius Velykis">Andrius Velykis</a>.</p>
+                               <p><a 
href="https://github.com/olamy/reflow-maven-skin"; title="Reflow Maven 
skin">Reflow Maven skin</a> maintained by <a href="https://twitter.com/olamy"; 
target="_blank" title="Olivier Lamy">Olivier Lamy</a>.</p>
                <div class="row span16"><div>Apache Helix, Apache, the Apache 
feather logo, and the Apache Helix project logos are trademarks of The Apache 
Software Foundation.
         All other marks mentioned may be trademarks or registered trademarks 
of their respective owners.</div>
         <a 
href="https://helix.apache.org/1.0.2-docs/privacy-policy.html";>Privacy 
Policy</a>


Reply via email to