mattdean1 / blockchain-supply-chain

⛓ Supply Chain on Hyperledger Fabric
141 stars 50 forks source link

can't start network with composer 0.19.12 #5

Closed harry-chin closed 6 years ago

harry-chin commented 6 years ago

I have changed deployNetwork.sh as follows for changed command set. But, it stuck at "⠇ Starting business network definition. This may take a minute..."

Can you try this?

# Install composer runtime onto peers
composer network install -c PeerAdmin@biswas-grower -a biswas.bna
composer network install -c PeerAdmin@biswas-producer -a biswas.bna
composer network install -c PeerAdmin@biswas-filler -a biswas.bna
composer network install -c PeerAdmin@biswas-distributor -a biswas.bna
composer network install -c PeerAdmin@biswas-retailer -a biswas.bna

# Install the business network and start it
composer network start\
 -c PeerAdmin@biswas-grower\
 -n biswas \
 -V 0.0.2 \
 -o endorsementPolicyFile=composer/endorsement-policy.json\
 \
 -A grower-network-admin\
 -C fabric/id-cards/grower-network-admin/admin-pub.pem\
 \
 -A producer-network-admin\
 -C fabric/id-cards/producer-network-admin/admin-pub.pem\
 \
 -A filler-network-admin\
 -C fabric/id-cards/filler-network-admin/admin-pub.pem\
 \
 -A distributor-network-admin\
 -C fabric/id-cards/distributor-network-admin/admin-pub.pem\
 \
 -A retailer-network-admin\
 -C fabric/id-cards/retailer-network-admin/admin-pub.pem\
harry-chin commented 6 years ago

Sorry, it works with same command as follows. Just I had to wait more time :)

✔ Starting business network definition. This may take a minute...
Successfully created business network cards:
    Filename: grower-network-admin@biswas.card
    Filename: producer-network-admin@biswas.card
    Filename: filler-network-admin@biswas.card
    Filename: distributor-network-admin@biswas.card
    Filename: retailer-network-admin@biswas.card

Command succeeded

The connection to the network was successfully tested: biswas
    Business network version: 0.0.2
    Composer runtime version: 0.19.12
    participant: org.hyperledger.composer.system.NetworkAdmin#grower-network-admin
    identity: org.hyperledger.composer.system.Identity#88ba2d897062169c17565a58bc3ca2eeeb7cfe91e9dcf2fb0661ce7a29fa380d

Command succeeded

The connection to the network was successfully tested: biswas
    Business network version: 0.0.2
    Composer runtime version: 0.19.12
    participant: org.hyperledger.composer.system.NetworkAdmin#producer-network-admin
    identity: org.hyperledger.composer.system.Identity#531c82dbc33f7a1197e86ddecc218c1d6365f47bbc729597e2f1700ccf1d07f5

Command succeeded

The connection to the network was successfully tested: biswas
    Business network version: 0.0.2
    Composer runtime version: 0.19.12
    participant: org.hyperledger.composer.system.NetworkAdmin#filler-network-admin
    identity: org.hyperledger.composer.system.Identity#307e390a5828ce2c85f920f7cdd30c39f9bde1efbf165dcdc88d0a62c657278e

Command succeeded

The connection to the network was successfully tested: biswas
    Business network version: 0.0.2
    Composer runtime version: 0.19.12
    participant: org.hyperledger.composer.system.NetworkAdmin#distributor-network-admin
    identity: org.hyperledger.composer.system.Identity#f9498a076d3c0dce27fb4edc3ee3428322f8c028ab88707a1d622c55074c8a04

Command succeeded

The connection to the network was successfully tested: biswas
    Business network version: 0.0.2
    Composer runtime version: 0.19.12
    participant: org.hyperledger.composer.system.NetworkAdmin#retailer-network-admin
    identity: org.hyperledger.composer.system.Identity#c2c6572e36dd112e556143203f20b23d7911221eb5873b54ebd9f7b5c2f68d45

Command succeeded