[
https://issues.apache.org/jira/browse/LENS-794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14939561#comment-14939561
]
Rajat Khandelwal commented on LENS-794:
---------------------------------------
What would the validity api return as http response? I think 410 is a good
candidate for the session expiry case. If all the API's are returning 410 when
session is gone, we don't need to add anything.
If that's not the case and only the query post api is returning 410, We can
definitely add an API in SessionResource. But I think that too should return
200 or 410 appropriately.
> Session API to check whether a session is still valid
> -----------------------------------------------------
>
> Key: LENS-794
> URL: https://issues.apache.org/jira/browse/LENS-794
> Project: Apache Lens
> Issue Type: Wish
> Reporter: Deepak Barr
> Assignee: Deepak Barr
>
> For systematic data consumption through Lens API's, One might want to check
> whether a session is still valid. If it's valid, he can reuse the old
> session, else create a new one.
> Should we add such an API ? Thoughts ?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)