You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Leen Toelen (JIRA)" <ji...@apache.org> on 2010/06/03 14:13:53 UTC
[jira] Created: (FELIX-2384) ZooKeeper ConfigurationAdmin bridge
ZooKeeper ConfigurationAdmin bridge
-----------------------------------
Key: FELIX-2384
URL: https://issues.apache.org/jira/browse/FELIX-2384
Project: Felix
Issue Type: Wish
Components: Configuration Admin, File Install
Reporter: Leen Toelen
Priority: Minor
Apache zookeeper is very well suited for centralized configuratio management. A bridge between zookeeper and configurationadmin would be very convenient for users of zookeeper and osgi. The attached code is a very simple proof of concept of a managed service that fetches configuration data from zookeeper and submits them to configurationadmin. Changes are instantly updated as well.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (FELIX-2384) ZooKeeper ConfigurationAdmin bridge
Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-2384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet updated FELIX-2384:
-----------------------------------
Component/s: (was: File Install)
> ZooKeeper ConfigurationAdmin bridge
> -----------------------------------
>
> Key: FELIX-2384
> URL: https://issues.apache.org/jira/browse/FELIX-2384
> Project: Felix
> Issue Type: Wish
> Components: Configuration Admin
> Reporter: Leen Toelen
> Priority: Minor
> Attachments: zookeeper-configadminbridge.zip
>
>
> Apache zookeeper is very well suited for centralized configuratio management. A bridge between zookeeper and configurationadmin would be very convenient for users of zookeeper and osgi. The attached code is a very simple proof of concept of a managed service that fetches configuration data from zookeeper and submits them to configurationadmin. Changes are instantly updated as well.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (FELIX-2384) ZooKeeper ConfigurationAdmin bridge
Posted by "Leen Toelen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-2384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Leen Toelen updated FELIX-2384:
-------------------------------
Attachment: zookeeper-configadminbridge.zip
Proof of concept zookeeper to configurationadmin bridge
The managed service is created with this PID:
"org.apache.zookeeper.configurationadminbridge" and needs the
following properties
- zookeeper.hostname
- zookeeper.port
- znode
A ZooKeeper session is created on the given znode, and every znode
child is treated as a key-value pair which is synced with the
configurationadmin, much like fileinstall does. When a pid contains
'-', it is treated as a factory config.
Zookeeper structure:
/com/worlddomination/ -> znode
- myservicepid -> child service pid, with child znodes
- property1: value
- property2: value
- myfactoryservicepid-test -> factory child service pid, with child znodes
- property1: value
- property2: value
The synchronization is one-way so every zookeeper change is pushed to
configurationadmin, but changes to configurationadmin directly are
ignored.
> ZooKeeper ConfigurationAdmin bridge
> -----------------------------------
>
> Key: FELIX-2384
> URL: https://issues.apache.org/jira/browse/FELIX-2384
> Project: Felix
> Issue Type: Wish
> Components: Configuration Admin, File Install
> Reporter: Leen Toelen
> Priority: Minor
> Attachments: zookeeper-configadminbridge.zip
>
>
> Apache zookeeper is very well suited for centralized configuratio management. A bridge between zookeeper and configurationadmin would be very convenient for users of zookeeper and osgi. The attached code is a very simple proof of concept of a managed service that fetches configuration data from zookeeper and submits them to configurationadmin. Changes are instantly updated as well.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.