if (LOGGER.isDebugEnabled()) LOGGER.debug("populateExperimentMetadata - STARTED: userID={}, appName={}, context={}, experimentBatch={}, experimentIds={}", userID, appName, context, experimentBatch, allowAssignments); if (isNull(experimentBatch.getLabels()) && !allowAssignments.isPresent()) { LOGGER.error("Invalid input to CassandraAssignmentsRepository.populateExperimentMetadata(): Given input: userID={}, appName={}, context={}, experimentBatch={}, allowAssignments={}", userID, appName, context, experimentBatch, allowAssignments); return;
if (experimentBatch.getLabels().contains(exp.getLabel())) { experimentIds.add(exp.getID());
if (experimentBatch.getLabels().contains(exp.getLabel())) { experimentIds.add(exp.getID());
Map<Experiment.ID, List<Experiment.ID>> exclusionMap) { LOGGER.debug("populateAssignmentsMetadata - STARTED: userID={}, appName={}, context={}, experimentBatch={}, experimentIds={}", userID, appName, context, experimentBatch, allowAssignments); if (isNull(experimentBatch.getLabels()) && !allowAssignments.isPresent()) { LOGGER.error("Invalid input to AssignmentsImpl.populateAssignmentsMetadata(): Given input: userID={}, appName={}, context={}, experimentBatch={}, allowAssignments={}", userID, appName, context, experimentBatch, allowAssignments); return;
if (experimentBatch.getLabels().contains(experiment.getLabel())) { LOGGER.debug("Experiment ({}) is part of given ExperimentBatch....", experiment.getLabel()); experimentBatch.getLabels().remove(experiment.getLabel()); } else { LOGGER.debug("Experiment ({}) is NOT part of given ExperimentBatch....", experiment.getLabel()); experimentBatch.getLabels().forEach(iExpLabel -> { if (!pExpLables.contains(iExpLabel)) { allAssignments.add(nullAssignment(userID, applicationName, null, Assignment.Status.EXPERIMENT_NOT_FOUND));