This sample app ilustrates the use of feature-toggle-client in a Spring web application to consume rules stored in the feature-toggle-server
- Add dependency in build.gradle.kts
- Set feature toggle server url in application.properties
- Add the client package to ComponentScan
- Inject FeatureToggleClient in the class like I did in controller class