[ODLPARENT-75] Feature repositories should aggregate (as opposed to redefine) single features. Created: 03/Mar/17 Updated: 24/Jan/18 Resolved: 27/Apr/17 |
|
| Status: | Resolved |
| Project: | odlparent |
| Component/s: | General |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Vratko Polak | Assignee: | Stephen Kitt |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 7900 |
| Description |
|
This change request wants each single feature descriptor to define single feature while referencing dependency descriptors, but feature repository descriptor to define zero features and referencing single feature descriptors. This implies SingleFeatureTest will be run for every feature-related pom (but ending up testing nothing for the new feature repositories). Basically, Karaf 3 feature-index [0] (from Integration/Distribution) is an example of what the generated feature repository should look like. The main motivation is to speed up SingleFeatureTest and avoid duplicate definitions. The fix probably requires changes to karaf-feature-plugin. |
| Comments |
| Comment by Stephen Kitt [ 06/Mar/17 ] |
|
Does this actually speed up SingleFeatureTest ? |
| Comment by Vratko Polak [ 07/Mar/17 ] |
|
> Does this actually speed up SingleFeatureTest? For common repos, time spent testing should be the same, surefire overhead would be bigger. |
| Comment by Stephen Kitt [ 07/Mar/17 ] |
|
(In reply to Vratko Polák from comment #2) Ah yes, the integration-index gain is interesting. |
| Comment by Stephen Kitt [ 08/Mar/17 ] |
| Comment by Vratko Polak [ 24/Apr/17 ] |
|
The fix [1] is merged, but only to master (Nitrogen). Looking at distribution:features-index [2], we really need [1] cherry-picked to Carbon. Distribution merge carbon already takes ~74 minutes [3], and that that is for just some offset 0 feature repos. We may test things more on Nitrogen, but I am not sure how stable are the features there. [1] https://git.opendaylight.org/gerrit/53016 |