Questions tagged [togglz]
Togglz is an implementation of the Feature Toggles pattern for Java.
59
questions
1
vote
0
answers
16
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-...
0
votes
1
answer
74
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 ...
0
votes
0
answers
217
views
unable to login togglz admin console
I am learning togglz. my simple program is working fine, I am trying to add in-memory spring security username and password, but I am not able to log in to the admin console.
package com.example....
1
vote
2
answers
393
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 ...
0
votes
1
answer
159
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 ...
0
votes
1
answer
269
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:...
0
votes
0
answers
49
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 ...
1
vote
1
answer
247
views
Sample Togglz implemetation with spring boot kotlin
Can anyone help me with sample example for spring-boot-kotlion with togglz feature.
0
votes
1
answer
332
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 ...
0
votes
1
answer
68
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 ...
0
votes
2
answers
182
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 ...
0
votes
1
answer
569
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
...
1
vote
1
answer
243
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 ...
0
votes
1
answer
199
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 ...
1
vote
1
answer
411
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 ...
1
vote
0
answers
99
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;
...
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 ...
1
vote
4
answers
892
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 ...
0
votes
1
answer
710
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 ...
1
vote
0
answers
282
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 ...
3
votes
0
answers
749
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 ...
1
vote
0
answers
234
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 @...
0
votes
1
answer
1k
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....
0
votes
1
answer
523
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 ...
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 ...
1
vote
1
answer
217
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 ...
2
votes
1
answer
168
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 ...
1
vote
0
answers
260
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 ...
0
votes
1
answer
807
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....
0
votes
1
answer
978
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 ...
0
votes
1
answer
325
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 {
...
0
votes
1
answer
141
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 ...
1
vote
1
answer
2k
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:...
3
votes
1
answer
677
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 ...
1
vote
1
answer
343
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....
0
votes
2
answers
475
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 ...
4
votes
2
answers
4k
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 ...
1
vote
2
answers
2k
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 ...
4
votes
1
answer
865
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?
3
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 ...
5
votes
3
answers
5k
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 {...
0
votes
0
answers
827
views
Enable/Disable spring application modules at runtime
I'm finding way how to enable/disable modules at runtime. I found togglz framework so I just want to ask if I can achieve what I want with it or with any other tool.
let's say I have following maven ...
2
votes
1
answer
2k
views
Provider org.togglz.slf4j.Slf4jLogProvider not a subtype
I have a library, built with Maven, that uses Spring 4.0.3.RELEASE and Togglz 2.2.0.Final. I'm trying to write a JUnit 4.11 test of my Spring class and running into the following error on the first ...
0
votes
1
answer
1k
views
How to check active and inactive status of a togglz in a jsp?
I want to check active and inactive status of a toggle in a jsp.
4
votes
2
answers
4k
views
How to enable togglz-console in spring-boot application
My spring-boot+jersey application has integrated togglz. I added below dependencies as below.
// togglz
compile('org.togglz:togglz-servlet:'+togglzVersion)
compile('org.togglz:togglz-cdi:'+...
0
votes
1
answer
554
views
How to find the togglz url when integrating with spring-boot and jersey
My application based on spring-boot and jersey. I have configured togglz in my application. I can successfully launch my web application but running gradle bootRun. From the output during the startup, ...
-2
votes
1
answer
1k
views
How to integrate togglz with spring-boot + jersey
My application is a Spring Boot + Jersey web app. I followed this official tutorial to integrate togglz with my Spring Boot application. I added the dependency togglz-spring-boot-starter to my project....
1
vote
1
answer
1k
views
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 ...
1
vote
0
answers
130
views
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 org.apache....
6
votes
1
answer
5k
views
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 ...