/ff4j-spring-boot-starter-parent

A spring boot starter for FF4J (Feature Flipping For Java)

Primary LanguageKotlinApache License 2.0Apache-2.0

📣

This is a work-in-progress branch(main). Please refer branch v1 for the current version's documentation

Feature Flipping For Java Spring boot

Spring boot starter for FF4J (Feature Flipping for Java)

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

Swagger 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

webmvc

<dependency>
  <groupId>org.ff4j</groupId>
  <artifactId>ff4j-spring-boot-starter-webmvc</artifactId>
  <version>2.0.0</version>
</dependency>

webflux

<dependency>
  <groupId>org.ff4j</groupId>
  <artifactId>ff4j-spring-boot-starter-webflux</artifactId>
  <version>2.0.0</version>
</dependency>

Sample

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

What is FF4J ?

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)