Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id E0024200ACA for ; Thu, 19 May 2016 21:02:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id DEB5E1609AE; Thu, 19 May 2016 19:02:23 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 207C9160A05 for ; Thu, 19 May 2016 21:02:22 +0200 (CEST) Received: (qmail 25233 invoked by uid 500); 19 May 2016 19:02:17 -0000 Mailing-List: contact commits-help@curator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@curator.apache.org Delivered-To: mailing list commits@curator.apache.org Received: (qmail 24340 invoked by uid 99); 19 May 2016 19:02:16 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 May 2016 19:02:16 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id A0F90E9616; Thu, 19 May 2016 19:02:16 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: randgalt@apache.org To: commits@curator.apache.org Date: Thu, 19 May 2016 19:02:47 -0000 Message-Id: In-Reply-To: <5d8cb1cc156f48329bb3e7a68da3f048@git.apache.org> References: <5d8cb1cc156f48329bb3e7a68da3f048@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [32/35] curator git commit: wip archived-at: Thu, 19 May 2016 19:02:24 -0000 wip Project: http://git-wip-us.apache.org/repos/asf/curator/repo Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/1dbdbdc6 Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/1dbdbdc6 Diff: http://git-wip-us.apache.org/repos/asf/curator/diff/1dbdbdc6 Branch: refs/heads/CURATOR-3.0 Commit: 1dbdbdc675ebda9246bd6b2437bb4ce83e3bf594 Parents: 7624725 Author: randgalt Authored: Wed May 4 20:06:41 2016 -0500 Committer: randgalt Committed: Wed May 4 20:06:41 2016 -0500 ---------------------------------------------------------------------- curator-framework/src/site/confluence/schema.confluence | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/curator/blob/1dbdbdc6/curator-framework/src/site/confluence/schema.confluence ---------------------------------------------------------------------- diff --git a/curator-framework/src/site/confluence/schema.confluence b/curator-framework/src/site/confluence/schema.confluence index 12b40f2..410d71a 100644 --- a/curator-framework/src/site/confluence/schema.confluence +++ b/curator-framework/src/site/confluence/schema.confluence @@ -48,11 +48,12 @@ Use SchemaSets to access ZNode paths by a simple name. E.g. {code} CuratorFramework client = ... String path = SchemaSet.getNamedPath(client, "locks"); +client.create().forPath(path); {code} h2. Loading JSON Schema from a file/stream -An optional utility is provided to load SchemaSets from a JSON file or stream: SchemaSetLoader +An optional utility is provided to load SchemaSets from a JSON file or stream: SchemaSetLoader. *NOTE:* to avoid adding a new dependency to Curator, the Jackson library has been used with "provided" scope. You will need to add a dependency to jackson\-core and jackson\-databind to your project.