You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[FAB-3980] Subset of consortium for channel create
Allow for the selection of a subset of the consortium for
channel membership.
Fixed issue with getting latest config update from
channel.
Now allow for selection of timeout for getting
blocks from deliverer stream helper.
Now only Admins are in local MSP adminscert folder.
Now only the signing orgs cert is in local MSP
cacerts folder.
Regenerated common/policies.proto related stubs per
latest change.
Change-Id: I14903de3a2dd27a521bf3fdd8fdb283fa85f5e4c
Signed-off-by: Jeff Garratt <[email protected]>
And the user "dev0Org0" creates a configUpdateEnvelope "createChannelConfigUpdate1Envelope" using configUpdate "createChannelConfigUpdate1"
145
148
146
149
147
150
And the user "dev0Org0" collects signatures for ConfigUpdateEnvelope "createChannelConfigUpdate1Envelope" from developers:
148
-
| Developer | CertAlias |
149
-
| dev0Org0 | dev0Org0App1 |
150
-
| dev0Org1 | dev0Org1App1 |
151
+
| Developer| CertAlias |
152
+
| dev0Org0| consortium1-cert |
153
+
| dev0Org1| consortium1-cert |
151
154
152
-
And the user "dev0Org0" creates a ConfigUpdate Tx "configUpdateTx1" using cert alias "dev0Org0App1" using signed ConfigUpdateEnvelope "createChannelConfigUpdate1Envelope"
155
+
And the user "dev0Org0" creates a ConfigUpdate Tx "configUpdateTx1" using cert alias "consortium1-cert" using signed ConfigUpdateEnvelope "createChannelConfigUpdate1Envelope"
153
156
154
-
And the user "dev0Org0" using cert alias "dev0Org0App1" broadcasts ConfigUpdate Tx "configUpdateTx1" to orderer "<orderer0>" to create channel "com.acme.blockchain.jdoe.Channel1"
157
+
And the user "dev0Org0" using cert alias "consortium1-cert" broadcasts ConfigUpdate Tx "configUpdateTx1" to orderer "<orderer0>" to create channel "com.acme.blockchain.jdoe.Channel1"
155
158
156
159
# Sleep as the local orderer ledger needs to create the block that corresponds to the start number of the seek request
157
160
And I wait "<BroadcastWaitTime>" seconds
158
161
159
-
When user "dev0Org0" using cert alias "dev0Org0App1" connects to deliver function on orderer "<orderer0>"
162
+
When user "dev0Org0" using cert alias "consortium1-cert" connects to deliver function on orderer "<orderer0>"
160
163
And user "dev0Org0" sends deliver a seek request on orderer "<orderer0>" with properties:
161
164
| ChainId | Start | End |
162
165
| com.acme.blockchain.jdoe.Channel1 | 0 | 0 |
@@ -281,9 +284,9 @@ Feature: Bootstrap
281
284
| query | a |
282
285
283
286
# Under the covers, create a deployment spec, etc.
284
-
And user "dev0Org0" using cert alias "dev0Org0App1" creates a proposal "queryProposal1" for channel "com.acme.blockchain.jdoe.Channel1" using chaincode spec "querySpec1"
287
+
And user "dev0Org0" using cert alias "consortium1-cert" creates a proposal "queryProposal1" for channel "com.acme.blockchain.jdoe.Channel1" using chaincode spec "querySpec1"
285
288
286
-
And user "dev0Org0" using cert alias "dev0Org0App1" sends proposal "queryProposal1" to endorsers with timeout of "30" seconds with proposal responses "queryProposal1Responses":
289
+
And user "dev0Org0" using cert alias "consortium1-cert" sends proposal "queryProposal1" to endorsers with timeout of "30" seconds with proposal responses "queryProposal1Responses":
287
290
| Endorser |
288
291
| peer0 |
289
292
| peer2 |
@@ -305,9 +308,9 @@ Feature: Bootstrap
305
308
| invoke | a | b | 10 |
306
309
307
310
# Under the covers, create a deployment spec, etc.
308
-
And user "dev0Org0" using cert alias "dev0Org0App1" creates a proposal "invokeProposal1" for channel "com.acme.blockchain.jdoe.Channel1" using chaincode spec "invocationSpec1"
311
+
And user "dev0Org0" using cert alias "consortium1-cert" creates a proposal "invokeProposal1" for channel "com.acme.blockchain.jdoe.Channel1" using chaincode spec "invocationSpec1"
309
312
310
-
And user "dev0Org0" using cert alias "dev0Org0App1" sends proposal "invokeProposal1" to endorsers with timeout of "30" seconds with proposal responses "invokeProposal1Responses":
313
+
And user "dev0Org0" using cert alias "consortium1-cert" sends proposal "invokeProposal1" to endorsers with timeout of "30" seconds with proposal responses "invokeProposal1Responses":
@given(u'the user "{userName}" creates a peer template "{templateName}" with chaincode deployment policy using consortium "{chainCreatePolicyName}" and peer organizations')
0 commit comments