Skip to content

ff4j/ff4j-spring-boot-starter-parent

Repository files navigation

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

Feature Flipping For Java Spring boot

This project aims in providing bootable starters with RESTful apis for FF4J. We provide 2 starters, one for webmvc and another for webflux.

ff4j-spring-boot-starter-webmvc

This starter is aimed to facilitate the use FF4J with spring boot webmvc. It provides the following features:

  • Webapi's for FF4J
  • OpenApi documentation for FF4J
  • Web-console for FF4J

You can add the following dependency in your project to use this starter

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

A sample project is located at ff4j-spring-boot-starter-webmvc-sample

ff4j-spring-boot-starter-webflux

Disclaimer: This starter is still in beta. Please use it with caution. Please note this is not fully supported but to lay a foundation for the future.

This starter is aimed to facilitate the use FF4J with spring boot webflux. It provides the following features:

  • Webapi's for FF4J
  • OpenApi documentation for FF4J

You can add the following dependency in your project to use this starter

<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-starter-webflux-sample

About older version(version 1.x)

Please refer branch 1.x for the older version. We will have limited support on 1.x version. We suggest you to move to the latest version.

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)