Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Talend REST with request Scope.

I am using Talend open studio for ESB(6.4.1) to develop REST API's.  I am exposing REST endpoints to fetch data from tables. 

 

Questions:

  1.  In Talend, is there a way to store data on the basis of users ? Something like Request scope.
  2.  Can i have a variable which stores values on the basis of each request ? (unlike 'context' which is throughout application scope )
  3. How can i achieve this:
    If user A access the endpoint i connect to database A, if user B access the endpoint i connect to database B?

 

Labels (3)
1 Reply
root
Creator II
Creator II

If you know that User A is making request, via headers or similar, sure, read that value and save it. Then, You can have a logic which will connect to a different DB. We use this all the time.