-
Notifications
You must be signed in to change notification settings - Fork 1
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
Implementation of "160. Feature Launcher Service Specification" ( issues 8, 9, 10, 11, 12, 18 ) #24
Conversation
- Set up for integration testing to work with OSGi environment - Temporary fix for issues with 'Apache Maven' / 'Apache Maven Resolver', where many dependencies lack OSGi headers - Implementation of 'The Feature Runtime Service', including: * Install a feature into the running OSGi framework instance based on the supplied feature JSON * Update a feature in the runtime based on the supplied feature JSON * Remove an installed feature * Introspecting the installed Features - Refactoring / fixes / improvements Signed-off-by: Michael H. Siemaszko <mhs@into.software>
- Additional test cases for FeatureRuntimeIntegrationTest - Refactoring / fixes / improvements Signed-off-by: Michael H. Siemaszko <mhs@into.software>
IssuesMost important issues encountered:
Questions
Next prioritiesPlease clarify regarding next priorities: a) bundle revisions ? this is the only part missing from the outline you provided for the demo project several weeks ago (i.e. "show version changes in bundles installed" ? ) - i.e. introspecting installed bundles is implemented, but updates do not "bump" versions, so there is no "version changes" visible yet; b) command line client ( #21 ) ? c) other timeout values as defined in "160.8.4.3" ? currently only default ( 5000 ) is used ( d) "owning features" ( e) implementation for "160.4.3.2: #3" ( f) merging bundles ? ( #19 ) g) merging configurations ? ( #20 ) h) additional extension handlers ( #16 ) ? i.e. in addition to i) feature decorators ( #15 ) ? j) feature variables ( #13 ) ? k) bundle start levels ( #14 ) ? |
- Missing Javadoc Signed-off-by: Michael H. Siemaszko <mhs@into.software>
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.
This all looks fine.
The way that you've fixed these problems is fine. I think that in the long run we'll end up using the
In the long run I see three options (set in configuration) either:
The specification is silent on this issue, so whatever is being done now (leaving things as is I think) is fine.
Yes. This is important. Exact collisions (i.e. the same ID) should result in the installed bundle being owned by more than one feature.
If you try to install a bundle based on ID and you get a "clash" with an existing bundle (same symbolic name and version) then this means that there's an alias in play. The new
The ID being passed is the ID of the feature to update, the Feature/Reader is the new version to update to which will, in general, have a different ID
As mentioned above, I think these will end up being shaded into the implementation jar. What you've done is fine and doesn't need to be changed.
I would suggest the following priority order:
If you get further than this, then pick any order you like for the rest. |
Set up for integration testing to work with OSGi environment
Temporary fix for issues with 'Apache Maven' / 'Apache Maven Resolver', where many dependencies lack OSGi headers
Implementation of 'The Feature Runtime Service', including:
Refactoring / fixes / improvements