You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by he...@apache.org on 2021/09/14 21:56:33 UTC

[brooklyn-server] 14/27: allow access to catalog item path on RO entities

This is an automated email from the ASF dual-hosted git repository.

heneveld pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brooklyn-server.git

commit ce9a7962f6d6f1b0bf8d7321f97252df42ac74fb
Author: Alex Heneveld <al...@cloudsoftcorp.com>
AuthorDate: Tue Sep 14 13:50:58 2021 +0100

    allow access to catalog item path on RO entities
---
 .../brooklyn/core/entity/internal/EntityTransientCopyInternal.java    | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/core/src/main/java/org/apache/brooklyn/core/entity/internal/EntityTransientCopyInternal.java b/core/src/main/java/org/apache/brooklyn/core/entity/internal/EntityTransientCopyInternal.java
index 9106ec2..753de46 100644
--- a/core/src/main/java/org/apache/brooklyn/core/entity/internal/EntityTransientCopyInternal.java
+++ b/core/src/main/java/org/apache/brooklyn/core/entity/internal/EntityTransientCopyInternal.java
@@ -20,6 +20,7 @@ package org.apache.brooklyn.core.entity.internal;
 
 import java.util.Collection;
 
+import java.util.List;
 import javax.annotation.Nullable;
 
 import org.apache.brooklyn.api.effector.Effector;
@@ -84,6 +85,7 @@ public interface EntityTransientCopyInternal {
     GroupSupport groups();
     RelationSupport<Entity> relations();
     String getCatalogItemId();
+    List<String> getCatalogItemIdSearchPath();
 
     // from EntityInternal:
     
@@ -95,7 +97,7 @@ public interface EntityTransientCopyInternal {
     // for REST calls on read-only entities which want to resolve values
     ExecutionContext getExecutionContext();
     void setCatalogItemId(String id);
-    
+
     /** more methods, but which are only on selected entities */
     public interface SpecialEntityTransientCopyInternal {
         // from Group