Talend REST with request Scope.

Four Stars

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?

 

Eight Stars

Re: Talend REST with request Scope.

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.

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Talend API Designer – Technical Overview

Take a look at this technical overview video of Talend API Designer

Watch Now

Getting Started with APIs

Find out how to get started with APIs

Read