You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Raymond Augé (Jira)" <ji...@apache.org> on 2021/10/21 15:19:00 UTC

[jira] [Comment Edited] (FELIX-6412) Use Configuration.updateIfDifferent

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

Raymond Augé edited comment on FELIX-6412 at 10/21/21, 3:18 PM:
----------------------------------------------------------------

This means we're missing tests. I added tests to verify my use cases. So, if some other scenarios broke, please add tests to assert your expectations.


was (Author: rotty3000):
This means we're missing tests. I added tests to verify my use cases. So, if some others broke, please add tests to assert your expectations.

> Use Configuration.updateIfDifferent
> -----------------------------------
>
>                 Key: FELIX-6412
>                 URL: https://issues.apache.org/jira/browse/FELIX-6412
>             Project: Felix
>          Issue Type: Improvement
>          Components: File Install
>            Reporter: Raymond Augé
>            Assignee: Raymond Augé
>            Priority: Major
>             Fix For: fileinstall-3.7.0
>
>
> Configuration Admin spec 1.6 added a {{Configuration.updateIfDifferent}} to avoid needless churning on no-op configuration updates.
> This is particular interesting for FileInstall in scenarios where file modification time was altered, comments were edited, or any other change which doesn't actually result in a config change.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)