togglz

Togglz Yml/Yaml Configuration for My SpringBoot Not working

假如想象 提交于 2020-01-03 03:56:06
问题 Trying to create Feature Toggles using Togglz. Made below configurations/code in my Application, bootstrap.yml: togglz: enabled: true features: FEATURE_ONE: true Feature Enum Class: public enum AppFeatures implements Feature { @Label("FEATURE_ONE") FEATURE_ONE; public boolean isActive() { return FeatureContext.getFeatureManager().isActive(this); } } My Requirement: I need to do like this, if FEATURE_ONE is configured true in yml file, then if condition, else, else has to execute.. if

How to find the togglz url when integrating with spring-boot and jersey

最后都变了- 提交于 2019-12-13 06:22:37
问题 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, I am able to see below log message. But I am not able to access http://localhost:8080/togglz. My application root path is "/" which is managed by jersey. It seems that spring-mvc works well with togglz but failed to access it when integrating with jersey. What should I do in order to let jersey