Commit bd549d7 Jason Yellick
committed
1 parent f60d3af commit bd549d7 Copy full SHA for bd549d7
File tree 1 file changed +22
-0
lines changed
common/configtx/handlers/application
1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,28 @@ import (
26
26
"github.com/op/go-logging"
27
27
)
28
28
29
+ var orgSchema = & cb.ConfigGroupSchema {
30
+ Groups : map [string ]* cb.ConfigGroupSchema {},
31
+ Values : map [string ]* cb.ConfigValueSchema {
32
+ "MSP" : nil , // TODO, consolidate into a constant once common org code exists
33
+ },
34
+ Policies : map [string ]* cb.ConfigPolicySchema {
35
+ // TODO, set appropriately once hierarchical policies are implemented
36
+ },
37
+ }
38
+
39
+ var Schema = & cb.ConfigGroupSchema {
40
+ Groups : map [string ]* cb.ConfigGroupSchema {
41
+ "" : orgSchema ,
42
+ },
43
+ Values : map [string ]* cb.ConfigValueSchema {
44
+ AnchorPeersKey : nil ,
45
+ },
46
+ Policies : map [string ]* cb.ConfigPolicySchema {
47
+ // TODO, set appropriately once hierarchical policies are implemented
48
+ },
49
+ }
50
+
29
51
// Peer config keys
30
52
const (
31
53
// AnchorPeersKey is the cb.ConfigItem type key name for the AnchorPeers message
You can’t perform that action at this time.
0 commit comments