Questions tagged [togglz]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
29 views

Togglz using FallbackTestFeatureManager in CucumberTest with Spring Boot & Kotlin

we are using Togglz Kotlin in a Spring Boot 2.7.5 Project. We followed the example in Github using a MongoStateRepository and everything works fine. Now for some reason in the Cucumber Test, in the ...
chicarrida's user avatar
0 votes
0 answers
102 views

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....
maruti's user avatar
  • 1
0 votes
1 answer
94 views

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.
kumud garg's user avatar
0 votes
1 answer
446 views

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 ...
Emilien's user avatar
  • 106
1 vote
0 answers
52 views

Using a constraint with a parmeterized constructor in Spring Boot application

I have a Spring Boot application where an interface has a constraint: @Constraint( validatedBy = { MyValidator.class }) public @interface MyInterface { ... } I'm using Togglz to ...
runnerpaul's user avatar
  • 6,136
0 votes
0 answers
262 views

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 ...
runnerpaul's user avatar
  • 6,136
0 votes
0 answers
115 views

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 ...
runnerpaul's user avatar
  • 6,136
0 votes
1 answer
221 views

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....
runnerpaul's user avatar
  • 6,136
1 vote
1 answer
533 views

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 ...
Naresh Kavala's user avatar
1 vote
0 answers
50 views

No logout button on togglz console

The togglz console has no logout button. Is it possible to add one? context: I have an api secured with keycloak, i've added togglz console, which means i had to create a separate securityconfig with ...
Remis07's user avatar
  • 367
1 vote
1 answer
147 views

Togglz with Kotlin: Problem to inject some dependency in my custom ActivationStrategy

I have defined the file that references my custom ActivationStrategy in META-INF/Services/ as explained by the Togglz library for custom strategy (https://www.togglz.org/documentation/activation-...
Nico's user avatar
  • 11
0 votes
1 answer
190 views

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 ...
christopherhlee's user avatar
2 votes
2 answers
1k views

Add "Togglz" feature toggle library to Spring Boot REST API

I'm trying to use the Togglz library which allows you to wrap your application logic and be able to toggle it ON or OFF, with some advanced strategies. I am going through the Spring Boot documentation ...
ennth's user avatar
  • 1,768
0 votes
1 answer
649 views

Cannot show Togglz using a JDBCStateRepository in Spring Boot environment

In a Spring Boot 2.1 environment, I would like to use Togglz that are stored in a JDBCStateRepository. The problem is: The Togglz are not shown in the console. The Togglz are not stored in the ...
tm1701's user avatar
  • 7,319
0 votes
1 answer
803 views

What is the actuator endpoint to which the togglz library exposes the edit options

I have recently being exploring the togglz library for feature management in Spring Boot application. In the documentation here , its mentioned that I can use the actuator endpoint http://localhost:...
Zaid Warsi's user avatar
0 votes
0 answers
67 views

Change access to static web ressources on runtime spring boot

I use Spring Boot and Spring Security in my project to manage the delivery of static web resources. Until now, it was sufficient for my application to identify users via Spring Security and allow them ...
tomson's user avatar
  • 131
1 vote
1 answer
571 views

Sample Togglz implemetation with spring boot kotlin

Can anyone help me with sample example for spring-boot-kotlion with togglz feature.
Santhosh Kumar's user avatar
0 votes
1 answer
645 views

Togglz - Username Activation Strategy Implementation

I am trying to implement UsernameActivation Startegy in Springboot using togglz, but due to insufficient example/documentation on this, I am unable to do so. It is a simple Poc in maven. Here are my ...
Sugandha Mishra's user avatar
0 votes
1 answer
109 views

Togglz: noCommit option in JDBCStateRepository.Builder, what does it do?

Our application currently uses Togglz. I'm migrating from a FileBasedStateRepository to a JDBCStateRepository. I'm using the builder to create the JDBCStateRepository. I'm confused as to what the ...
pez's user avatar
  • 1,034
0 votes
2 answers
287 views

Spring Boot and Togglz: Catching feature activation time and do some action when feature became active

I have feature togglz in my spring boot application. There are some features which are successfully work for the moment. So now I need to do some operation right in the time when one of my feature is ...
Aslan Almaniyazov's user avatar
0 votes
1 answer
1k views

Failed to Autowire Configuration file with FeatureManager in controller

I am trying to implement togglz with my spring boot application. Here my approach towards it is in two ways. Firstly below are the common files for my both usecase approaches.ToggleController.java ...
maneesh's user avatar
  • 226
1 vote
1 answer
338 views

Spring Cloud config with togglz

I've configured an application with togglz, with the application.properties externalized in a Spring Boot Config server. When I update a feature status on application.properties in the server and make ...
renan_melo dell's user avatar
0 votes
1 answer
444 views

Togglz Get Feature Name when status changes(enabled/disabled)

I need to retrieve the togglz feature name for which the status is changed. Is there any way to do that? I'm stuck with this for the past 1 day. Any help is highly appreciated. Please find my sample ...
ninja_warrior1991's user avatar
1 vote
1 answer
737 views

Using togglz to implement feature flags based on environment (dev, qa, prod)

I am implementing feature flags in my spring application and I would like to use togglz. I would like the features to be based on the environment. For example a feature is being worked or tested so I ...
Phil Lachmann's user avatar
1 vote
0 answers
185 views

Enum bases feature toggles are over written by DB?

I have a set of feature toggles configured in an ENUM. If I insert a value into the TOGGLZ table, i can override this flag. How can I block this? Is my config wrong? getFlag(my_fag) == false; ...
ApexOne's user avatar
  • 97
3 votes
1 answer
2k views

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 ...
user3851186's user avatar
1 vote
4 answers
1k views

Togglz returns a 403 on feature toggle

I have implemented togglz into my spring boot application. I can even access the Togglz console, and I have tested the restrictions with the FeatureManager. However, if I go to the togglz console and ...
eancu's user avatar
  • 53
0 votes
1 answer
923 views

Togglz don't pick up Spring-Boot configuration from application.yml

I tried to follow the Togglz guide for Spring Boot, so added all necessary dependencies, created a feature enum: public enum RetrospectiveBoardFeatures implements Feature { @Label("Name by ...
MarZa's user avatar
  • 3
1 vote
0 answers
451 views

Togglz application context listener warning

I've implemented a basic togglz setup using Spring Boot starter. I'm getting the following at startup: WARN o.t.s.l.TogglzApplicationContextBinderApplicationListener - ApplicationContext already ...
orbfish's user avatar
  • 7,441
3 votes
1 answer
1k views

Togglz + SpringBoot: features always disabled

I'm trying to integrate Togglz in a Spring Boot web application. Since I didn't succeed with Togglz autoconfiguration (no FeatureManager bean was created and, consequently, the ApplicationContext was ...
baronKarza's user avatar
1 vote
0 answers
381 views

Togglz changes FEATURE_ENABLED column in database

I am using JDBCStateRepository with oracle database. During application startup, togglz disables all features (changes all FEATURE_ENABLED to 0 in database) for all features that don't have @...
prabesh dahal's user avatar
0 votes
1 answer
2k views

Togglz Admin Console and Spring Boot 2

I'm trying to enable Togglz Console in my Spring Boot 2.0.0.M6 application. I added the following Maven dependency: <!-- Togglz Admin Console --> <dependency> <groupId>org....
alexanoid's user avatar
  • 24.5k
0 votes
1 answer
752 views

When my Spring app runs, it isn't using my TogglzConfig file

I have a large Spring application that is set up without XML using only annotations. I have made some changes to this application and have a separate project with what should be almost all the same ...
user2271605's user avatar
0 votes
1 answer
1k views

Togglez feature activation based on input parameters from call

All the ActivationStrategy of togglez uses input from HttpRequest or from other context. However, If I am using togglez for stand alone java application is there any way to pass parameters into ...
Nitul's user avatar
  • 1,005
1 vote
1 answer
325 views

How would one use a feature toggle within the app config bean creation using Togglz Spring Autoconfiguration?

Example of using the feature toggle to create a bean within the app configuration: @RefreshScope @Configuration @Order(1) class AppConfig { @Bean @Autowired public FeatureProvider ...
RCR's user avatar
  • 11
2 votes
1 answer
215 views

Add servlet in a clojure ring project

I am integrating Togglz library into a Clojure Ring project to support feature toggles and would like to activate the Togglz admin console. According to the Togglz documentation it is necessary to add ...
alexandra.s's user avatar
2 votes
0 answers
329 views

Togglz Yml/Yaml Configuration for My SpringBoot Not working

Trying to create Feature Toggles using Togglz. Made below configurations/code in my Application, bootstrap.yml: togglz: enabled: true features: FEATURE_ONE: true Feature ...
RajeysGS's user avatar
0 votes
1 answer
1k views

Error Deploying Togglz Spring Boot on tomcat

I am trying to run a Togglz Spring Boot app on a tomcat container and i see the follwing error. Specifically this error java.lang.ClassNotFoundException:org.togglz.spring.listener....
Rohit's user avatar
  • 53
0 votes
1 answer
1k views

Togglz JDBCStateRepository automatically creating malformed tables in DB2

I am configuring a togglz JDBCStateRepository for the first time in our company. On the first project I converted from InMemoryStateRepository to JDBCStateRepository the project mix was: spring boot ...
Russ's user avatar
  • 1,996
0 votes
1 answer
362 views

togglz annotation based approach for feature validation

I have been using the togglz since last few days. I am trying to find out if there is annotation based approach available in togglez API. I want to do it like below - public class Application { ...
Ashish Shetkar's user avatar
0 votes
1 answer
167 views

togglz-console included in Java EE7 application running on Weblogic 12.2.1.0

I'm trying to get the togglz-console up and running in our Java EE7 Application running on Weblogic 12.2.1.0. In order to use the console I added the dependency as stated on the togglz webpage, no ...
phivo's user avatar
  • 183
1 vote
1 answer
3k views

Togglz Spring Boot - No Feature Manager provided

I have tried to integrate togglz into my Spring Boot app, however it looks as though Auto Configuration has difficulty providing a FeatureManager. The following is my stack trace: 2017-02-23 16:04:...
deanmau5's user avatar
  • 861
3 votes
1 answer
852 views

is it possible to use togglz in non web application

I am trying to find if it is possible to use togglz in non web application - like we have plain java project or java batch programs. I tried adding the togglz library in the stand alone application ...
Ashish Shetkar's user avatar
1 vote
1 answer
543 views

Control Togglz from a single place

We are currently attempting to implement the Togglz library in Spring-MVC. We currently manage the toggles in our code from our MyFeatures.java file in the following way: import org.togglz.core....
Joe's user avatar
  • 690
0 votes
2 answers
604 views

Togglz Feature Switch - How to implement ActivationStategy for multiple Id's/parms that have same logic(same logic in strategy for combinations)

Here is my quesion, I have a feature switch with a custom strategy named "UserActivationStrategy". All it does is, it has a hard coded value as 'user' in Id field and a 'IpAddress' as param and some ...
karthik's user avatar
  • 783
6 votes
2 answers
5k views

Togglz: java.lang.IllegalStateException: Could not find the FeatureManager

I am getting below exception when integrating Togglz with my Spring MVC app. exception java.lang.IllegalStateException: Could not find the FeatureManager. For web applications please verify that the ...
user2112430's user avatar
1 vote
2 answers
4k views

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 ...
Dean Roulston's user avatar
4 votes
1 answer
1k views

Expose Togglz Admin console in Spring Boot on management-port

By default Togglz admin console runs on application port (configured by server.port property). I want to expose it on management.port. My question: is it possible?
Jakub Kubrynski's user avatar
5 votes
2 answers
2k views

Togglz console error 403 Spring Boot

I'm trying to run Togglz Console on Spring Boot, but I get this on screen: (type=Forbidden, status=403). You are not allowed to access the Togglz Console. I just noticed many people have the same ...
Aziz's user avatar
  • 951
7 votes
3 answers
7k views

Unit test for togglz feature on and off

We are using Togglz to turn functionalities on and off in our project. The following TogglzFeature Enum is implementing org.togglz.core.Feature interface public enum TogglzFeature implements Feature {...
dunfa's user avatar
  • 539