Questions tagged [ff4j]

A library for Java that implements the Feature Toggle pattern. FF4J, stands for Feature Flipping for Java.

FF4j is an implementation of Feature Toggle pattern : Enable and disable features or your applications at runtime thanks to a dedicated web console, REST API, JMX or even CLI.

It also handles properties and provides generic interfaces to work with configuration properties, store them in 10 different databases and integrates with both Archaius and Commons-Configuration.

More information can be found at ff4j.org or Reference Documentation in the wiki.

28 questions
6
votes
1 answer

Annotations for feature flipping REST end points

I have spring controller with several (REST) endpoints. I want to bring up multiple instances of this controller where each instance would have few endpoints selectively enabled/disabled. Based on my reading so far, togglz provides feature…
mobileDev
  • 1,358
  • 2
  • 14
  • 34
3
votes
1 answer

Performance comparaison betwen ff4j and togglz

We're working on a project , and we want to use some toggling feature tool like ff4j or togglz but we have a real constraints about performances, i mean we really need a tool with the less time of execution , i've checked a little bit ff4j and…
2
votes
1 answer

How to create feature toggling when spring security is enabled on ff4j?

I did the following steps and I don't understand why I did not succeed on the last one : clone this repository start spring boot app browse to http://localhost:5002/ff4j-web-console/features login with user/user (also tried admin/admin and…
louis amoros
  • 2,418
  • 3
  • 19
  • 40
2
votes
1 answer

How to setup a FF4j RegionFlippingStrategy based on RestController path parameters?

I've just started using FF4j to switch between 2 different API implementations depending on which market the user is on (market = brand/country pair). Here is the code snippet : @RestController @RequestMapping("/{brand}/{country}") public class…
louis amoros
  • 2,418
  • 3
  • 19
  • 40
2
votes
1 answer

How to load resource from an absolute path?

I am using ff4j like this: FF4J ff4j = new FF4J("config.xml"); Internally, FF4J calls getClass().getClassLoader().getResourceAsStream("config.xml"). I want to be able to choose the config.xml location at deployment time (for example, /etc for…
RonW
  • 41
  • 3
2
votes
1 answer

FF4J: REST endpoint as a feature store

I am currently looking at implementing feature toggles using ff4j for our application. We want to have a remote central config app which will hold all the features in it and the applications will talk to this central config app via REST to get the…
Anoop
  • 813
  • 2
  • 10
  • 24
1
vote
1 answer

Remove resources automatically added by FF4J

recently i have added FF4j dependency on my application, after that new resource end points have appeared in my swagger ui, is there any way to disable these end points? the dependency add was org.ff4j
Deb Das
  • 264
  • 1
  • 7
1
vote
1 answer

FF4j + MS SQL : Getting "operand type clash datetime2 is incompatible with timestamp" Exception

My Project Structure: Spring Boot + DB : MS SQL + FF4j (FeatureStoreSpringJdbc) Created the table schema as below url https://github.com/ff4j/ff4j/blob/master/ff4j-core/src/main/resources/schema-ddl.sql Getting "operand type clash datetime2 is…
softmage99
  • 797
  • 1
  • 8
  • 15
1
vote
1 answer

FF4j Web console is not displayed properly

I am new to FF4J and started with hello world application. I wrote a sample spring boot project and added dependency for ff4j-spring-boot-starter and ff4j-web modules in my pom.xml. However, when I run the application, the FF4J web console is…
Pavan Kumar K
  • 1,360
  • 9
  • 11
1
vote
1 answer

FF4J: FeatureStoreHttp throws NoClassDefFoundError : javax/ws/rs/client/RxInvokerProvider

I have created a feature flag micro-service which holds all the features ( and is connected to oracle db) and I want other applications/micro-services to talk to this feature flag app via Rest API as I don't want them to directly connect to DB. Here…
Akhila
  • 41
  • 4
1
vote
1 answer

Error with FF4J configuration in spring boot project

I am trying to use FF4J in my project, and i have added following dependencies to my build.gradle file. org.ff4j:ff4j-spring-boot-starter:1.8.7, org.ff4j:ff4j-web:1.8.7 I am observing below error during server startup after adding these…
Pavan Kumar K
  • 1,360
  • 9
  • 11
1
vote
1 answer

FF4J - Spring Boot - Custom Authorization Manager

I am trying to create a standalone feature flag server (centrally managed feature flag micro-service) backed by spring boot starters provided by FF4J. I was able to get it up and running with the web-console and REST API as well. I am now trying to…
Sayantan
  • 564
  • 2
  • 7
  • 23
1
vote
0 answers

FF4J usage from play framework

I am trying to use FF4J from project developed with Play Framework. When I am trying to use my own strategy (extending AbstractFlipStrategy) it fails with java.lang.ClassNotFoundException. The exception is in line flipStrategy =…
YuriR
  • 1,251
  • 3
  • 14
  • 26
1
vote
1 answer

Spring boot FF4j ff4j-spring-boot-starter excluding swagger doc

I need in my spring boot application FF4j. I try org.ff4j ff4j-spring-boot-starter 1.8 and in this case my application is broken because of swagger. can…
Sergii
  • 7,044
  • 14
  • 58
  • 116
1
vote
0 answers

FF4J with Spring Boot in IBM WebSphere 8.5.11 server giving Error 500( SESN0008E) while accessing static resources(css,img)

I am using FF4J-Web as a maven jar dependency in my Spring Boot application. I am able to run the application in local environment without any issues( embedded tomcat and IBM Liberty Servers). However I am facing some issues in rendering view…
1
2