Closed grkvlt closed 10 years ago
Brooklyn Central » brooklyn #2322 FAILURE Looks like there's a problem with this pull request (what's this?)
Will need rework after #1400 #1405 #1406 are merged
What is wrong with @buildhive :koala:
Caused by: java.lang.ClassNotFoundException: org.apache.maven.cli.MavenLoggerManager at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50) at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:259) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:235) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:227) ... 18 more channel stopped ERROR: Failed to parse POMs
@grkvlt See my recent posts on the internal dev list. CloudBees have been notified of the problem and it should be resolved now.
I'll now close-and-reopen this PR and BuildHive should pass this time.
Reopening to kick off BuildHive
Brooklyn Central » brooklyn #2327 SUCCESS This pull request looks good (what's this?)
PLEASE DO NOT MERGE INTO MASTER.
This enabled policy persistence, I believe, which is not yet working properly so will break things in big ways. However, it's great that the code is now shared - thanks @grkvlt
I'm not sure how painful enricher persistence will be for us. We have a big mix of enrichers being written either in init()
(in which case they need persisted) or in connectSensors()
(in which case that method is called again on rebind()
). Therefore getting enricher persistence to work may be tricky without a lot of refactoring!
@aledsage that's why it has the in progress label, but admittedly I'm not sure that everyone would see that as meaning 'do not merge'
@grkvlt looks good - added a few comments. I hadn't noticed the "in progress" label - nice, but agree not to be relied upon for reviewers. I'm going to merge this code into a branch on https://github.com/brooklyncentral/brooklyn so we can collaborate on it.
I've merged an exact copy of this PR into the branch https://github.com/brooklyncentral/brooklyn/tree/feature/policy-persistence
See https://github.com/brooklyncentral/brooklyn/pull/1416.
This PR should be closed, but the comments are still relevant.
@aledsage will review the comments and then move work to your new branch and close this
@grkvlt I started last night incorporating these comments into https://github.com/brooklyncentral/brooklyn/tree/feature/policy-persistence, and will finish that this morning - will ping you when that's done.
Closing this PR now.
Some initial work to add rebind capabilities for Enrichers and enable the persistence of Enrichers and Policies