From 4f33127402d9683774d9f608c3bcce669efbfd43 Mon Sep 17 00:00:00 2001 From: aarshi Date: Fri, 7 Mar 2025 20:17:59 +0530 Subject: [PATCH 1/2] enable relations only for indexsearch --- .../atlas/repository/store/graph/v2/EntityGraphRetriever.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/repository/src/main/java/org/apache/atlas/repository/store/graph/v2/EntityGraphRetriever.java b/repository/src/main/java/org/apache/atlas/repository/store/graph/v2/EntityGraphRetriever.java index 51b74ecc25..bb26b9736b 100644 --- a/repository/src/main/java/org/apache/atlas/repository/store/graph/v2/EntityGraphRetriever.java +++ b/repository/src/main/java/org/apache/atlas/repository/store/graph/v2/EntityGraphRetriever.java @@ -285,7 +285,9 @@ public AtlasObjectId toAtlasObjectId(AtlasVertex entityVertex) throws AtlasBaseE AtlasObjectId ret = null; String typeName = entityVertex.getProperty(Constants.TYPE_NAME_PROPERTY_KEY, String.class); AtlasEntityType entityType = typeRegistry.getEntityTypeByName(typeName); - boolean enableJanusOptimisation = AtlasConfiguration.ATLAS_INDEXSEARCH_ENABLE_JANUS_OPTIMISATION_FOR_RELATIONS.getBoolean(); + boolean enableJanusOptimisation = + AtlasConfiguration.ATLAS_INDEXSEARCH_ENABLE_JANUS_OPTIMISATION_FOR_RELATIONS.getBoolean() + && RequestContext.get().isInvokedByIndexSearch(); Map referenceVertexProperties = null; if (entityType != null) { Map uniqueAttributes = new HashMap<>(); From e6dc7dcdbc3be37380a281fdd4ab20e6c7c22b15 Mon Sep 17 00:00:00 2001 From: aarshi Date: Fri, 7 Mar 2025 20:26:19 +0530 Subject: [PATCH 2/2] do branch based deployment --- .github/workflows/maven.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 8384fd3a2f..078b66b94f 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -28,6 +28,7 @@ on: - master - lineageondemand - cassandrapoliciesoptimisation + - ixop jobs: build: