Skip to content

Commit 8e2640f

Browse files
committed
[FAB-11879] Update app capabilities for V1_3
Update application capabilities to consistently use V1_3 with common comments across fabric repository configtx files. FAB-11879 #done Change-Id: I8d8a3a867f209428574227569667d100ebbba3d0 Signed-off-by: David Enyeart <enyeart@us.ibm.com>
1 parent 24e696d commit 8e2640f

File tree

3 files changed

+51
-36
lines changed

3 files changed

+51
-36
lines changed

examples/e2e_cli/configtx.yaml

Lines changed: 28 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -157,33 +157,43 @@ Organizations:
157157
################################################################################
158158
Capabilities:
159159
# Channel capabilities apply to both the orderers and the peers and must be
160-
# supported by both. Set the value of the capability to true to require it.
161-
Global: &ChannelCapabilities
160+
# supported by both.
161+
# Set the value of the capability to true to require it.
162+
Channel: &ChannelCapabilities
162163
# V1.3 for Channel is a catchall flag for behavior which has been
163-
# determined to be desired for all orderers and peers running < v1.3.0,
164-
# but the modification of which would cause incompatibilities. Users
165-
# should leave this flag set to true.
164+
# determined to be desired for all orderers and peers running at the v1.3.x
165+
# level, but which would be incompatible with orderers and peers from
166+
# prior releases.
167+
# Prior to enabling V1.3 channel capabilities, ensure that all
168+
# orderers and peers on a channel are at v1.3.0 or later.
166169
V1_3: true
167170

168171
# Orderer capabilities apply only to the orderers, and may be safely
169-
# manipulated without concern for upgrading peers. Set the value of the
170-
# capability to true to require it.
172+
# used with prior release peers.
173+
# Set the value of the capability to true to require it.
171174
Orderer: &OrdererCapabilities
172-
# V1.1 for Order is a catchall flag for behavior which has been
173-
# determined to be desired for all orderers running v1.0.x, but the
174-
# modification of which would cause incompatibilities. Users should
175-
# leave this flag set to true.
175+
# V1.1 for Orderer is a catchall flag for behavior which has been
176+
# determined to be desired for all orderers running at the v1.1.x
177+
# level, but which would be incompatible with orderers from prior releases.
178+
# Prior to enabling V1.1 orderer capabilities, ensure that all
179+
# orderers on a channel are at v1.1.0 or later.
176180
V1_1: true
177181

178182
# Application capabilities apply only to the peer network, and may be safely
179-
# manipulated without concern for upgrading orderers. Set the value of the
180-
# capability to true to require it.
183+
# used with prior release orderers.
184+
# Set the value of the capability to true to require it.
181185
Application: &ApplicationCapabilities
182-
# V1.1 for Application is a catchall flag for behavior which has been
183-
# determined to be desired for all peers running v1.0.x, but the
184-
# modification of which would cause incompatibilities. Users should
185-
# leave this flag set to true.
186-
V1_2: true
186+
# V1.3 for Application enables the new non-backwards compatible
187+
# features and fixes of fabric v1.3.
188+
V1_3: true
189+
# V1.2 for Application enables the new non-backwards compatible
190+
# features and fixes of fabric v1.2 (note, this need not be set if
191+
# later version capabilities are set)
192+
V1_2: false
193+
# V1.1 for Application enables the new non-backwards compatible
194+
# features and fixes of fabric v1.1 (note, this need not be set if
195+
# later version capabilities are set).
196+
V1_1: false
187197

188198
################################################################################
189199
#

integration/pvtdata/runner/testdata/configtx.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ Organizations:
2323
Port: 8051
2424

2525
Capabilities:
26-
Global: &ChannelCapabilities
26+
Channel: &ChannelCapabilities
2727
V1_3: true
2828
Orderer: &OrdererCapabilities
2929
V1_1: true
3030
Application: &ApplicationCapabilities
31-
V1_2: true
31+
V1_3: true
3232

3333
Application: &ApplicationDefaults
3434
Organizations:

sampleconfig/configtx.yaml

Lines changed: 21 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -77,37 +77,42 @@ Organizations:
7777
################################################################################
7878
Capabilities:
7979
# Channel capabilities apply to both the orderers and the peers and must be
80-
# supported by both. Set the value of the capability to true to require it.
80+
# supported by both.
81+
# Set the value of the capability to true to require it.
8182
Channel: &ChannelCapabilities
8283
# V1.3 for Channel is a catchall flag for behavior which has been
83-
# determined to be desired for all orderers and peers running < v1.3.0,
84-
# but the modification of which would cause incompatibilities. Users
85-
# should leave this flag set to true.
84+
# determined to be desired for all orderers and peers running at the v1.3.x
85+
# level, but which would be incompatible with orderers and peers from
86+
# prior releases.
87+
# Prior to enabling V1.3 channel capabilities, ensure that all
88+
# orderers and peers on a channel are at v1.3.0 or later.
8689
V1_3: true
8790

8891
# Orderer capabilities apply only to the orderers, and may be safely
89-
# manipulated without concern for upgrading peers. Set the value of the
90-
# capability to true to require it.
92+
# used with prior release peers.
93+
# Set the value of the capability to true to require it.
9194
Orderer: &OrdererCapabilities
92-
# V1.1 for Order is a catchall flag for behavior which has been
93-
# determined to be desired for all orderers running v1.0.x, but the
94-
# modification of which would cause incompatibilities. Users should
95-
# leave this flag set to true.
95+
# V1.1 for Orderer is a catchall flag for behavior which has been
96+
# determined to be desired for all orderers running at the v1.1.x
97+
# level, but which would be incompatible with orderers from prior releases.
98+
# Prior to enabling V1.1 orderer capabilities, ensure that all
99+
# orderers on a channel are at v1.1.0 or later.
96100
V1_1: true
97101

98-
# Application capabilities apply only to the peer network, and may be
99-
# safely manipulated without concern for upgrading orderers. Set the value
100-
# of the capability to true to require it.
102+
# Application capabilities apply only to the peer network, and may be safely
103+
# used with prior release orderers.
104+
# Set the value of the capability to true to require it.
101105
Application: &ApplicationCapabilities
102-
# V1.2 for Application enables the new non-backwards compatible
106+
# V1.3 for Application enables the new non-backwards compatible
103107
# features and fixes of fabric v1.3.
104108
V1_3: true
105109
# V1.2 for Application enables the new non-backwards compatible
106-
# features and fixes of fabric v1.2, it implies V1_1.
110+
# features and fixes of fabric v1.2 (note, this need not be set if
111+
# later version capabilities are set)
107112
V1_2: false
108113
# V1.1 for Application enables the new non-backwards compatible
109114
# features and fixes of fabric v1.1 (note, this need not be set if
110-
# V1_2 is set).
115+
# later version capabilities are set).
111116
V1_1: false
112117

113118
################################################################################

0 commit comments

Comments
 (0)