You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2017/10/05 11:39:00 UTC

[jira] [Comment Edited] (OAK-6741) Switch to official OSGi component and metatype annotations

    [ https://issues.apache.org/jira/browse/OAK-6741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16192765#comment-16192765 ] 

Chetan Mehrotra edited comment on OAK-6741 at 10/5/17 11:38 AM:
----------------------------------------------------------------

May be we can implement some tooling to semantically compare the generated metatype.xml before and after the change. That can pickup such issues

I understand this job is very manual and taxing. However risk of regression due to a mistype of config name can be high where newer code may not get right config value for existing setup leading to slight change in behaviour. And we would not be having a good suite which can check config name compatability.

So having a tooling which can compare the metatype can provide a better confidence.


was (Author: chetanm):
May be we can implement some tooling to semantically compare the generated metatype.xml before and after the change. That can pickup such issues

I understand this job is touch and very manual and taxing. However risk of regression due to a mistype of config name can be high where newer code may not get right config value for existing setup leading to slight change in behaviour. And we would not be having a good suite which can check config name compatability.

So having a tooling which can compare the metatype can provide a better confidence.

> Switch to official OSGi component and metatype annotations
> ----------------------------------------------------------
>
>                 Key: OAK-6741
>                 URL: https://issues.apache.org/jira/browse/OAK-6741
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>            Reporter: Robert Munteanu
>             Fix For: 1.8, 1.7.9
>
>
> We should remove the 'old' Felix SCR annotations and move to the 'new' OSGi R6 annotations.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)