atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shwetha G S (JIRA)" <>
Subject [jira] [Updated] (ATLAS-585) NotificationHookConsumer creates new AtlasClient for every message
Date Thu, 05 May 2016 10:33:12 GMT


Shwetha G S updated ATLAS-585:
    Attachment: ATLAS-585-v3.patch

> NotificationHookConsumer creates new AtlasClient for every message
> ------------------------------------------------------------------
>                 Key: ATLAS-585
>                 URL:
>             Project: Atlas
>          Issue Type: Bug
>            Reporter: Shwetha G S
>            Assignee: Shwetha G S
>             Fix For: 0.7-incubating
>         Attachments: ATLAS-585-v2.patch, ATLAS-585-v3.patch, ATLAS-585.patch
> Every AtlasClient instance creates com.sun.jersey.api.client.Client which is expensive.
As part of ATLAS-577, NotificationHookConsumer creates new atlas client for every message.
This is done to pass the user information(the user who created the message/entities) through
the APIs. This wouldn't work in kerberos environment where the credentials are not available
on the atlas server. We should probably make the API call as atlas user and pass in the actual
user information in another query param(like doas user)

This message was sent by Atlassian JIRA

View raw message