unleash-client-java
unleash-client-java copied to clipboard
Unleash client SDK for Java
So, having added an OkHttpFeatureFetcher in a previous PR, this PR adds a metricssender which uses OkHttp.
So, there are situations where you don't necessarily want to poll, so taking inspiration from our already existing `disableMetrics()` flag on UnleashConfig, this PR adds a `disablePolling()` flag which stops...
### Describe the feature request Would it be possible to add `getFeatureToggleDefinition` to Unleash interface so we don't have to refer to concrete `DefaultUnleash`? ### Background This will mean we...
Maybe I'm missing something, but it seems like the periodic update of the feature toggle repository is not guaranteed to synchronize cross thread. [Here](https://github.com/Unleash/unleash-client-java/blob/main/src/main/java/io/getunleash/repository/FeatureToggleRepository.java#L61) the toggle collection is reassigned in...
We're evaluating feature flags on GitLab. The first tests are promising. Sadly we ran into issues with backup files on Windows. GitLab enforces to set application name to their "environment"....
using more semantic java functional interface `BiPredicate` instead of `BiFunction`. ## About the changes Has potential to break compatibility with previous versions (see [Discussion points](#Discussion-points)), but makes the code more...
### Describe the feature request In the `Unleash` interface, there are some methods with a `BiFunction` argument. But the availables implementations for `Unleash` (`DefaultUnleash`, `FakeUnleash`) both have no safe measures...
This PR attempts to solve the misconfiguration of the unleash client ## About the changes The main change is that the UnleashClient will only be available through the UnleashClientFactory. The...
### Describe the feature request To avoid users complaining about not seeing full/even distribution we should remove the methods that were added in 9.2.0 for simplifying the upgrade path from...
### Describe the bug The FakeUnleash method using the fallbackAction doesn't take into account the global activation/deactivation flags. Right now the code at https://github.com/Unleash/unleash-client-java/blob/b2ac9aee6aecbd3e968ed5c0e51bb5fca1c60452/src/main/java/io/getunleash/FakeUnleash.java#L39-L45 just checks whether a certain flag...