package Ġtrace . s 2 . cassandra . config Ċ Ċ import Ġorg . springframework . context . annotation . Bean Ċ import Ġorg . springframework . context . annotation . Configuration Ċ import Ġs 2 . autom ate . core . persist . Autom ate Pers ister Ċ import Ġs 2 . spring . autom ate . data . S 2 Spring Data Configurer Adapter Ċ import Ġtrace . s 2 . Trace S 2 Autom ate Executor Ċ import Ġtrace . s 2 . autom ate . S 2 Ċ import Ġtrace . s 2 . autom ate . Trace Id Ċ import Ġtrace . s 2 . autom ate . Trace State Ċ import Ġtrace . s 2 . cassandra . Trace Repository Ċ import Ġtrace . s 2 . entity . Trace Entity Ċ Ċ @ Configuration Ċ class ĠTrace S 2 Spring Data Config ( Ċ ĉ repository : ĠTrace Repository , Ċ ĉ private Ġval Ġtrace S 2 Autom ate Executor : ĠTrace S 2 Autom ate Executor Ċ ): ĠS 2 Spring Data Configurer Adapter < Trace State , ĠTrace Id , ĠTrace Entity , ĠTrace S 2 Autom ate Executor >( repository ) Ġ{ ĊĊ ĉ override Ġfun Ġautomate () Ġ= ĠS 2 . trace Autom ate ĊĊĊ ĉ override Ġfun Ġexecutor (): ĠTrace S 2 Autom ate Executor Ġ= Ġtrace S 2 Autom ate Executor ĊĊ ĉ @ Bean Ċ ĉ override Ġfun Ġaggregate Repository (): ĠAutom ate Pers ister < Trace State , ĠTrace Id , ĠTrace Entity > Ġ{ Ċĉ ĉ return Ġsuper . aggregate Repository () Ċ ĉ } Ċ } Ċ