Repository: curator Updated Branches: refs/heads/CURATOR-88 938f3748d -> cde552f25
typos/updates Project: http://git-wip-us.apache.org/repos/asf/curator/repo Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/cde552f2 Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/cde552f2 Diff: http://git-wip-us.apache.org/repos/asf/curator/diff/cde552f2 Branch: refs/heads/CURATOR-88 Commit: cde552f254fc75281822a439b321a43179adec9d Parents: 938f374 Author: randgalt <randg...@apache.org> Authored: Sun Feb 23 13:25:09 2014 +0530 Committer: randgalt <randg...@apache.org> Committed: Sun Feb 23 13:25:09 2014 +0530 ---------------------------------------------------------------------- curator-x-rest/src/site/confluence/apis.confluence | 4 ++-- curator-x-rest/src/site/confluence/client.confluence | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/curator/blob/cde552f2/curator-x-rest/src/site/confluence/apis.confluence ---------------------------------------------------------------------- diff --git a/curator-x-rest/src/site/confluence/apis.confluence b/curator-x-rest/src/site/confluence/apis.confluence index 920c516..e09fc4b 100644 --- a/curator-x-rest/src/site/confluence/apis.confluence +++ b/curator-x-rest/src/site/confluence/apis.confluence @@ -2,8 +2,6 @@ h1. APIs -Here are the available APIs: - h2. Status APIs ||URL||Method||Request Entity||Response Entity||Description|| @@ -45,6 +43,8 @@ h2. Recipe APIs |/curator/v1/recipes/leader/{leader-id}|DELETE|n/a|n/a|Release/delete leadership.| |/curator/v1/recipes/leader/{leader-id}|GET|n/a|array of ParticipantSpecs|List of participants in the leader election.| +*MORE TBD* + h2. Entities See the [[Entity Descriptions Page|entities.html]] for details on the Entities used in the APIs. http://git-wip-us.apache.org/repos/asf/curator/blob/cde552f2/curator-x-rest/src/site/confluence/client.confluence ---------------------------------------------------------------------- diff --git a/curator-x-rest/src/site/confluence/client.confluence b/curator-x-rest/src/site/confluence/client.confluence index 94683dd..ce99b72 100644 --- a/curator-x-rest/src/site/confluence/client.confluence +++ b/curator-x-rest/src/site/confluence/client.confluence @@ -14,7 +14,7 @@ Status for more details. Also, see the [[APIs|apis.html]] page for additional de h2. Handling Stateful APIs -For the stateful APIs, you should keep an record for each active API. The record should contain the Curator REST Proxy instance +For the stateful APIs, you should keep a record for each active API. The record should contain the Curator REST Proxy instance that fulfilled the API call and the response ID that was returned. You must periodically send these IDs using the POST version of the status API (see below) to avoid the Proxy expiring the APIs product (watcher, lock, etc.). See the lock example below. @@ -61,6 +61,8 @@ do record in maintainedRecords if message.type is "watch" ... etc... end + + sleep-for-a-bit end {code}