Feature-Flip / flips

Repository for feature flip library which provides various annotations to flip any feature. Works with Java8, Spring, Spring Boot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

filp seems does not work

shangmingzhen opened this issue · comments

hello,
i use filp in my project, while, it seems that reqest does not going to flip AOP. here is my main step:
first : add dependency

com.github.feature-flip
flips-core
1.0.1

then use in controller
@RequestMapping(value = "/getUserByNickName", produces = {"application/json;charset=UTF-8"}, method = RequestMethod.GET)
@FlipOnEnvironmentProperty(property = "test.pure.newwork", expectedValue = "Y")
public JSONObject getUserByNickName(String nickName){
JSONObject userInfo = userService.getUserByNickName(nickName);
return userInfo;
}

it is nice to hear your reply.