GSMA-CPAS / BWRP

Blockchain Wholesale Roaming Project
Apache License 2.0
2 stars 0 forks source link

Deployment of chaincode in AS with HLF2 without using docker in docker. #47

Closed ignatov17 closed 3 years ago

ignatov17 commented 3 years ago

How to implement Hyperledger Fabric External Chaincodes with HLF2, stop using docker in docker (dind) for chaincode container.

ignatov17 commented 3 years ago

Explore possibilities to deploy chaincode as external service.

ignatov17 commented 3 years ago

deployed on test AS network as.nodenect.com with organisations: https://dtag.as.nodenect.com https://dtst.as.nodenect.com

ignatov17 commented 3 years ago

Integrated external chaincode service in hybrid_v0.4 branch of BWRP, commit "7a5aef0".

Structure: ... ── template │ ├── kubernetes │ │ ├── chaincode-pod.yaml │ │ ├── chaincode-svc.yaml │ │ └── hyperledger-pod.yaml │ ├── chaincode │ │ ├── connection.json │ │ └── metadata.json ── scripts │ ├── builders/bin/build │ ├── builders/bin/detect │ ├── builders/bin/release │ ├── deploy_peer.sh │ └── deploy_chaincodes_external.sh ── config │ ├── core.yaml ── README.md ── setup.cfg

ignatov17 commented 3 years ago

Fixing TLS certs issuing and external builders support for TLS certs implementation, commit #847ba5e in hybrid_v0.4 branch.

Structure of external chaincode deployment: ... ── template │ ├── kubernetes │ │ ├── chaincode-pod.yaml │ │ ├── chaincode-svc.yaml │ │ └── hyperledger-pod.yaml │ ├── chaincode │ │ ├── connection.json │ │ └── metadata.json ── scripts │ ├── builders/bin/build │ ├── builders/bin/detect │ ├── builders/bin/release │ ├── deploy_peer.sh │ ├── generate_crypto_cc.sh │ └── deploy_chaincodes_external.sh ── config │ ├── core.yaml ── README.md ── setup.cfg