question

swapnilgalgali-4674 avatar image
0 Votes"
swapnilgalgali-4674 asked AluruJawahar-0988 answered

Hyperledger Fabric On AKS

Hi ,

We have deployed Hyperledger Fabric consortium on Azure Kubernetes Service using steps mentioned in below link:
https://docs.microsoft.com/en-au/azure/blockchain/templates/hyperledger-fabric-consortium-azure-kubernetes-service

This is working fine. Next step for us is to call this from external application.

Would like to understand on how we can call this from external application? Is there any documentation available for exposing and accessing API from external application,what is the authentication required?

We would first like to test calling it in Postman and then would like to use it in our external application.



Thanks,
Swapnil

azure-kubernetes-serviceazure-blockchain-service
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

SathyanarayananSaravanamuthu-8093 avatar image
1 Vote"
SathyanarayananSaravanamuthu-8093 answered

To call Hyperledger, the hyperledger SDKs should be used. For example, the node SDK can be referred at https://hyperledger.github.io/fabric-sdk-node/.

Hyperledger does not provide REST based APIs for the external applications to interact. The external interfaces work with the GRPC protocol and SDKs are the best way to interact with the hyperledger.

The azhlf tool referred in the documentation internally uses the Hyperledger Node SDK. The source code is available here. This can be used as a reference to develop your application.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

ShaliniAgrawal-0594 avatar image
0 Votes"
ShaliniAgrawal-0594 answered

Looking forward for response on this as we are also facing the same issue.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AluruJawahar-0988 avatar image
0 Votes"
AluruJawahar-0988 answered

Hi,

You can use the connection profile created after you create HLF network. Your can export it to your local and use for connecting APIs. If you have set GUI your can use Azure app service extension in Visual studio Code editor and deploy web app on to your HLF (Hyperledger Fabric) network.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.