This is a work-in-progress branch(main). Please refer branch v1 for the current version's documentation
This project aims in providing a bootable starter which provides RESTful apis for FF4J.
Create a bootable jar with
mvn clean install
Add dependency in your project
<dependency>
<groupId>org.ff4j</groupId>
<artifactId>ff4j-spring-boot-starter-webmvc</artifactId>
<version>2.0.0</version>
</dependency>
<dependency>
<groupId>org.ff4j</groupId>
<artifactId>ff4j-spring-boot-starter-webflux</artifactId>
<version>2.0.0</version>
</dependency>
A sample project is located at ff4j-spring-boot-sample
Use mvn spring-boot:run
Once the sample application is booted use the following curl command:
curl -i -H "Accept: application/json" -H "Content-Type: application/json" -X GET http://localhost:8080/ff4j
Have a look at FF4JConfiguration
FF4J is a proposition of Feature Toggle. Features can be enabled or disabled through configuration at runtime with dedicated consoles, Web API, or monitor features usage. The same web console can also define any Property and change its value at runtime.
More information can be found at ff4j.org or the reference guide. To access a demo please click [here] (http://cannys.com/ff4j-demo)