Github user neykov commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/70#discussion_r56623807
--- Diff:
core/src/main/java/org/apache/brooklyn/core/mgmt/internal/LocationManagerInternal.java
---
@@ -19,10 +19,18 @@
package org.apache.brooklyn.core.mgmt.internal;
import org.apache.brooklyn.api.location.Location;
+import org.apache.brooklyn.api.location.LocationSpec;
import org.apache.brooklyn.api.mgmt.LocationManager;
+import org.apache.brooklyn.config.ConfigKey;
+import org.apache.brooklyn.core.config.ConfigKeys;
public interface LocationManagerInternal extends LocationManager,
BrooklynObjectManagerInternal<Location> {
+ /** Indicates that a call to {@link #createLocation(LocationSpec)}
should create a location instance not
+ * linked to the management context. This allows clients to peek at
the result but not to use it. */
+ public static final ConfigKey<Boolean> CREATE_UNMANAGED =
ConfigKeys.newBooleanConfigKey("brooklyn.internal.location.createUnmanaged",
--- End diff --
Do we still need this, after introducing the spec resolver?
---
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.
---