Open stephane-mery opened 7 years ago
we need to write a client JS app that would be called when initializing the peer (may be in the startup phase of the odm-runtime container) which would use Composer CLI to read the registry and initialize the RES from information available in the registry, if any.
Using getAssetRegistry on the BusinessNetworkConnection object in CLI
Current version of the code sample assume all peers are running when deploying a given version of the rules. There is nothing that initializes the odm-runtime with latest version of the XOM and latest version of the rules. That's a missing feature.
The information is available in the World State, so we could do it, has to be done