Open nkaramolegos opened 2 years ago
Hello, thanks for using Fablo! :)
- Can I use fablo for deploying a network in Kubernetes?
Not yet, we're slowly getting there. You can monitor this issue to be updated.
- Can I use fablo to manage the network. By managing I mean enroll/register users, create channels, deploying chaincodes, query the ledger using the REST API?
Partially yes. For now you can:
"tools": { "fabloRest": true }
to organisation you want to expose and integrated fablo-rest will be started. here you can find sample config in yaml (but the section will be the same for json format as well.)fablo-config.json
and then type fablo recreate
to change number of peers, orderers, channels, etc. It will be done in non-rest way.
(But bare in mind that it will recreate your network and doesn't preserve previous state.)
- How can I deploy a gateway client application (or this which use REST) to query the ledger?
You can do it with already mentioned fablo rest. On project's repo you have some guidelines and here you've got some sample code.
If something more is unclear don't hesitate to ask:)
Thank you for your answer. It seems that Fablo supports a lot of operations. The only problem is that in order to add a new channel (where the existing orgs will join) you have to recreate the entire network without keeping the state. This is a problem for my use case scenario.
yeah, unfortunately we're not supporting this kind of operation in fablo-rest yet.
Another tip might be: Starting your initial network with fablo and then spinning by yourself mircofab which provides advanced restful api, there's a good chance that it also supports adding new channel.
But we haven't investigated this integration.
Hello, I would like to ask: 1) Can I use fablo for deploying a network in Kubernetes? 2) Can I use fablo to manage the network. By managing I mean enroll/register users, create channels, deploying chaincodes, query the ledger using the REST API? 3) How can I deploy a gateway client application (or this which use REST) to query the ledger?