File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 146146 }
147147 },
148148 {
149- "label" : " list - channels" ,
149+ "label" : " list - channels - peer" ,
150+ "type" : " shell" ,
151+ "command" : " ./lib/btp-chaincode-lifecycle/chaincode.sh channels ${input:select-peer}" ,
152+ "options" : {
153+ "env" : {
154+ "BTP_SERVICE_TOKEN" : " ${input:enter-access-token}"
155+ }
156+ }
157+ },
158+ {
159+ "label" : " list - channels - orderer" ,
150160 "type" : " shell" ,
151161 "command" : " ./lib/btp-chaincode-lifecycle/chaincode.sh channels ${input:select-orderer}" ,
152162 "options" : {
214224 "inputs" : [
215225 {
216226 "id" : " enter-access-token" ,
217- "description" : " Enter your access token (application access token scoped atleast to a peer and orderer node, or a personal access token )" ,
227+ "description" : " Enter your access token (scoped to the service you want to use )" ,
218228 "type" : " promptString" ,
219229 "password" : true
220230 },
221231 {
222232 "id" : " select-peer" ,
223- "description" : " Which peer do you want to use?" ,
233+ "description" : " Which peer do you want to use? (unique name for your peer) " ,
224234 "type" : " promptString"
225235 },
226236 {
227237 "id" : " select-orderer" ,
228- "description" : " Which orderer do you want to use?" ,
238+ "description" : " Which orderer do you want to use? (unique name for your orderer) " ,
229239 "type" : " promptString"
230240 },
231241 {
You can’t perform that action at this time.
0 commit comments