Service for updating single managed services

Description

In our project we need the capability to update an already installed managed service (e.g. change log level at runtime) without reconfiguring other services. For this purpose we extended ConfMan 0.2.2. This new service IConfigurationUpdater offers just a single service method

void updateConfiguration(String servicePid);

The implementation consists in essence of a single line:
this.adminFacade.registerConfigurations(servicePid, true);

Our changes are almost non-invasive. There are two new files (the service interface and the implementation). Besides that we only have to register the service in Activator.start() und unregister in stop().

Are you interested in integrating this into the official version? Otherwise we would write our own ConfigurationManager bundle by copying and extending your bundle.

If you are interested in our solution, what is the best way to show you our solution? We also found some strange passages (errors?) in the existing code - mainly in ConfigurationAdminFacade.createConfigurationForFile() - and made minor changes that maybe should be discussed.

Regards, Jens Borrmann

Environment

None

Assignee

Alin Dreghiciu

Reporter

Jens Borrmann

Labels

None

Components

Affects versions

Priority

Minor
Configure