Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
michaelbr
Contributor II
Contributor II

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

Labels (2)
1 Solution

Accepted Solutions
michaelbr
Contributor II
Contributor II
Author

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

13 Replies
michaelbr
Contributor II
Contributor II
Author

I tried TOS 7.3.1 M2 but the outcome is the same.
Anonymous
Not applicable

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)

 

 

michaelbr
Contributor II
Contributor II
Author

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  

Anonymous
Not applicable

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>.

 

 

michaelbr
Contributor II
Contributor II
Author

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.  

Anonymous
Not applicable

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

 

 


copie.png
michaelbr
Contributor II
Contributor II
Author

 

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. 

Anonymous
Not applicable

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.

 

michaelbr
Contributor II
Contributor II
Author

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":[]}