Package io.getunleash.repository
Interface ToggleBootstrapProvider
-
- All Known Implementing Classes:
ToggleBootstrapFileProvider
public interface ToggleBootstrapProvider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Stringread()Should return JSON string parsable to /api/client/features format Look in src/test/resources/features-v1.json or src/test/resources/unleash-repo-v1.json for example Example inToggleBootstrapFileProvider
-
-
-
Method Detail
-
read
String read()
Should return JSON string parsable to /api/client/features format Look in src/test/resources/features-v1.json or src/test/resources/unleash-repo-v1.json for example Example inToggleBootstrapFileProvider- Returns:
- JSON string that can be sent to
ToggleBootstrapHandler.parse(String)
-
-