From Thursday, July, 9, 3:00 PM Pacific,
our Community site will be in
read-only mode
through Sunday, July 12th.
Thank you for your patience.

Component created by using Component Kit is not showing in Palette

Five Stars

Component created by using Component Kit is not showing in Palette

I followed Component Kit tutorial, the compilation and deployment process is completed without any errors but TOS 7.2.1  is not showing my component in the palette as described in tutorial. I'm using Component Kit version 1.1.13 IntelliJ plugin on Windows 7


Accepted Solutions
Highlighted
Five Stars

Re: Component created by using Component Kit is not showing in Palette

Hi @rmannibucau 
I figured out the issue (I had similar issue on windows with other open source frameworks),

 

The maven  talend-component:deploy-in-studio  goal is setting the component.java.registry property in config.ini to valid windows format which is

C\:\\ETL\\TALEND\\configuration\\components-registration.properties 

this is complete fine from window perspective but not from java.
So the solution was to change it to the following format 

C\:/ETL/TALEND/configuration/components-registration.properties

and suddenly the component started to show-up in the palette.

View solution in original post


All Replies
Highlighted
Five Stars

Re: Component created by using Component Kit is not showing in Palette

I tried TOS 7.3.1 M2 but the outcome is the same.
Highlighted
Employee

Re: Component created by using Component Kit is not showing in Palette

Hi @michaelbr ,

 

How did you install the component? With the maven goal?

Can you check:

 

1. the logs (workspace/.metadata/.log) for any error

2. the configuration has the component registered (configuration/components-registration.properties)

 

Maybe also check it is not a version issue since Studio is a bit late of a few versions (see https://talend.github.io/component-runtime/main/1.1.14/compatibility.html)

 

 

Romain
Talend Component Kit Documentation: https://talend.github.io/component-runtime/
Highlighted
Five Stars

Re: Component created by using Component Kit is not showing in Palette

Hi Romain,

 

I installed the component using goal talend-component:deploy-in-studio exactly same way as explained in the tutorials. 

And there are no specific errors in the log (only osgi bundle exception related to macosx which is not relevant as I'm using Windows 7).

The maven goal installed my component jar file in to talend configuration\.m2 maven resources folder and created configuration/components-registration.properties with correct entry.

 

The Talend Studio version I'm using is 7.3.1.20190924_1038-M2 , the Talend Component Kit IntelliJ plugin version is 1.1.13  

Highlighted
Employee

Re: Component created by using Component Kit is not showing in Palette

Hi @michaelbr ,

 

I tested with this component on the version of the Studio you mention and it works.

Can you share on github your component to let me investigate any potential issue?

 

Side note: not sure you noticed but the name of the component - if you use the completion in the designer - is <family><name> and not just <name>.

 

 

Romain
Talend Component Kit Documentation: https://talend.github.io/component-runtime/
Highlighted
Five Stars

Re: Component created by using Component Kit is not showing in Palette

Hi Romain, @rmannibucau 

 

Here is a link to Talend Component Kit generated project:  https://github.com/braimanm/talend_component

 

And here are the Talend files component kit is deployed to studio:    https://github.com/braimanm/talend_component/tree/master/talend_artifacts

 

Are you using Windows 7? May be it's Talend DI installation issues? I just downloaded zip file and extracted all the content to some arbitrary folder then I run exe file and downloaded all the dependencies.  

Highlighted
Employee

Re: Component created by using Component Kit is not showing in Palette

Hi @michaelbr ,

 

I did cloned, built and installed the component using the car and I can find it in the Studio - attached a screenshot.

 

I'm using Ubuntu but it should work on windows until you use special characters for an URL in your folder path.

 

Romain

 

 

Romain
Talend Component Kit Documentation: https://talend.github.io/component-runtime/
Highlighted
Five Stars

Re: Component created by using Component Kit is not showing in Palette

 

Hi @rmannibucau,

I read somewhere that components are supported now by local server, if this is a case and there is a local server how can I validate that it's working. 

My Windows 7 machine is corporate machine and I'm using proxy, another issue is that I'm not admin on this machine is it make any difference. I'm trying my best to figure it out why it's not working for me. 

Highlighted
Employee

Re: Component created by using Component Kit is not showing in Palette

One issue I saw on windows a few times is an empty etc/hosts file or a firewall which would prevent "localhost" to be resolved properly, but it should log an error message.

To ensure the server is up, you can configure its port in configuration/config.ini, set component.java.port=8080 for instance and then you can call http://localhost:8080/api/v1/component/index for example. All endpoints are available at https://talend.github.io/component-runtime/main/1.1.15/rest-openapi.html.

 

Romain
Talend Component Kit Documentation: https://talend.github.io/component-runtime/
Highlighted
Five Stars

Re: Component created by using Component Kit is not showing in Palette

Hi @rmannibucau 

I setup the port as suggested and component server is up and running but endpoint http://localhost:8080/api/v1/component/index  returns empty array json:

{"components":[]}

 

Highlighted
Employee

Re: Component created by using Component Kit is not showing in Palette

Ok, so it means the component is not recognize,

can you try - if not already done - to add in config.ini this line:

 

component.java.coordinates = com.tutorial:tutorial-component:0.0.1-SNAPSHOT

 

Romain
Talend Component Kit Documentation: https://talend.github.io/component-runtime/
Highlighted
Five Stars

Re: Component created by using Component Kit is not showing in Palette

Hi @rmannibucau,

After adding the line you suggested the component is visible in Palette but component server is showing empty array. It looks like component server doesn't have any idea about my component.   

Highlighted
Five Stars

Re: Component created by using Component Kit is not showing in Palette

Hi @rmannibucau,



I figured out the issue (I had similar issue on windows with other open source frameworks).



The maven goal is setting the component.java.registry property in config system to valid windows format which is  C\:\\ETL\\TALEND\\configuration\\components-registration.properties this is complete fine from window perspective but not from java. So the solution was to change it to the valid java following format C\:/ETL/TALEND/configuration/components-registration.properties and suddenly the component started to show-up in the palette. The component local server is not playing any role as it showing no components using http://localhost:8080/api/v1/action/index endpoint. 
Highlighted
Five Stars

Re: Component created by using Component Kit is not showing in Palette

Hi @rmannibucau 
I figured out the issue (I had similar issue on windows with other open source frameworks),

 

The maven  talend-component:deploy-in-studio  goal is setting the component.java.registry property in config.ini to valid windows format which is

C\:\\ETL\\TALEND\\configuration\\components-registration.properties 

this is complete fine from window perspective but not from java.
So the solution was to change it to the following format 

C\:/ETL/TALEND/configuration/components-registration.properties

and suddenly the component started to show-up in the palette.

View solution in original post

2019 GARTNER 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

6 Ways to Start Utilizing Machine Learning with Amazon We Services and Talend

Look at6 ways to start utilizing Machine Learning with Amazon We Services and Talend

Blog

Downloads and Trials

Test drive Talend's enterprise products.

Downloads