You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@curator.apache.org by ra...@apache.org on 2016/05/05 01:06:48 UTC
curator git commit: wip
Repository: curator
Updated Branches:
refs/heads/CURATOR-322 762472588 -> 1dbdbdc67
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-322
Commit: 1dbdbdc675ebda9246bd6b2437bb4ce83e3bf594
Parents: 7624725
Author: randgalt <ra...@apache.org>
Authored: Wed May 4 20:06:41 2016 -0500
Committer: randgalt <ra...@apache.org>
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.