You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@streampipes.apache.org by "Rullo, Federico" <Fe...@gft.com> on 2021/08/31 08:41:44 UTC

Extending Enum in Process

Hello,

I am currently developing a processor and I wanted to extend the CodeLanguage class to add a new language to it, do you have any advice on how to do it, since I know that extending enums is not possible or really hard in Java.

Thank you in advance,

Federico.

Federico Rullo
_________________________________________________________________

GFT Italia S.r.l.
Via A. Rimassa, 51/2
16129 Genova, Italy

T +39 010 583158
F      +39 010 8680479
Federico.Rullo@gft.com
www.gft.com/it<http://www.gft.com/it>
https://blog.gft.com
https://www.linkedin.com/company/gft-group/
www.twitter.com/gft_it <http://www.twitter.com/gft_it>

[cid:ActoForTheFuture_GFT@1,2x_68f73108-d76e-4497-aa5c-ff8a5693ce57.png]<https://www.gft.com/it/it/index/societa/stampa/press-releases/2021/sostenibilita-e-innovazione-sociale--gft-lancia-il-greencoding-e-in-italia-act-for-the-future/>

Registered office: GFT Italia S.r.l., Via Sile 18, 20139 Milan (Italy)
VAT Code and number of registration with the Companies' Register of Milan: 00819200478
Corporate capital: Euro 1,000,000 fully paid-in

Company subject to the direction and coordination activity of GFT Technologies SE

Ai sensi del Regolamento UE 2016/679 (GDPR) e delle Linee Guida per posta elettronica ed Internet del Garante Privacy si rende noto che le informazioni contenute nella presente comunicazione e i relativi allegati possono essere riservate e sono, comunque, destinate esclusivamente alle persone o alla Societ? sopraindicati. Le stesse non sono da considerarsi comunicazioni personali, quindi eventuali risposte potranno essere conosciute da persone appartenenti all'azienda.

In accordance with Regulation EU 2016/679 (General Data Protection Regulation) and Guidelines Applying to the Use of E-Mails and the Internet in the Employment Context of Italian Data Protection Authority it is announced that the information in this communication (which includes any documents with it) is confidential and meant only for above-mentioned persons and/or Companies; the information is not personal therefore, It is intended for the addressee only and any replies will be known by people belonging to the company.
_________________________________________________________________

Re: RE: Extending Enum in Process

Posted by Dominik Riemer <ri...@apache.org>.
Hi Frederico,

this can be changed in the UI code at [1]
Anyways, thanks for the hint, I'll create an issue to also add Python support to the code input feature.

Cheers
Dominik


[1] https://github.com/apache/incubator-streampipes/blob/dev/ui/src/app/core-ui/static-properties/static-code-input/static-code-input.component.ts

On 2021/09/03 08:35:30, "Rullo, Federico" <Fe...@gft.com> wrote: 
> Hello,  
>   
> Thank you for the help.  
> Is there any way for me to implement error handling for python or just
> deactivate it for now?  
> Since Python isn't yet implemented it obviously check for JavaScript syntax.  
>   
> Fede.  
> 
> **Federico Rullo** _  
> __________________________________________________________________  
>   
>  **GFT Italia S.r.l.**  
> Via A. Rimassa, 51/2  
> 16129 Genova, Italy  
>   
> T +39 010 583158  
> F      +39 010 8680479  
> Federico.Rullo@gft.com  
> [www.gft.com/it](http://www.gft.com/it)  
> <https://blog.gft.com>  
> <https://www.linkedin.com/company/gft-group/>  
> [www.twitter.com/gft_it ](http://www.twitter.com/gft_it )
> 
> [![](cid:ActoForTheFuture_GFT@1,2x_68f73108-d76e-4497-aa5c-ff8a5693ce57.png)](https://www.gft.com/it/it/index/societa/stampa/press-
> releases/2021/sostenibilita-e-innovazione-sociale--gft-lancia-il-greencoding-
> e-in-italia-act-for-the-future/)  
>   
> Registered office: GFT Italia S.r.l., Via Sile 18, 20139 Milan (Italy)  
> VAT Code and number of registration with the Companies' Register of Milan:
> 00819200478  
> Corporate capital: Euro 1,000,000 fully paid-in  
>   
> Company subject to the direction and coordination activity of GFT Technologies
> SE
> 
> Ai sensi del Regolamento UE 2016/679 (GDPR) e delle Linee Guida per posta
> elettronica ed Internet del Garante Privacy si rende noto che le informazioni
> contenute nella presente comunicazione e i relativi allegati possono essere
> riservate e sono, comunque, destinate esclusivamente alle persone o alla
> Societa sopraindicati. Le stesse non sono da considerarsi comunicazioni
> personali, quindi eventuali risposte potranno essere conosciute da persone
> appartenenti all'azienda.
> 
> In accordance with Regulation EU 2016/679 (General Data Protection Regulation)
> and Guidelines Applying to the Use of E-Mails and the Internet in the
> Employment Context of Italian Data Protection Authority it is announced that
> the information in this communication (which includes any documents with it)
> is confidential and meant only for above-mentioned persons and/or Companies;
> the information is not personal therefore, It is intended for the addressee
> only and any replies will be known by people belonging to the company.  
> _________________________________________________________________
> 
>   
> \-----Original Message-----  
> From: Philipp Zehnder <ze...@fzi.de>  
> Sent: martedi 31 agosto 2021 11:01  
> To: users@streampipes.apache.org  
> Subject: Re: Extending Enum in Process  
>   
> [EXTERNAL EMAIL]  
> This email originated from outside of the organization or was sent
> unauthenticated. Do not click links or open attachments unless you confirm the
> sender and know the content is safe.  
> 
> 

RE: Extending Enum in Process

Posted by Dominik Riemer <ri...@apache.org>.
Hi Frederico,

 

please have a look at the migration guide:

https://streampipes.apache.org/docs/docs/next/extend-sdk-migration-service-d
iscovery.html

 

It describes how to modify the Init class of an extensions service and gives
some context to the usage of service discovery and environment variables. In
general, the required changes should be minimal, but you need to reinstall
the system.

I hope it helps – if you have any feedback, please let me know!

 

Dominik

 

From: Rullo, Federico <Fe...@gft.com> 
Sent: Tuesday, September 14, 2021 3:23 PM
To: users@streampipes.apache.org
Subject: RE: Extending Enum in Process

 

Hello,

 

Thank you for your help.

 

I managed to start everything and did the modifications I wanted to but for
testing I would like to attach my Python Processor and you guys said that
the way SP communicates with external components changed in the new version.

I would like to start to update the component for the new stable version, Do
you have any materials I can look at to start doing so?

 

Thank you,

 

Federico.

 

Federico Rullo
_________________________________________________________________

GFT Italia S.r.l.
Via A. Rimassa, 51/2
16129 Genova, Italy

T +39 010 583158
F      +39 010 8680479
Federico.Rullo@gft.com <ma...@gft.com> 
www.gft.com/it <http://www.gft.com/it> 
https://blog.gft.com
https://www.linkedin.com/company/gft-group/
www.twitter.com/gft_it  <http://www.twitter.com/gft_it%20> 

 
<https://www.gft.com/it/it/index/societa/stampa/press-releases/2021/sostenib
ilita-e-innovazione-sociale--gft-lancia-il-greencoding-e-in-italia-act-for-t
he-future/> 

Registered office: GFT Italia S.r.l., Via Sile 18, 20139 Milan (Italy)
VAT Code and number of registration with the Companies' Register of Milan:
00819200478
Corporate capital: Euro 1,000,000 fully paid-in

Company subject to the direction and coordination activity of GFT
Technologies SE

Ai sensi del Regolamento UE 2016/679 (GDPR) e delle Linee Guida per posta
elettronica ed Internet del Garante Privacy si rende noto che le
informazioni contenute nella presente comunicazione e i relativi allegati
possono essere riservate e sono, comunque, destinate esclusivamente alle
persone o alla Società sopraindicati. Le stesse non sono da considerarsi
comunicazioni personali, quindi eventuali risposte potranno essere
conosciute da persone appartenenti all’azienda. 

In accordance with Regulation EU 2016/679 (General Data Protection
Regulation) and Guidelines Applying to the Use of E-Mails and the Internet
in the Employment Context of Italian Data Protection Authority it is
announced that the information in this communication (which includes any
documents with it) is confidential and meant only for above-mentioned
persons and/or Companies; the information is not personal therefore, It is
intended for the addressee only and any replies will be known by people
belonging to the company.
_________________________________________________________________

From: Philipp Zehnder <zehnder@apache.org <ma...@apache.org> > 
Sent: venerdì 10 settembre 2021 08:39
To: users@streampipes.apache.org <ma...@streampipes.apache.org> 
Subject: Re: Extending Enum in Process

 

[EXTERNAL EMAIL]
This email originated from outside of the organization or was sent
unauthenticated. Do not click links or open attachments unless you confirm
the sender and know the content is safe.

Hi Federico, 

 

I ran into the same issue yesterday in one of our build servers.

There seems to be an issue with the plotly dependency, but we are not quite
sure why this happens now.

 

I fixed it with the following command:

* git config --global url."https://".insteadOf git://

This changes all links to git repositories from “git://“ to “https://“.

 

Philipp

 

 

On 9. Sep 2021, at 17:24, Rullo, Federico <Federico.Rullo@gft.com
<ma...@gft.com> > wrote:

 

Hi,

 

Yes I get an error that I cannot access git@github.com/plotly/etc
<mailto:git@github.com/plotly/etc> .. Because of my publickey, but I have
set it up and everything works if I run ssh -vT git@github.com
<ma...@github.com> .

I will have to look more into it I guess.

 

Fede.

 

Federico Rullo
_________________________________________________________________

GFT Italia S.r.l.
Via A. Rimassa, 51/2
16129 Genova, Italy

T +39 010 583158
F      +39 010 8680479
Federico.Rullo@gft.com <ma...@gft.com> 
www.gft.com/it
<https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.gft.co
m%2Fit&data=04%7C01%7CFederico.Rullo%40gft.com%7Ca9600a15bbcf410b608108d9742
5afe4%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637668527498017965%7CUnkn
own%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVC
I6Mn0%3D%7C1000&sdata=3kF6oBxDJz2gOwpzqWPnlqSugfmDVcJDpmdm3nVbJSM%3D&reserve
d=0> 
https://blog.gft.com
<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fblog.gft.
com%2F&data=04%7C01%7CFederico.Rullo%40gft.com%7Ca9600a15bbcf410b608108d9742
5afe4%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637668527498027921%7CUnkn
own%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVC
I6Mn0%3D%7C1000&sdata=lFwEMidJwINBu3MeAdfQEK2fXSJltmxrOiDgr4U%2BJ74%3D&reser
ved=0> 
https://www.linkedin.com/company/gft-group/
<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.linke
din.com%2Fcompany%2Fgft-group%2F&data=04%7C01%7CFederico.Rullo%40gft.com%7Ca
9600a15bbcf410b608108d97425afe4%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7
C637668527498037895%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2lu
MzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=iLlRXnZh3EBWa9GNtrqrnz5OMUpJ
Fh8wDGBlYT2UGUU%3D&reserved=0> 
www.twitter.com/gft_it
<https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.twitte
r.com%2Fgft_it&data=04%7C01%7CFederico.Rullo%40gft.com%7Ca9600a15bbcf410b608
108d97425afe4%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C63766852749804783
4%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haW
wiLCJXVCI6Mn0%3D%7C1000&sdata=7Zom2WEmXJHzqB5jC2yQG4jvaDPMXLdPvcMEOFL1aGA%3D
&reserved=0>  

<ActoForTheFuture_GFT@1,2x_68f73108-d76e-4497-aa5c-ff8a5693ce57.png>

Registered office: GFT Italia S.r.l., Via Sile 18, 20139 Milan (Italy)
VAT Code and number of registration with the Companies' Register of Milan:
00819200478
Corporate capital: Euro 1,000,000 fully paid-in

Company subject to the direction and coordination activity of GFT
Technologies SE

Ai sensi del Regolamento UE 2016/679 (GDPR) e delle Linee Guida per posta
elettronica ed Internet del Garante Privacy si rende noto che le
informazioni contenute nella presente comunicazione e i relativi allegati
possono essere riservate e sono, comunque, destinate esclusivamente alle
persone o alla Società sopraindicati. Le stesse non sono da considerarsi
comunicazioni personali, quindi eventuali risposte potranno essere
conosciute da persone appartenenti all’azienda. 

In accordance with Regulation EU 2016/679 (General Data Protection
Regulation) and Guidelines Applying to the Use of E-Mails and the Internet
in the Employment Context of Italian Data Protection Authority it is
announced that the information in this communication (which includes any
documents with it) is confidential and meant only for above-mentioned
persons and/or Companies; the information is not personal therefore, It is
intended for the addressee only and any replies will be known by people
belonging to the company.
_________________________________________________________________

From: Dominik Riemer <riemer@fzi.de <ma...@fzi.de> > 
Sent: giovedì 9 settembre 2021 16:55
To: users@streampipes.apache.org <ma...@streampipes.apache.org> 
Subject: RE: RE: Extending Enum in Process

 

[EXTERNAL EMAIL]
This email originated from outside of the organization or was sent
unauthenticated. Do not click links or open attachments unless you confirm
the sender and know the content is safe.

Hi Frederico,

 

on npm > 7, can you try npm install –legacy-peer-deps?

 

Dominik

 

 

From: Rullo, Federico <Federico.Rullo@gft.com
<ma...@gft.com> > 
Sent: Thursday, September 9, 2021 4:49 PM
To: users@streampipes.apache.org <ma...@streampipes.apache.org> 
Subject: RE: RE: Extending Enum in Process

 

Hello,

Thanks for the help.

I saw that for the linting you are using a library that can be extended to
include python as well, and since I need to wait for the next stable
release, I would like to try and implement it.
But, when I go to npm install the ui, it gives me the error that it cannot
resolve the dependency tree, do you have any advice on that? I am currently
using the newest version of npm 7.22.0.

Thank you

Federico

Federico Rullo
_________________________________________________________________

GFT Italia S.r.l.
Via A. Rimassa, 51/2
16129 Genova, Italy

T +39 010 583158
F      +39 010 8680479
Federico.Rullo@gft.com <ma...@gft.com> 
www.gft.com/it
<https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.gft.co
m%2Fit&data=04%7C01%7CFederico.Rullo%40gft.com%7Ca9600a15bbcf410b608108d9742
5afe4%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637668527498057814%7CUnkn
own%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVC
I6Mn0%3D%7C1000&sdata=bPJgD1cTqzalufdIGH8DRVilYQKrlvDwlP8tXenyP28%3D&reserve
d=0> 
https://blog.gft.com
<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fblog.gft.
com%2F&data=04%7C01%7CFederico.Rullo%40gft.com%7Ca9600a15bbcf410b608108d9742
5afe4%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637668527498067764%7CUnkn
own%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVC
I6Mn0%3D%7C1000&sdata=nXuM44C8Qu6SZnlHwmRWvORyyvfDsaz1UQzOcAE0CDI%3D&reserve
d=0> 
https://www.linkedin.com/company/gft-group/
<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.linke
din.com%2Fcompany%2Fgft-group%2F&data=04%7C01%7CFederico.Rullo%40gft.com%7Ca
9600a15bbcf410b608108d97425afe4%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7
C637668527498077734%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2lu
MzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=7REjMm3Uxm6Wn2OPt8FpCIhhblqf
Hsa8bPW3yuEAIwg%3D&reserved=0> 
www.twitter.com/gft_it
<https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.twitte
r.com%2Fgft_it%2520&data=04%7C01%7CFederico.Rullo%40gft.com%7Ca9600a15bbcf41
0b608108d97425afe4%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637668527498
077734%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6I
k1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=X5upUYMk%2FhYhjFOc0aFNhrnPRJNzT5yj1X8lyrR
0AdU%3D&reserved=0> 

<image001.png>

Registered office: GFT Italia S.r.l., Via Sile 18, 20139 Milan (Italy)
VAT Code and number of registration with the Companies' Register of Milan:
00819200478
Corporate capital: Euro 1,000,000 fully paid-in

Company subject to the direction and coordination activity of GFT
Technologies SE

Ai sensi del Regolamento UE 2016/679 (GDPR) e delle Linee Guida per posta
elettronica ed Internet del Garante Privacy si rende noto che le
informazioni contenute nella presente comunicazione e i relativi allegati
possono essere riservate e sono, comunque, destinate esclusivamente alle
persone o alla Società sopraindicati. Le stesse non sono da considerarsi
comunicazioni personali, quindi eventuali risposte potranno essere
conosciute da persone appartenenti all’azienda. 

In accordance with Regulation EU 2016/679 (General Data Protection
Regulation) and Guidelines Applying to the Use of E-Mails and the Internet
in the Employment Context of Italian Data Protection Authority it is
announced that the information in this communication (which includes any
documents with it) is confidential and meant only for above-mentioned
persons and/or Companies; the information is not personal therefore, It is
intended for the addressee only and any replies will be known by people
belonging to the company.
_________________________________________________________________


-----Original Message-----
From: Dominik Riemer <riemer@apache.org <ma...@apache.org> > 
Sent: domenica 5 settembre 2021 23:46
To: users@streampipes.apache.org <ma...@streampipes.apache.org> 
Subject: Re: RE: Extending Enum in Process

[EXTERNAL EMAIL]
This email originated from outside of the organization or was sent
unauthenticated. Do not click links or open attachments unless you confirm
the sender and know the content is safe.

Hi Frederico,

I extended the CodeInput property with basic python support [1] and the
possibility to disable JS linting.

So you can now do :
.requiredCodeblock(label, CodeLanguage.Python) -> enables Python syntax
highlighting (no linting by now)
.requiredCodeblock(label) -> uses CodeLanguage.None and disables syntax
highlighting completely

In both methods, you can also provide a default code skeleton instead of the
built-in skeleton.

There's an example at [2].
Unless you're already on 0.69.0 or are happy to test a pre-release version,
I suggest to wait a bit as the next version has some major changes to
pipeline element discovery which requires some reconfiguration, but feel
free to try it ;-)

Hope this helps and thanks for your feedback!
Dominik

[1]
https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fissues.apa
che.org%2Fjira%2Fprojects%2FSTREAMPIPES%2Fissues%2FSTREAMPIPES-423
<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fissues.ap
ache.org%2Fjira%2Fprojects%2FSTREAMPIPES%2Fissues%2FSTREAMPIPES-423&data=04%
7C01%7CFederico.Rullo%40gft.com%7Ca9600a15bbcf410b608108d97425afe4%7C55a2bc6
7aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637668527498097633%7CUnknown%7CTWFpbGZsb
3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000
&sdata=EPUFzyGz5yWHJXvNAiK6lobvQlsYIvEt1kWe%2B1DFwRk%3D&reserved=0>
&amp;data=04%7C01%7CFederico.Rullo%40gft.com%7C53d05503346d4dc9780708d970b69
f9e%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637664751958315478%7CUnknow
n%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6
Mn0%3D%7C1000&amp;sdata=5929nsVrhRSKW%2FBY39VJWZSNSbrDUpQgoiaDy06z0%2FU%3D&a
mp;reserved=0
[2]
https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com
%2Fapache%2Fincubator-streampipes-examples%2Fblob%2Fdev%2Fstreampipes-pipeli
ne-elements-examples-processors-jvm%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fstr
eampipes%2Fpe%2Fexamples%2Fjvm%2Fstaticproperty%2FCodeInputExampleController
.java&amp;data=04%7C01%7CFederico.Rullo%40gft.com%7C53d05503346d4dc9780708d9
70b69f9e%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637664751958315478%7CU
nknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJ
XVCI6Mn0%3D%7C1000&amp;sdata=DiLG9OHBq1WGib1e6jqj%2BFKV8HvaweYFvBB1Vx6ajko%3
D&amp;reserved=0

On 2021/09/03 08:35:30, "Rullo, Federico" <Federico.Rullo@gft.com
<ma...@gft.com> > wrote:
> Hello,
>
> Thank you for the help.
> Is there any way for me to implement error handling for python or just 
> deactivate it for now?
> Since Python isn't yet implemented it obviously check for JavaScript
syntax.
>
> Fede.
>
> **Federico Rullo** _
> __________________________________________________________________
>
>  **GFT Italia S.r.l.**
> Via A. Rimassa, 51/2
> 16129 Genova, Italy
>
> T +39 010 583158
> F      +39 010 8680479
> Federico.Rullo@gft.com <ma...@gft.com> 
> [https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.
> gft.com
<https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgft.com%2F
&data=04%7C01%7CFederico.Rullo%40gft.com%7Ca9600a15bbcf410b608108d97425afe4%
7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637668527498117554%7CUnknown%7C
TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%
3D%7C1000&sdata=GfJgatHpLj%2BqfL97oz1SdEJ492744%2F7JApvb%2BWJxt%2Bg%3D&reser
ved=0> %2Fit&amp;data=04%7C01%7CFederico.Rullo%40gft.com
<https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2F40gft.com%
2F&data=04%7C01%7CFederico.Rullo%40gft.com%7Ca9600a15bbcf410b608108d97425afe
4%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637668527498117554%7CUnknown%
7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn
0%3D%7C1000&sdata=ARwW3Z7yfjZMi%2FF2ul9p%2FUm0HIgpZmkNYOslrpA0UXY%3D&reserve
d=0> %7C53d05503346
> d4dc9780708d970b69f9e%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637
> 664751958315478%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2
> luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=vxHGLtwuj0fpa1vV
> 1JcenH5P4%2BZ4ASygnePUbrKZ6Yg%3D&amp;reserved=0](https://eur02.safelin
<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Feur02.saf
elin%2F&data=04%7C01%7CFederico.Rullo%40gft.com%7Ca9600a15bbcf410b608108d974
25afe4%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637668527498127503%7CUnk
nown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXV
CI6Mn0%3D%7C1000&sdata=XcEcKlFfM%2BBFjGk8h%2Bi%2F%2Fj6HD7KshJloBmvxsx85qq0%3
D&reserved=0> 
> ks.protection.outlook.com/?url=http%3A%2F%2Fwww.gft.com%2Fit
<https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fks.protect
ion.outlook.com%2F%3Furl%3Dhttp%253A%252F%252Fwww.gft.com%252Fit%26data%3D&d
ata=04%7C01%7CFederico.Rullo%40gft.com%7Ca9600a15bbcf410b608108d97425afe4%7C
55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637668527498137455%7CUnknown%7CTW
FpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D
%7C1000&sdata=wRoujriM1bX25CjjiEB2sQa2zraWwBenOcAWRm8uWQI%3D&reserved=0>
&amp;data=
> 04%7C01%7CFederico.Rullo%40gft.com
<https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2F40gft.com%
2F&data=04%7C01%7CFederico.Rullo%40gft.com%7Ca9600a15bbcf410b608108d97425afe
4%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637668527498147418%7CUnknown%
7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn
0%3D%7C1000&sdata=YC5VEF0nNXG9zHSe8bHTAOuGu6SePY1rxzLJIbUoYTM%3D&reserved=0>
%7C53d05503346d4dc9780708d970b69f9e%
> 7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637664751958315478%7CUnkn
> own%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwi
> LCJXVCI6Mn0%3D%7C1000&amp;sdata=vxHGLtwuj0fpa1vV1JcenH5P4%2BZ4ASygnePU
> brKZ6Yg%3D&amp;reserved=0) 
> <https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fblo
<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fblo%0b> 
> g.gft.com
<https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fg.gft.com%
2F&data=04%7C01%7CFederico.Rullo%40gft.com%7Ca9600a15bbcf410b608108d97425afe
4%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637668527498147418%7CUnknown%
7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn
0%3D%7C1000&sdata=xQORco3a42FiK%2FAx5e1pOXSsJj7MSHkTdkDNz%2F3ZAJg%3D&reserve
d=0> %2F&amp;data=04%7C01%7CFederico.Rullo%40gft.com
<https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2F40gft.com%
2F&data=04%7C01%7CFederico.Rullo%40gft.com%7Ca9600a15bbcf410b608108d97425afe
4%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637668527498157360%7CUnknown%
7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn
0%3D%7C1000&sdata=WrWj9%2Bz%2BQtC4jCEXOowhce3eN7a%2BC4eVf%2BfslG8UMO4%3D&res
erved=0> %7C53d05503346
> d4dc9780708d970b69f9e%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637
> 664751958315478%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2
> luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=kbqPlRkp86bM3zvB
> 4AhdoaCEG%2B3Y8JYTJlG5puDlRW8%3D&amp;reserved=0>
> <https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww
<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww%0b> 
> .linkedin.com
<https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Flinkedin.c
om%2F&data=04%7C01%7CFederico.Rullo%40gft.com%7Ca9600a15bbcf410b608108d97425
afe4%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637668527498167317%7CUnkno
wn%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI
6Mn0%3D%7C1000&sdata=P36nNfSeYjWiY72%2FB1PONz5mw20xdm9PmdVxRZHczNA%3D&reserv
ed=0> %2Fcompany%2Fgft-group%2F&amp;data=04%7C01%7CFederico.Rul
> lo%40gft.com
<https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2F40gft.com%
2F&data=04%7C01%7CFederico.Rullo%40gft.com%7Ca9600a15bbcf410b608108d97425afe
4%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637668527498167317%7CUnknown%
7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn
0%3D%7C1000&sdata=L2wqoHEVIk2sTg5zZmIwCxg%2Bn78vsRXtfMOwtI1ZqlI%3D&reserved=
0> %7C53d05503346d4dc9780708d970b69f9e%7C55a2bc67aec14ad29a9c
> 5b2457b91dcd%7C0%7C0%7C637664751958315478%7CUnknown%7CTWFpbGZsb3d8eyJW
> IjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&
> amp;sdata=Bs%2BCAygs5u%2FLtvPgFh8avQpJ2Lue5sIVm65Spe5Epo8%3D&amp;reser
> ved=0>
> [https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.
> twitter.com
<https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Ftwitter.co
m%2F&data=04%7C01%7CFederico.Rullo%40gft.com%7Ca9600a15bbcf410b608108d97425a
fe4%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637668527498177290%7CUnknow
n%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6
Mn0%3D%7C1000&sdata=bR%2FOQQGiHZy8rl0vDyTmqRj4NxkmbqHeTOUApyO0w5o%3D&reserve
d=0> %2Fgft_it&amp;data=04%7C01%7CFederico.Rullo%40gft.com
<https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2F40gft.com%
2F&data=04%7C01%7CFederico.Rullo%40gft.com%7Ca9600a15bbcf410b608108d97425afe
4%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637668527498177290%7CUnknown%
7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn
0%3D%7C1000&sdata=TTxa8p6VO8VRAIhe3iPEVv8weStWnhHumqc3pRh0rHs%3D&reserved=0>
%7C53d
> 05503346d4dc9780708d970b69f9e%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7
> C0%7C637664751958315478%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLC
> JQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=fDroNTCZ
> k4%2Fs%2BhyTM8dKQ0xQfimyUMKhfpAX3GQGz1I%3D&amp;reserved=0 
> ](https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww
> .twitter.com
<https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Ftwitter.co
m%2F&data=04%7C01%7CFederico.Rullo%40gft.com%7Ca9600a15bbcf410b608108d97425a
fe4%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637668527498187226%7CUnknow
n%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6
Mn0%3D%7C1000&sdata=CmYfTqLbBU9dHHAuTMJBp%2BgAVZyEpBorHdPdzFGGTOo%3D&reserve
d=0> %2Fgft_it&amp;data=04%7C01%7CFederico.Rullo%40gft.com
<https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2F40gft.com%
2F&data=04%7C01%7CFederico.Rullo%40gft.com%7Ca9600a15bbcf410b608108d97425afe
4%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637668527498197181%7CUnknown%
7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn
0%3D%7C1000&sdata=yfu6j9oUXJqmyFtytj0EP2JkOv6rf2PqD%2Bjgq1pN8gI%3D&reserved=
0> %7C53
> d05503346d4dc9780708d970b69f9e%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%
> 7C0%7C637664751958315478%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiL
> CJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=fDroNTC
> Zk4%2Fs%2BhyTM8dKQ0xQfimyUMKhfpAX3GQGz1I%3D&amp;reserved=0 )
>
> [![](cid:ActoForTheFuture_GFT@1,2x_68f73108-d76e-4497-aa5c-ff8a5693ce5
> 7.png)](https://eur02.safelinks.protection.outlook.com/?url=https%3A%2
<https://eur02.safelinks.protection.outlook.com/?url=https%3A%252> 
> F%2Fwww.gft.com
<https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2F2fwww.gft.
com%2F&data=04%7C01%7CFederico.Rullo%40gft.com%7Ca9600a15bbcf410b608108d9742
5afe4%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637668527498197181%7CUnkn
own%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVC
I6Mn0%3D%7C1000&sdata=lN36kW%2Bnuukdx71aXb4ZlWB6ostLdgdle2oCc5PnsK4%3D&reser
ved=0> %2Fit%2Fit%2Findex%2Fsocieta%2Fstampa%2Fpress-&amp;data
> =04%7C01%7CFederico.Rullo%40gft.com
<https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2F40gft.com%
2F&data=04%7C01%7CFederico.Rullo%40gft.com%7Ca9600a15bbcf410b608108d97425afe
4%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637668527498207145%7CUnknown%
7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn
0%3D%7C1000&sdata=Xc6XBKFubBlNjubipYuq%2Fpttgthc%2FvIvy7uo5sjA38A%3D&reserve
d=0> %7C53d05503346d4dc9780708d970b69f9e
> %7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637664751958315478%7CUnk
> nown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWw
> iLCJXVCI6Mn0%3D%7C1000&amp;sdata=3RShYhri0jfapskV6dYhzvZs0EapBIzliGQSz
> %2FJrq%2Fc%3D&amp;reserved=0
> releases/2021/sostenibilita-e-innovazione-sociale--gft-lancia-il-green
> coding-
> e-in-italia-act-for-the-future/)
>
> Registered office: GFT Italia S.r.l., Via Sile 18, 20139 Milan (Italy) 
> VAT Code and number of registration with the Companies' Register of Milan:
> 00819200478
> Corporate capital: Euro 1,000,000 fully paid-in
>
> Company subject to the direction and coordination activity of GFT 
> Technologies SE
>
> Ai sensi del Regolamento UE 2016/679 (GDPR) e delle Linee Guida per 
> posta elettronica ed Internet del Garante Privacy si rende noto che le 
> informazioni contenute nella presente comunicazione e i relativi 
> allegati possono essere riservate e sono, comunque, destinate 
> esclusivamente alle persone o alla Societa sopraindicati. Le stesse 
> non sono da considerarsi comunicazioni personali, quindi eventuali 
> risposte potranno essere conosciute da persone appartenenti all'azienda.
>
> In accordance with Regulation EU 2016/679 (General Data Protection 
> Regulation) and Guidelines Applying to the Use of E-Mails and the 
> Internet in the Employment Context of Italian Data Protection 
> Authority it is announced that the information in this communication 
> (which includes any documents with it) is confidential and meant only 
> for above-mentioned persons and/or Companies; the information is not 
> personal therefore, It is intended for the addressee only and any replies
will be known by people belonging to the company.
> _________________________________________________________________
>
>
> \-----Original Message-----
> From: Philipp Zehnder <zehnder@fzi.de <ma...@fzi.de> >
> Sent: martedi 31 agosto 2021 11:01
> To: users@streampipes.apache.org <ma...@streampipes.apache.org> 
> Subject: Re: Extending Enum in Process
>
> [EXTERNAL EMAIL]
> This email originated from outside of the organization or was sent 
> unauthenticated. Do not click links or open attachments unless you 
> confirm the sender and know the content is safe.
>
>

 


RE: Extending Enum in Process

Posted by "Rullo, Federico" <Fe...@gft.com>.
Hello,

Thank you for your help.

I managed to start everything and did the modifications I wanted to but for testing I would like to attach my Python Processor and you guys said that the way SP communicates with external components changed in the new version.
I would like to start to update the component for the new stable version, Do you have any materials I can look at to start doing so?

Thank you,

Federico.


Federico Rullo
_________________________________________________________________

GFT Italia S.r.l.
Via A. Rimassa, 51/2
16129 Genova, Italy

T +39 010 583158
F      +39 010 8680479
Federico.Rullo@gft.com
www.gft.com/it<http://www.gft.com/it>
https://blog.gft.com
https://www.linkedin.com/company/gft-group/
www.twitter.com/gft_it <http://www.twitter.com/gft_it>

[cid:ActoForTheFuture_GFT@1,2x_68f73108-d76e-4497-aa5c-ff8a5693ce57.png]<https://www.gft.com/it/it/index/societa/stampa/press-releases/2021/sostenibilita-e-innovazione-sociale--gft-lancia-il-greencoding-e-in-italia-act-for-the-future/>

Registered office: GFT Italia S.r.l., Via Sile 18, 20139 Milan (Italy)
VAT Code and number of registration with the Companies' Register of Milan: 00819200478
Corporate capital: Euro 1,000,000 fully paid-in

Company subject to the direction and coordination activity of GFT Technologies SE

Ai sensi del Regolamento UE 2016/679 (GDPR) e delle Linee Guida per posta elettronica ed Internet del Garante Privacy si rende noto che le informazioni contenute nella presente comunicazione e i relativi allegati possono essere riservate e sono, comunque, destinate esclusivamente alle persone o alla Società sopraindicati. Le stesse non sono da considerarsi comunicazioni personali, quindi eventuali risposte potranno essere conosciute da persone appartenenti all'azienda.

In accordance with Regulation EU 2016/679 (General Data Protection Regulation) and Guidelines Applying to the Use of E-Mails and the Internet in the Employment Context of Italian Data Protection Authority it is announced that the information in this communication (which includes any documents with it) is confidential and meant only for above-mentioned persons and/or Companies; the information is not personal therefore, It is intended for the addressee only and any replies will be known by people belonging to the company.
_________________________________________________________________
From: Philipp Zehnder <ze...@apache.org>
Sent: venerdì 10 settembre 2021 08:39
To: users@streampipes.apache.org
Subject: Re: Extending Enum in Process


[EXTERNAL EMAIL]
This email originated from outside of the organization or was sent unauthenticated. Do not click links or open attachments unless you confirm the sender and know the content is safe.
Hi Federico,

I ran into the same issue yesterday in one of our build servers.
There seems to be an issue with the plotly dependency, but we are not quite sure why this happens now.

I fixed it with the following command:
* git config --global url."https://".insteadOf git://
This changes all links to git repositories from "git://" to "https://".

Philipp



On 9. Sep 2021, at 17:24, Rullo, Federico <Fe...@gft.com>> wrote:

Hi,

Yes I get an error that I cannot access git@github.com/plotly/etc<mailto:git@github.com/plotly/etc>.. Because of my publickey, but I have set it up and everything works if I run ssh -vT git@github.com<ma...@github.com>.
I will have to look more into it I guess.

Fede.

Federico Rullo
_________________________________________________________________

GFT Italia S.r.l.
Via A. Rimassa, 51/2
16129 Genova, Italy

T +39 010 583158
F      +39 010 8680479
Federico.Rullo@gft.com<ma...@gft.com>
www.gft.com/it<https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.gft.com%2Fit&data=04%7C01%7CFederico.Rullo%40gft.com%7Ca9600a15bbcf410b608108d97425afe4%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637668527498017965%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=3kF6oBxDJz2gOwpzqWPnlqSugfmDVcJDpmdm3nVbJSM%3D&reserved=0>
https://blog.gft.com<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fblog.gft.com%2F&data=04%7C01%7CFederico.Rullo%40gft.com%7Ca9600a15bbcf410b608108d97425afe4%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637668527498027921%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=lFwEMidJwINBu3MeAdfQEK2fXSJltmxrOiDgr4U%2BJ74%3D&reserved=0>
https://www.linkedin.com/company/gft-group/<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.linkedin.com%2Fcompany%2Fgft-group%2F&data=04%7C01%7CFederico.Rullo%40gft.com%7Ca9600a15bbcf410b608108d97425afe4%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637668527498037895%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=iLlRXnZh3EBWa9GNtrqrnz5OMUpJFh8wDGBlYT2UGUU%3D&reserved=0>
www.twitter.com/gft_it <https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.twitter.com%2Fgft_it&data=04%7C01%7CFederico.Rullo%40gft.com%7Ca9600a15bbcf410b608108d97425afe4%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637668527498047834%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=7Zom2WEmXJHzqB5jC2yQG4jvaDPMXLdPvcMEOFL1aGA%3D&reserved=0>
<ActoForTheFuture_GFT@1,2x_68f73108-d76e-4497-aa5c-ff8a5693ce57.png><https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.gft.com%2Fit%2Fit%2Findex%2Fsocieta%2Fstampa%2Fpress-releases%2F2021%2Fsostenibilita-e-innovazione-sociale--gft-lancia-il-greencoding-e-in-italia-act-for-the-future%2F&data=04%7C01%7CFederico.Rullo%40gft.com%7Ca9600a15bbcf410b608108d97425afe4%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637668527498057814%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=WwnszJZ2VydosEAf3LY2GTRueaPbUL%2B352U6KDwvKM4%3D&reserved=0>

Registered office: GFT Italia S.r.l., Via Sile 18, 20139 Milan (Italy)
VAT Code and number of registration with the Companies' Register of Milan: 00819200478
Corporate capital: Euro 1,000,000 fully paid-in

Company subject to the direction and coordination activity of GFT Technologies SE
Ai sensi del Regolamento UE 2016/679 (GDPR) e delle Linee Guida per posta elettronica ed Internet del Garante Privacy si rende noto che le informazioni contenute nella presente comunicazione e i relativi allegati possono essere riservate e sono, comunque, destinate esclusivamente alle persone o alla Società sopraindicati. Le stesse non sono da considerarsi comunicazioni personali, quindi eventuali risposte potranno essere conosciute da persone appartenenti all'azienda.
In accordance with Regulation EU 2016/679 (General Data Protection Regulation) and Guidelines Applying to the Use of E-Mails and the Internet in the Employment Context of Italian Data Protection Authority it is announced that the information in this communication (which includes any documents with it) is confidential and meant only for above-mentioned persons and/or Companies; the information is not personal therefore, It is intended for the addressee only and any replies will be known by people belonging to the company.
_________________________________________________________________
From: Dominik Riemer <ri...@fzi.de>>
Sent: giovedì 9 settembre 2021 16:55
To: users@streampipes.apache.org<ma...@streampipes.apache.org>
Subject: RE: RE: Extending Enum in Process

[EXTERNAL EMAIL]
This email originated from outside of the organization or was sent unauthenticated. Do not click links or open attachments unless you confirm the sender and know the content is safe.
Hi Frederico,

on npm > 7, can you try npm install -legacy-peer-deps?

Dominik


From: Rullo, Federico <Fe...@gft.com>>
Sent: Thursday, September 9, 2021 4:49 PM
To: users@streampipes.apache.org<ma...@streampipes.apache.org>
Subject: RE: RE: Extending Enum in Process

Hello,

Thanks for the help.

I saw that for the linting you are using a library that can be extended to include python as well, and since I need to wait for the next stable release, I would like to try and implement it.
But, when I go to npm install the ui, it gives me the error that it cannot resolve the dependency tree, do you have any advice on that? I am currently using the newest version of npm 7.22.0.

Thank you

Federico
Federico Rullo
_________________________________________________________________

GFT Italia S.r.l.
Via A. Rimassa, 51/2
16129 Genova, Italy

T +39 010 583158
F      +39 010 8680479
Federico.Rullo@gft.com<ma...@gft.com>
www.gft.com/it<https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.gft.com%2Fit&data=04%7C01%7CFederico.Rullo%40gft.com%7Ca9600a15bbcf410b608108d97425afe4%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637668527498057814%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=bPJgD1cTqzalufdIGH8DRVilYQKrlvDwlP8tXenyP28%3D&reserved=0>
https://blog.gft.com<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fblog.gft.com%2F&data=04%7C01%7CFederico.Rullo%40gft.com%7Ca9600a15bbcf410b608108d97425afe4%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637668527498067764%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=nXuM44C8Qu6SZnlHwmRWvORyyvfDsaz1UQzOcAE0CDI%3D&reserved=0>
https://www.linkedin.com/company/gft-group/<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.linkedin.com%2Fcompany%2Fgft-group%2F&data=04%7C01%7CFederico.Rullo%40gft.com%7Ca9600a15bbcf410b608108d97425afe4%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637668527498077734%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=7REjMm3Uxm6Wn2OPt8FpCIhhblqfHsa8bPW3yuEAIwg%3D&reserved=0>
www.twitter.com/gft_it<https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.twitter.com%2Fgft_it%2520&data=04%7C01%7CFederico.Rullo%40gft.com%7Ca9600a15bbcf410b608108d97425afe4%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637668527498077734%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=X5upUYMk%2FhYhjFOc0aFNhrnPRJNzT5yj1X8lyrR0AdU%3D&reserved=0>
<image001.png><https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.gft.com%2Fit%2Fit%2Findex%2Fsocieta%2Fstampa%2Fpress-releases%2F2021%2Fsostenibilita-e-innovazione-sociale--gft-lancia-il-greencoding-e-in-italia-act-for-the-future%2F&data=04%7C01%7CFederico.Rullo%40gft.com%7Ca9600a15bbcf410b608108d97425afe4%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637668527498087681%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=DwJa%2F59UoeEHv7sG8cLxlzgwV8iaEtQGhJALPq39Q9Q%3D&reserved=0>

Registered office: GFT Italia S.r.l., Via Sile 18, 20139 Milan (Italy)
VAT Code and number of registration with the Companies' Register of Milan: 00819200478
Corporate capital: Euro 1,000,000 fully paid-in

Company subject to the direction and coordination activity of GFT Technologies SE
Ai sensi del Regolamento UE 2016/679 (GDPR) e delle Linee Guida per posta elettronica ed Internet del Garante Privacy si rende noto che le informazioni contenute nella presente comunicazione e i relativi allegati possono essere riservate e sono, comunque, destinate esclusivamente alle persone o alla Società sopraindicati. Le stesse non sono da considerarsi comunicazioni personali, quindi eventuali risposte potranno essere conosciute da persone appartenenti all'azienda.
In accordance with Regulation EU 2016/679 (General Data Protection Regulation) and Guidelines Applying to the Use of E-Mails and the Internet in the Employment Context of Italian Data Protection Authority it is announced that the information in this communication (which includes any documents with it) is confidential and meant only for above-mentioned persons and/or Companies; the information is not personal therefore, It is intended for the addressee only and any replies will be known by people belonging to the company.
_________________________________________________________________

-----Original Message-----
From: Dominik Riemer <ri...@apache.org>>
Sent: domenica 5 settembre 2021 23:46
To: users@streampipes.apache.org<ma...@streampipes.apache.org>
Subject: Re: RE: Extending Enum in Process

[EXTERNAL EMAIL]
This email originated from outside of the organization or was sent unauthenticated. Do not click links or open attachments unless you confirm the sender and know the content is safe.

Hi Frederico,

I extended the CodeInput property with basic python support [1] and the possibility to disable JS linting.

So you can now do :
.requiredCodeblock(label, CodeLanguage.Python) -> enables Python syntax highlighting (no linting by now)
.requiredCodeblock(label) -> uses CodeLanguage.None and disables syntax highlighting completely

In both methods, you can also provide a default code skeleton instead of the built-in skeleton.

There's an example at [2].
Unless you're already on 0.69.0 or are happy to test a pre-release version, I suggest to wait a bit as the next version has some major changes to pipeline element discovery which requires some reconfiguration, but feel free to try it ;-)

Hope this helps and thanks for your feedback!
Dominik

[1] https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fissues.apache.org%2Fjira%2Fprojects%2FSTREAMPIPES%2Fissues%2FSTREAMPIPES-423&amp;data=04%7C01%7CFederico.Rullo%40gft.com%7C53d05503346d4dc9780708d970b69f9e%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637664751958315478%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=5929nsVrhRSKW%2FBY39VJWZSNSbrDUpQgoiaDy06z0%2FU%3D&amp;reserved=0<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fissues.apache.org%2Fjira%2Fprojects%2FSTREAMPIPES%2Fissues%2FSTREAMPIPES-423&data=04%7C01%7CFederico.Rullo%40gft.com%7Ca9600a15bbcf410b608108d97425afe4%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637668527498097633%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=EPUFzyGz5yWHJXvNAiK6lobvQlsYIvEt1kWe%2B1DFwRk%3D&reserved=0>
[2] https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Fincubator-streampipes-examples%2Fblob%2Fdev%2Fstreampipes-pipeline-elements-examples-processors-jvm%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fstreampipes%2Fpe%2Fexamples%2Fjvm%2Fstaticproperty%2FCodeInputExampleController.java&amp;data=04%7C01%7CFederico.Rullo%40gft.com%7C53d05503346d4dc9780708d970b69f9e%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637664751958315478%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=DiLG9OHBq1WGib1e6jqj%2BFKV8HvaweYFvBB1Vx6ajko%3D&amp;reserved=0<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Fincubator-streampipes-examples%2Fblob%2Fdev%2Fstreampipes-pipeline-elements-examples-processors-jvm%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fstreampipes%2Fpe%2Fexamples%2Fjvm%2Fstaticproperty%2FCodeInputExampleController.java&data=04%7C01%7CFederico.Rullo%40gft.com%7Ca9600a15bbcf410b608108d97425afe4%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637668527498107581%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=S3WOgFfeGwX2NK6wAJVvgPKBO%2BGc%2BMJ%2Blww83PezoAU%3D&reserved=0>

On 2021/09/03 08:35:30, "Rullo, Federico" <Fe...@gft.com>> wrote:
> Hello,
>
> Thank you for the help.
> Is there any way for me to implement error handling for python or just
> deactivate it for now?
> Since Python isn't yet implemented it obviously check for JavaScript syntax.
>
> Fede.
>
> **Federico Rullo** _
> __________________________________________________________________
>
>  **GFT Italia S.r.l.**
> Via A. Rimassa, 51/2
> 16129 Genova, Italy
>
> T +39 010 583158
> F      +39 010 8680479
> Federico.Rullo@gft.com<ma...@gft.com>
> [https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.
> gft.com<https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgft.com%2F&data=04%7C01%7CFederico.Rullo%40gft.com%7Ca9600a15bbcf410b608108d97425afe4%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637668527498117554%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=GfJgatHpLj%2BqfL97oz1SdEJ492744%2F7JApvb%2BWJxt%2Bg%3D&reserved=0>%2Fit&amp;data=04%7C01%7CFederico.Rullo%40gft.com<https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2F40gft.com%2F&data=04%7C01%7CFederico.Rullo%40gft.com%7Ca9600a15bbcf410b608108d97425afe4%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637668527498117554%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=ARwW3Z7yfjZMi%2FF2ul9p%2FUm0HIgpZmkNYOslrpA0UXY%3D&reserved=0>%7C53d05503346
> d4dc9780708d970b69f9e%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637
> 664751958315478%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2
> luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=vxHGLtwuj0fpa1vV
> 1JcenH5P4%2BZ4ASygnePUbrKZ6Yg%3D&amp;reserved=0](https://eur02.safelin<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Feur02.safelin%2F&data=04%7C01%7CFederico.Rullo%40gft.com%7Ca9600a15bbcf410b608108d97425afe4%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637668527498127503%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=XcEcKlFfM%2BBFjGk8h%2Bi%2F%2Fj6HD7KshJloBmvxsx85qq0%3D&reserved=0>
> ks.protection.outlook.com/?url=http%3A%2F%2Fwww.gft.com%2Fit&amp;data=<https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fks.protection.outlook.com%2F%3Furl%3Dhttp%253A%252F%252Fwww.gft.com%252Fit%26data%3D&data=04%7C01%7CFederico.Rullo%40gft.com%7Ca9600a15bbcf410b608108d97425afe4%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637668527498137455%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=wRoujriM1bX25CjjiEB2sQa2zraWwBenOcAWRm8uWQI%3D&reserved=0>
> 04%7C01%7CFederico.Rullo%40gft.com<https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2F40gft.com%2F&data=04%7C01%7CFederico.Rullo%40gft.com%7Ca9600a15bbcf410b608108d97425afe4%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637668527498147418%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=YC5VEF0nNXG9zHSe8bHTAOuGu6SePY1rxzLJIbUoYTM%3D&reserved=0>%7C53d05503346d4dc9780708d970b69f9e%
> 7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637664751958315478%7CUnkn
> own%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwi
> LCJXVCI6Mn0%3D%7C1000&amp;sdata=vxHGLtwuj0fpa1vV1JcenH5P4%2BZ4ASygnePU
> brKZ6Yg%3D&amp;reserved=0)
> <https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fblo
<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fblo%0b>> g.gft.com<https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fg.gft.com%2F&data=04%7C01%7CFederico.Rullo%40gft.com%7Ca9600a15bbcf410b608108d97425afe4%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637668527498147418%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=xQORco3a42FiK%2FAx5e1pOXSsJj7MSHkTdkDNz%2F3ZAJg%3D&reserved=0>%2F&amp;data=04%7C01%7CFederico.Rullo%40gft.com<https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2F40gft.com%2F&data=04%7C01%7CFederico.Rullo%40gft.com%7Ca9600a15bbcf410b608108d97425afe4%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637668527498157360%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=WrWj9%2Bz%2BQtC4jCEXOowhce3eN7a%2BC4eVf%2BfslG8UMO4%3D&reserved=0>%7C53d05503346
> d4dc9780708d970b69f9e%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637
> 664751958315478%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2
> luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=kbqPlRkp86bM3zvB
> 4AhdoaCEG%2B3Y8JYTJlG5puDlRW8%3D&amp;reserved=0>
> <https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww
<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww%0b>> .linkedin.com<https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Flinkedin.com%2F&data=04%7C01%7CFederico.Rullo%40gft.com%7Ca9600a15bbcf410b608108d97425afe4%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637668527498167317%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=P36nNfSeYjWiY72%2FB1PONz5mw20xdm9PmdVxRZHczNA%3D&reserved=0>%2Fcompany%2Fgft-group%2F&amp;data=04%7C01%7CFederico.Rul
> lo%40gft.com<https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2F40gft.com%2F&data=04%7C01%7CFederico.Rullo%40gft.com%7Ca9600a15bbcf410b608108d97425afe4%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637668527498167317%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=L2wqoHEVIk2sTg5zZmIwCxg%2Bn78vsRXtfMOwtI1ZqlI%3D&reserved=0>%7C53d05503346d4dc9780708d970b69f9e%7C55a2bc67aec14ad29a9c
> 5b2457b91dcd%7C0%7C0%7C637664751958315478%7CUnknown%7CTWFpbGZsb3d8eyJW
> IjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&
> amp;sdata=Bs%2BCAygs5u%2FLtvPgFh8avQpJ2Lue5sIVm65Spe5Epo8%3D&amp;reser
> ved=0>
> [https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.
> twitter.com<https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Ftwitter.com%2F&data=04%7C01%7CFederico.Rullo%40gft.com%7Ca9600a15bbcf410b608108d97425afe4%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637668527498177290%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=bR%2FOQQGiHZy8rl0vDyTmqRj4NxkmbqHeTOUApyO0w5o%3D&reserved=0>%2Fgft_it&amp;data=04%7C01%7CFederico.Rullo%40gft.com<https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2F40gft.com%2F&data=04%7C01%7CFederico.Rullo%40gft.com%7Ca9600a15bbcf410b608108d97425afe4%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637668527498177290%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=TTxa8p6VO8VRAIhe3iPEVv8weStWnhHumqc3pRh0rHs%3D&reserved=0>%7C53d
> 05503346d4dc9780708d970b69f9e%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7
> C0%7C637664751958315478%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLC
> JQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=fDroNTCZ
> k4%2Fs%2BhyTM8dKQ0xQfimyUMKhfpAX3GQGz1I%3D&amp;reserved=0
> ](https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww
> .twitter.com<https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Ftwitter.com%2F&data=04%7C01%7CFederico.Rullo%40gft.com%7Ca9600a15bbcf410b608108d97425afe4%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637668527498187226%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=CmYfTqLbBU9dHHAuTMJBp%2BgAVZyEpBorHdPdzFGGTOo%3D&reserved=0>%2Fgft_it&amp;data=04%7C01%7CFederico.Rullo%40gft.com<https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2F40gft.com%2F&data=04%7C01%7CFederico.Rullo%40gft.com%7Ca9600a15bbcf410b608108d97425afe4%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637668527498197181%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=yfu6j9oUXJqmyFtytj0EP2JkOv6rf2PqD%2Bjgq1pN8gI%3D&reserved=0>%7C53
> d05503346d4dc9780708d970b69f9e%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%
> 7C0%7C637664751958315478%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiL
> CJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=fDroNTC
> Zk4%2Fs%2BhyTM8dKQ0xQfimyUMKhfpAX3GQGz1I%3D&amp;reserved=0 )
>
> [![](cid:ActoForTheFuture_GFT@1,2x_68f73108-d76e-4497-aa5c-ff8a5693ce5
> 7.png)](https://eur02.safelinks.protection.outlook.com/?url=https%3A%2<https://eur02.safelinks.protection.outlook.com/?url=https%3A%252>
> F%2Fwww.gft.com<https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2F2fwww.gft.com%2F&data=04%7C01%7CFederico.Rullo%40gft.com%7Ca9600a15bbcf410b608108d97425afe4%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637668527498197181%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=lN36kW%2Bnuukdx71aXb4ZlWB6ostLdgdle2oCc5PnsK4%3D&reserved=0>%2Fit%2Fit%2Findex%2Fsocieta%2Fstampa%2Fpress-&amp;data
> =04%7C01%7CFederico.Rullo%40gft.com<https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2F40gft.com%2F&data=04%7C01%7CFederico.Rullo%40gft.com%7Ca9600a15bbcf410b608108d97425afe4%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637668527498207145%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=Xc6XBKFubBlNjubipYuq%2Fpttgthc%2FvIvy7uo5sjA38A%3D&reserved=0>%7C53d05503346d4dc9780708d970b69f9e
> %7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637664751958315478%7CUnk
> nown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWw
> iLCJXVCI6Mn0%3D%7C1000&amp;sdata=3RShYhri0jfapskV6dYhzvZs0EapBIzliGQSz
> %2FJrq%2Fc%3D&amp;reserved=0
> releases/2021/sostenibilita-e-innovazione-sociale--gft-lancia-il-green
> coding-
> e-in-italia-act-for-the-future/)
>
> Registered office: GFT Italia S.r.l., Via Sile 18, 20139 Milan (Italy)
> VAT Code and number of registration with the Companies' Register of Milan:
> 00819200478
> Corporate capital: Euro 1,000,000 fully paid-in
>
> Company subject to the direction and coordination activity of GFT
> Technologies SE
>
> Ai sensi del Regolamento UE 2016/679 (GDPR) e delle Linee Guida per
> posta elettronica ed Internet del Garante Privacy si rende noto che le
> informazioni contenute nella presente comunicazione e i relativi
> allegati possono essere riservate e sono, comunque, destinate
> esclusivamente alle persone o alla Societa sopraindicati. Le stesse
> non sono da considerarsi comunicazioni personali, quindi eventuali
> risposte potranno essere conosciute da persone appartenenti all'azienda.
>
> In accordance with Regulation EU 2016/679 (General Data Protection
> Regulation) and Guidelines Applying to the Use of E-Mails and the
> Internet in the Employment Context of Italian Data Protection
> Authority it is announced that the information in this communication
> (which includes any documents with it) is confidential and meant only
> for above-mentioned persons and/or Companies; the information is not
> personal therefore, It is intended for the addressee only and any replies will be known by people belonging to the company.
> _________________________________________________________________
>
>
> \-----Original Message-----
> From: Philipp Zehnder <ze...@fzi.de>>
> Sent: martedi 31 agosto 2021 11:01
> To: users@streampipes.apache.org<ma...@streampipes.apache.org>
> Subject: Re: Extending Enum in Process
>
> [EXTERNAL EMAIL]
> This email originated from outside of the organization or was sent
> unauthenticated. Do not click links or open attachments unless you
> confirm the sender and know the content is safe.
>
>


Re: Extending Enum in Process

Posted by Philipp Zehnder <ze...@apache.org>.
Hi Federico,

I ran into the same issue yesterday in one of our build servers.
There seems to be an issue with the plotly dependency, but we are not quite sure why this happens now.

I fixed it with the following command:
	* git config --global url."https://".insteadOf git://
This changes all links to git repositories from “git://“ to “https://“.

Philipp


> On 9. Sep 2021, at 17:24, Rullo, Federico <Fe...@gft.com> wrote:
> 
> Hi,
>  
> Yes I get an error that I cannot access git@github.com/plotly/etc <mailto:git@github.com/plotly/etc>.. Because of my publickey, but I have set it up and everything works if I run ssh -vT git@github.com <ma...@github.com>.
> I will have to look more into it I guess.
>  
> Fede.
>  
> Federico Rullo
> _________________________________________________________________
> 
> GFT Italia S.r.l.
> Via A. Rimassa, 51/2
> 16129 Genova, Italy
> 
> T +39 010 583158
> F      +39 010 8680479
> Federico.Rullo@gft.com <ma...@gft.com>
> www.gft.com/it <http://www.gft.com/it>
> https://blog.gft.com <https://blog.gft.com/>
> https://www.linkedin.com/company/gft-group/ <https://www.linkedin.com/company/gft-group/>
> www.twitter.com/gft_it  <http://www.twitter.com/gft_it>
> <ActoForTheFuture_GFT@1,2x_68f73108-d76e-4497-aa5c-ff8a5693ce57.png> <https://www.gft.com/it/it/index/societa/stampa/press-releases/2021/sostenibilita-e-innovazione-sociale--gft-lancia-il-greencoding-e-in-italia-act-for-the-future/>
> 
> Registered office: GFT Italia S.r.l., Via Sile 18, 20139 Milan (Italy)
> VAT Code and number of registration with the Companies' Register of Milan: 00819200478
> Corporate capital: Euro 1,000,000 fully paid-in
> 
> Company subject to the direction and coordination activity of GFT Technologies SE
> 
> Ai sensi del Regolamento UE 2016/679 (GDPR) e delle Linee Guida per posta elettronica ed Internet del Garante Privacy si rende noto che le informazioni contenute nella presente comunicazione e i relativi allegati possono essere riservate e sono, comunque, destinate esclusivamente alle persone o alla Società sopraindicati. Le stesse non sono da considerarsi comunicazioni personali, quindi eventuali risposte potranno essere conosciute da persone appartenenti all’azienda. 
> 
> In accordance with Regulation EU 2016/679 (General Data Protection Regulation) and Guidelines Applying to the Use of E-Mails and the Internet in the Employment Context of Italian Data Protection Authority it is announced that the information in this communication (which includes any documents with it) is confidential and meant only for above-mentioned persons and/or Companies; the information is not personal therefore, It is intended for the addressee only and any replies will be known by people belonging to the company.
> _________________________________________________________________
> 
> From: Dominik Riemer <riemer@fzi.de <ma...@fzi.de>> 
> Sent: giovedì 9 settembre 2021 16:55
> To: users@streampipes.apache.org <ma...@streampipes.apache.org>
> Subject: RE: RE: Extending Enum in Process
>  
> [EXTERNAL EMAIL]
> This email originated from outside of the organization or was sent unauthenticated. Do not click links or open attachments unless you confirm the sender and know the content is safe.
> 
> Hi Frederico,
>  
> on npm > 7, can you try npm install –legacy-peer-deps?
>  
> Dominik
>  
>  
> From: Rullo, Federico <Federico.Rullo@gft.com <ma...@gft.com>> 
> Sent: Thursday, September 9, 2021 4:49 PM
> To: users@streampipes.apache.org <ma...@streampipes.apache.org>
> Subject: RE: RE: Extending Enum in Process
>  
> Hello,
> 
> Thanks for the help.
> 
> I saw that for the linting you are using a library that can be extended to include python as well, and since I need to wait for the next stable release, I would like to try and implement it.
> But, when I go to npm install the ui, it gives me the error that it cannot resolve the dependency tree, do you have any advice on that? I am currently using the newest version of npm 7.22.0.
> 
> Thank you
> 
> Federico
> Federico Rullo
> _________________________________________________________________
> 
> GFT Italia S.r.l.
> Via A. Rimassa, 51/2
> 16129 Genova, Italy
> 
> T +39 010 583158
> F      +39 010 8680479
> Federico.Rullo@gft.com <ma...@gft.com>
> www.gft.com/it <https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.gft.com%2Fit&data=04%7C01%7CFederico.Rullo%40gft.com%7Cd3e3687ddf074c5bea7908d973a1d38e%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637667962937146896%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=%2FNc5%2B%2FMvaULLswSM2yg08j4r14kegdnJNznYbOsvjQo%3D&reserved=0>
> https://blog.gft.com <https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fblog.gft.com%2F&data=04%7C01%7CFederico.Rullo%40gft.com%7Cd3e3687ddf074c5bea7908d973a1d38e%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637667962937156851%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=dd%2Fcu%2FYZBPVvzVMjFcrEHncfchDeL0O7RpiAWCMFPVQ%3D&reserved=0>
> https://www.linkedin.com/company/gft-group/ <https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.linkedin.com%2Fcompany%2Fgft-group%2F&data=04%7C01%7CFederico.Rullo%40gft.com%7Cd3e3687ddf074c5bea7908d973a1d38e%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637667962937166811%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=5sxRQxO9EcoHq%2FGwnPeaVqbT5K0GQyYxu%2FJjQVJgpAs%3D&reserved=0>
> www.twitter.com/gft_it <https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.twitter.com%2Fgft_it%2520&data=04%7C01%7CFederico.Rullo%40gft.com%7Cd3e3687ddf074c5bea7908d973a1d38e%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637667962937166811%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=%2BtaX6RmO661RQX3HhClga7SHX3KTOpT8IdgCHDrKGdg%3D&reserved=0>
> <image001.png> <https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.gft.com%2Fit%2Fit%2Findex%2Fsocieta%2Fstampa%2Fpress-releases%2F2021%2Fsostenibilita-e-innovazione-sociale--gft-lancia-il-greencoding-e-in-italia-act-for-the-future%2F&data=04%7C01%7CFederico.Rullo%40gft.com%7Cd3e3687ddf074c5bea7908d973a1d38e%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637667962937176770%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=808d5uNrZZ68tHjH%2FHz5qIEjif5YdWmpd2WNUnRt3PU%3D&reserved=0>
> 
> Registered office: GFT Italia S.r.l., Via Sile 18, 20139 Milan (Italy)
> VAT Code and number of registration with the Companies' Register of Milan: 00819200478
> Corporate capital: Euro 1,000,000 fully paid-in
> 
> Company subject to the direction and coordination activity of GFT Technologies SE
> 
> Ai sensi del Regolamento UE 2016/679 (GDPR) e delle Linee Guida per posta elettronica ed Internet del Garante Privacy si rende noto che le informazioni contenute nella presente comunicazione e i relativi allegati possono essere riservate e sono, comunque, destinate esclusivamente alle persone o alla Società sopraindicati. Le stesse non sono da considerarsi comunicazioni personali, quindi eventuali risposte potranno essere conosciute da persone appartenenti all’azienda. 
> 
> In accordance with Regulation EU 2016/679 (General Data Protection Regulation) and Guidelines Applying to the Use of E-Mails and the Internet in the Employment Context of Italian Data Protection Authority it is announced that the information in this communication (which includes any documents with it) is confidential and meant only for above-mentioned persons and/or Companies; the information is not personal therefore, It is intended for the addressee only and any replies will be known by people belonging to the company.
> _________________________________________________________________
> 
> 
> -----Original Message-----
> From: Dominik Riemer <riemer@apache.org <ma...@apache.org>> 
> Sent: domenica 5 settembre 2021 23:46
> To: users@streampipes.apache.org <ma...@streampipes.apache.org>
> Subject: Re: RE: Extending Enum in Process
> 
> [EXTERNAL EMAIL]
> This email originated from outside of the organization or was sent unauthenticated. Do not click links or open attachments unless you confirm the sender and know the content is safe.
> 
> Hi Frederico,
> 
> I extended the CodeInput property with basic python support [1] and the possibility to disable JS linting.
> 
> So you can now do :
> .requiredCodeblock(label, CodeLanguage.Python) -> enables Python syntax highlighting (no linting by now)
> .requiredCodeblock(label) -> uses CodeLanguage.None and disables syntax highlighting completely
> 
> In both methods, you can also provide a default code skeleton instead of the built-in skeleton.
> 
> There's an example at [2].
> Unless you're already on 0.69.0 or are happy to test a pre-release version, I suggest to wait a bit as the next version has some major changes to pipeline element discovery which requires some reconfiguration, but feel free to try it ;-)
> 
> Hope this helps and thanks for your feedback!
> Dominik
> 
> [1] https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fissues.apache.org%2Fjira%2Fprojects%2FSTREAMPIPES%2Fissues%2FSTREAMPIPES-423&amp;data=04%7C01%7CFederico.Rullo%40gft.com%7C53d05503346d4dc9780708d970b69f9e%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637664751958315478%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=5929nsVrhRSKW%2FBY39VJWZSNSbrDUpQgoiaDy06z0%2FU%3D&amp;reserved=0 <https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fissues.apache.org%2Fjira%2Fprojects%2FSTREAMPIPES%2Fissues%2FSTREAMPIPES-423&data=04%7C01%7CFederico.Rullo%40gft.com%7Cd3e3687ddf074c5bea7908d973a1d38e%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637667962937176770%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=ndj6Tfq7QbvbRQ6Y8nc%2F7EnvFPeRJbG6IA%2Fhb27DXz0%3D&reserved=0>
> [2] https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Fincubator-streampipes-examples%2Fblob%2Fdev%2Fstreampipes-pipeline-elements-examples-processors-jvm%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fstreampipes%2Fpe%2Fexamples%2Fjvm%2Fstaticproperty%2FCodeInputExampleController.java&amp;data=04%7C01%7CFederico.Rullo%40gft.com%7C53d05503346d4dc9780708d970b69f9e%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637664751958315478%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=DiLG9OHBq1WGib1e6jqj%2BFKV8HvaweYFvBB1Vx6ajko%3D&amp;reserved=0 <https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Fincubator-streampipes-examples%2Fblob%2Fdev%2Fstreampipes-pipeline-elements-examples-processors-jvm%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fstreampipes%2Fpe%2Fexamples%2Fjvm%2Fstaticproperty%2FCodeInputExampleController.java&data=04%7C01%7CFederico.Rullo%40gft.com%7Cd3e3687ddf074c5bea7908d973a1d38e%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637667962937186721%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=xMBYw96a7RHHBKigssuqLbZbbozR5TeJPNAa9Ha6xHc%3D&reserved=0>
> 
> On 2021/09/03 08:35:30, "Rullo, Federico" <Federico.Rullo@gft.com <ma...@gft.com>> wrote:
> > Hello,
> >
> > Thank you for the help.
> > Is there any way for me to implement error handling for python or just 
> > deactivate it for now?
> > Since Python isn't yet implemented it obviously check for JavaScript syntax.
> >
> > Fede.
> >
> > **Federico Rullo** _
> > __________________________________________________________________
> >
> >  **GFT Italia S.r.l.**
> > Via A. Rimassa, 51/2
> > 16129 Genova, Italy
> >
> > T +39 010 583158
> > F      +39 010 8680479
> > Federico.Rullo@gft.com <ma...@gft.com>
> > [https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww <https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww>.
> > gft.com <http://gft.com/>%2Fit&amp;data=04%7C01%7CFederico.Rullo%40gft.com <http://40gft.com/>%7C53d05503346
> > d4dc9780708d970b69f9e%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637
> > 664751958315478%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2
> > luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=vxHGLtwuj0fpa1vV
> > 1JcenH5P4%2BZ4ASygnePUbrKZ6Yg%3D&amp;reserved=0](https://eur02.safelin <https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Feur02.safelin%2F&data=04%7C01%7CFederico.Rullo%40gft.com%7Cd3e3687ddf074c5bea7908d973a1d38e%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637667962937186721%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=PyoGFpyYagiG6BCqwVos6zCylt30XUIjNWZmfJ0jflY%3D&reserved=0>
> > ks.protection.outlook.com/?url=http%3A%2F%2Fwww.gft.com%2Fit&amp;data= <http://ks.protection.outlook.com/?url=http%3A%2F%2Fwww.gft.com%2Fit&amp;data=>
> > 04%7C01%7CFederico.Rullo%40gft.com <http://40gft.com/>%7C53d05503346d4dc9780708d970b69f9e%
> > 7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637664751958315478%7CUnkn
> > own%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwi
> > LCJXVCI6Mn0%3D%7C1000&amp;sdata=vxHGLtwuj0fpa1vV1JcenH5P4%2BZ4ASygnePU
> > brKZ6Yg%3D&amp;reserved=0) 
> > <https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fblo
>  <https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fblo%0b>> g.gft.com <http://g.gft.com/>%2F&amp;data=04%7C01%7CFederico.Rullo%40gft.com <http://40gft.com/>%7C53d05503346
> > d4dc9780708d970b69f9e%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637
> > 664751958315478%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2
> > luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=kbqPlRkp86bM3zvB
> > 4AhdoaCEG%2B3Y8JYTJlG5puDlRW8%3D&amp;reserved=0>
> > <https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww
>  <https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww%0b>> .linkedin.com <http://linkedin.com/>%2Fcompany%2Fgft-group%2F&amp;data=04%7C01%7CFederico.Rul
> > lo%40gft.com <http://40gft.com/>%7C53d05503346d4dc9780708d970b69f9e%7C55a2bc67aec14ad29a9c
> > 5b2457b91dcd%7C0%7C0%7C637664751958315478%7CUnknown%7CTWFpbGZsb3d8eyJW
> > IjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&
> > amp;sdata=Bs%2BCAygs5u%2FLtvPgFh8avQpJ2Lue5sIVm65Spe5Epo8%3D&amp;reser
> > ved=0>
> > [https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww <https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww>.
> > twitter.com <http://twitter.com/>%2Fgft_it&amp;data=04%7C01%7CFederico.Rullo%40gft.com <http://40gft.com/>%7C53d
> > 05503346d4dc9780708d970b69f9e%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7
> > C0%7C637664751958315478%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLC
> > JQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=fDroNTCZ
> > k4%2Fs%2BhyTM8dKQ0xQfimyUMKhfpAX3GQGz1I%3D&amp;reserved=0 
> > ](https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww <https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww>
> > .twitter.com <http://twitter.com/>%2Fgft_it&amp;data=04%7C01%7CFederico.Rullo%40gft.com <http://40gft.com/>%7C53
> > d05503346d4dc9780708d970b69f9e%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%
> > 7C0%7C637664751958315478%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiL
> > CJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=fDroNTC
> > Zk4%2Fs%2BhyTM8dKQ0xQfimyUMKhfpAX3GQGz1I%3D&amp;reserved=0 )
> >
> > [![](cid:ActoForTheFuture_GFT@1,2x_68f73108-d76e-4497-aa5c-ff8a5693ce5 <cid:ActoForTheFuture_GFT@1,2x_68f73108-d76e-4497-aa5c-ff8a5693ce5>
> > 7.png)](https://eur02.safelinks.protection.outlook.com/?url=https%3A%2 <https://eur02.safelinks.protection.outlook.com/?url=https%3A%252>
> > F%2Fwww.gft.com <http://2fwww.gft.com/>%2Fit%2Fit%2Findex%2Fsocieta%2Fstampa%2Fpress-&amp;data
> > =04%7C01%7CFederico.Rullo%40gft.com <http://40gft.com/>%7C53d05503346d4dc9780708d970b69f9e
> > %7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637664751958315478%7CUnk
> > nown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWw
> > iLCJXVCI6Mn0%3D%7C1000&amp;sdata=3RShYhri0jfapskV6dYhzvZs0EapBIzliGQSz
> > %2FJrq%2Fc%3D&amp;reserved=0
> > releases/2021/sostenibilita-e-innovazione-sociale--gft-lancia-il-green
> > coding-
> > e-in-italia-act-for-the-future/)
> >
> > Registered office: GFT Italia S.r.l., Via Sile 18, 20139 Milan (Italy) 
> > VAT Code and number of registration with the Companies' Register of Milan:
> > 00819200478
> > Corporate capital: Euro 1,000,000 fully paid-in
> >
> > Company subject to the direction and coordination activity of GFT 
> > Technologies SE
> >
> > Ai sensi del Regolamento UE 2016/679 (GDPR) e delle Linee Guida per 
> > posta elettronica ed Internet del Garante Privacy si rende noto che le 
> > informazioni contenute nella presente comunicazione e i relativi 
> > allegati possono essere riservate e sono, comunque, destinate 
> > esclusivamente alle persone o alla Societa sopraindicati. Le stesse 
> > non sono da considerarsi comunicazioni personali, quindi eventuali 
> > risposte potranno essere conosciute da persone appartenenti all'azienda.
> >
> > In accordance with Regulation EU 2016/679 (General Data Protection 
> > Regulation) and Guidelines Applying to the Use of E-Mails and the 
> > Internet in the Employment Context of Italian Data Protection 
> > Authority it is announced that the information in this communication 
> > (which includes any documents with it) is confidential and meant only 
> > for above-mentioned persons and/or Companies; the information is not 
> > personal therefore, It is intended for the addressee only and any replies will be known by people belonging to the company.
> > _________________________________________________________________
> >
> >
> > \-----Original Message-----
> > From: Philipp Zehnder <zehnder@fzi.de <ma...@fzi.de>>
> > Sent: martedi 31 agosto 2021 11:01
> > To: users@streampipes.apache.org <ma...@streampipes.apache.org>
> > Subject: Re: Extending Enum in Process
> >
> > [EXTERNAL EMAIL]
> > This email originated from outside of the organization or was sent 
> > unauthenticated. Do not click links or open attachments unless you 
> > confirm the sender and know the content is safe.
> >
> >


RE: RE: Extending Enum in Process

Posted by "Rullo, Federico" <Fe...@gft.com>.
Hi,

Yes I get an error that I cannot access git@github.com/plotly/etc<mailto:git@github.com/plotly/etc>.. Because of my publickey, but I have set it up and everything works if I run ssh -vT git@github.com<ma...@github.com>.
I will have to look more into it I guess.

Fede.


Federico Rullo
_________________________________________________________________

GFT Italia S.r.l.
Via A. Rimassa, 51/2
16129 Genova, Italy

T +39 010 583158
F      +39 010 8680479
Federico.Rullo@gft.com
www.gft.com/it<http://www.gft.com/it>
https://blog.gft.com
https://www.linkedin.com/company/gft-group/
www.twitter.com/gft_it <http://www.twitter.com/gft_it>

[cid:ActoForTheFuture_GFT@1,2x_68f73108-d76e-4497-aa5c-ff8a5693ce57.png]<https://www.gft.com/it/it/index/societa/stampa/press-releases/2021/sostenibilita-e-innovazione-sociale--gft-lancia-il-greencoding-e-in-italia-act-for-the-future/>

Registered office: GFT Italia S.r.l., Via Sile 18, 20139 Milan (Italy)
VAT Code and number of registration with the Companies' Register of Milan: 00819200478
Corporate capital: Euro 1,000,000 fully paid-in

Company subject to the direction and coordination activity of GFT Technologies SE

Ai sensi del Regolamento UE 2016/679 (GDPR) e delle Linee Guida per posta elettronica ed Internet del Garante Privacy si rende noto che le informazioni contenute nella presente comunicazione e i relativi allegati possono essere riservate e sono, comunque, destinate esclusivamente alle persone o alla Società sopraindicati. Le stesse non sono da considerarsi comunicazioni personali, quindi eventuali risposte potranno essere conosciute da persone appartenenti all'azienda.

In accordance with Regulation EU 2016/679 (General Data Protection Regulation) and Guidelines Applying to the Use of E-Mails and the Internet in the Employment Context of Italian Data Protection Authority it is announced that the information in this communication (which includes any documents with it) is confidential and meant only for above-mentioned persons and/or Companies; the information is not personal therefore, It is intended for the addressee only and any replies will be known by people belonging to the company.
_________________________________________________________________
From: Dominik Riemer <ri...@fzi.de>
Sent: giovedì 9 settembre 2021 16:55
To: users@streampipes.apache.org
Subject: RE: RE: Extending Enum in Process


[EXTERNAL EMAIL]
This email originated from outside of the organization or was sent unauthenticated. Do not click links or open attachments unless you confirm the sender and know the content is safe.
Hi Frederico,

on npm > 7, can you try npm install -legacy-peer-deps?

Dominik


From: Rullo, Federico <Fe...@gft.com>>
Sent: Thursday, September 9, 2021 4:49 PM
To: users@streampipes.apache.org<ma...@streampipes.apache.org>
Subject: RE: RE: Extending Enum in Process

Hello,

Thanks for the help.

I saw that for the linting you are using a library that can be extended to include python as well, and since I need to wait for the next stable release, I would like to try and implement it.
But, when I go to npm install the ui, it gives me the error that it cannot resolve the dependency tree, do you have any advice on that? I am currently using the newest version of npm 7.22.0.

Thank you

Federico

Federico Rullo
_________________________________________________________________

GFT Italia S.r.l.
Via A. Rimassa, 51/2
16129 Genova, Italy

T +39 010 583158
F      +39 010 8680479
Federico.Rullo@gft.com<ma...@gft.com>
www.gft.com/it<https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.gft.com%2Fit&data=04%7C01%7CFederico.Rullo%40gft.com%7Cd3e3687ddf074c5bea7908d973a1d38e%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637667962937146896%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=%2FNc5%2B%2FMvaULLswSM2yg08j4r14kegdnJNznYbOsvjQo%3D&reserved=0>
https://blog.gft.com<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fblog.gft.com%2F&data=04%7C01%7CFederico.Rullo%40gft.com%7Cd3e3687ddf074c5bea7908d973a1d38e%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637667962937156851%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=dd%2Fcu%2FYZBPVvzVMjFcrEHncfchDeL0O7RpiAWCMFPVQ%3D&reserved=0>
https://www.linkedin.com/company/gft-group/<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.linkedin.com%2Fcompany%2Fgft-group%2F&data=04%7C01%7CFederico.Rullo%40gft.com%7Cd3e3687ddf074c5bea7908d973a1d38e%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637667962937166811%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=5sxRQxO9EcoHq%2FGwnPeaVqbT5K0GQyYxu%2FJjQVJgpAs%3D&reserved=0>
www.twitter.com/gft_it <https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.twitter.com%2Fgft_it%2520&data=04%7C01%7CFederico.Rullo%40gft.com%7Cd3e3687ddf074c5bea7908d973a1d38e%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637667962937166811%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=%2BtaX6RmO661RQX3HhClga7SHX3KTOpT8IdgCHDrKGdg%3D&reserved=0>

[cid:image001.png@01D7A59F.9514A420]<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.gft.com%2Fit%2Fit%2Findex%2Fsocieta%2Fstampa%2Fpress-releases%2F2021%2Fsostenibilita-e-innovazione-sociale--gft-lancia-il-greencoding-e-in-italia-act-for-the-future%2F&data=04%7C01%7CFederico.Rullo%40gft.com%7Cd3e3687ddf074c5bea7908d973a1d38e%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637667962937176770%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=808d5uNrZZ68tHjH%2FHz5qIEjif5YdWmpd2WNUnRt3PU%3D&reserved=0>

Registered office: GFT Italia S.r.l., Via Sile 18, 20139 Milan (Italy)
VAT Code and number of registration with the Companies' Register of Milan: 00819200478
Corporate capital: Euro 1,000,000 fully paid-in

Company subject to the direction and coordination activity of GFT Technologies SE

Ai sensi del Regolamento UE 2016/679 (GDPR) e delle Linee Guida per posta elettronica ed Internet del Garante Privacy si rende noto che le informazioni contenute nella presente comunicazione e i relativi allegati possono essere riservate e sono, comunque, destinate esclusivamente alle persone o alla Società sopraindicati. Le stesse non sono da considerarsi comunicazioni personali, quindi eventuali risposte potranno essere conosciute da persone appartenenti all'azienda.

In accordance with Regulation EU 2016/679 (General Data Protection Regulation) and Guidelines Applying to the Use of E-Mails and the Internet in the Employment Context of Italian Data Protection Authority it is announced that the information in this communication (which includes any documents with it) is confidential and meant only for above-mentioned persons and/or Companies; the information is not personal therefore, It is intended for the addressee only and any replies will be known by people belonging to the company.
_________________________________________________________________

-----Original Message-----
From: Dominik Riemer <ri...@apache.org>>
Sent: domenica 5 settembre 2021 23:46
To: users@streampipes.apache.org<ma...@streampipes.apache.org>
Subject: Re: RE: Extending Enum in Process

[EXTERNAL EMAIL]
This email originated from outside of the organization or was sent unauthenticated. Do not click links or open attachments unless you confirm the sender and know the content is safe.

Hi Frederico,

I extended the CodeInput property with basic python support [1] and the possibility to disable JS linting.

So you can now do :
.requiredCodeblock(label, CodeLanguage.Python) -> enables Python syntax highlighting (no linting by now)
.requiredCodeblock(label) -> uses CodeLanguage.None and disables syntax highlighting completely

In both methods, you can also provide a default code skeleton instead of the built-in skeleton.

There's an example at [2].
Unless you're already on 0.69.0 or are happy to test a pre-release version, I suggest to wait a bit as the next version has some major changes to pipeline element discovery which requires some reconfiguration, but feel free to try it ;-)

Hope this helps and thanks for your feedback!
Dominik

[1] https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fissues.apache.org%2Fjira%2Fprojects%2FSTREAMPIPES%2Fissues%2FSTREAMPIPES-423&amp;data=04%7C01%7CFederico.Rullo%40gft.com%7C53d05503346d4dc9780708d970b69f9e%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637664751958315478%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=5929nsVrhRSKW%2FBY39VJWZSNSbrDUpQgoiaDy06z0%2FU%3D&amp;reserved=0<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fissues.apache.org%2Fjira%2Fprojects%2FSTREAMPIPES%2Fissues%2FSTREAMPIPES-423&data=04%7C01%7CFederico.Rullo%40gft.com%7Cd3e3687ddf074c5bea7908d973a1d38e%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637667962937176770%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=ndj6Tfq7QbvbRQ6Y8nc%2F7EnvFPeRJbG6IA%2Fhb27DXz0%3D&reserved=0>
[2] https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Fincubator-streampipes-examples%2Fblob%2Fdev%2Fstreampipes-pipeline-elements-examples-processors-jvm%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fstreampipes%2Fpe%2Fexamples%2Fjvm%2Fstaticproperty%2FCodeInputExampleController.java&amp;data=04%7C01%7CFederico.Rullo%40gft.com%7C53d05503346d4dc9780708d970b69f9e%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637664751958315478%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=DiLG9OHBq1WGib1e6jqj%2BFKV8HvaweYFvBB1Vx6ajko%3D&amp;reserved=0<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Fincubator-streampipes-examples%2Fblob%2Fdev%2Fstreampipes-pipeline-elements-examples-processors-jvm%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fstreampipes%2Fpe%2Fexamples%2Fjvm%2Fstaticproperty%2FCodeInputExampleController.java&data=04%7C01%7CFederico.Rullo%40gft.com%7Cd3e3687ddf074c5bea7908d973a1d38e%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637667962937186721%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=xMBYw96a7RHHBKigssuqLbZbbozR5TeJPNAa9Ha6xHc%3D&reserved=0>

On 2021/09/03 08:35:30, "Rullo, Federico" <Fe...@gft.com>> wrote:
> Hello,
>
> Thank you for the help.
> Is there any way for me to implement error handling for python or just
> deactivate it for now?
> Since Python isn't yet implemented it obviously check for JavaScript syntax.
>
> Fede.
>
> **Federico Rullo** _
> __________________________________________________________________
>
>  **GFT Italia S.r.l.**
> Via A. Rimassa, 51/2
> 16129 Genova, Italy
>
> T +39 010 583158
> F      +39 010 8680479
> Federico.Rullo@gft.com<ma...@gft.com>
> [https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.
> gft.com%2Fit&amp;data=04%7C01%7CFederico.Rullo%40gft.com%7C53d05503346
> d4dc9780708d970b69f9e%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637
> 664751958315478%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2
> luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=vxHGLtwuj0fpa1vV
> 1JcenH5P4%2BZ4ASygnePUbrKZ6Yg%3D&amp;reserved=0](https://eur02.safelin<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Feur02.safelin%2F&data=04%7C01%7CFederico.Rullo%40gft.com%7Cd3e3687ddf074c5bea7908d973a1d38e%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637667962937186721%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=PyoGFpyYagiG6BCqwVos6zCylt30XUIjNWZmfJ0jflY%3D&reserved=0>
> ks.protection.outlook.com/?url=http%3A%2F%2Fwww.gft.com%2Fit&amp;data=
> 04%7C01%7CFederico.Rullo%40gft.com%7C53d05503346d4dc9780708d970b69f9e%
> 7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637664751958315478%7CUnkn
> own%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwi
> LCJXVCI6Mn0%3D%7C1000&amp;sdata=vxHGLtwuj0fpa1vV1JcenH5P4%2BZ4ASygnePU
> brKZ6Yg%3D&amp;reserved=0)
> <https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fblo
<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fblo%0b>> g.gft.com%2F&amp;data=04%7C01%7CFederico.Rullo%40gft.com%7C53d05503346
> d4dc9780708d970b69f9e%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637
> 664751958315478%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2
> luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=kbqPlRkp86bM3zvB
> 4AhdoaCEG%2B3Y8JYTJlG5puDlRW8%3D&amp;reserved=0>
> <https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww
<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww%0b>> .linkedin.com%2Fcompany%2Fgft-group%2F&amp;data=04%7C01%7CFederico.Rul
> lo%40gft.com%7C53d05503346d4dc9780708d970b69f9e%7C55a2bc67aec14ad29a9c
> 5b2457b91dcd%7C0%7C0%7C637664751958315478%7CUnknown%7CTWFpbGZsb3d8eyJW
> IjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&
> amp;sdata=Bs%2BCAygs5u%2FLtvPgFh8avQpJ2Lue5sIVm65Spe5Epo8%3D&amp;reser
> ved=0>
> [https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.
> twitter.com%2Fgft_it&amp;data=04%7C01%7CFederico.Rullo%40gft.com%7C53d
> 05503346d4dc9780708d970b69f9e%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7
> C0%7C637664751958315478%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLC
> JQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=fDroNTCZ
> k4%2Fs%2BhyTM8dKQ0xQfimyUMKhfpAX3GQGz1I%3D&amp;reserved=0
> ](https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww
> .twitter.com%2Fgft_it&amp;data=04%7C01%7CFederico.Rullo%40gft.com%7C53
> d05503346d4dc9780708d970b69f9e%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%
> 7C0%7C637664751958315478%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiL
> CJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=fDroNTC
> Zk4%2Fs%2BhyTM8dKQ0xQfimyUMKhfpAX3GQGz1I%3D&amp;reserved=0 )
>
> [![](cid:ActoForTheFuture_GFT@1,2x_68f73108-d76e-4497-aa5c-ff8a5693ce5
> 7.png)](https://eur02.safelinks.protection.outlook.com/?url=https%3A%2<https://eur02.safelinks.protection.outlook.com/?url=https%3A%252>
> F%2Fwww.gft.com%2Fit%2Fit%2Findex%2Fsocieta%2Fstampa%2Fpress-&amp;data
> =04%7C01%7CFederico.Rullo%40gft.com%7C53d05503346d4dc9780708d970b69f9e
> %7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637664751958315478%7CUnk
> nown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWw
> iLCJXVCI6Mn0%3D%7C1000&amp;sdata=3RShYhri0jfapskV6dYhzvZs0EapBIzliGQSz
> %2FJrq%2Fc%3D&amp;reserved=0
> releases/2021/sostenibilita-e-innovazione-sociale--gft-lancia-il-green
> coding-
> e-in-italia-act-for-the-future/)
>
> Registered office: GFT Italia S.r.l., Via Sile 18, 20139 Milan (Italy)
> VAT Code and number of registration with the Companies' Register of Milan:
> 00819200478
> Corporate capital: Euro 1,000,000 fully paid-in
>
> Company subject to the direction and coordination activity of GFT
> Technologies SE
>
> Ai sensi del Regolamento UE 2016/679 (GDPR) e delle Linee Guida per
> posta elettronica ed Internet del Garante Privacy si rende noto che le
> informazioni contenute nella presente comunicazione e i relativi
> allegati possono essere riservate e sono, comunque, destinate
> esclusivamente alle persone o alla Societa sopraindicati. Le stesse
> non sono da considerarsi comunicazioni personali, quindi eventuali
> risposte potranno essere conosciute da persone appartenenti all'azienda.
>
> In accordance with Regulation EU 2016/679 (General Data Protection
> Regulation) and Guidelines Applying to the Use of E-Mails and the
> Internet in the Employment Context of Italian Data Protection
> Authority it is announced that the information in this communication
> (which includes any documents with it) is confidential and meant only
> for above-mentioned persons and/or Companies; the information is not
> personal therefore, It is intended for the addressee only and any replies will be known by people belonging to the company.
> _________________________________________________________________
>
>
> \-----Original Message-----
> From: Philipp Zehnder <ze...@fzi.de>>
> Sent: martedi 31 agosto 2021 11:01
> To: users@streampipes.apache.org<ma...@streampipes.apache.org>
> Subject: Re: Extending Enum in Process
>
> [EXTERNAL EMAIL]
> This email originated from outside of the organization or was sent
> unauthenticated. Do not click links or open attachments unless you
> confirm the sender and know the content is safe.
>
>

RE: RE: Extending Enum in Process

Posted by Dominik Riemer <ri...@fzi.de>.
Hi Frederico,

on npm > 7, can you try npm install -legacy-peer-deps?

Dominik


From: Rullo, Federico <Fe...@gft.com>
Sent: Thursday, September 9, 2021 4:49 PM
To: users@streampipes.apache.org
Subject: RE: RE: Extending Enum in Process

Hello,

Thanks for the help.

I saw that for the linting you are using a library that can be extended to include python as well, and since I need to wait for the next stable release, I would like to try and implement it.
But, when I go to npm install the ui, it gives me the error that it cannot resolve the dependency tree, do you have any advice on that? I am currently using the newest version of npm 7.22.0.

Thank you

Federico

Federico Rullo
_________________________________________________________________

GFT Italia S.r.l.
Via A. Rimassa, 51/2
16129 Genova, Italy

T +39 010 583158
F      +39 010 8680479
Federico.Rullo@gft.com<ma...@gft.com>
www.gft.com/it<http://www.gft.com/it>
https://blog.gft.com
https://www.linkedin.com/company/gft-group/
www.twitter.com/gft_it <http://www.twitter.com/gft_it%20>

[cid:image001.png@01D7A59B.6CFE5480]<https://www.gft.com/it/it/index/societa/stampa/press-releases/2021/sostenibilita-e-innovazione-sociale--gft-lancia-il-greencoding-e-in-italia-act-for-the-future/>

Registered office: GFT Italia S.r.l., Via Sile 18, 20139 Milan (Italy)
VAT Code and number of registration with the Companies' Register of Milan: 00819200478
Corporate capital: Euro 1,000,000 fully paid-in

Company subject to the direction and coordination activity of GFT Technologies SE

Ai sensi del Regolamento UE 2016/679 (GDPR) e delle Linee Guida per posta elettronica ed Internet del Garante Privacy si rende noto che le informazioni contenute nella presente comunicazione e i relativi allegati possono essere riservate e sono, comunque, destinate esclusivamente alle persone o alla Società sopraindicati. Le stesse non sono da considerarsi comunicazioni personali, quindi eventuali risposte potranno essere conosciute da persone appartenenti all'azienda.

In accordance with Regulation EU 2016/679 (General Data Protection Regulation) and Guidelines Applying to the Use of E-Mails and the Internet in the Employment Context of Italian Data Protection Authority it is announced that the information in this communication (which includes any documents with it) is confidential and meant only for above-mentioned persons and/or Companies; the information is not personal therefore, It is intended for the addressee only and any replies will be known by people belonging to the company.
_________________________________________________________________

-----Original Message-----
From: Dominik Riemer <ri...@apache.org>>
Sent: domenica 5 settembre 2021 23:46
To: users@streampipes.apache.org<ma...@streampipes.apache.org>
Subject: Re: RE: Extending Enum in Process

[EXTERNAL EMAIL]
This email originated from outside of the organization or was sent unauthenticated. Do not click links or open attachments unless you confirm the sender and know the content is safe.

Hi Frederico,

I extended the CodeInput property with basic python support [1] and the possibility to disable JS linting.

So you can now do :
.requiredCodeblock(label, CodeLanguage.Python) -> enables Python syntax highlighting (no linting by now)
.requiredCodeblock(label) -> uses CodeLanguage.None and disables syntax highlighting completely

In both methods, you can also provide a default code skeleton instead of the built-in skeleton.

There's an example at [2].
Unless you're already on 0.69.0 or are happy to test a pre-release version, I suggest to wait a bit as the next version has some major changes to pipeline element discovery which requires some reconfiguration, but feel free to try it ;-)

Hope this helps and thanks for your feedback!
Dominik

[1] https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fissues.apache.org%2Fjira%2Fprojects%2FSTREAMPIPES%2Fissues%2FSTREAMPIPES-423&amp;data=04%7C01%7CFederico.Rullo%40gft.com%7C53d05503346d4dc9780708d970b69f9e%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637664751958315478%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=5929nsVrhRSKW%2FBY39VJWZSNSbrDUpQgoiaDy06z0%2FU%3D&amp;reserved=0
[2] https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Fincubator-streampipes-examples%2Fblob%2Fdev%2Fstreampipes-pipeline-elements-examples-processors-jvm%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fstreampipes%2Fpe%2Fexamples%2Fjvm%2Fstaticproperty%2FCodeInputExampleController.java&amp;data=04%7C01%7CFederico.Rullo%40gft.com%7C53d05503346d4dc9780708d970b69f9e%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637664751958315478%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=DiLG9OHBq1WGib1e6jqj%2BFKV8HvaweYFvBB1Vx6ajko%3D&amp;reserved=0

On 2021/09/03 08:35:30, "Rullo, Federico" <Fe...@gft.com>> wrote:
> Hello,
>
> Thank you for the help.
> Is there any way for me to implement error handling for python or just
> deactivate it for now?
> Since Python isn't yet implemented it obviously check for JavaScript syntax.
>
> Fede.
>
> **Federico Rullo** _
> __________________________________________________________________
>
>  **GFT Italia S.r.l.**
> Via A. Rimassa, 51/2
> 16129 Genova, Italy
>
> T +39 010 583158
> F      +39 010 8680479
> Federico.Rullo@gft.com<ma...@gft.com>
> [https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.
> gft.com%2Fit&amp;data=04%7C01%7CFederico.Rullo%40gft.com%7C53d05503346
> d4dc9780708d970b69f9e%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637
> 664751958315478%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2
> luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=vxHGLtwuj0fpa1vV
> 1JcenH5P4%2BZ4ASygnePUbrKZ6Yg%3D&amp;reserved=0](https://eur02.safelin
> ks.protection.outlook.com/?url=http%3A%2F%2Fwww.gft.com%2Fit&amp;data=
> 04%7C01%7CFederico.Rullo%40gft.com%7C53d05503346d4dc9780708d970b69f9e%
> 7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637664751958315478%7CUnkn
> own%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwi
> LCJXVCI6Mn0%3D%7C1000&amp;sdata=vxHGLtwuj0fpa1vV1JcenH5P4%2BZ4ASygnePU
> brKZ6Yg%3D&amp;reserved=0)
> <https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fblo
<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fblo%0b>> g.gft.com%2F&amp;data=04%7C01%7CFederico.Rullo%40gft.com%7C53d05503346
> d4dc9780708d970b69f9e%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637
> 664751958315478%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2
> luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=kbqPlRkp86bM3zvB
> 4AhdoaCEG%2B3Y8JYTJlG5puDlRW8%3D&amp;reserved=0>
> <https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww
<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww%0b>> .linkedin.com%2Fcompany%2Fgft-group%2F&amp;data=04%7C01%7CFederico.Rul
> lo%40gft.com%7C53d05503346d4dc9780708d970b69f9e%7C55a2bc67aec14ad29a9c
> 5b2457b91dcd%7C0%7C0%7C637664751958315478%7CUnknown%7CTWFpbGZsb3d8eyJW
> IjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&
> amp;sdata=Bs%2BCAygs5u%2FLtvPgFh8avQpJ2Lue5sIVm65Spe5Epo8%3D&amp;reser
> ved=0>
> [https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.
> twitter.com%2Fgft_it&amp;data=04%7C01%7CFederico.Rullo%40gft.com%7C53d
> 05503346d4dc9780708d970b69f9e%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7
> C0%7C637664751958315478%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLC
> JQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=fDroNTCZ
> k4%2Fs%2BhyTM8dKQ0xQfimyUMKhfpAX3GQGz1I%3D&amp;reserved=0
> ](https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww
> .twitter.com%2Fgft_it&amp;data=04%7C01%7CFederico.Rullo%40gft.com%7C53
> d05503346d4dc9780708d970b69f9e%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%
> 7C0%7C637664751958315478%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiL
> CJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=fDroNTC
> Zk4%2Fs%2BhyTM8dKQ0xQfimyUMKhfpAX3GQGz1I%3D&amp;reserved=0 )
>
> [![](cid:ActoForTheFuture_GFT@1,2x_68f73108-d76e-4497-aa5c-ff8a5693ce5
> 7.png)](https://eur02.safelinks.protection.outlook.com/?url=https%3A%2<https://eur02.safelinks.protection.outlook.com/?url=https%3A%252>
> F%2Fwww.gft.com%2Fit%2Fit%2Findex%2Fsocieta%2Fstampa%2Fpress-&amp;data
> =04%7C01%7CFederico.Rullo%40gft.com%7C53d05503346d4dc9780708d970b69f9e
> %7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637664751958315478%7CUnk
> nown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWw
> iLCJXVCI6Mn0%3D%7C1000&amp;sdata=3RShYhri0jfapskV6dYhzvZs0EapBIzliGQSz
> %2FJrq%2Fc%3D&amp;reserved=0
> releases/2021/sostenibilita-e-innovazione-sociale--gft-lancia-il-green
> coding-
> e-in-italia-act-for-the-future/)
>
> Registered office: GFT Italia S.r.l., Via Sile 18, 20139 Milan (Italy)
> VAT Code and number of registration with the Companies' Register of Milan:
> 00819200478
> Corporate capital: Euro 1,000,000 fully paid-in
>
> Company subject to the direction and coordination activity of GFT
> Technologies SE
>
> Ai sensi del Regolamento UE 2016/679 (GDPR) e delle Linee Guida per
> posta elettronica ed Internet del Garante Privacy si rende noto che le
> informazioni contenute nella presente comunicazione e i relativi
> allegati possono essere riservate e sono, comunque, destinate
> esclusivamente alle persone o alla Societa sopraindicati. Le stesse
> non sono da considerarsi comunicazioni personali, quindi eventuali
> risposte potranno essere conosciute da persone appartenenti all'azienda.
>
> In accordance with Regulation EU 2016/679 (General Data Protection
> Regulation) and Guidelines Applying to the Use of E-Mails and the
> Internet in the Employment Context of Italian Data Protection
> Authority it is announced that the information in this communication
> (which includes any documents with it) is confidential and meant only
> for above-mentioned persons and/or Companies; the information is not
> personal therefore, It is intended for the addressee only and any replies will be known by people belonging to the company.
> _________________________________________________________________
>
>
> \-----Original Message-----
> From: Philipp Zehnder <ze...@fzi.de>>
> Sent: martedi 31 agosto 2021 11:01
> To: users@streampipes.apache.org<ma...@streampipes.apache.org>
> Subject: Re: Extending Enum in Process
>
> [EXTERNAL EMAIL]
> This email originated from outside of the organization or was sent
> unauthenticated. Do not click links or open attachments unless you
> confirm the sender and know the content is safe.
>
>

RE: RE: Extending Enum in Process

Posted by "Rullo, Federico" <Fe...@gft.com>.
Hello,  
  
Thanks for the help.  
  
I saw that for the linting you are using a library that can be extended to
include python as well, and since I need to wait for the next stable release,
I would like to try and implement it.  
But, when I go to npm install the ui, it gives me the error that it cannot
resolve the dependency tree, do you have any advice on that? I am currently
using the newest version of npm 7.22.0.  
  
Thank you  
  
Federico  

**Federico Rullo** _  
__________________________________________________________________  
  
 **GFT Italia S.r.l.**  
Via A. Rimassa, 51/2  
16129 Genova, Italy  
  
T +39 010 583158  
F      +39 010 8680479  
Federico.Rullo@gft.com  
[www.gft.com/it](http://www.gft.com/it)  
<https://blog.gft.com>  
<https://www.linkedin.com/company/gft-group/>  
[www.twitter.com/gft_it ](http://www.twitter.com/gft_it )

[![](cid:ActoForTheFuture_GFT@1,2x_68f73108-d76e-4497-aa5c-ff8a5693ce57.png)](https://www.gft.com/it/it/index/societa/stampa/press-
releases/2021/sostenibilita-e-innovazione-sociale--gft-lancia-il-greencoding-
e-in-italia-act-for-the-future/)  
  
Registered office: GFT Italia S.r.l., Via Sile 18, 20139 Milan (Italy)  
VAT Code and number of registration with the Companies' Register of Milan:
00819200478  
Corporate capital: Euro 1,000,000 fully paid-in  
  
Company subject to the direction and coordination activity of GFT Technologies
SE

Ai sensi del Regolamento UE 2016/679 (GDPR) e delle Linee Guida per posta
elettronica ed Internet del Garante Privacy si rende noto che le informazioni
contenute nella presente comunicazione e i relativi allegati possono essere
riservate e sono, comunque, destinate esclusivamente alle persone o alla
Societa sopraindicati. Le stesse non sono da considerarsi comunicazioni
personali, quindi eventuali risposte potranno essere conosciute da persone
appartenenti all'azienda.

In accordance with Regulation EU 2016/679 (General Data Protection Regulation)
and Guidelines Applying to the Use of E-Mails and the Internet in the
Employment Context of Italian Data Protection Authority it is announced that
the information in this communication (which includes any documents with it)
is confidential and meant only for above-mentioned persons and/or Companies;
the information is not personal therefore, It is intended for the addressee
only and any replies will be known by people belonging to the company.  
_________________________________________________________________

  
\-----Original Message-----  
From: Dominik Riemer <ri...@apache.org>  
Sent: domenica 5 settembre 2021 23:46  
To: users@streampipes.apache.org  
Subject: Re: RE: Extending Enum in Process  
  
[EXTERNAL EMAIL]  
This email originated from outside of the organization or was sent
unauthenticated. Do not click links or open attachments unless you confirm the
sender and know the content is safe.  
  
Hi Frederico,  
  
I extended the CodeInput property with basic python support [1] and the
possibility to disable JS linting.  
  
So you can now do :  
.requiredCodeblock(label, CodeLanguage.Python) -> enables Python syntax
highlighting (no linting by now)  
.requiredCodeblock(label) -> uses CodeLanguage.None and disables syntax
highlighting completely  
  
In both methods, you can also provide a default code skeleton instead of the
built-in skeleton.  
  
There's an example at [2].  
Unless you're already on 0.69.0 or are happy to test a pre-release version, I
suggest to wait a bit as the next version has some major changes to pipeline
element discovery which requires some reconfiguration, but feel free to try it
;-)  
  
Hope this helps and thanks for your feedback!  
Dominik  
  
[1]
[https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fissues.apache.org%2Fjira%2Fprojects%2FSTREAMPIPES%2Fissues%2FSTREAMPIPES-423&amp;data=04%7C01%7CFederico.Rullo%40gft.com%7C53d05503346d4dc9780708d970b69f9e%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637664751958315478%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=5929nsVrhRSKW%2FBY39VJWZSNSbrDUpQgoiaDy06z0%2FU%3D&amp;reserved=0](https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fissues.apache.org%2Fjira%2Fprojects%2FSTREAMPIPES%2Fissues%2FSTREAMPIPES-423&amp;data=04%7C01%7CFederico.Rullo%40gft.com%7C53d05503346d4dc9780708d970b69f9e%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637664751958315478%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=5929nsVrhRSKW%2FBY39VJWZSNSbrDUpQgoiaDy06z0%2FU%3D&amp;reserved=0)  
[2]
[https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Fincubator-
streampipes-examples%2Fblob%2Fdev%2Fstreampipes-pipeline-elements-examples-
processors-
jvm%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fstreampipes%2Fpe%2Fexamples%2Fjvm%2Fstaticproperty%2FCodeInputExampleController.java&amp;data=04%7C01%7CFederico.Rullo%40gft.com%7C53d05503346d4dc9780708d970b69f9e%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637664751958315478%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=DiLG9OHBq1WGib1e6jqj%2BFKV8HvaweYFvBB1Vx6ajko%3D&amp;reserved=0](https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Fincubator-
streampipes-examples%2Fblob%2Fdev%2Fstreampipes-pipeline-elements-examples-
processors-
jvm%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fstreampipes%2Fpe%2Fexamples%2Fjvm%2Fstaticproperty%2FCodeInputExampleController.java&amp;data=04%7C01%7CFederico.Rullo%40gft.com%7C53d05503346d4dc9780708d970b69f9e%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637664751958315478%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=DiLG9OHBq1WGib1e6jqj%2BFKV8HvaweYFvBB1Vx6ajko%3D&amp;reserved=0)  
  
On 2021/09/03 08:35:30, "Rullo, Federico" <Fe...@gft.com> wrote:  
> Hello,  
>  
> Thank you for the help.  
> Is there any way for me to implement error handling for python or just  
> deactivate it for now?  
> Since Python isn't yet implemented it obviously check for JavaScript syntax.  
>  
> Fede.  
>  
> **Federico Rullo** _  
> __________________________________________________________________  
>  
>  **GFT Italia S.r.l.**  
> Via A. Rimassa, 51/2  
> 16129 Genova, Italy  
>  
> T +39 010 583158  
> F      +39 010 8680479  
> Federico.Rullo@gft.com  
> [[]()https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.  
> gft.com%2Fit&amp;data=04%7C01%7CFederico.Rullo%40gft.com%7C53d05503346  
> d4dc9780708d970b69f9e%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637  
> 664751958315478%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2  
> luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=vxHGLtwuj0fpa1vV  
> 1JcenH5P4%2BZ4ASygnePUbrKZ6Yg%3D&amp;reserved=0](https://eur02.safelin  
> ks.protection.outlook.com/?url=http%3A%2F%2Fwww.gft.com%2Fit&amp;data=  
> 04%7C01%7CFederico.Rullo%40gft.com%7C53d05503346d4dc9780708d970b69f9e%  
> 7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637664751958315478%7CUnkn  
> own%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwi  
> LCJXVCI6Mn0%3D%7C1000&amp;sdata=vxHGLtwuj0fpa1vV1JcenH5P4%2BZ4ASygnePU  
> brKZ6Yg%3D&amp;reserved=0)  
> <[]()https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fblo  
> g.gft.com%2F&amp;data=04%7C01%7CFederico.Rullo%40gft.com%7C53d05503346  
> d4dc9780708d970b69f9e%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637  
> 664751958315478%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2  
> luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=kbqPlRkp86bM3zvB  
> 4AhdoaCEG%2B3Y8JYTJlG5puDlRW8%3D&amp;reserved=0>  
> <[]()https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww  
> .linkedin.com%2Fcompany%2Fgft-group%2F&amp;data=04%7C01%7CFederico.Rul  
> lo%40gft.com%7C53d05503346d4dc9780708d970b69f9e%7C55a2bc67aec14ad29a9c  
> 5b2457b91dcd%7C0%7C0%7C637664751958315478%7CUnknown%7CTWFpbGZsb3d8eyJW  
> IjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&  
> amp;sdata=Bs%2BCAygs5u%2FLtvPgFh8avQpJ2Lue5sIVm65Spe5Epo8%3D&amp;reser  
> ved=0>  
> [[]()https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.  
> twitter.com%2Fgft_it&amp;data=04%7C01%7CFederico.Rullo%40gft.com%7C53d  
> 05503346d4dc9780708d970b69f9e%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7  
> C0%7C637664751958315478%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLC  
> JQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=fDroNTCZ  
> k4%2Fs%2BhyTM8dKQ0xQfimyUMKhfpAX3GQGz1I%3D&amp;reserved=0  
> ]([]()https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww  
> .twitter.com%2Fgft_it&amp;data=04%7C01%7CFederico.Rullo%40gft.com%7C53  
> d05503346d4dc9780708d970b69f9e%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%  
> 7C0%7C637664751958315478%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiL  
> CJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=fDroNTC  
> Zk4%2Fs%2BhyTM8dKQ0xQfimyUMKhfpAX3GQGz1I%3D&amp;reserved=0 )  
>  
> [![](cid:ActoForTheFuture_GFT@1,2x_68f73108-d76e-4497-aa5c-ff8a5693ce5  
> 7.png)]([]()https://eur02.safelinks.protection.outlook.com/?url=https%3A%2  
> F%2Fwww.gft.com%2Fit%2Fit%2Findex%2Fsocieta%2Fstampa%2Fpress-&amp;data  
> =04%7C01%7CFederico.Rullo%40gft.com%7C53d05503346d4dc9780708d970b69f9e  
> %7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637664751958315478%7CUnk  
> nown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWw  
> iLCJXVCI6Mn0%3D%7C1000&amp;sdata=3RShYhri0jfapskV6dYhzvZs0EapBIzliGQSz  
> %2FJrq%2Fc%3D&amp;reserved=0  
> releases/2021/sostenibilita-e-innovazione-sociale--gft-lancia-il-green  
> coding-  
> e-in-italia-act-for-the-future/)  
>  
> Registered office: GFT Italia S.r.l., Via Sile 18, 20139 Milan (Italy)  
> VAT Code and number of registration with the Companies' Register of Milan:  
> 00819200478  
> Corporate capital: Euro 1,000,000 fully paid-in  
>  
> Company subject to the direction and coordination activity of GFT  
> Technologies SE  
>  
> Ai sensi del Regolamento UE 2016/679 (GDPR) e delle Linee Guida per  
> posta elettronica ed Internet del Garante Privacy si rende noto che le  
> informazioni contenute nella presente comunicazione e i relativi  
> allegati possono essere riservate e sono, comunque, destinate  
> esclusivamente alle persone o alla Societa sopraindicati. Le stesse  
> non sono da considerarsi comunicazioni personali, quindi eventuali  
> risposte potranno essere conosciute da persone appartenenti all'azienda.  
>  
> In accordance with Regulation EU 2016/679 (General Data Protection  
> Regulation) and Guidelines Applying to the Use of E-Mails and the  
> Internet in the Employment Context of Italian Data Protection  
> Authority it is announced that the information in this communication  
> (which includes any documents with it) is confidential and meant only  
> for above-mentioned persons and/or Companies; the information is not  
> personal therefore, It is intended for the addressee only and any replies
will be known by people belonging to the company.  
> _________________________________________________________________  
>  
>  
> \\-----Original Message-----  
> From: Philipp Zehnder <ze...@fzi.de>  
> Sent: martedi 31 agosto 2021 11:01  
> To: users@streampipes.apache.org  
> Subject: Re: Extending Enum in Process  
>  
> [EXTERNAL EMAIL]  
> This email originated from outside of the organization or was sent  
> unauthenticated. Do not click links or open attachments unless you  
> confirm the sender and know the content is safe.  
>  
>  


Re: RE: Extending Enum in Process

Posted by Dominik Riemer <ri...@apache.org>.
Hi Frederico,

I extended the CodeInput property with basic python support [1] and the possibility to disable JS linting.

So you can now do :
.requiredCodeblock(label, CodeLanguage.Python) -> enables Python syntax highlighting (no linting by now)
.requiredCodeblock(label) -> uses CodeLanguage.None and disables syntax highlighting completely

In both methods, you can also provide a default code skeleton instead of the built-in skeleton.

There's an example at [2]. 
Unless you're already on 0.69.0 or are happy to test a pre-release version, I suggest to wait a bit as the next version has some major changes to pipeline element discovery which requires some reconfiguration, but feel free to try it ;-)

Hope this helps and thanks for your feedback!
Dominik

[1] https://issues.apache.org/jira/projects/STREAMPIPES/issues/STREAMPIPES-423
[2] https://github.com/apache/incubator-streampipes-examples/blob/dev/streampipes-pipeline-elements-examples-processors-jvm/src/main/java/org/apache/streampipes/pe/examples/jvm/staticproperty/CodeInputExampleController.java

On 2021/09/03 08:35:30, "Rullo, Federico" <Fe...@gft.com> wrote: 
> Hello,  
>   
> Thank you for the help.  
> Is there any way for me to implement error handling for python or just
> deactivate it for now?  
> Since Python isn't yet implemented it obviously check for JavaScript syntax.  
>   
> Fede.  
> 
> **Federico Rullo** _  
> __________________________________________________________________  
>   
>  **GFT Italia S.r.l.**  
> Via A. Rimassa, 51/2  
> 16129 Genova, Italy  
>   
> T +39 010 583158  
> F      +39 010 8680479  
> Federico.Rullo@gft.com  
> [www.gft.com/it](http://www.gft.com/it)  
> <https://blog.gft.com>  
> <https://www.linkedin.com/company/gft-group/>  
> [www.twitter.com/gft_it ](http://www.twitter.com/gft_it )
> 
> [![](cid:ActoForTheFuture_GFT@1,2x_68f73108-d76e-4497-aa5c-ff8a5693ce57.png)](https://www.gft.com/it/it/index/societa/stampa/press-
> releases/2021/sostenibilita-e-innovazione-sociale--gft-lancia-il-greencoding-
> e-in-italia-act-for-the-future/)  
>   
> Registered office: GFT Italia S.r.l., Via Sile 18, 20139 Milan (Italy)  
> VAT Code and number of registration with the Companies' Register of Milan:
> 00819200478  
> Corporate capital: Euro 1,000,000 fully paid-in  
>   
> Company subject to the direction and coordination activity of GFT Technologies
> SE
> 
> Ai sensi del Regolamento UE 2016/679 (GDPR) e delle Linee Guida per posta
> elettronica ed Internet del Garante Privacy si rende noto che le informazioni
> contenute nella presente comunicazione e i relativi allegati possono essere
> riservate e sono, comunque, destinate esclusivamente alle persone o alla
> Societa sopraindicati. Le stesse non sono da considerarsi comunicazioni
> personali, quindi eventuali risposte potranno essere conosciute da persone
> appartenenti all'azienda.
> 
> In accordance with Regulation EU 2016/679 (General Data Protection Regulation)
> and Guidelines Applying to the Use of E-Mails and the Internet in the
> Employment Context of Italian Data Protection Authority it is announced that
> the information in this communication (which includes any documents with it)
> is confidential and meant only for above-mentioned persons and/or Companies;
> the information is not personal therefore, It is intended for the addressee
> only and any replies will be known by people belonging to the company.  
> _________________________________________________________________
> 
>   
> \-----Original Message-----  
> From: Philipp Zehnder <ze...@fzi.de>  
> Sent: martedi 31 agosto 2021 11:01  
> To: users@streampipes.apache.org  
> Subject: Re: Extending Enum in Process  
>   
> [EXTERNAL EMAIL]  
> This email originated from outside of the organization or was sent
> unauthenticated. Do not click links or open attachments unless you confirm the
> sender and know the content is safe.  
> 
> 

RE: Extending Enum in Process

Posted by "Rullo, Federico" <Fe...@gft.com>.
Hello,  
  
Thank you for the help.  
Is there any way for me to implement error handling for python or just
deactivate it for now?  
Since Python isn't yet implemented it obviously check for JavaScript syntax.  
  
Fede.  

**Federico Rullo** _  
__________________________________________________________________  
  
 **GFT Italia S.r.l.**  
Via A. Rimassa, 51/2  
16129 Genova, Italy  
  
T +39 010 583158  
F      +39 010 8680479  
Federico.Rullo@gft.com  
[www.gft.com/it](http://www.gft.com/it)  
<https://blog.gft.com>  
<https://www.linkedin.com/company/gft-group/>  
[www.twitter.com/gft_it ](http://www.twitter.com/gft_it )

[![](cid:ActoForTheFuture_GFT@1,2x_68f73108-d76e-4497-aa5c-ff8a5693ce57.png)](https://www.gft.com/it/it/index/societa/stampa/press-
releases/2021/sostenibilita-e-innovazione-sociale--gft-lancia-il-greencoding-
e-in-italia-act-for-the-future/)  
  
Registered office: GFT Italia S.r.l., Via Sile 18, 20139 Milan (Italy)  
VAT Code and number of registration with the Companies' Register of Milan:
00819200478  
Corporate capital: Euro 1,000,000 fully paid-in  
  
Company subject to the direction and coordination activity of GFT Technologies
SE

Ai sensi del Regolamento UE 2016/679 (GDPR) e delle Linee Guida per posta
elettronica ed Internet del Garante Privacy si rende noto che le informazioni
contenute nella presente comunicazione e i relativi allegati possono essere
riservate e sono, comunque, destinate esclusivamente alle persone o alla
Societa sopraindicati. Le stesse non sono da considerarsi comunicazioni
personali, quindi eventuali risposte potranno essere conosciute da persone
appartenenti all'azienda.

In accordance with Regulation EU 2016/679 (General Data Protection Regulation)
and Guidelines Applying to the Use of E-Mails and the Internet in the
Employment Context of Italian Data Protection Authority it is announced that
the information in this communication (which includes any documents with it)
is confidential and meant only for above-mentioned persons and/or Companies;
the information is not personal therefore, It is intended for the addressee
only and any replies will be known by people belonging to the company.  
_________________________________________________________________

  
\-----Original Message-----  
From: Philipp Zehnder <ze...@fzi.de>  
Sent: martedi 31 agosto 2021 11:01  
To: users@streampipes.apache.org  
Subject: Re: Extending Enum in Process  
  
[EXTERNAL EMAIL]  
This email originated from outside of the organization or was sent
unauthenticated. Do not click links or open attachments unless you confirm the
sender and know the content is safe.  


Re: Extending Enum in Process

Posted by Philipp Zehnder <ze...@fzi.de>.
No problem.
Once you added the new language definition to the CodeLanguage class, you can also provide a pull request if you want. So other developers can also leverage it.

@all: How would the code validation in the UI look like for other languages? I think currently we only provide support it for JavaScript, right?

Philipp

> On 31. Aug 2021, at 10:54, Rullo, Federico <Fe...@gft.com> wrote:
> 
> Hello,
>  
> I see thank you very much.
>  
> Federico
>  
> Federico Rullo
> _________________________________________________________________
> 
> GFT Italia S.r.l.
> Via A. Rimassa, 51/2
> 16129 Genova, Italy
> 
> T +39 010 583158
> F      +39 010 8680479
> Federico.Rullo@gft.com <ma...@gft.com>
> www.gft.com/it <http://www.gft.com/it>
> https://blog.gft.com <https://blog.gft.com/>
> https://www.linkedin.com/company/gft-group/ <https://www.linkedin.com/company/gft-group/>
> www.twitter.com/gft_it  <http://www.twitter.com/gft_it>
> <ActoForTheFuture_GFT@1,2x_68f73108-d76e-4497-aa5c-ff8a5693ce57.png> <https://www.gft.com/it/it/index/societa/stampa/press-releases/2021/sostenibilita-e-innovazione-sociale--gft-lancia-il-greencoding-e-in-italia-act-for-the-future/>
> 
> Registered office: GFT Italia S.r.l., Via Sile 18, 20139 Milan (Italy)
> VAT Code and number of registration with the Companies' Register of Milan: 00819200478
> Corporate capital: Euro 1,000,000 fully paid-in
> 
> Company subject to the direction and coordination activity of GFT Technologies SE
> 
> Ai sensi del Regolamento UE 2016/679 (GDPR) e delle Linee Guida per posta elettronica ed Internet del Garante Privacy si rende noto che le informazioni contenute nella presente comunicazione e i relativi allegati possono essere riservate e sono, comunque, destinate esclusivamente alle persone o alla Società sopraindicati. Le stesse non sono da considerarsi comunicazioni personali, quindi eventuali risposte potranno essere conosciute da persone appartenenti all’azienda. 
> 
> In accordance with Regulation EU 2016/679 (General Data Protection Regulation) and Guidelines Applying to the Use of E-Mails and the Internet in the Employment Context of Italian Data Protection Authority it is announced that the information in this communication (which includes any documents with it) is confidential and meant only for above-mentioned persons and/or Companies; the information is not personal therefore, It is intended for the addressee only and any replies will be known by people belonging to the company.
> _________________________________________________________________
> 
> From: Philipp Zehnder <zehnder@apache.org <ma...@apache.org>> 
> Sent: martedì 31 agosto 2021 10:52
> To: users@streampipes.apache.org <ma...@streampipes.apache.org>
> Subject: Re: Extending Enum in Process
>  
> [EXTERNAL EMAIL]
> This email originated from outside of the organization or was sent unauthenticated. Do not click links or open attachments unless you confirm the sender and know the content is safe.
> 
> Hi Federico, 
>  
> It should be possible to directly extend the class with a new enum. E.g.:
> public enum CodeLanguage {
>   Javascript(“..."),
>   TypeScript(“…");
> Is this what you are looking for?
> In the declareModel it is also possible to provide a custom code skeleton:
>  
> .requiredCodeblock(Labels.withId(JSON_CONFIGURATION), CodeLanguage.Javascript, defaultSkeleton)
>  
> I used this in the BooleanToStatController [1], where I wanted that the user provides a json object instead of a javascript function.
>  
> Philipp
>  
>  
> [1] https://github.com/apache/incubator-streampipes-extensions/blob/dev/streampipes-processors-transformation-jvm/src/main/java/org/apache/streampipes/processors/transformation/jvm/processor/booloperator/state/BooleanToStateController.java <https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Fincubator-streampipes-extensions%2Fblob%2Fdev%2Fstreampipes-processors-transformation-jvm%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fstreampipes%2Fprocessors%2Ftransformation%2Fjvm%2Fprocessor%2Fbooloperator%2Fstate%2FBooleanToStateController.java&data=04%7C01%7CFederico.Rullo%40gft.com%7C82b8924e50c845531d6108d96c5c9ded%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637659967315747084%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=NCuqMGdDTn8YUBJXxD%2FHuK8XEufCC970JzkCK0DKVdw%3D&reserved=0>
>  
>  
> 
> 
> On 31. Aug 2021, at 10:41, Rullo, Federico <Federico.Rullo@gft.com <ma...@gft.com>> wrote:
>  
> Hello,
>  
> I am currently developing a processor and I wanted to extend the CodeLanguage class to add a new language to it, do you have any advice on how to do it, since I know that extending enums is not possible or really hard in Java.
>  
> Thank you in advance,
>  
> Federico.
> Federico Rullo
> _________________________________________________________________
> 
> GFT Italia S.r.l.
> Via A. Rimassa, 51/2
> 16129 Genova, Italy
> 
> T +39 010 583158
> F      +39 010 8680479
> Federico.Rullo@gft.com <ma...@gft.com>
> www.gft.com/it <https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.gft.com%2Fit&data=04%7C01%7CFederico.Rullo%40gft.com%7C82b8924e50c845531d6108d96c5c9ded%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637659967315747084%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=pFD2NFbHufYd%2Fj%2FHcdgvBIgXH9k8SCBcVwzAaF79wOI%3D&reserved=0>
> https://blog.gft.com <https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fblog.gft.com%2F&data=04%7C01%7CFederico.Rullo%40gft.com%7C82b8924e50c845531d6108d96c5c9ded%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637659967315757044%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=%2FPHZH422bN62eSCdUXD3%2Fl8OMBUuZud7qHU0mBr%2FEf4%3D&reserved=0>
> https://www.linkedin.com/company/gft-group/ <https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.linkedin.com%2Fcompany%2Fgft-group%2F&data=04%7C01%7CFederico.Rullo%40gft.com%7C82b8924e50c845531d6108d96c5c9ded%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637659967315757044%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=PYjKnjg%2Fi7PdJY9%2BQ%2F2BEFyGJ8nvSPQcy3jPxiLo5i0%3D&reserved=0>
> www.twitter.com/gft_it  <https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.twitter.com%2Fgft_it&data=04%7C01%7CFederico.Rullo%40gft.com%7C82b8924e50c845531d6108d96c5c9ded%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637659967315757044%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=MjP1e5QoH51bD2lMP3vzYo0Ex4WKsjX4aBKxC%2BJuEx8%3D&reserved=0>
> <ActoForTheFuture_GFT@1,2x_68f73108-d76e-4497-aa5c-ff8a5693ce57.png> <https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.gft.com%2Fit%2Fit%2Findex%2Fsocieta%2Fstampa%2Fpress-releases%2F2021%2Fsostenibilita-e-innovazione-sociale--gft-lancia-il-greencoding-e-in-italia-act-for-the-future%2F&data=04%7C01%7CFederico.Rullo%40gft.com%7C82b8924e50c845531d6108d96c5c9ded%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637659967315766999%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=91WuRcCRzlerQfXIi%2B7PN121V1kTEaRVcyotkR8nEvI%3D&reserved=0>
> 
> Registered office: GFT Italia S.r.l., Via Sile 18, 20139 Milan (Italy)
> VAT Code and number of registration with the Companies' Register of Milan: 00819200478
> Corporate capital: Euro 1,000,000 fully paid-in
> 
> Company subject to the direction and coordination activity of GFT Technologies SE
> Ai sensi del Regolamento UE 2016/679 (GDPR) e delle Linee Guida per posta elettronica ed Internet del Garante Privacy si rende noto che le informazioni contenute nella presente comunicazione e i relativi allegati possono essere riservate e sono, comunque, destinate esclusivamente alle persone o alla Società sopraindicati. Le stesse non sono da considerarsi comunicazioni personali, quindi eventuali risposte potranno essere conosciute da persone appartenenti all’azienda. 
> In accordance with Regulation EU 2016/679 (General Data Protection Regulation) and Guidelines Applying to the Use of E-Mails and the Internet in the Employment Context of Italian Data Protection Authority it is announced that the information in this communication (which includes any documents with it) is confidential and meant only for above-mentioned persons and/or Companies; the information is not personal therefore, It is intended for the addressee only and any replies will be known by people belonging to the company.
> _________________________________________________________________


RE: Extending Enum in Process

Posted by "Rullo, Federico" <Fe...@gft.com>.
Hello,

I see thank you very much.

Federico


Federico Rullo
_________________________________________________________________

GFT Italia S.r.l.
Via A. Rimassa, 51/2
16129 Genova, Italy

T +39 010 583158
F      +39 010 8680479
Federico.Rullo@gft.com
www.gft.com/it<http://www.gft.com/it>
https://blog.gft.com
https://www.linkedin.com/company/gft-group/
www.twitter.com/gft_it <http://www.twitter.com/gft_it>

[cid:ActoForTheFuture_GFT@1,2x_68f73108-d76e-4497-aa5c-ff8a5693ce57.png]<https://www.gft.com/it/it/index/societa/stampa/press-releases/2021/sostenibilita-e-innovazione-sociale--gft-lancia-il-greencoding-e-in-italia-act-for-the-future/>

Registered office: GFT Italia S.r.l., Via Sile 18, 20139 Milan (Italy)
VAT Code and number of registration with the Companies' Register of Milan: 00819200478
Corporate capital: Euro 1,000,000 fully paid-in

Company subject to the direction and coordination activity of GFT Technologies SE

Ai sensi del Regolamento UE 2016/679 (GDPR) e delle Linee Guida per posta elettronica ed Internet del Garante Privacy si rende noto che le informazioni contenute nella presente comunicazione e i relativi allegati possono essere riservate e sono, comunque, destinate esclusivamente alle persone o alla Società sopraindicati. Le stesse non sono da considerarsi comunicazioni personali, quindi eventuali risposte potranno essere conosciute da persone appartenenti all'azienda.

In accordance with Regulation EU 2016/679 (General Data Protection Regulation) and Guidelines Applying to the Use of E-Mails and the Internet in the Employment Context of Italian Data Protection Authority it is announced that the information in this communication (which includes any documents with it) is confidential and meant only for above-mentioned persons and/or Companies; the information is not personal therefore, It is intended for the addressee only and any replies will be known by people belonging to the company.
_________________________________________________________________
From: Philipp Zehnder <ze...@apache.org>
Sent: martedì 31 agosto 2021 10:52
To: users@streampipes.apache.org
Subject: Re: Extending Enum in Process


[EXTERNAL EMAIL]
This email originated from outside of the organization or was sent unauthenticated. Do not click links or open attachments unless you confirm the sender and know the content is safe.
Hi Federico,

It should be possible to directly extend the class with a new enum. E.g.:

public enum CodeLanguage {
  Javascript("..."),
  TypeScript("...");
Is this what you are looking for?
In the declareModel it is also possible to provide a custom code skeleton:


.requiredCodeblock(Labels.withId(JSON_CONFIGURATION), CodeLanguage.Javascript, defaultSkeleton)

I used this in the BooleanToStatController [1], where I wanted that the user provides a json object instead of a javascript function.

Philipp


[1] https://github.com/apache/incubator-streampipes-extensions/blob/dev/streampipes-processors-transformation-jvm/src/main/java/org/apache/streampipes/processors/transformation/jvm/processor/booloperator/state/BooleanToStateController.java<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Fincubator-streampipes-extensions%2Fblob%2Fdev%2Fstreampipes-processors-transformation-jvm%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fstreampipes%2Fprocessors%2Ftransformation%2Fjvm%2Fprocessor%2Fbooloperator%2Fstate%2FBooleanToStateController.java&data=04%7C01%7CFederico.Rullo%40gft.com%7C82b8924e50c845531d6108d96c5c9ded%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637659967315747084%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=NCuqMGdDTn8YUBJXxD%2FHuK8XEufCC970JzkCK0DKVdw%3D&reserved=0>




On 31. Aug 2021, at 10:41, Rullo, Federico <Fe...@gft.com>> wrote:

Hello,

I am currently developing a processor and I wanted to extend the CodeLanguage class to add a new language to it, do you have any advice on how to do it, since I know that extending enums is not possible or really hard in Java.

Thank you in advance,

Federico.
Federico Rullo
_________________________________________________________________

GFT Italia S.r.l.
Via A. Rimassa, 51/2
16129 Genova, Italy

T +39 010 583158
F      +39 010 8680479
Federico.Rullo@gft.com<ma...@gft.com>
www.gft.com/it<https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.gft.com%2Fit&data=04%7C01%7CFederico.Rullo%40gft.com%7C82b8924e50c845531d6108d96c5c9ded%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637659967315747084%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=pFD2NFbHufYd%2Fj%2FHcdgvBIgXH9k8SCBcVwzAaF79wOI%3D&reserved=0>
https://blog.gft.com<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fblog.gft.com%2F&data=04%7C01%7CFederico.Rullo%40gft.com%7C82b8924e50c845531d6108d96c5c9ded%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637659967315757044%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=%2FPHZH422bN62eSCdUXD3%2Fl8OMBUuZud7qHU0mBr%2FEf4%3D&reserved=0>
https://www.linkedin.com/company/gft-group/<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.linkedin.com%2Fcompany%2Fgft-group%2F&data=04%7C01%7CFederico.Rullo%40gft.com%7C82b8924e50c845531d6108d96c5c9ded%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637659967315757044%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=PYjKnjg%2Fi7PdJY9%2BQ%2F2BEFyGJ8nvSPQcy3jPxiLo5i0%3D&reserved=0>
www.twitter.com/gft_it <https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.twitter.com%2Fgft_it&data=04%7C01%7CFederico.Rullo%40gft.com%7C82b8924e50c845531d6108d96c5c9ded%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637659967315757044%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=MjP1e5QoH51bD2lMP3vzYo0Ex4WKsjX4aBKxC%2BJuEx8%3D&reserved=0>
<ActoForTheFuture_GFT@1,2x_68f73108-d76e-4497-aa5c-ff8a5693ce57.png><https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.gft.com%2Fit%2Fit%2Findex%2Fsocieta%2Fstampa%2Fpress-releases%2F2021%2Fsostenibilita-e-innovazione-sociale--gft-lancia-il-greencoding-e-in-italia-act-for-the-future%2F&data=04%7C01%7CFederico.Rullo%40gft.com%7C82b8924e50c845531d6108d96c5c9ded%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637659967315766999%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=91WuRcCRzlerQfXIi%2B7PN121V1kTEaRVcyotkR8nEvI%3D&reserved=0>

Registered office: GFT Italia S.r.l., Via Sile 18, 20139 Milan (Italy)
VAT Code and number of registration with the Companies' Register of Milan: 00819200478
Corporate capital: Euro 1,000,000 fully paid-in

Company subject to the direction and coordination activity of GFT Technologies SE
Ai sensi del Regolamento UE 2016/679 (GDPR) e delle Linee Guida per posta elettronica ed Internet del Garante Privacy si rende noto che le informazioni contenute nella presente comunicazione e i relativi allegati possono essere riservate e sono, comunque, destinate esclusivamente alle persone o alla Società sopraindicati. Le stesse non sono da considerarsi comunicazioni personali, quindi eventuali risposte potranno essere conosciute da persone appartenenti all'azienda.
In accordance with Regulation EU 2016/679 (General Data Protection Regulation) and Guidelines Applying to the Use of E-Mails and the Internet in the Employment Context of Italian Data Protection Authority it is announced that the information in this communication (which includes any documents with it) is confidential and meant only for above-mentioned persons and/or Companies; the information is not personal therefore, It is intended for the addressee only and any replies will be known by people belonging to the company.
_________________________________________________________________


Re: Extending Enum in Process

Posted by Philipp Zehnder <ze...@apache.org>.
Hi Federico,

It should be possible to directly extend the class with a new enum. E.g.:
public enum CodeLanguage {
  Javascript(“..."),
  TypeScript(“…");
Is this what you are looking for?
In the declareModel it is also possible to provide a custom code skeleton:

.requiredCodeblock(Labels.withId(JSON_CONFIGURATION), CodeLanguage.Javascript, defaultSkeleton)

I used this in the BooleanToStatController [1], where I wanted that the user provides a json object instead of a javascript function.

Philipp


[1] https://github.com/apache/incubator-streampipes-extensions/blob/dev/streampipes-processors-transformation-jvm/src/main/java/org/apache/streampipes/processors/transformation/jvm/processor/booloperator/state/BooleanToStateController.java



> On 31. Aug 2021, at 10:41, Rullo, Federico <Fe...@gft.com> wrote:
> 
> Hello,
>  
> I am currently developing a processor and I wanted to extend the CodeLanguage class to add a new language to it, do you have any advice on how to do it, since I know that extending enums is not possible or really hard in Java.
>  
> Thank you in advance,
>  
> Federico.
> Federico Rullo
> _________________________________________________________________
> 
> GFT Italia S.r.l.
> Via A. Rimassa, 51/2
> 16129 Genova, Italy
> 
> T +39 010 583158
> F      +39 010 8680479
> Federico.Rullo@gft.com <ma...@gft.com>
> www.gft.com/it <http://www.gft.com/it>
> https://blog.gft.com <https://blog.gft.com/>
> https://www.linkedin.com/company/gft-group/ <https://www.linkedin.com/company/gft-group/>
> www.twitter.com/gft_it  <http://www.twitter.com/gft_it>
> <ActoForTheFuture_GFT@1,2x_68f73108-d76e-4497-aa5c-ff8a5693ce57.png> <https://www.gft.com/it/it/index/societa/stampa/press-releases/2021/sostenibilita-e-innovazione-sociale--gft-lancia-il-greencoding-e-in-italia-act-for-the-future/>
> 
> Registered office: GFT Italia S.r.l., Via Sile 18, 20139 Milan (Italy)
> VAT Code and number of registration with the Companies' Register of Milan: 00819200478
> Corporate capital: Euro 1,000,000 fully paid-in
> 
> Company subject to the direction and coordination activity of GFT Technologies SE
> 
> Ai sensi del Regolamento UE 2016/679 (GDPR) e delle Linee Guida per posta elettronica ed Internet del Garante Privacy si rende noto che le informazioni contenute nella presente comunicazione e i relativi allegati possono essere riservate e sono, comunque, destinate esclusivamente alle persone o alla Società sopraindicati. Le stesse non sono da considerarsi comunicazioni personali, quindi eventuali risposte potranno essere conosciute da persone appartenenti all’azienda. 
> 
> In accordance with Regulation EU 2016/679 (General Data Protection Regulation) and Guidelines Applying to the Use of E-Mails and the Internet in the Employment Context of Italian Data Protection Authority it is announced that the information in this communication (which includes any documents with it) is confidential and meant only for above-mentioned persons and/or Companies; the information is not personal therefore, It is intended for the addressee only and any replies will be known by people belonging to the company.
> _________________________________________________________________
>