-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore : Migrate to OSGi Service Component annotations to ManagedKubernetesClient / ManagedOpenShiftClient #6296
Conversation
b4d2c75
to
8b3b8ce
Compare
@@ -43,6 +43,7 @@ public class FeatureInstallationTest extends TestBase { | |||
@Test | |||
public void testKubernetesClientFeature() throws Exception { | |||
featuresService.addRepository(getFeaturesFile().toURI()); | |||
featuresService.installFeature("scr"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After migrating to OSGi Component annotations from Felix SCR annotations, I see this additional text added in the MANIFEST.MF Require-Capability
by maven bundle plugin
filter:="(&(osgi.extender=osgi.compo
nent)(version>=1.5.0)(!(version>=2.0.0)))
This causes karaf tests to fail with missing requirement. Once I install scr
feature test passes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I moved it as a dependency feature in feature.xml
8b3b8ce
to
1620dfd
Compare
b32c9f4
to
28b38e6
Compare
…lient + Remove Apache Felix SCR annotations as they're unsupported. + Add OSGi Service Component annotations to ManagedKubernetesClient and ManagedOpenShiftClient Signed-off-by: Rohan Kumar <[email protected]>
28b38e6
to
10e2e9e
Compare
Quality Gate passedIssues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thx!
Description
Fix #4445
Apache Felix SCR annotations are not supported anymore. Please see:
org.apache.felix:maven-scr-plugin
from modules that were using Felix SCR annotationsType of change
test, version modification, documentation, etc.)
Checklist