Github user aledsage commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/331#discussion_r80221679
--- Diff:
camp/camp-brooklyn/src/main/java/org/apache/brooklyn/camp/brooklyn/BrooklynCampPlatform.java
---
@@ -61,6 +63,11 @@ public BrooklynCampPlatform(PlatformRootSummary root,
ManagementContext manageme
});
}
+ /** finds and returns the {@link CampPlatform} registered for the
management context, or null if none */
+ @Nullable public static CampPlatform findPlatform(ManagementContext
mgmt) {
+ return
mgmt.getConfig().getConfig(BrooklynCampConstants.CAMP_PLATFORM);
--- End diff --
Ah, I see you've changed `CampInternalUtils` to delegate to this! Given
it's internal, then no strong feelings.
---
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.
---