brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [2/2] brooklyn-server git commit: Closes #492
Date Wed, 04 Jan 2017 14:18:15 GMT
Closes #492

Allow a user to add or override deserialize configuration in karaf

This will make the code search for another file `etc/org.apache.brooklyn.persistence.class.rename.properties`
during the deserialization and load the properties accordingly.

The file `etc/org.apache.brooklyn.persistence.class.rename.properties` does not exist by default
but can be created manually. The aim is for any blueprint author to setup rewrite rules for
the persistence state, if some classnames from its own blueprints change. Of course, the default
rules provided by Brooklyn are always loaded


Project: http://git-wip-us.apache.org/repos/asf/brooklyn-server/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-server/commit/812e0791
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-server/tree/812e0791
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-server/diff/812e0791

Branch: refs/heads/master
Commit: 812e07911518fc3b4df3ce97f7238c2ac8475079
Parents: a74cc06 a34e8ab
Author: Svetoslav Neykov <svetoslav.neykov@cloudsoftcorp.com>
Authored: Wed Jan 4 16:18:05 2017 +0200
Committer: Svetoslav Neykov <svetoslav.neykov@cloudsoftcorp.com>
Committed: Wed Jan 4 16:18:05 2017 +0200

----------------------------------------------------------------------
 .../mgmt/persist/ClasspathConfigLoader.java     |  72 ++++++++++
 .../core/mgmt/persist/ConfigLoader.java         |  25 ++++
 .../DeserializingClassRenamesProvider.java      |  91 +++++++------
 .../launcher/osgi/OsgiConfigLoader.java         | 133 +++++++++++++++++++
 .../resources/OSGI-INF/blueprint/blueprint.xml  |  15 ++-
 5 files changed, 293 insertions(+), 43 deletions(-)
----------------------------------------------------------------------



Mime
View raw message