Hi i am new to togglz, i am trying to implement TogglzBootstrap and for the feature manger i am suppling a properties file to PropertyFeatureProvider. Now i have an issue with this,
i have my properties file like this.
# The feature 'FEATURE_ONE' is disabled
FEATURE_ONE=false
# The feature 'FEATURE_TWO' is enabled for the users 'chkal' and 'joe'
FEATURE_TWO=true
FEATURE_TWO.strategy = username
FEATURE_TWO.param.users = chkal, john
and this is how my Config looks
@Override
public FeatureManager createFeatureManager() {
Properties properties = new Properties();
try {
properties.load(getClass().getClassLoader().getResourceAsStream("/features.properties"));
} catch (IOException e) {
LOGGER.log(Level.SEVERE, "Exception has occured", e);
}
FeatureManager featureManager = new FeatureManagerBuilder()
.featureProvider(new PropertyFeatureProvider(properties)).stateRepository(getStateRepository())
.userProvider(getUserProvider()).build();
return featureManager;
}
when i go into the console this what i see.(see attached Picture)
Any ideas?