Implementing Version Consistency Management in Apache Tuscany for Composite Components
This article explores the implementation of Version Consistency (VC) management in Apache Tuscany, an open-source framework for Service Component Architecture (SCA). It discusses the construction of composite components and their communication through service and reference endpoints. The integration of interceptors is highlighted, emphasizing their independence from specific implementations. Additionally, the article details the design of a VC-container that manages version consistency, demonstrates the functionality of trace interceptors, and outlines the VC algorithm for effective data handling within a Tuscany runtime environment.
Implementing Version Consistency Management in Apache Tuscany for Composite Components
E N D
Presentation Transcript
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