ManifestAssembly

The one assembly of a service's Manifest from its modules' fragments, the build's (mergeManifest) and the node's at startup alike, so the Manifest a service serves is the one its build wrote: the fragments merged (ManifestMerger), naming the service, then a subscription of another context's events by type given the aggregates the peer contracts list them under (PeerSources).

Functions

Link copied to clipboard
fun assemble(fragments: List<ManifestFragment>, service: ServiceInfo, contracts: List<Manifest>): Manifest

The Manifest of service, assembled from fragments with the peer contracts.