From 2714054667f43ed814783d39b689910cb2ab864d Mon Sep 17 00:00:00 2001 From: arpit-at Date: Mon, 29 Jul 2024 18:07:22 +0530 Subject: [PATCH 1/3] DG-1697: Added a new header --- .../main/java/org/apache/atlas/web/rest/BusinessPolicyREST.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webapp/src/main/java/org/apache/atlas/web/rest/BusinessPolicyREST.java b/webapp/src/main/java/org/apache/atlas/web/rest/BusinessPolicyREST.java index ef252293a0..07cc1ff4be 100644 --- a/webapp/src/main/java/org/apache/atlas/web/rest/BusinessPolicyREST.java +++ b/webapp/src/main/java/org/apache/atlas/web/rest/BusinessPolicyREST.java @@ -57,6 +57,7 @@ public void linkBusinessPolicy(@PathParam("policyId") final String policyGuid, f // Set request context parameters RequestContext.get().setIncludeClassifications(false); RequestContext.get().setIncludeMeanings(false); + RequestContext.get().getRequestContextHeaders().put("route", "business-policy-rest"); AtlasPerfTracer perf = null; try { @@ -94,6 +95,7 @@ public void unlinkBusinessPolicy(@PathParam("policyId") final String policyGuid, // Set request context parameters RequestContext.get().setIncludeClassifications(false); RequestContext.get().setIncludeMeanings(false); + RequestContext.get().getRequestContextHeaders().put("route", "business-policy-rest"); AtlasPerfTracer perf = null; try { From b0daf4751ebd3d78f38732e1d7b72a9ff4282d7f Mon Sep 17 00:00:00 2001 From: arpit-at Date: Mon, 29 Jul 2024 18:07:51 +0530 Subject: [PATCH 2/3] DG-1697: Added a new header --- .github/workflows/maven.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index f8a09b5589..189de0b9e2 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -26,6 +26,7 @@ on: - development - master - lineageondemand + - policyendpointsmasterss jobs: build: From c91c3e903e375beab8ed98befbc5cfb3fb722912 Mon Sep 17 00:00:00 2001 From: arpit-at Date: Mon, 5 Aug 2024 12:14:05 +0530 Subject: [PATCH 3/3] DG-1697: removed auto build feature --- .github/workflows/maven.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 189de0b9e2..f8a09b5589 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -26,7 +26,6 @@ on: - development - master - lineageondemand - - policyendpointsmasterss jobs: build: