JobLets - OpenStudio ESB

Highlighted
Eight Stars

JobLets - OpenStudio ESB

My current service has become a little too big. I understand there is something called "JobLets" which is available on the Enterprise version only. 

 

Is there something similar which is available for the OpenStudio ESB version? 

 

DI OpenStudio version has tRunJob available which unfortunately does not work with services setup in OpenStudio ESB via tRestRequest.

 

I am trying to organize/ reuse some code. Any suggestions welcome.

Thank you.

Nine Stars

Re: JobLets - OpenStudio ESB

Edit: Never mind, you already said tRunJob does not work for your use case so the below does not apply.

 

You can have a parent job execute a child job as many times as you want.  See the tRunJob component.  Define the parent job and child jobs in different files.  This document might be a good starting point:

https://help.talend.com/reader/DAYCB41YGB24~LuGUOUVlw/R2moPFvsILu_QxS07jlKfg

--
Please give Kudos and mark topics as solved where appropriate.
Community Manager

Re: JobLets - OpenStudio ESB

Why does the tRunJob not work? I'm sure I have done this before....although not for a while. My services tend to be quite small. Another option is to create services out of the functionality you want to share and call those services by your parent service

Eight Stars

Re: JobLets - OpenStudio ESB

@rhall_2_0
Atleast when I tried a tRunJob some time back, I could not send a response back using tRestResponse (from tRunJob) as tRestRequest was not present

If you can share a small example on how that setup works, I'd love to see.

I am not sure what this means:
>>Another option is to create services out of the functionality you want to share and call those services by your parent service

Can you share an example of this too? Maybe I can try that as well. Thnx again
Community Manager

Re: JobLets - OpenStudio ESB

You can return the result from within your tRunJob to the main job (service) using a tBufferOutput in your tRunJob. This should be described here https://help.talend.com/reader/wDRBNUuxk629sNcI0dNYaA/ICv6hRE2pgpUtQFvQDmxkg

 

You can then send that back via a tRestResponse. You can set up several tRestResponse messages in the main job (service) if you want.

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

An API-First Approach to Modernizing Applications

Learn how to use an API-First Approach to Modernize your Applications

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