Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Bug Fixes
  • Loading branch information
mrm9084 committed Sep 3, 2025
commit 3840e1a0bd948d2360a2959b9d3167cfa7247750
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public void onApplicationEvent(@NonNull ServletRequestHandledEvent event) {
try {
if (!(event.getRequestUrl().equals(ACTUATOR + APPCONFIGURATION_REFRESH)
|| event.getRequestUrl().equals(ACTUATOR + APPCONFIGURATION_REFRESH_BUS))) {
appConfigurationRefresh.refreshConfigurations();
appConfigurationRefresh.refreshConfigurations().subscribe();
}
} catch (Exception e) {
LOGGER.error("Refresh failed with unexpected exception.", e);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

import java.time.Duration;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
Expand Down Expand Up @@ -429,6 +430,9 @@ private TargetingFilterContext buildContext() {
* @return a set of all feature names
*/
public Set<String> getAllFeatureNames() {
if (featureManagementConfigurations.getFeatureFlags() == null) {
return Collections.emptySet();
}
return new HashSet<String>(
featureManagementConfigurations.getFeatureFlags().stream().map(feature -> feature.getId()).toList());
}
Expand Down
Loading