Skip to content

Commit

Permalink
Merge branch 'SDKS-7439' into remove-flagsets-redis
Browse files Browse the repository at this point in the history
  • Loading branch information
nmayorsplit committed Nov 1, 2023
2 parents 0bcb2f1 + b8eb7e0 commit c8ed1b9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package io.split.engine.evaluator;

import com.google.common.base.Stopwatch;
import io.split.client.dtos.ConditionType;
import io.split.client.exceptions.ChangeNumberExceptionWrapper;
import io.split.engine.experiments.ParsedCondition;
Expand All @@ -17,7 +16,6 @@
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.concurrent.TimeUnit;

import static com.google.common.base.Preconditions.checkNotNull;

Expand Down Expand Up @@ -57,8 +55,7 @@ public Map<String, TreatmentLabelAndChangeNumber> evaluateFeatures(String matchi
public Map<String, EvaluatorImp.TreatmentLabelAndChangeNumber> evaluateFeaturesByFlagSets(String key, String bucketingKey,
List<String> flagSets, Map<String, Object> attributes) {
List<String> flagSetsWithNames = getFeatureFlagNamesByFlagSets(flagSets);
Map<String, TreatmentLabelAndChangeNumber> evaluations = evaluateFeatures(key, bucketingKey, flagSetsWithNames, attributes);
return evaluations;
return evaluateFeatures(key, bucketingKey, flagSetsWithNames, attributes);
}

private List<String> getFeatureFlagNamesByFlagSets(List<String> flagSets) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,42 +134,42 @@ public Map<String, SplitResult> getTreatmentsWithConfig(Key key, List<String> fe

@Override
public Map<String, String> getTreatmentsByFlagSet(String key, String flagSet, Map<String, Object> attributes) {
return null;
return new HashMap<>();
}

@Override
public Map<String, String> getTreatmentsByFlagSet(Key key, String flagSet, Map<String, Object> attributes) {
return null;
return new HashMap<>();
}

@Override
public Map<String, String> getTreatmentsByFlagSets(String key, List<String> flagSets, Map<String, Object> attributes) {
return null;
return new HashMap<>();
}

@Override
public Map<String, String> getTreatmentsByFlagSets(Key key, List<String> flagSets, Map<String, Object> attributes) {
return null;
return new HashMap<>();
}

@Override
public Map<String, SplitResult> getTreatmentsWithConfigByFlagSet(String key, String flagSet, Map<String, Object> attributes) {
return null;
return new HashMap<>();
}

@Override
public Map<String, SplitResult> getTreatmentsWithConfigByFlagSet(Key key, String flagSet, Map<String, Object> attributes) {
return null;
return new HashMap<>();
}

@Override
public Map<String, SplitResult> getTreatmentsWithConfigByFlagSets(String key, List<String> flagSets, Map<String, Object> attributes) {
return null;
return new HashMap<>();
}

@Override
public Map<String, SplitResult> getTreatmentsWithConfigByFlagSets(Key key, List<String> flagSets, Map<String, Object> attributes) {
return null;
return new HashMap<>();
}

@Override
Expand Down

0 comments on commit c8ed1b9

Please sign in to comment.