Skip to content

Commit

Permalink
Merge pull request #1800 from jrha/cleanup-metaconfig-zookeeper
Browse files Browse the repository at this point in the history
ncm-metaconfig: zookeeper: Fix wrapping and indentation in pan
  • Loading branch information
jrha authored Dec 16, 2024
2 parents a279c37 + c4e35d1 commit d655111
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions ncm-metaconfig/src/main/metaconfig/zookeeper/pan/schema.pan
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ declaration template metaconfig/zookeeper/schema;

include 'pan/types';

type zookeeper_four_letter_word = choice(
'conf', 'cons', 'crst', 'dump', 'envi', 'mntr', 'ruok', 'srst', 'srvr', 'stat', 'wchc', 'wchp', 'wchs'
);

type zookeeper_main = {
# minimal
"tickTime" : long = 2000
Expand All @@ -22,8 +26,7 @@ type zookeeper_main = {
"autopurge.snapRetainCount" ? long
"autopurge.purgeInterval" ? long
"syncEnabled" ? boolean
"4lw.commands.whitelist" ? choice('conf', 'cons', 'crst', 'dump', 'envi', 'mntr',
'ruok', 'srst', 'srvr', 'stat', 'wchc', 'wchp', 'wchs') []
"4lw.commands.whitelist" ? zookeeper_four_letter_word[]

# cluster/ensemble
"initLimit" : long = 10
Expand Down

0 comments on commit d655111

Please sign in to comment.