Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Commit

Permalink
Merge pull request #61 from o19s/adding-query-id-header
Browse files Browse the repository at this point in the history
Adding query-id header to the list of headers
  • Loading branch information
RasonJ authored Feb 22, 2024
2 parents a7ae948 + 5445b3a commit 9e0ecb2
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ public class UserBehaviorLoggingPlugin extends Plugin implements ActionPlugin {
public Collection<RestHeaderDefinition> getRestHeaders() {
return List.of(
new RestHeaderDefinition(HeaderConstants.EVENT_STORE_HEADER.getHeader(), false),
new RestHeaderDefinition(HeaderConstants.QUERY_ID_HEADER.getHeader(), false),
new RestHeaderDefinition(HeaderConstants.SESSION_ID_HEADER.getHeader(), false),
new RestHeaderDefinition(HeaderConstants.USER_ID_HEADER.getHeader(), false)
);
Expand All @@ -64,6 +65,7 @@ public Collection<RestHeaderDefinition> getRestHeaders() {
public Collection<String> getTaskHeaders() {
return List.of(
HeaderConstants.EVENT_STORE_HEADER.getHeader(),
HeaderConstants.QUERY_ID_HEADER.getHeader(),
HeaderConstants.SESSION_ID_HEADER.getHeader(),
HeaderConstants.USER_ID_HEADER.getHeader()
);
Expand Down

0 comments on commit 9e0ecb2

Please sign in to comment.