Github user tbouron commented on the issue:
https://github.com/apache/brooklyn-server/pull/492
Thanks to all of you @aledsage @neykov and @geomacy.
This now use `ConfigurationAdmin` to load custom class deserialization
renames (and supports updates too).
I created https://github.com/apache/brooklyn-dist/pull/72 that adds and
`org.apache.brooklyn.classrename.cfg` in `etc` + integration test. Although,
the test suite does not work so I tested this manually by:
- adding `a=b` in `etc/org.apache.brooklyn.classrename.cfg`
- Launching the karaf distribution
- checking that the config appears by doing `config:list`
- checking that the configuration is picked up on startup by scanning the
logs for `Reading OSGi configuration from org.apache.brooklyn.classrename.cfg`
- updating the config file and checking the load for
`DeserializingClassRenamesProvider.OsgiConfigLoader.updateProperties: clearing
cache, so class-renames will be reloaded`
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---