Github user geomacy commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/617#discussion_r109937046
--- Diff:
api/src/main/java/org/apache/brooklyn/api/mgmt/ManagementContext.java ---
@@ -66,9 +67,20 @@
* In other words the value of {@link
Application#getManagementContext()#getManagementPlaneId()}
* will generally be constant (in contrast to {@link
#getManagementNodeId()}).
* <p>
- * This value should not be null unless the management context is a
non-functional
- * (non-deployment) instance. */
+ * Throws an {@link NullPointerException} if the value hasn't been
initialized yet. The value is set:
--- End diff --
Maybe leave as-was but deprecate in favour of
`getOptionalManagementPlaneId`?
---
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.
---