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 {