Spring boot starter for FF4J (Feature Flipping for Java)

Build Status Codacy Badge Coverage Status License Apache2 Join the chat at https://gitter.im/paul58914080/ff4j-spring-boot-starter-parent

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</artifactId>
    <version>1.5</version>
</dependency>

All you would have to do in your configuration is to enable ff4j with @EnableFF4J

Sample

A sample project can be found 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

What is FF4J ?

FF4J is a proposition of Feature Toggle. You can enable and disable features through configuration at runtime with dedicated consoles or Web API but also monitor features usage. You can also define any Property and change its value at runtime with the exact same web console.

More information at ff4j.org or reference guide. To access a demo please click here

ff4j-console
ff4j-stack