Skip to content

KARAF-7684 - #3019

Open
RefuX wants to merge 2 commits into
apache:mainfrom
RefuX:features-config-overrides
Open

RefuX wants to merge 2 commits into
apache:mainfrom
RefuX:features-config-overrides

Conversation

@RefuX

@RefuX RefuX commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

Fixes https://issues.apache.org/jira/browse/KARAF-7684

The manual (https://karaf.apache.org/manual/latest/#_environment_variables_system_properties) says I can
add a features repository with:

export ORG_APACHE_KARAF_FEATURES_FEATURESREPOSITORIES='${featuresRepositories},mvn:org.apache.karaf.decanter/apache-karaf-decanter/2.5.0/xml/features'

The repository isn't in feature:repo-list. The features service reads etc/org.apache.karaf.features.cfg
itself, so KarafConfigurationPlugin never sees it.

This applies the plugin's lookup (environment variable, then system property) to every
features-service property as it's read. The lookup is shared with the plugin rather than copied, and
a property missing from the file can be set the same way. An override that was silently ignored
before now takes effect.

@jbonofre
jbonofre self-requested a review October 29, 2026 06:11
@github-actions

Copy link
Copy Markdown

Test Results

  732 files  + 3    732 suites  +3   1h 3m 33s ⏱️ - 6m 18s
1 091 tests +14    957 ✅ +14  134 💤 ±0  0 ❌ ±0 
3 273 runs  +42  2 871 ✅ +42  402 💤 ±0  0 ❌ ±0 

Results for commit 886f424. ± Comparison against base commit 5f992ac.

@RefuX

RefuX commented Nov 23, 2026

Copy link
Copy Markdown
Contributor Author

I think that should be everything 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants