100 likes | 225 Views
Version consistency implementation. Contents. Apache Tuscany. Tuscany is an open source implementation of SCA (Service Component Architecture) Provide a model for creating composite component. An Example. Example. Runtime tuscany component. Runtime Proc component
E N D
Apache Tuscany • Tuscany is an open source implementation of SCA (Service Component Architecture) • Provide a model for creating composite component
An Example • Example
Runtime tuscany component • Runtime Proc component • Tuscany components communicate via endpoint • service endpoint: the service a components expose • reference endpoint • Interceptor is independent of implementation • transaction, …
Apache Tuscany • A composite component is running on Tuscany runtime
Version Consistency Management • We define a VC-container to manage version consistency
VC Container • Define a trace interceptor • Trace reference interceptor • Add root transaction id to the message that is passing through it • Trace service interceptor • Resolve the message passing through it, get the root transaction id
VC Container • Data model • VC algorithm logic
VC Container • A complete VC-container