You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Balazs Zsoldos (JIRA)" <ji...@apache.org> on 2016/09/27 13:05:20 UTC

[jira] [Comment Edited] (FELIX-5289) 5.1 PID Handling of Factory Configurations

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

Balazs Zsoldos edited comment on FELIX-5289 at 9/27/16 1:04 PM:
----------------------------------------------------------------

[~cziegeler] If I unserstood well, this is a feature I have been waiting for a long time. However, I would like to have some questions.

At the moment PID for factory configurations look like: _myFactoryPID.GUID_

What will happen with these configurations if I upgrade to the next versions of ConfigAdmin? I can imagine two solutions:

 - They will be renamed to _myFactoryPID#GUID_
 - They will be left as they are

In case that they will be left as they are, how can we get them with the new functions?

The _Configuration_ interface contains the following functions: _getPid()_ and _getFactoryPid()_. How can we get the alias of the PID? Do we need to do some String evaluation? I am missing a function like _getAlias()_ from the _Configuration_ or a constant that tells you the separation character.


was (Author: balazs.zsoldos):
If I unserstood well, this is a feature I have been waiting for a long time. However, I would like to have some questions.

At the moment PID for factory configurations look like: _myFactoryPID.GUID_

What will happen with these configurations if I upgrade to the next versions of ConfigAdmin? I can imagine two solutions:

 - They will be renamed to _myFactoryPID#GUID_
 - They will be left as they are

In case that they will be left as they are, how can we get them with the new functions?

The _Configuration_ interface contains the following functions: _getPid()_ and _getFactoryPid()_. How can we get the alias of the PID? Do we need to do some String evaluation? I am missing a function like _getAlias()_ from the _Configuration_ or a constant that tells you the separation character.

> 5.1 PID Handling of Factory Configurations
> ------------------------------------------
>
>                 Key: FELIX-5289
>                 URL: https://issues.apache.org/jira/browse/FELIX-5289
>             Project: Felix
>          Issue Type: Sub-task
>          Components: Configuration Admin
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: configadmin-1.9.0
>
>
> There are two new methods defined in RFC 227 for getting factory configurations (getFactoryConfiguration)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)