[ 
https://issues.apache.org/jira/browse/CURATOR-322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15268900#comment-15268900
 ] 

ASF GitHub Bot commented on CURATOR-322:
----------------------------------------

Github user Randgalt commented on a diff in the pull request:

    https://github.com/apache/curator/pull/147#discussion_r61902231
  
    --- Diff: 
curator-framework/src/main/java/org/apache/curator/framework/api/ErrorListenerPathAndBytesable.java
 ---
    @@ -1,3 +1,21 @@
    +/**
    + * Licensed to the Apache Software Foundation (ASF) under one
    --- End diff --
    
    This is not actually part of this PR. I guess the license was missing on 
this file. Might as well just leave it here.


> Schema support - path validation and documentation
> --------------------------------------------------
>
>                 Key: CURATOR-322
>                 URL: https://issues.apache.org/jira/browse/CURATOR-322
>             Project: Apache Curator
>          Issue Type: New Feature
>          Components: Framework
>    Affects Versions: 3.1.0
>            Reporter: Jordan Zimmerman
>            Assignee: Jordan Zimmerman
>             Fix For: TBD
>
>
> ZooKeeper applications are heavily dependent on correct usage of paths, 
> watchers, ZNode data, etc. Currently, there is no mechanism for validating 
> and documenting this. It would be nice to have some kind of schema system 
> that allows for this.
> This issue provides several items of functionality: a) ZNode path 
> documentation; b) ZNode path validation; c) keyed reference to ZNode paths. 
> Both items are defined in a new class, Schema. A Curator Schema specifies a 
> ZNode path (or regex pattern), documentation for that path, and the 
> operations that are allowed on that path. Additionally, a set of Schema 
> objects are collected into a SchemaSet object that allows any Schema (and 
> thereby its path) to be retrieved via a symbolic name. This should make path 
> management in ZK applications easier. Lastly, a utility is provided to load 
> SchemaSets from a file/stream in JSON format.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to