Configure Spring

Base Configuration

First configure according to Maven Configuration

Add dependency for Casquatch-Driver-Spring

<dependency>
    <groupId>com.tmobile.opensource.casquatch</groupId>
    <artifactId>casquatch-driver-spring</artifactId>
    <version>${casquatch.version}</version>
</dependency>

Add Annotation

Find @SpringBootApplication and add this line:

@CasquatchSpring

Use Autowired CasquatchDao bean where needed

@Autowired
private CasquatchDao db;
Copyright 2018 T-Mobile US, Inc.
Code For Demonstration Purposes Only