Skip to content

Commit

Permalink
DG-1697: Renaming header to use x-atlan
Browse files Browse the repository at this point in the history
  • Loading branch information
arpit-at committed Aug 5, 2024
1 parent c91c3e9 commit 4d2a284
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +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");
RequestContext.get().getRequestContextHeaders().put("x-atlan-route", "business-policy-rest");

AtlasPerfTracer perf = null;
try {
Expand Down Expand Up @@ -95,7 +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");
RequestContext.get().getRequestContextHeaders().put("x-atlan-route", "business-policy-rest");

AtlasPerfTracer perf = null;
try {
Expand Down

0 comments on commit 4d2a284

Please sign in to comment.