Questions tagged [togglz]

Togglz is an implementation of the Feature Toggles pattern for Java.

Togglz is an implementation of the Feature Toggles pattern for Java.

Feature Toggles are a very common agile development practices in the context of continuous deployment and delivery.

The basic idea is to associate a toggle with each new feature you are working on. This allows you to enable or disable these features at application runtime, even for individual users.

68 questions
1
vote
2 answers

Spring Boot Togglz - no qualifying bean of type UserProvider error

I'm trying to add togglz to my sprint boot application, however on start up I get the following error: 2016-12-21 12:41:34.482 ERROR 43583 --- [ost-startStop-1] o.s.b.c.embedded.tomcat.TomcatStarter : Error starting Tomcat context:…
Dean Roulston
  • 79
  • 1
  • 2
  • 5
1
vote
1 answer

Togglz feature state change notification

I have two application - api and dashboard. Both of these applications use the same Features from the same database. Togglz console is only active in dashboard application. The issue is that when I change the state of the feature in my dashboard…
alexanoid
  • 24,051
  • 54
  • 210
  • 410
1
vote
0 answers

Togglz not working: infinite loop on start

This is the exception I see every time I run my app. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.jar:] at…
1
vote
1 answer

How do I disable the enabled feature when I enable a new feature in togglz?

Say I have features A, B, C, and A is enabled by default. B and C disabled. When I enable B I want to disable A: only one feature should be enabled at a time.
Moon
  • 13
  • 4
1
vote
1 answer

Togglz is throwing an IllegalStateException error

I keep on receiving a IllegalStateException: Could not find the FeatureManager when installing togglz in a web app on maven. I've followed the instuctions exactly. In my maven application, I have the following settings in my pom.xml…
anastasiya
  • 11
  • 1
  • 4
1
vote
2 answers

How to use a library with its own filter and non-controller servlet in a Grails app?

I think the short, general form of my question might be the best: How do I get Grails/Spring to "see" dependency library components, including filters and servlets that are not Grails controllers? Here are the specifics: I'd like to use the Togglz…
Lance Zant
  • 11
  • 1
0
votes
0 answers

Togglz not getting started with SpringBoot 3.x

java.lang.ClassCastException: class org.togglz.servlet.TogglzFilter cannot be cast to class javax.servlet.Filter (org.togglz.servlet.TogglzFilter is in unnamed module of loader org.apache.catalina.loader.ParallelWebappClassLoader @3feb2e2b;…
maruti
  • 1
0
votes
1 answer

Is there any way to customized or extend Admin Console UI

please let me know if anyone knows above query. I want add extra tags into index.html file for console UI Page. I have done lot of R&D, but couldn't find solution.
0
votes
1 answer

Spring boot auto configuration with @ConditionOnBean(DataSource.class) not working as expected

I'm trying to make a very simple autoconfiguration for a usage of Togglz state repository for a database. I want to have a JDBCStateRepository when there a DataSource bean available and keep the default one when running test excluding database or…
0
votes
0 answers

Could not find FeatureManager when running test on REST API

I get this error when trying to run a test: java.lang.IllegalStateException: Could not find the FeatureManager. For web applications please verify that the TogglzFilter starts up correctly. In other deployment scenarios you will typically have to…
runnerpaul
  • 5,942
  • 8
  • 49
  • 118
0
votes
0 answers

Manager throws NullPointerException when using Togglz in Spring Boot application

I'm trying to use Togglz with Spring Boot 2.7.8. I created this test application to get it up and running: @SpringBootApplication public class Testproject2Application { @Autowired private static FeatureManager manager; public static…
runnerpaul
  • 5,942
  • 8
  • 49
  • 118
0
votes
1 answer

Resolve ServiceConfigurationError when adding Togglz to Spring Boot application

I'm trying to implement Togglz in my Spring Boot application. I followed the Quick Start steps but when I run my application I get this exception: Exception in thread "main" java.util.ServiceConfigurationError: org.togglz.core.spi.BeanFinder:…
runnerpaul
  • 5,942
  • 8
  • 49
  • 118
0
votes
1 answer

Togglz support with Spring boot 3

I am adding Togglz to my existing spring boot 3 application. I can not read the state of the enum constants from application.yml or any other property files. Only way state can be changed is by annotating @EnableByDefault. I followed the link…
Naresh Kavala
  • 183
  • 1
  • 6
  • 17
0
votes
0 answers

togglz support spring web-flux?

Is togglz (https://www.togglz.org/documentation/activation-strategies.html) support spring web-flux ( spring-boot-starter-parent - 2.7.5) ? I could not find any example
Tamil
  • 1
  • 2
0
votes
1 answer

Is there a way to read the value of a feature toggle from an external microservice?

Currently, we have Togglz set up with our app A. I'm trying to read whether or not a certain feature toggle is enabled from microservice B (in order to allow/disallow traffic from A to access B). App A points to this endpoint to gather all feature…
christopherhlee
  • 89
  • 2
  • 4
  • 13