Compare commits

..

705 Commits

Author SHA1 Message Date
wwang
81f2481ffb fix(TDI-49483): Denial Of Service (DoS) in Talend/connectors-se (master)-FileUpload 2023-03-29 15:59:20 +08:00
vyu-talend
9f98e86b95 feat(TDI-47760):add nb_line to tMSSqlRow/tAzureSynapseRow/tRedshiftRow/tTeradataRow (#8563)
* feat(TDI-47760):add nb_line to mssqlrow.

* feat(TDI-47759):add nb_line to azuresynapserow.

* feat(TDI-45256):add nb_line to redshiftrow.

* feat(TDI-46699):add nb_line to teradatarow.

* feat(TDI-47760):optimize codes.

* feat(TDI-47760):update i18n.

* feat(TDI-47760):optimize codes.

* feat(TDI-47760):add nb_line redshiftrow.

* feat(TDI-47760):fix multiple input rows issue.

* feat(TDI-47760):optimize codes.

* feat(TDi-47760):fix no boolean definition in other dbs.

* feat(TDI-47760):fix some issues found by QA.
2023-03-29 15:47:38 +08:00
hcyi
5f6de50612 fix(TUP-37730):Updated generic schema name is not reflecting in the component Table field (#8485)
* fix(TUP-37730):Updated generic schema name is not reflecting in the
component Table field

* fix(TUP-37730):fix a bug for Updated generic schema name is not
reflecting in the component Table field.
2023-03-28 17:20:43 +08:00
bhe-talendbj
8b9701c671 feat(TUP-38453): enable standard git storage mode for new workspace b… (#8584)
* feat(TUP-36966): enable standard git storage mode for new workspace by default

* feat(TUP-36966): enable standard mode if no old git local storage
2023-03-27 15:50:49 +08:00
sbliu
7e2b62768b add localized files (#8599)
* Add localized files (#8593)

Co-authored-by: build-talend-doc <build-talend-doc@talend.com>

* Add localized files (#8595)

Co-authored-by: build-talend-doc <build-talend-doc@talend.com>

* Add localized files (#8600)

Co-authored-by: build-talend-doc <build-talend-doc@talend.com>

---------

Co-authored-by: Alexiane Yvonet <ayvonet@talend.com>
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
Co-authored-by: tsasada-talend <51699524+tsasada-talend@users.noreply.github.com>
Co-authored-by: jzhangbj <jzhang@talend.com>
2023-03-27 15:19:58 +08:00
hzhao
aed21a75f8 fix(TUP-38282): Guess Schema doesn't show Context options (#8575)
* fix(TUP-38282): Guess Schema doesn't show Context options

* fix(TUP-38282): Guess Schema doesn't show Context options
2023-03-23 14:50:58 +08:00
Oleksandr Zhelezniak
652110042e fix(TDI-49549): BigQuery catch NPE (#8577)
* problem in google-cloud-bigquery, catch NPE when we try to covert to JSON statistic object
2023-03-22 11:45:29 +02:00
Oleksandr Zhelezniak
8661cee093 fix(TDI-49487): BigQuery forceSingleQueryExecution (#8548)
* add a new checkbox forceSingleQueryExecution. It forces the execution of complex queries as one query and get the single result.
* return the behavior of job\query executions before feature that splits query to multiquery execution
2023-03-21 10:52:03 +02:00
sbliu
abd0f98520 fix(TUP-38173) add junit (#8573)
* fix(TUP-38173) add junit

* fix npe caused by link folder now prepared
2023-03-21 09:47:47 +08:00
zyuan-talend
a86e3ac3f4 fix(TUP-38234):Restore Job name and description editing in Job tab (#8538) 2023-03-21 09:36:03 +08:00
Laurent BOURGEOIS
1b35de9b0f fix(TBD-14981):Compile error when tMap uses filter expression (#8571) 2023-03-20 12:21:25 +01:00
sbliu
588fd14b61 fix(TUP-38173) upload context link when context changed (#8523) 2023-03-17 14:26:33 +08:00
sbliu
26a5e700a2 Add localized files (#8569 #8570) (#8572)
* Add localized files (#8569)

Co-authored-by: build-talend-doc <build-talend-doc@talend.com>

* Add localized files (#8570)

Co-authored-by: build-talend-doc <build-talend-doc@talend.com>

---------

Co-authored-by: Alexiane Yvonet <ayvonet@talend.com>
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
Co-authored-by: tsasada-talend <51699524+tsasada-talend@users.noreply.github.com>
2023-03-17 11:03:57 +08:00
pyzhou
a7c33f46b0 feat(TDI-49447):upgrade snowflake driver to 3.13.28 (#8553) 2023-03-16 15:26:41 +08:00
Xilai Dai
e80900319c fix(APPINT-35336) fix the missing velocity 1.5 when build job bundle (#8559) (#8564) 2023-03-14 17:10:00 +08:00
Oleksandr Zhelezniak
642d2c5591 fix(TDI-49434): copy MDC to subprocess (#8526)
* copy MDC to parallelize
2023-03-13 09:16:55 +02:00
Oleksandr Zhelezniak
cd7f68fad8 fix(TDI-31777): bump library talendcsv (#8390) 2023-03-10 12:51:46 +02:00
jiezhang-tlnd
bfc442e10f Add localized files (#8557) (#8558)
Co-authored-by: jzhangbj <jzhang@talend.com>
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
2023-03-10 09:39:29 +08:00
Colm O hEigeartaigh
fcfc05620c fix(TDI-49470): Use try-with-resources in the codegen footer (#8519) 2023-03-09 12:46:17 +02:00
Colm O hEigeartaigh
3dbc267d70 fix(TDI-47974): Avoid locale dependent call to toLowerCase (#8527) 2023-03-09 12:41:00 +02:00
Oleksandr Zhelezniak
681220d7ee chore(TDI-49521): update label content (#8554) 2023-03-09 12:28:48 +02:00
jiezhang-tlnd
5876d0d9ff Add localized files (#8556)
* Add localized files

* Add localized files (#8555)

Co-authored-by: build-talend-doc <build-talend-doc@talend.com>

---------

Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
Co-authored-by: tsasada-talend <51699524+tsasada-talend@users.noreply.github.com>
2023-03-09 18:21:06 +08:00
jzhao
5e6ece3f96 feat(TDI-49241):tAS400Output bad insert performance due to Return Generated Keys (#8484)
* feat(TDI-49241):tAS400Output bad insert performance due to Return
Generated Keys

* feat(TDI-49241):update the migration task only for job include
tAS400LastInsertId
2023-03-09 07:59:58 +08:00
Wei Hua
42edf08218 APPINT-35381 Improve API storage for API imported from API Designer (#8511) 2023-03-08 12:23:58 +01:00
bhe-talendbj
136323c069 feat(TUP-38202): Preference for repositories where the username and password can be set in the settings (Window > preferences > Talend > Update settings) of the Talend studio (#8535)
* feat(TUP-38202): add basic auth config for udpate site preference page

* feat(TUP-38202): update UI

* feat(TUP-38202): enable auth setting for update url

* feat(TUP-38202): enable auth setting for update url

* feat(TUP-38202): enable auth setting for update url
2023-03-08 15:20:14 +08:00
Jane Ding
7484572669 feat(TUP-37093):Send Mapper data to PTP (#8491)
* feat(TUP-37093):Send Mapper data to PTP
https://jira.talendforge.org/browse/TUP-37093

* feat(TUP-37093):Send Mapper data to PTP
https://jira.talendforge.org/browse/TUP-37093
2023-03-08 11:11:09 +08:00
hcyi
a241d2fb9d fix(TUP-38145):tELTMap doesn't evaluate globalMap expressions with Integer conversions (#8536)
* fix(TUP-38145):tELTMap doesn't evaluate globalMap expressions with
Integer conversions

* fix(TUP-38145):add junits
2023-03-08 09:10:58 +08:00
dicarcab
76fad56656 fix(TBD-14818):Spark job failing with error scheme-specific part at i… (#8528) 2023-03-07 14:33:10 +01:00
jzhao
aae9fa7fd3 fix(TDI-49446):tFTPPut is transferring the file to the remote directory but the current status shows "No file transfered." (#8515)
* fix(TDI-49446):tFTPPut is transferring the file to the remote directory
but the current status shows "No file transfered."

* fix(TDI-49446):not change ftps part

* fix(TDI-49446):exception catch like before
2023-03-07 16:49:30 +08:00
sbliu
2b201cfb4a chore(TUP-37919) keep connection order for refactor joblet (#8503) 2023-03-06 19:11:53 +08:00
Oleksandr Zhelezniak
953f051cda fix(TDI-49395): fix additional clause place (#8513) 2023-03-06 10:21:10 +02:00
Jane Ding
9cd01e056e fix(TUP-38093):Studio 8.0.1 hangs in "Loading user component" after (#8499)
* fix(TUP-38093):Studio 8.0.1 hangs in "Loading user component" after
patch R2023-01
https://jira.talendforge.org/browse/TUP-38093

* fix(TUP-38093):Studio 8.0.1 hangs in "Loading user component" after
patch R2023-01
https://jira.talendforge.org/browse/TUP-38093
2023-03-03 17:09:49 +08:00
Xilai Dai
538cc912c3 fix(APPINT-35435) backward compatibility with Velocity 1.x (#8529) 2023-03-03 17:07:02 +08:00
Dmytro Sylaiev
190f4d58ae fix(TDI-49298): Fix oro GAV for FTP (#8476)
* fix(TDI-49298): Fix oro GAV for FTP

* fix(TDI-49298): Use correct oro gav for tReplace
2023-03-02 19:21:33 +02:00
sbliu
4b4cfac274 chore(TUP-37430) cleanup default groupid org.talend.libraries (#8486)
* chore(TUP-37430) cleanup default groupid org.talend.libraries

* remove 2 more non-exist library id

* revert the change on libraries.sqlbuilder

* add lib to build list
2023-03-02 20:29:02 +08:00
Jane Ding
bad3afcef3 Revert "fix(TUP-37227):Issue building when items names too long (#8368)" (#8522)
This reverts commit ff8506b755.
2023-03-02 15:59:55 +08:00
hzhao
d4a95045b9 Hzhao/80/tup 37298 new2 (#8362)
* feat(TUP-37298): first attempt commit

* feat(TUP-37298): fix can't get incomingConnections

* feat(TUP-37298):  try fix emf issue

* feat(TUP-37298):  remove some useles join types

* feat(TUP-37298): change to get jointype value

* feat(TUP-37298): move to EE

* feat(TUP-37298): move to EE

* feat(TUP-37298): move to EE

* feat(TUP-37298): change can connect

* feat(TUP-37298): remove comments/add copyright
2023-02-28 16:15:12 +08:00
Jane Ding
ff8506b755 fix(TUP-37227):Issue building when items names too long (#8368)
* fix(TUP-37227):Issue building when items names too long (#8209)

* fix(TUP-37227):Issue building when items names too long
https://jira.talendforge.org/browse/TUP-37227

* fix(TUP-37227):Issue building when items names too long
https://jira.talendforge.org/browse/TUP-37227

* fix(TUP-37227):Issue building when items names too long
https://jira.talendforge.org/browse/TUP-37227

* fix(TUP-37227):Issue building when items names too long
https://jira.talendforge.org/browse/TUP-37227

* fix(TUP-37227):Issue building when items names too long
https://jira.talendforge.org/browse/TUP-37227

* fix(TUP-37227):Issue building when items names too long
https://jira.talendforge.org/browse/TUP-37227

* fix(TUP-37227):Issue building when items names too long
https://jira.talendforge.org/browse/TUP-37227
2023-02-27 19:04:12 +08:00
Jill Yan
675a76f103 APPINT-35414 set build when only one option (#8507) 2023-02-24 21:05:28 +08:00
Jane Ding
f2b85ed986 Add localized files (#8506)
* Add localized files (#8501)

Co-authored-by: build-talend-doc <build-talend-doc@talend.com>

* Add localized files (#8502)

Co-authored-by: build-talend-doc <build-talend-doc@talend.com>

* Add localized files (#8504)

Co-authored-by: build-talend-doc <build-talend-doc@talend.com>

---------

Co-authored-by: Alexiane Yvonet <ayvonet@talend.com>
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
Co-authored-by: tsasada-talend <51699524+tsasada-talend@users.noreply.github.com>
Co-authored-by: jzhangbj <jzhang@talend.com>
2023-02-24 16:46:54 +08:00
wang wei
6862b52cad fix(TDI-49303): Premium Data,commons-net:commons-net:(2.2,3.3,3.6,3.8.0) (#8433) 2023-02-24 10:31:24 +08:00
jiezhang-tlnd
1a10a6b599 fix(TUP-37874)SQL inject risk (#8439) 2023-02-22 18:17:11 +08:00
Jane Ding
8724c5a8b4 Add localized files (#8495)
* Add localized files (#8488)

Co-authored-by: build-talend-doc <build-talend-doc@talend.com>

* Add localized files (#8490)

Co-authored-by: build-talend-doc <build-talend-doc@talend.com>

* Add localized files (#8493)

Co-authored-by: build-talend-doc <build-talend-doc@talend.com>

---------

Co-authored-by: Alexiane Yvonet <ayvonet@talend.com>
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
Co-authored-by: tsasada-talend <51699524+tsasada-talend@users.noreply.github.com>
Co-authored-by: jzhangbj <jzhang@talend.com>
2023-02-21 11:22:34 +08:00
hcyi
5fd6a9c8d9 fix(TUP-37697):tRedShiftInput requires the driver jar of V1 even the (#8408)
setting's version is driver 2
2023-02-21 09:58:15 +08:00
jzhao
c25c615a27 fix(TDI-49399):[CVE]: upgrade zip4j to lastest version : 2.11.4 (#8494)(tFileUnarchive) 2023-02-20 18:24:26 +08:00
jzhao
306db6e656 fix(TDI-49399):[CVE]: upgrade zip4j to lastest version : 2.11.4 (#8492) 2023-02-20 17:59:27 +08:00
Jill Yan
5495549723 APPINT-35307 add first item as selected (#8407) 2023-02-17 16:37:42 +08:00
pyzhou
54de7b6f86 feat(TDI-47390): tFileInputExcel support 1904 time (#8403)
* feat(TDI-47390): tFileInputExcel support 1904 time

* add check
# Conflicts:
#	main/plugins/org.talend.libraries.excel/META-INF/MANIFEST.MF
2023-02-17 16:30:46 +08:00
pyzhou
16574ec362 feat(TDI-46570):Sharded string with tFileOutputExcel (#8405)
* feat(TDI-46570):Sharded string with tFileOutputExcel

* hide use share string when append
2023-02-17 16:29:03 +08:00
Dmytro Ochkas
14a00d4b3a fix(TDI-49107): Add support for input_row / output_row for tJavaFlex (#8474)
* fix(TDI-49107): Add support for input_row / output_row for tJavaFlex
- add search for all input_row/output_row occurrences and replacement for current row name for main block of tJavaFlex

* fix(TDI-49107): Fix usecase with context variable

* chore(TDI-49107): Fix comment

---------

Co-authored-by: Dmytro Sylaiev <dmytro.sylaiev@globallogic.com>
2023-02-16 12:10:49 +02:00
Oleksandr Zhelezniak
618ef50223 fix(TDI-32442): FileInputExcel pattern for dynamic (#8448)
* for date cell use pattern from dynamic column
2023-02-15 14:49:55 +02:00
Oleksandr Zhelezniak
7b84af60c9 fix(TDI-49395): fix tHttpRequest l11n (#8483) 2023-02-15 09:55:28 +02:00
Jill Yan
20c2b4c125 APPINT-35336 replace velocity by velocity-engine-core/2.3 (#8478) 2023-02-14 14:12:34 +08:00
Dmytro Ochkas
928cf68bb5 fix(TDI-49267): ELT sql fix (#8473)
* fix(TDI-49267): Update sql fail for tELTOutput when have two ELTMap and two WHERE clause
- In case of useUpdateStatement Update query will be generated inside GenerationManager that is used in tELTMap_main.javajet

* fix(TDI-49267): Update sql fail for tELTOutput when have two ELTMap and two WHERE clause
- add some comments
- populate fix on tELTPostgres, tELTMSSql

* fix(TDI-49267): Update sql fail for tELTOutput when have two ELTMap and two WHERE clause
- align indentation

---------

Co-authored-by: wwang <wwang@talend.com>
2023-02-13 13:54:52 +02:00
Oleksandr Zhelezniak
bc17f031bb fix(TDI-49336): required if for hsqldb (#8460)
* in tCreateTable for java 9+ libraries
2023-02-13 13:40:19 +02:00
bhe-talendbj
91169a4c31 fix(TUP-38047): fix migration for ingres and vectorwise (#8480) 2023-02-13 18:43:07 +08:00
Oleksandr Zhelezniak
e8a549a307 fix(TDI-49284): talend file enhanced (#8424)
* fix the behavior when it reaches end of file
2023-02-13 11:25:33 +02:00
sbliu
aa57bc70ac fix(TUP-29016) hide tTaCoKitGuessSchema in shared component and exclude from user data token collection. (#8419) 2023-02-13 14:15:12 +08:00
Jane Ding
95e09b4e53 Add localized files (#8475)
* Add localized files (#8471)

Co-authored-by: build-talend-doc <build-talend-doc@talend.com>

* Add localized files (#8472)

Co-authored-by: build-talend-doc <build-talend-doc@talend.com>

---------

Co-authored-by: jzhangbj <jzhang@talend.com>
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
Co-authored-by: tsasada-talend <51699524+tsasada-talend@users.noreply.github.com>
2023-02-10 09:44:17 +08:00
Zhiwei Xue
919e14274c feat(TUP-37353):Guess Schema for tBigQueryInput (#8438)
* feat(TUP-37353):Guess Schema for tBigQueryInput

* feat(TUP-37353):handle exception check for input node
2023-02-09 17:00:21 +08:00
AlixMetivier
0319fa70ad fix(TBD-14542): add expression to know if DI job (#8437) 2023-02-09 09:28:54 +01:00
sbliu
3ce47507fa fix(TUP-37692) fix junit failure (#8465) 2023-02-09 10:58:36 +08:00
pyzhou
10f91e74a1 fix(TDI-45841):tSQLiteOutput support dynamic (#8349)
* fix(TDI-45841):tSQLiteOutput support dynamic

# Conflicts:
#	main/plugins/org.talend.designer.components.localprovider/components/tSQLiteOutput/tSQLiteOutput_begin.javajet
#	main/plugins/org.talend.designer.components.localprovider/components/tSQLiteOutput/tSQLiteOutput_end.javajet

* upgrade driver

* add create table

* fix update wrong index

* remove debug code
2023-02-09 10:14:24 +08:00
hcyi
58f7bf8de4 feat(TUP-36122):hide tNetSuiteV2019Connection/Input/Output. (#8462)
* feat(TUP-36122):fix a bug of component list when d&d.

* feat(TUP-36122):hide tNetSuiteV2019Connection/Input/Output.

* feat(TUP-36122):fix a bug of component list when d&d.
2023-02-08 15:56:48 +08:00
vyu-talend
14798cc0c0 feat(TDI-48882):rename the label. (#8464) 2023-02-08 15:42:24 +08:00
Dmytro Sylaiev
4892ff44fd fix(TDI-49252): Bump talend-mscrm (#8398)
* chore(TDI-49252): Bump talend-mscrm

* Bump transitive deps

* fix(TDI-49252): Fix crm4client method missing
2023-02-08 01:17:09 +02:00
pyzhou
5300c8dbed fix(TDI-49268):tFileInputPosition close stream (#8422) 2023-02-07 10:34:59 +08:00
sbliu
ecf0ed0111 fix(TUP-37692) XPath json use context can't get any data when running job (#8375)
* fix(TUP-37692) some change not finished.

* add original json string as parameter to judge if need add root as prefix for xpath loop string

* fix NPE problem

* fix xpath not correct transferred during drag json file to job.
2023-02-07 09:32:13 +08:00
vyu-talend
d0bb900342 feat(TDI-48882):revert the commit which remove ingres/vectorwise. (#8296)
* feat(TDI-48882):revert the commit which remove ingres/vectorwise.

* Revert "fix(TDI-46476): as we remove some components, should adjust some tup junit(#6837)"

This reverts commit a56fab7f5b.

* feat(TDI-48882):remove some tup junit after reverting codes.

* feat(TDI-48882):add storage type to vectorwiseoutput.

* feat(TDI-48882):upgrade iijdbc jar.

* feat(TDI-48882):upgrade slf4j to align with other components.

* feat(TDI-48882):replace log4j12 with reload4j.

* feat(TDI-48882):improve the code.

* feat(TDI-48882):fix quot issue.
2023-02-06 22:26:46 +08:00
bhe-talendbj
6882ba726e feat(TUP-37595): reintroduce ingres/vectorwise in metedata (#8373)
* feat(TUP-37595): add ingres and vectorwise support

* feat(TUP-37595): add ingress vectorwise support

* feat(TUP-37595): fix dataviewer
2023-02-06 17:24:34 +08:00
bhe-talendbj
91be95a7a8 feat(TUP-37841): fix NPE (#8436) 2023-02-06 10:00:25 +08:00
jiezhang-tlnd
fdefb2b722 fix(TUP-37349)Data viewer for tCouchBaseInput get npe error (#8247)
* fix(TUP-37349)Data viewer for tCouchBaseInput get npe error
https://jira.talendforge.org/browse/TUP-37349

* fix(TUP-37349)Data viewer for tCouchBaseInput get npe error

* fomat code

* Data viewer for tCouchBaseInput get npe error
2023-02-06 09:39:54 +08:00
jiezhang-tlnd
e3eba8ed05 chore(TUP-37868)commons-net:commons-net:(2.2,3.3,3.6,3.8.0) (#8431) 2023-02-06 09:38:19 +08:00
sponomarova
61d1de35fa fix(TBD-14786): tHiveRow Compilation error when set application name is unticked (#8445) 2023-02-03 21:01:34 +02:00
apoltavtsev
16ea559f6c fix(APPINT-35370) check for missing deps in local/remote repos is added (#8434) 2023-02-03 14:27:36 +01:00
hcyi
beceebc5af fix(TUP-37395):Schema changes made on DB side not being reflected in (#8366)
Studio 8.0.
2023-02-03 17:46:43 +08:00
Zhiwei Xue
3d05f7886b fix(TUP-35407):project rootPom template not considered anymore. (#8382) 2023-02-03 17:41:14 +08:00
Jane Ding
d69ff590e3 Add localized files (#8450)
* Add localized files (#8444)

Co-authored-by: build-talend-doc <build-talend-doc@talend.com>

* Add localized files (#8446)

Co-authored-by: build-talend-doc <build-talend-doc@talend.com>

---------

Co-authored-by: Alexiane Yvonet <ayvonet@talend.com>
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
Co-authored-by: tsasada-talend <51699524+tsasada-talend@users.noreply.github.com>
2023-02-03 15:35:47 +08:00
Olha V
30efe57d31 feat(TDI-46024): NetSuite API version 2021.2 (#8292)
* add migration task to rename componnets
2023-02-03 09:24:12 +02:00
kjwang
7fafe76b15 TUP-37344 If access token & refresh token change to invalid, can't show (#8222)
TUP-37344 If access token & refresh token change to invalid, can't show log in dialog when user selected auto login
https://jira.talendforge.org/browse/TUP-37344
2023-02-03 11:02:24 +08:00
hcyi
11d628ce36 feat(TUP-37262):Research: Unified component for Netsuite. (#8215)
* feat(TUP-37262):Research: Unified component for Netsuite.

* feat(TUP-37262):fix a bug for Research: Unified component for Netsuite.

* feat(TUP-37262):Research: Unified component for Netsuite.

* feat(TUP-37262):Research: Unified component for Netsuite

* feat(TUP-37262):improve for Unified component for Netsuite.

* feat(TUP-37262):update icon for Unified component for Netsuite.

* feat(TUP-37262):improve for Unified component for Netsuite.

* feat(TUP-37262):fix bug of Unified component for Netsuite.

* feat(TUP-37262):rename Unified component for Netsuite.
2023-02-03 10:07:48 +08:00
jiezhang-tlnd
ff3a1370ce remove the same method (#8441) 2023-02-02 15:21:41 +08:00
jiezhang-tlnd
898fdee538 fix(TUP-37471)tELTPostgresqlMap generates a different query after (#8344)
* fix(TUP-37471)tELTPostgresqlMap generates a different query after
migration to v8

* tELTPostgresqlMap generates a different query after migration to v8

* add junits

* update juntis

* update junit for expression
2023-02-02 15:16:27 +08:00
jiezhang-tlnd
3f662adc3b Jzhang/80/tup 37392 (#8290)
* fix(TUP-37392)tELTPostgresqlMap with enabled delimited identifier will
have a compile error after migration to v8
https://jira.talendforge.org/browse/TUP-37392

* tELTPostgresqlMap with enabled delimited identifier will have a compile
error after migration to v8

* override getColumnName

* add junits

* junits

* junit

* fix junits

* fix junits

* fix junits

* import org.junit.Assert

* add junits

* junit
2023-02-02 15:13:21 +08:00
Oleksandr Zhelezniak
baa09b9f4e fix(TDI-49091): add parenthesis (#8353) 2023-01-31 10:55:18 +02:00
Oleksandr Zhelezniak
6955fcda61 fix(TDI-49081): change logger level (#8336) 2023-01-31 10:07:41 +02:00
Olha V
4db9776ecc fix(TDI-48437): Parent job doesn't end (#8307)
* fix release of prepared statement
2023-01-30 11:44:46 +02:00
Jane Ding
9bfd668f60 Add localized files (#8428)
* Add localized files (#8425)

Co-authored-by: build-talend-doc <build-talend-doc@talend.com>

* Add localized files (#8426)

Co-authored-by: build-talend-doc <build-talend-doc@talend.com>

* Add localized files (#8427)

Co-authored-by: build-talend-doc <build-talend-doc@talend.com>

---------

Co-authored-by: Alexiane Yvonet <ayvonet@talend.com>
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
Co-authored-by: tsasada-talend <51699524+tsasada-talend@users.noreply.github.com>
Co-authored-by: jzhangbj <jzhang@talend.com>
2023-01-28 11:48:47 +08:00
Jane Ding
026210bd5f feat(TUP-37361):Deprecate Studio - Exchange integration (#8385)
https://jira.talendforge.org/browse/TUP-37361
2023-01-20 14:58:25 +08:00
Jane Ding
27cf7fc496 Add localized files (#8416) (#8417)
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>

Co-authored-by: jzhangbj <jzhang@talend.com>
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
2023-01-19 19:20:48 +08:00
Jane Ding
8b96d3bbbb Add localized files (#8415)
* Add localized files (#8391)

Co-authored-by: build-talend-doc <build-talend-doc@talend.com>

* Add localized files (#8413)

Co-authored-by: build-talend-doc <build-talend-doc@talend.com>

* Add localized files (#8414)

Co-authored-by: build-talend-doc <build-talend-doc@talend.com>

Co-authored-by: tsasada-talend <51699524+tsasada-talend@users.noreply.github.com>
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
Co-authored-by: Alexiane Yvonet <ayvonet@talend.com>
2023-01-19 17:56:20 +08:00
sbliu
38620ffb49 fix(TUP-33645) adjust backsplash (#8395) 2023-01-19 17:32:38 +08:00
Oleksandr Zhelezniak
cba9243b3a Revert "feat(TDI-46024): NetSuite API version 2021.2 (#8292)"
This reverts commit 72899f308e.
2023-01-19 10:23:29 +02:00
Olha V
72899f308e feat(TDI-46024): NetSuite API version 2021.2 (#8292)
* add migration task to rename componnets

(cherry picked from commit 981a664c5b)
2023-01-18 16:58:18 +02:00
pyzhou
eac6ce311f fix(TDI-49263):tFileInputJSON label have java 15 (#8406) 2023-01-18 11:24:52 +08:00
pyzhou
1e3ecb3f41 fix(TDI-49262):Move talendExcel, SimpleExcel and talend-ws jar to connectors-lib-se (#8404) 2023-01-17 17:43:29 +08:00
bhe-talendbj
0dc88dae6b bugfix(TUP-37475): Migration task does not work for joblet in tck component (#8328)
* fix(TUP-37475): migrate tck components in joblet

* fix(TUP-37475): fix stack overflow
2023-01-17 15:22:36 +08:00
jzhao
149cefb7a8 fix(TDI-49181):CVE-2020-13936,org.apache.velocity:velocity:1.7 (#8393)
* fix(TDI-49181):CVE-2020-13936,org.apache.velocity:velocity:1.7

* chore(TDI-49181):code format
2023-01-16 10:42:51 +08:00
Oleksandr Zhelezniak
74dd8e2f1c chore(TDI-49189): move talendcsv (#8386)
* move talendcsv into connectors-lib-se repository

(cherry picked from commit ad5222080d)
2023-01-13 09:56:29 +02:00
Oleksandr Zhelezniak
2b584f0325 Revert "chore(TDI-49189): move talendcsv (#8386)"
This reverts commit da61ab756c.
2023-01-11 11:29:51 +02:00
hcyi
9c6d01acb2 fix(TUP-37698):Field separator is not working as expected in Talend 801 (#8363) 2023-01-11 17:10:15 +08:00
Oleksandr Zhelezniak
da61ab756c chore(TDI-49189): move talendcsv (#8386)
* move talendcsv into connectors-lib-se repository

(cherry picked from commit ad5222080d)
2023-01-11 10:16:48 +02:00
hzhao
afe5331750 feat(TUP-37472): Oracle version cleanup (#8345)
* feat(TUP-37472): Oracle version cleanup

* feat(TUP-37472): Oracle version cleanup

* feat(TUP-37472): Oracle version cleanup

* feat(TUP-37472): Oracle version cleanup
2023-01-11 10:10:50 +08:00
jzhao
fae932fee3 fix(TDI-48610):update daikon to 7.0.5 (#8241)
* fix(TDI-48610):update daikon to 7.0.5

* chore(TDI-48610):update components-server to latest release version
2023-01-10 14:49:07 +08:00
hzhao
4ddeafd553 chore(TUP-35265): upgrade 'crypto-utils' jar in low level (#8045)
* chore(TUP-35265): upgrade 'crypto-utils' jar in low level

* chore(TUP-35265): upgrade 'crypto-utils' jar in low level
2023-01-10 14:42:46 +08:00
kjwang
1112c63d64 TUP-30674 Support rename on custom jar and inner code. (#8212)
TUP-30674 Support rename on custom jar and inner code.
https://jira.talendforge.org/browse/TUP-30674
2023-01-10 11:52:02 +08:00
Xilai Dai
20d971f779 fix(APPINT-35326) missing slf4j-api 1.7.25 in maven off-line mode (#8377) 2023-01-06 20:48:10 +08:00
hzhao
038cb08450 fix(TUP-37706): SQL Compilation error for tELTMap component after (#8370)
* fix(TUP-37706): SQL Compilation error for tELTMap component after
applying patch R2022-11 on Talend studio 8.0.1

* fix(TUP-37706): SQL Compilation error for tELTMap component after
2023-01-06 17:36:57 +08:00
jiezhang-tlnd
ec413bcaae Add localized files (#8372) (#8374)
Co-authored-by: jenkins-git <jenkins-git@talend.com>

Co-authored-by: Alexiane Yvonet <ayvonet@talend.com>
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2023-01-06 09:57:44 +08:00
Emmanuel GALLOIS
c4f4941265 feat(TCOMP-2235): enable DiscoverSchemaExtended for inputs (#8269) 2023-01-05 11:57:06 +01:00
qiongli
109c9f4fd5 fix(TDQ-20956):upgrade cxf to 3.5.5 (#8325) 2023-01-04 16:22:23 +08:00
Emmanuel GALLOIS
9b1d932783 feat(TCOMP-2322): improve guess schema logs (#8268) 2023-01-02 17:39:38 +01:00
Oleksandr Zhelezniak
ec59754e49 chore(TDI-48440): improve xml file processing security (#8250) 2022-12-30 13:50:52 +02:00
jiezhang-tlnd
7d777d8b9f 80 loc ja jp 2022 12 26 09 06 (#8361)
* Add localized files (#8346)

Co-authored-by: jenkins-git <jenkins-git@talend.com>

* Add localized files (#8356)

Co-authored-by: jenkins-git <jenkins-git@talend.com>

* Add localized files (#8357)

Co-authored-by: jenkins-git <jenkins-git@talend.com>

* Add localized files (#8358)

Co-authored-by: jenkins-git <jenkins-git@talend.com>

Co-authored-by: tsasada-talend <51699524+tsasada-talend@users.noreply.github.com>
Co-authored-by: jenkins-git <jenkins-git@talend.com>
Co-authored-by: Alexiane Yvonet <ayvonet@talend.com>
Co-authored-by: jzhangbj <jzhang@talend.com>
2022-12-29 18:09:58 +08:00
vyu-talend
81736fc3c0 fix(TDI-49026):close stream. (#8343)
* fix(TDI-49026):close stream.

* fix(TDI-49026):improve closing stream and remove useless codes.

* fix(TDI-49026):add fix to streaming input source.

* fix(TDI-49026):improve closing input resource.

* fix(TDI-49026):improve code.
2022-12-29 10:12:28 +08:00
Jane Ding
e21b0eb40d fix(TUP-37467):[8.0.1&7.3.1] custom component are no more build as (#8308)
snapshot but releases since june/july patch
https://jira.talendforge.org/browse/TUP-37467
2022-12-28 17:40:56 +08:00
Jane Ding
ae21c3ae15 fix(TUP-37416):Can't execute job with JSON component linked to (#8266)
* fix(TUP-37416):Can't execute job with JSON component linked to
reposoitory
https://jira.talendforge.org/browse/TUP-37416

* fix(TUP-37012):Help Pane: Online Tools menu:
Bugtracker/sources/exchange/forum menus
https://jira.talendforge.org/browse/TUP-37012
2022-12-28 17:38:28 +08:00
hcyi
dcebd3d4bb feat(TUP-32445):Add the support of the module view for TCK/tcomp (#8294)
frameworks.
2022-12-28 10:39:01 +08:00
Oleksandr Zhelezniak
54931cedf0 fix(TDI-48981): bigquery support empty file (#8251) 2022-12-27 13:00:44 +02:00
kjwang
05076779c9 feat: TUP-37444 DI Repository view improvements (#8322) (#8348)
* feat: TUP-37444 DI Repository view improvements
https://jira.talendforge.org/browse/TUP-37444
2022-12-27 10:24:16 +08:00
pyzhou
fe1931cda8 fix(TDI-48766):CVE Redshift jdbc42 (#8324) 2022-12-26 22:05:04 +08:00
Chao MENG
7d208484cb feat(TUP-37052): dark theme support (#8248)
* fix(TUP-35745): Research: Bring a dark mode for Talend Studio
2022-12-26 15:26:39 +08:00
jzhao
b481af89ce fix(TDI-49088):CVE-2022-46364,org.apache.cxf:cxf-core:3.4.4,3.5.2 (#8333)
* fix(TDI-49088):CVE-2022-46364,org.apache.cxf:cxf-core:3.4.4,3.5.2

* chore(TDI-49088):change talend-ws fixversion

* fix(TDI-49088):change cxf version to 3.4.10
2022-12-26 10:07:27 +08:00
jiezhang-tlnd
b36087fd70 Add localized files (#8335) (#8342)
Co-authored-by: jenkins-git <jenkins-git@talend.com>

Co-authored-by: jzhangbj <jzhang@talend.com>
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-12-23 17:47:34 +08:00
wang wei
6281af2bac fix(TDI-49013): CVE-2022-40152,com.fasterxml.woodstox:woodstox-core (#8312) 2022-12-23 17:12:54 +08:00
Jane Ding
df1f89a081 Revert "fix(TUP-37227):Issue building when items names too long (#8209)" (#8338)
This reverts commit 9bd608f3eb.
2022-12-23 11:43:12 +08:00
wang wei
b83a991e32 fix(TDI-48900): [Studio7.3.1]Component tXSLT can't process utf8 char well in xml and "use column instead of file/stream for XML" option 2022-12-23 09:42:43 +08:00
kjwang
6360605a16 Fix failed junit (#8329) (#8332)
Fix failed junit
2022-12-22 15:11:16 +08:00
Laurent BOURGEOIS
1408f7c093 feat(TBD-11030):Add S3 Select Beta (#8330) 2022-12-21 15:57:05 +01:00
Chao MENG
031aef8648 fix(TUP-37051): Studio perspective continuously reset after install (#8318)
R2022-09 patch
https://jira.talendforge.org/browse/TUP-37051
2022-12-19 17:25:20 +08:00
Dmytro Sylaiev
b8dcbdd321 fix(TDI-48824): Bump talend-mscrm (#8280)
* to not call oauth twice
2022-12-19 10:12:42 +02:00
Jane Ding
9bd608f3eb fix(TUP-37227):Issue building when items names too long (#8209)
* fix(TUP-37227):Issue building when items names too long
https://jira.talendforge.org/browse/TUP-37227

* fix(TUP-37227):Issue building when items names too long
https://jira.talendforge.org/browse/TUP-37227

* fix(TUP-37227):Issue building when items names too long
https://jira.talendforge.org/browse/TUP-37227
2022-12-19 12:02:06 +08:00
Alexiane Yvonet
f97f834264 Add localized files (#8306)
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-12-16 11:33:28 +08:00
tsasada-talend
84af9a3860 Add localized files (#8304)
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-12-16 11:33:24 +08:00
Alexiane Yvonet
ea160bca14 Add localized files (#8303)
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-12-16 09:35:00 +08:00
pyzhou
60e85bd164 feat(TDI-49016):Oracle version cleanup (#8300)
* feat(TDI-49016):Oracle version cleanup

* remove code

* migration task

* Revert "migration task"

This reverts commit 1b82b9143b.

* correct typo and logic

* fix logic error
2022-12-15 17:24:20 +08:00
ypiel
ced678bb0a feat(TDI-48883): set some mscrm versions deprecated. (#8273)
* feat(TDI-48883): set some mscrm versions deprecated.

* feat(TDI-48883): Change default value + migration task.

* feat(TDI-48883): Change default value + migration task.

* feat(TDI-48883): add some logs.

* Revert "feat(TDI-48883): add some logs."

This reverts commit 4edcee27ac96fdf0d6fa7fbd027b48109271f6cf.

* feat(TDI-48883): Fix component name.

* feat(TDI-48883): Set version value.

* feat(TDI-48883): month is 0 based.

* feat(TDI-48883): change default endpoint for on premise 2016

Co-authored-by: jzhao-talend <jzhao@talend.com>
2022-12-15 12:07:45 +08:00
hzhao
478f9ef3fc fix(TUP-37360): Compilation error for tELTMap component after applying (#8237)
* fix(TUP-37360): Compilation error for tELTMap component after applying
patch R2022-11 on Talend studio 8.0.1

* fix(TUP-37360): Compilation error for tELTMap component

* fix(TUP-37360): Compilation error for tELTMap component

* fix(TUP-37360): Compilation error for tELTMap component

* fix(TUP-37360): Compilation error for tELTMap component

* fix(TUP-37360): Compilation error for tELTMap component

* fix(TUP-37360): Compilation error for tELTMap component

* fix(TUP-37360): Compilation error for tELTMap component

* fix(TUP-37360): Compilation error for tELTMap component
2022-12-14 15:22:28 +08:00
apoltavtsev
79534bd722 fix(APPINT-34695) Remove circular references from MS code 2022-12-13 14:35:58 +01:00
jiezhang-tlnd
19024622f6 Revert "fix(TUP-37392)tELTPostgresqlMap with enabled delimited identifier will have a compile error after migration to v8 (#8259)" (#8289)
This reverts commit 6be0fc4a54.
2022-12-13 17:54:11 +08:00
wang wei
7145fc8737 fix(TCOMP-2299): [TCK Studio] : support dynamic column mix with basic columns(#8194) 2022-12-13 17:52:49 +08:00
jiezhang-tlnd
6be0fc4a54 fix(TUP-37392)tELTPostgresqlMap with enabled delimited identifier will have a compile error after migration to v8 (#8259)
* fix(TUP-37392)tELTPostgresqlMap with enabled delimited identifier will
have a compile error after migration to v8
https://jira.talendforge.org/browse/TUP-37392

* tELTPostgresqlMap with enabled delimited identifier will have a compile
error after migration to v8

* override getColumnName

* add junits

* junits

* junit

* fix junits

* fix junits

* fix junits

* import org.junit.Assert

* add junits

* junit
2022-12-13 17:52:21 +08:00
Oleksandr Zhelezniak
b7e750e531 fix(TDI-48876): hsqldb add missing libraries (#8228) 2022-12-12 17:00:53 +02:00
Abdulhamid Rashankar
5c97b969ce Revert "APPINT-35192:tRestClient schema is deleted when switching (#8253)" (#8284)
This reverts commit f14c55f457.
2022-12-12 11:58:28 +01:00
Abdulhamid Rashankar
f14c55f457 APPINT-35192:tRestClient schema is deleted when switching (#8253)
Co-authored-by: arashankar <abdulhamid0606@gmail.com>
2022-12-12 10:11:21 +01:00
bhe-talendbj
b87ad86b6a feat(TUP-37162): Improvement needed for standard Git mode (#8207)
* feat(TUP-37162): update api

* feat(TUP-37162): delete eclipse project

* feat(TUP-37162): add ref project

* feat(TUP-37162): fix log project page

* feat(TUP-37162): fix logon offline project dialog
2022-12-09 15:50:47 +08:00
Zhiwei Xue
0d6c30794c feat(TUP-37053):update UI text (#8276) 2022-12-09 10:52:05 +08:00
jiezhang-tlnd
b62303ffb4 Add localized files (#8274) (#8278)
Co-authored-by: jenkins-git <jenkins-git@talend.com>

Co-authored-by: jzhangbj <jzhang@talend.com>
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-12-09 09:25:14 +08:00
jiezhang-tlnd
3a53bc309c Add localized files (#8271) (#8272)
Co-authored-by: jenkins-git <jenkins-git@talend.com>

Co-authored-by: tsasada-talend <51699524+tsasada-talend@users.noreply.github.com>
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-12-08 18:24:54 +08:00
Emmanuel GALLOIS
5b60f1d02c fix(TCOMP-2277): rename shema's entry properties (#8265) 2022-12-07 11:32:57 +01:00
wang wei
116446c2b4 fix(TDI-46955): TCK - Outline - Flow variable (#7756) 2022-12-07 17:26:19 +08:00
pyzhou
607e350922 fix(TDI-48873):sl4j upgrade 1.7.34 (#8208)
* fix(TDI-48873):sl4j upgrade 1.7.34

* remove useless dependency

* reload4j
2022-12-06 10:35:55 +08:00
jiezhang-tlnd
6574f4face fix(TUP-36712)revert for spark covert to standard (#8255) (#8257) 2022-12-05 19:08:51 +08:00
Chao MENG
5d3610193f fix(TUP-37051): Studio perspective continuously reset after install R2022-09 patch (#8219)
* fix(TUP-37051): Studio perspective continuously reset after install
R2022-09 patch
https://jira.talendforge.org/browse/TUP-37051

* fix(TUP-37051): Studio perspective continuously reset after install
R2022-09 patch
https://jira.talendforge.org/browse/TUP-37051

* fix(TUP-37051): Studio perspective continuously reset after install
R2022-09 patch
https://jira.talendforge.org/browse/TUP-37051

* fix(TUP-37051): Studio perspective continuously reset after install
R2022-09 patch
https://jira.talendforge.org/browse/TUP-37051
2022-12-05 11:19:15 +08:00
Zhiwei Xue
deb795f717 feat(TUP-36415):Add needed --add-opens parameters for job execution (#7937)
* feat(TUP-36415):Add needed --add-opens parameters for job execution

* feat(TUP-37053):Handle Studio not managed --add-opens for JDBC and user
component for Job execution

* fix(TUP-37335):the setting is not updated timely
2022-12-02 15:44:04 +08:00
jiezhang-tlnd
a56cdff096 80 loc fr fr 2022 12 01 04 21 (#8249)
* Add localized files (#8243)

Co-authored-by: jenkins-git <jenkins-git@talend.com>

* Add localized files (#8244)

Co-authored-by: jenkins-git <jenkins-git@talend.com>

Co-authored-by: Alexiane Yvonet <ayvonet@talend.com>
Co-authored-by: jenkins-git <jenkins-git@talend.com>
Co-authored-by: tsasada-talend <51699524+tsasada-talend@users.noreply.github.com>
2022-12-02 15:16:39 +08:00
pyzhou
296d003910 fix(TDI-48951):CVE mina-sshd 2.9.2 (#8232) 2022-12-02 09:30:21 +08:00
Jane Ding
b2e2324cce Fix junit fail (#8240) 2022-11-30 19:48:24 +08:00
Jane Ding
72cec2a40d fix(TUP-36969):fix junit fail (#8234)
https://jira.talendforge.org/browse/TUP-36969
2022-11-30 09:19:48 +08:00
Jane Ding
b22133a302 chore(TUP-36969):upgrade slf4j to 1.7.34 (#8231)
https://jira.talendforge.org/browse/TUP-36969
2022-11-29 15:21:36 +08:00
Oleksandr Zhelezniak
9892e4d7df chore(TDI-48956): align protobuf-java-util (#8230)
* to 3.19.6
2022-11-29 06:31:08 +02:00
Jane Ding
5014bc235a Add localized files (#8221)
* Add localized files (#8217)

Co-authored-by: jenkins-git <jenkins-git@talend.com>

* Add localized files (#8220)

Co-authored-by: jenkins-git <jenkins-git@talend.com>

Co-authored-by: jzhangbj <jzhang@talend.com>
Co-authored-by: jenkins-git <jenkins-git@talend.com>
Co-authored-by: Alexiane Yvonet <ayvonet@talend.com>
2022-11-25 19:08:10 +08:00
sbliu
85fc6b0058 chore(TUP-36969) upgrade slf4j (#8200)
* chore(TUP-36969) upgrade slf4j

* correct

* slf4j-log4j12-1.7.34.jar replaced with slf4j-reload4j-1.7.34.jar
2022-11-25 17:41:47 +08:00
Chao MENG
f80e1831ed fix(TUP-37153): Dead lock when migrating tck metadatas and jobs (#8211)
https://jira.talendforge.org/browse/TUP-37153
2022-11-25 14:35:48 +08:00
Oleksandr Zhelezniak
4fee137878 chore(TDI-48754): cve bump protobuf-java (#8156)
*  cve bump protobuf-java
*  bump protobuf-java-util
2022-11-24 11:48:47 +02:00
Zhiwei Xue
303b49f2ea fix(TUP-33707):Cannot invoke "javax.script.ScriptEngine.createBindings()" for Java 17 (#7853)
* fix(TUP-33707):Cannot invoke
"javax.script.ScriptEngine.createBindings()" for Java 17

* fix(TUP-33707): fix regexp matching problem

* fix(TUP-33707): correct Rhino dependency
2022-11-23 11:45:50 +08:00
Oleksandr Zhelezniak
f7a65628aa fix(TDI-48891): tFileInputMail attachment file (#8197)
* support file name without extension
2022-11-22 09:45:36 +02:00
jiezhang-tlnd
a0c8edc508 chore(TUP-35860)CVE bctls-jdk15on-1.68.jar bcprov-jdk15on-1.68.jar (#8151) 2022-11-22 12:04:52 +08:00
Jane Ding
0145ee4ebe Add localized files (#8201) (#8204)
Co-authored-by: jenkins-git <jenkins-git@talend.com>

Co-authored-by: tsasada-talend <51699524+tsasada-talend@users.noreply.github.com>
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-11-22 09:53:21 +08:00
Dmytro Ochkas
f25b573919 chore(TDI-47253): AddHourFormatToBigqueryBulkOutput migration return correction (#8169)
* if there is no modification then NOTHING_TO_DO is returned, SUCCESS_NO_ALERT otherwise

(cherry picked from commit bbe98bd7f9)
2022-11-21 19:11:33 +02:00
pyzhou
940915fd62 fix(TDI-46383):TRBE not support Web tocken (#8153)
* fix(TDI-46383):TRBE_not_support_Web_tocken

* fix some issue

* typo
2022-11-21 22:03:12 +08:00
ypiel
de991b9ba2 feat(TDI-48543): mscrm ropc fix after codefreeze 8.0 (#8196)
* feat(TDI-48543): MSCRM ROPC fix 8.0 after code freeze.

* feat(TDI-48543): MSCRM ROPC fix 8.0 after code freeze tMicrosoftCrmOutput.
2022-11-16 11:55:45 +01:00
Jill Yan
2bb56d8e9e Jill/m80/appint-35115 Add opportunity to import API files with OAS 3.0 format in Studio metadata (#8164)
* APPINT-35115 support API with OAS 3 importing

* APPINT-35115 support OAS 3.0 format with API import
2022-11-16 12:00:49 +08:00
vyu-talend
2446d2d2b2 fix(TDI-48782):upgrade hsqldb.jar to solve cve. (#8187) (#8191)
* fix(TDI-48782):upgrade hsqldb.jar to solve cve.

* fix(TDI-48782): add system property.
2022-11-15 15:27:45 +08:00
Jane Ding
52abb8c229 Add localized files (#8189)
* Add localized files (#8178)

Co-authored-by: jenkins-git <jenkins-git@talend.com>

* Add localized files (#8179)

Conflicts:
	main/plugins/org.talend.designer.components.exchange/src/main/java/messages_ja.properties

Co-authored-by: jenkins-git <jenkins-git@talend.com>

* Add localized files (#8180)

Co-authored-by: jenkins-git <jenkins-git@talend.com>

Co-authored-by: Alexiane Yvonet <ayvonet@talend.com>
Co-authored-by: jenkins-git <jenkins-git@talend.com>
Co-authored-by: tsasada-talend <51699524+tsasada-talend@users.noreply.github.com>
Co-authored-by: jzhangbj <jzhang@talend.com>
2022-11-15 09:44:49 +08:00
Chao MENG
e29a89e778 Cmeng/fix/tup 36831 fix mig version 8 (#8185)
* fix(TUP-36831): Migration task not working for tck connection component
https://jira.talendforge.org/browse/TUP-36831

* fix(TUP-36831): Migration task not working for tck connection component
https://jira.talendforge.org/browse/TUP-36831
2022-11-14 09:28:30 +08:00
Zhiwei Xue
d81b3dccf9 Revert "feat(TDI-48644): bump component-runtime to 1.50 (#8132)" (#8182)
This reverts commit babf58784b.
2022-11-11 14:57:26 +08:00
Chao MENG
b0ef5cd766 fix(TUP-36831): Migration task not working for tck connection component (#8177)
https://jira.talendforge.org/browse/TUP-36831
2022-11-10 18:39:23 +08:00
bhe-talendbj
0e05c97f76 feat(TUP-35957): filter out invalid branches (#8165) 2022-11-10 17:53:40 +08:00
pyzhou
e7f4233419 fix(TDI-48441): fix reload4j CVE (#8166)
* fix(TDI-48441):CVE reload4j 1.2.22

* Upgrade jar

# Conflicts:
#	main/plugins/org.talend.designer.components.libs/libs_src/json-lib-talend/pom.xml
#	main/plugins/org.talend.designer.components.libs/libs_src/simpleexcel/pom.xml
#	main/plugins/org.talend.designer.components.libs/libs_src/talendExcel/pom.xml
#	main/plugins/org.talend.designer.components.localprovider/components/tFileInputExcel/tFileInputExcel_java.xml
#	main/plugins/org.talend.libraries.excel/pom.xml

* upgrade simpleexcel 2.6-20220912

* add miss
2022-11-10 17:31:32 +08:00
ypiel
10eb6efc67 chore(TDI-48830): remove talend-mscrm, moved to connectors-lib-se. (#8175) 2022-11-10 09:14:56 +01:00
ypiel
8d586fe68d feat(TDI-48543): mscrm oauth ropc support 8.0 (#8170)
* feat(TDI-48543): Add OAuth2 ROPC support for ms crm.

* feat(TDI-48543): fix client_credential and password gen code.
2022-11-10 08:48:04 +01:00
pyzhou
580415f3b8 Pyzhou/tdi 48779 t extract json field java 17 8.0 (#8155)
* fix(TDI-48779):tExtractJSONFields support java 17

* fix(TDI-48779):tExcratJsonField support java 17

* fix(TDI-48779):align tFileInputJson

* add migration to plugin.xml

* fix(TDI-48779): Add jar only for Xpath

* add properties name

* Change name
2022-11-10 15:46:00 +08:00
Chao MENG
0052b18451 fix(TUP-36831): Migration task not working for tck connection component (#8161)
* fix(TUP-36831): Migration task not working for tck connection component
https://jira.talendforge.org/browse/TUP-36831

* fix(TUP-36831): Migration task not working for tck connection component
https://jira.talendforge.org/browse/TUP-36831
2022-11-10 15:24:04 +08:00
Emmanuel GALLOIS
babf58784b feat(TDI-48644): bump component-runtime to 1.50 (#8132) 2022-11-09 13:16:36 +01:00
Emmanuel GALLOIS
dbdcf0331a feat(TCOMP-2186): discover schema extended (#8095) 2022-11-09 13:16:03 +01:00
wang wei
5091e800d9 fix(TDI-48810): Job build fails with : Duplicate nested type CompareUtil after R2022-10v2(#8171) 2022-11-09 15:58:46 +08:00
sbliu
f67e81521f feat(TUP-32228) Load multiple libraries with routine by detect the selected module (#8083)
2 ways in implementation: 
   first way, launch maven command dependency:list to get the dependencies, 
   second way, parse the pom file and search in local m2 repository
2022-11-09 09:53:17 +08:00
pyzhou
1356ccfc27 fix(TDI-48778): tGroovy java 17 upgrade 4.0.6 (#8141) 2022-11-08 18:10:45 +08:00
zyuan-talend
d2aba5f688 fix(TUP-36566):CVE:upgrade reload4j to 1.2.22. (#8117) 2022-11-08 15:10:14 +08:00
hcyi
c8da3b05fb feat(TUP-33031):List invalid items with Project analysis of 8.0 (#8113)
* feat(TUP-33031):List invalid items with Project analysis of 8.0

* feat(TUP-33031):add junits

* feat(TUP-33031):improve for List invalid items with Project analysis of
8.0

* feat(TUP-33031):improve for List invalid items with Project analysis of
8.0

* feat(TUP-33031):improve for List invalid items with Project analysis of

* feat(TUP-33031):improve for List invalid items with Project analysis of
8.0

* feat(TUP-33031):improve for List invalid items with Project analysis of

* feat(TUP-33031):fix a bug

* feat(TUP-33031):filter and sort item when multi version.

* feat(TUP-33031):update message
2022-11-07 18:42:20 +08:00
hzhao
d2cd29dd0c feat(TUP-33040): ELT components cannot handle table/column name in Japanese (#7991)
* feat(TUP-33040): ELT components cannot handle table/column name in
Japanese

* feat(TUP-33040): ELT components cannot handle table/column name in
Japanese

* feat(TUP-33040): ELT components cannot handle table/column name in
Japanese

* feat(TUP-33040): ELT components cannot handle table/column name in
Japanese

* feat(TUP-33040): ELT components cannot handle table/column name in
Japanese

* feat(TUP-33040): ELT components cannot handle table/column name in
Japanese

* feat(TUP-33040): ELT components cannot handle table/column name in
Japanese

* feat(TUP-33040): ELT components cannot handle table/column name in
Japanese

* feat(TUP-33040): ELT components cannot handle table/column name in
Japanese

* feat(TUP-33040): ELT components cannot handle table/column name in
Japanese

* feat(TUP-33040): ELT components cannot handle table/column name in
Japanese

* feat(TUP-33040): ELT components cannot handle table/column name in
Japanese

* feat(TUP-33040): ELT components cannot handle table/column name in
Japanese

* feat(TUP-33040): ELT components cannot handle table/column name in
Japanese

* feat(TUP-33040): ELT components cannot handle table/column name in
Japanese

* feat(TUP-33040): ELT components cannot handle table/column name in
Japanese

* feat(TUP-33040): ELT components cannot handle table/column name in
Japanese

* feat(TUP-33040): ELT components cannot handle table/column name in
Japanese

* feat(TUP-33040): ELT components cannot handle table/column name in
Japanese #

* feat(TUP-33040): ELT components cannot handle table/column name in
Japanese

* feat(TUP-33040): ELT components cannot handle table/column name in
Japanese

* feat(TUP-33040): ELT components cannot handle table/column name in
Japanese

* feat(TUP-33040): ELT components cannot handle table/column name in
Japanese

* feat(TUP-33040): ELT components cannot handle table/column name in
Japanese

* feat(TUP-33040): ELT components cannot handle table/column name in
Japanese

* feat(TUP-33040): ELT components cannot handle table/column name in
Japanese

* feat(TUP-33040): ELT components cannot handle table/column name in
Japanese

* feat(TUP-33040): ELT components cannot handle table/column name in
Japanese

* feat(TUP-33040): ELT components cannot handle table/column name in
Japanese

* feat(TUP-33040): ELT components cannot handle table/column name in
add junit

* feat(TUP-33040): ELT components cannot handle table/column name in
Japanese

* feat(TUP-33040): ELT components cannot handle table/column name in
Japanese

* feat(TUP-33040): ELT components cannot handle table/column name in
Japanese

* feat(TUP-33040): ELT components cannot handle table/column name in
Japanese

* feat(TUP-33040): ELT components cannot handle table/column name in
Japanese

* feat(TUP-33040): ELT components cannot handle table/column name in
Japanese #
2022-11-07 16:28:50 +08:00
jzhao
d32323636d feat(TDI-48675):JDBC ELT components can not handle Japanese table,schama,alias name for insert/update/delete(#8131) 2022-11-07 16:16:28 +08:00
Jane Ding
16b698ec19 fix(TUP-36862):Transfer pendo to EE (#8108)
https://jira.talendforge.org/browse/TUP-36862
2022-11-04 15:14:19 +08:00
wang wei
810b5c825c fix(TDI-48715): CVE-2022-42003,CVE-2022-42004, jackson-databind-2.13.2.2jar(#8103) 2022-11-03 14:37:26 +08:00
sbliu
231b0af490 fix(TUP-36853) fix NPE during convert standard job to big data stream job (#8143) 2022-11-03 11:28:25 +08:00
Oleksandr Zhelezniak
24c80dc3da chore(TDI-48748): show UIfields for missed target (#8120)
* TCK studion-integration
* evaluate as true UI condition where can't resolve target field
2022-11-01 10:39:00 +02:00
Xilai Dai
cbfbd9a122 feat(APPINT-34708) exclude libraries for cSQL/cSQLConnection (#8056)
* feat(APPINT-34708) exclude libraries for cSQL/cSQLConnection

* feat(APPINT-34707) exclude libraries for cJsonValidator/cXmlValidator
2022-10-31 17:25:19 +08:00
kjwang
73b318a726 TUP-36760 Should remove Workspace from "Other login mode">"Manage (#8086)
* TUP-36760 Should remove Workspace from "Other login mode">"Manage
Connections">Preference
https://jira.talendforge.org/browse/TUP-36760
2022-10-31 09:47:28 +08:00
jiezhang-tlnd
61be1117e1 fix(TUP-36712)Schema lost when convert DeltaLake job to spark (#8075)
* fix(TUP-36712)Schema lost when convert DeltaLake job to spark
https://jira.talendforge.org/browse/TUP-36712

* fix(TUP-36712)null exception

* code format

* code format

* code format

* change to variable

* fix junits

* junits

* revert junit

* Schema lost when convert DeltaLake job to spark

* avoid schema be empty
2022-10-28 09:50:29 +08:00
jzhao
80d0fbb8f1 feat(TDI-48442):Add data action MERGE for tELTTeradataOutput/tELTNetezzaOutput (#8088)
* feat(TDI-48442):Add data action MERGE for
tELTTeradataOutput/tELTNetezzaOutput

* feat(TDI-48442):fix some issues

* chore(TDI-48442):update some parameters display names
2022-10-27 17:55:35 +08:00
Jane Ding
864646d989 Add localized files (#8136)
* Add localized files (#8133)

Co-authored-by: jenkins-git <jenkins-git@talend.com>

* Add localized files (#8112)

Co-authored-by: jenkins-git <jenkins-git@talend.com>

* Add localized files (#8135)

Co-authored-by: jenkins-git <jenkins-git@talend.com>

* Add localized files (#8134)

Co-authored-by: jenkins-git <jenkins-git@talend.com>

Co-authored-by: Alexiane Yvonet <ayvonet@talend.com>
Co-authored-by: jenkins-git <jenkins-git@talend.com>
Co-authored-by: tsasada-talend <51699524+tsasada-talend@users.noreply.github.com>
Co-authored-by: jzhangbj <jzhang@talend.com>
2022-10-27 16:57:27 +08:00
Dmytro Ochkas
4b08466368 feat(TDI-47508): Unbundle aws-java-sdk for javajet components (#8068)
unbundle aws-java-sdk for each javajet component + talend-aws lib
2022-10-26 19:32:31 +03:00
zyuan-talend
37fbef8501 fix(TUP-36820):add junit test. (#8123) 2022-10-26 11:15:44 +08:00
Jane Ding
d39154f1e8 fix(TUP-36833):DB Common folder not showing under Palette tab (#8073)
* fix(TUP-36833):DB Common folder not showing under Palette tab
https://jira.talendforge.org/browse/TUP-36833

* fix(TUP-36833):DB Common folder not showing under Palette tab
https://jira.talendforge.org/browse/TUP-36833
2022-10-24 16:03:50 +08:00
sbieliaievl
246f0a0d32 fix(APPINT-34581) - fixed versions 2022-10-18 14:32:23 +02:00
jiezhang-tlnd
e6aabfcf5d 80 loc ja jp 2022 10 13 08 32 (#8094)
* Add localized files (#8091)

Co-authored-by: jenkins-git <jenkins-git@talend.com>

* Add localized files (#8092)

Co-authored-by: jenkins-git <jenkins-git@talend.com>

Co-authored-by: tsasada-talend <51699524+tsasada-talend@users.noreply.github.com>
Co-authored-by: jenkins-git <jenkins-git@talend.com>
Co-authored-by: jzhangbj <jzhang@talend.com>
2022-10-17 09:32:20 +08:00
pyzhou
1a2af7647e fix(TDI-48465):tOracleBulkExec stream row separator (#8089) 2022-10-16 23:40:37 +08:00
sbieliaievl
d7daf85c78 fix(APPINT-34581) - added check (#8069) 2022-10-13 10:24:57 +03:00
Chao MENG
57038c20e8 feat(TUP-36777): Improve workspace setting for "Log in with Talend Cloud" (#8085)
* feat(TUP-36777): Improve workspace setting for "Log in with Talend
Cloud"
https://jira.talendforge.org/browse/TUP-36777
2022-10-13 11:59:10 +08:00
Jane Ding
88d313f297 fix(TUP-36284):Compile error in Studio (#8010)
* fix(TUP-36284):Compile error in Studio
https://jira.talendforge.org/browse/TUP-36284

* fix(TUP-36284):Compile error in Studio
https://jira.talendforge.org/browse/TUP-36284

* fix(TUP-36284):Compile error in Studio
https://jira.talendforge.org/browse/TUP-36284
2022-10-13 11:13:29 +08:00
Emmanuel GALLOIS
029e8e7b05 feat(TDI-48595): bump component-runtime dependencies (#8050) 2022-10-12 10:20:42 +02:00
kjwang
f86b035cda Fix TUP-36781 If do not select "ask me at startup" on login project (#8054)
Fix TUP-36781 If do not select "ask me at startup" on login project  page, next time studio will popup "Branches has been changed! Please
check and logon manually" dialog
https://jira.talendforge.org/browse/TUP-36781
2022-10-10 16:49:36 +08:00
wang wei
642010cae4 fix(TUP-36717): Avoid error log and NPE after after a connector use TCOMP-2230 allow a "ui.scope" target for the tck ActiveIf json metadata info (#8013) 2022-10-09 11:21:25 +08:00
jiezhang-tlnd
3d25898b7d Add localized files (#8071) (#8080)
Co-authored-by: jenkins-git <jenkins-git@talend.com>

Co-authored-by: Alexiane Yvonet <ayvonet@talend.com>
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-10-09 10:41:05 +08:00
zyuan-talend
4317b7c5c5 fix(TUP-36653):Schema Update Detection popping up everytime upon opening (#8057)
the job.
2022-10-08 14:59:57 +08:00
Wei Hua
a0fa861c3b APPINT-35038 Adding a comment breaks tRESTRequest and the resulting body is "null" (#8039)
-- clear comment for PUT/POST method outflow
2022-10-05 15:41:23 +02:00
Dmytro Sylaiev
03822353dd fix(TDI-48434): Avoid NPE for the old xlsx format (#7920)
* fix(TDI-48434): Avoid NPE for the old xlsx format

* fix(TDI-48434): Fix the studio build
2022-09-30 11:14:23 +03:00
jiezhang-tlnd
6566e43d2e 80 loc 2022 09 29 04 21 (#8066)
* Add localized files (#8058)

Co-authored-by: jenkins-git <jenkins-git@talend.com>

* Add localized files (#8061)

Co-authored-by: jenkins-git <jenkins-git@talend.com>

* Add localized files (#8063)

Co-authored-by: jenkins-git <jenkins-git@talend.com>

Co-authored-by: Alexiane Yvonet <ayvonet@talend.com>
Co-authored-by: jenkins-git <jenkins-git@talend.com>
Co-authored-by: tsasada-talend <51699524+tsasada-talend@users.noreply.github.com>
2022-09-30 14:53:00 +08:00
sbliu
096815dffd feat(TUP-36169) add unit test plugin (#7960) 2022-09-30 14:33:23 +08:00
zyuan-talend
37f859093b fix(TUP-36626):tAmazonMysqlInput gets only tAmazonMysqlConnection and (#8018) (#8059)
remove the version compatible tMysqlConnection from valid list.
2022-09-30 14:08:20 +08:00
dicarcab
0d5a3d0515 fix(TBD-14224): NPE exception while opening BigData Streaming Job (#8064) 2022-09-29 17:48:25 +02:00
wang wei
393561fdd4 fix(TDI-48473): Job using tLDAPInput with Protocol=LDAPS fails in MDM (#7955) 2022-09-29 18:40:32 +08:00
wang wei
fc2c2a68f2 fix(TDI-48550): tMysqlSCD component does not change date(time) fields to NULL (#8002) 2022-09-28 15:00:49 +08:00
vyu-talend
7bd938011a feat(TDI-42323):add entry to custom ratio. (#7968) (#8043)
* feat(TDI-42323):add entry to custom ratio.

* feat(TDI-42323):make some changes.

* feat(TDI-42323):add show if restrictions.

* feat(TDI-42323):change the checkbox's name.
2022-09-27 10:56:03 +08:00
kjwang
859c188316 Kjwang/tup 36748 studio send request to wrong data center (#8032) (#8042)
* TUP-36748 Studio send request to wrong data center when token invalid
https://jira.talendforge.org/browse/TUP-36748
2022-09-26 18:31:45 +08:00
Oleksandr Zhelezniak
a0422e32e7 fix(TDI-48480): bigQuery transfer file in chunks (#7970)
* transfer big files in chunk modes.
* use hardcoded big value for that to reduce internal behavior changes.
* use either 512MB or file length size for chunks
* support dieOnError
2022-09-26 10:27:08 +03:00
Chao MENG
1b2d37d53e feat(TUP-36738): Not able to change workspace with "Log in with Talend (#8030)
Cloud"
https://jira.talendforge.org/browse/TUP-36738
2022-09-26 09:48:11 +08:00
kjwang
a9c984f400 Kjwang/fix tup 36733 fix junit error on maintenance 8.0 (#8027)
Fix TUP-36733 Fix junit error on maintenance/8.0
https://jira.talendforge.org/browse/TUP-36733
2022-09-23 19:50:03 +08:00
Oleksandr Zhelezniak
2cff6fcfa4 fix(TDI-48540): jasper add missed jar (#8011)
* commons-collections (v2) is used by commons-beanutils
2022-09-23 14:22:58 +03:00
hcyi
e4e95754cb fix(TUP-36584):tMap component hang with tRowGenerator; can only end task using Task Manager (#7985)
* fix(TUP-36584):tMap component hang with tRowGenerator; can only end task
using Task Manager

* fix(TUP-36584):tMap component hang with tRowGenerator; can only end task
using Task Manager
2022-09-23 18:42:30 +08:00
jiezhang-tlnd
517cd59ee2 Add localized files (#8026) (#8028)
Co-authored-by: jenkins-git <jenkins-git@talend.com>

Co-authored-by: tsasada-talend <51699524+tsasada-talend@users.noreply.github.com>
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-09-22 18:22:32 +08:00
zyuan-talend
447a26c6de fix(TUP-36519):"Detect and update all jobs" does not update all jobs. (#7959) 2022-09-22 12:55:16 +08:00
kjwang
11031180af Fix TUP-36718 SSO Login: "Authentication credentials were missing or (#8015) (#8022)
* Fix TUP-36718 SSO Login: "Authentication credentials were missing or
incorrect" shows in logon dialog after switch from ap to eu
https://jira.talendforge.org/browse/TUP-36718
2022-09-22 09:53:45 +08:00
kjwang
47890eb32e kjwang/Fix TUP-36721 Only display SSO page for Talend Studio (#8016) (#8021)
kjwang/Fix TUP-36721 Only display SSO page for Talend Studio
https://jira.talendforge.org/browse/TUP-36721
2022-09-22 09:35:25 +08:00
bhe-talendbj
814c6d56fd fix(TUP-35879): revert migration task (#8014) (#8020) 2022-09-21 17:38:53 +08:00
kjwang
fb0ee1ba3f Fix: TUP-36714 Improve the code for SSO feature (#8012) (#8017)
* Fix: TUP-36714 Improve the code for SSO feature
https://jira.talendforge.org/browse/TUP-36714
2022-09-21 13:06:48 +08:00
pyzhou
5b39231455 fix(TDI-48321): tSCP components cannot work with redhat server (#7951)
* fix(TDI-48321): tSCP components cannot work with redhat server

* fix wron /n

* fix tssh compile error

* fix NPE
2022-09-21 12:04:18 +08:00
Oleksandr Zhelezniak
aae4ed766e fix(TDI-48495): support dieOnError in tS3List (#7977) 2022-09-19 10:01:18 +03:00
Dmytro Grygorenko
78453d1d1c fix(TDI-48560): fix regression with MDC and Log4J. (#8007) 2022-09-16 18:06:11 +03:00
kjwang
5b4c00b927 Kjwang/feat tup 32606 support sso on studio (#7494)
TUP-32606 Support SSO on Studio
https://jira.talendforge.org/browse/TUP-32606
2022-09-16 15:08:06 +08:00
jiezhang-tlnd
6b4932c841 Add localized files (#7997) (#8003)
Co-authored-by: jenkins-git <jenkins-git@talend.com>

Co-authored-by: jzhangbj <jzhang@talend.com>
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-09-16 14:36:19 +08:00
jiezhang-tlnd
274a27ed3a Add localized files (#7995) (#8001)
Co-authored-by: jenkins-git <jenkins-git@talend.com>

Co-authored-by: tsasada-talend <51699524+tsasada-talend@users.noreply.github.com>
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-09-16 11:52:27 +08:00
jiezhang-tlnd
cfa2c8da97 Add localized files (#7994) (#8000)
Co-authored-by: jenkins-git <jenkins-git@talend.com>

Co-authored-by: Alexiane Yvonet <ayvonet@talend.com>
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-09-16 10:23:40 +08:00
zshen-talend
008fd2a1d3 fix(TDQ-20725): The default project dir path support reference project (#7999) 2022-09-16 09:16:57 +08:00
Emmanuel GALLOIS
742546d98a fix(TCOMP-2182): pass version to tck guess schema (#7988) 2022-09-15 11:42:00 +02:00
vyu-talend
069be389c9 fix(TDI-48213):fix the risk of not closing resources (#7922) (#7996)
* fix(TDI-48213):fix the closing resources issues. (#7826)

* fix(TDI-48213):fix the closing resources issues.

* fix(TDI-48213):change the log level.

* fix(TDI-48213):fix the risk of not closing resources.

* fix(TDI-48213):remove useless try/catch.

* feat(TDI-42323):add entry to custom ratio.

* Revert "feat(TDI-42323):add entry to custom ratio."

This reverts commit 18e23af73c.

* fix(TDI-48213):add finish flag to end and finally.

* fix(TDI-48213):remove useless codes.

Co-authored-by: vyu <vyu@192.168.1.15>

Co-authored-by: vyu <vyu@192.168.1.15>
2022-09-15 17:14:45 +08:00
AlixMetivier
25322672ec feat(TBD-13996): Spark local mode - Universal Spark 3.3 (#7980) 2022-09-15 09:32:04 +02:00
Dmytro Grygorenko
bff6ce7b1e feat(TDI-46676): MDC logging for Log4J. (#7993) 2022-09-14 16:24:03 +03:00
Jane Ding
c1f91c2e6c fix(TUP-36251):[8.0.1] File JSON metadata not working when special (#7939)
* fix(TUP-36251):[8.0.1] File JSON metadata not working when special
character or space is available in the field name
https://jira.talendforge.org/browse/TUP-36251

* fix(TUP-36251):[8.0.1] File JSON metadata not working when special
character or space is available in the field name
https://jira.talendforge.org/browse/TUP-36251

* fix(TUP-36251):[8.0.1] File JSON metadata not working when special
character or space is available in the field name
https://jira.talendforge.org/browse/TUP-36251

* fix(TUP-36251):[8.0.1] File JSON metadata not working when special
character or space is available in the field name
https://jira.talendforge.org/browse/TUP-36251

* fix(TUP-36251):[8.0.1] File JSON metadata not working when special
character or space is available in the field name
https://jira.talendforge.org/browse/TUP-36251

* fix(TUP-36251):[8.0.1] File JSON metadata not working when special
character or space is available in the field name
https://jira.talendforge.org/browse/TUP-36251

* fix(TUP-36251):[8.0.1] File JSON metadata not working when special
character or space is available in the field name
https://jira.talendforge.org/browse/TUP-36251

* fix(TUP-36251):[8.0.1] File JSON metadata not working when special
character or space is available in the field name
https://jira.talendforge.org/browse/TUP-36251
2022-09-14 15:06:44 +08:00
hzhao
cff2423758 Revert "feat(TUP-33040): ELT components cannot handle table/column name in Japanese (#7919)" (#7990)
This reverts commit 50396846b5.
2022-09-14 14:44:12 +08:00
hzhao
50396846b5 feat(TUP-33040): ELT components cannot handle table/column name in Japanese (#7919)
* feat(TUP-33040): ELT components cannot handle table/column name in
Japanese

* feat(TUP-33040): ELT components cannot handle table/column name in
Japanese

* feat(TUP-33040): ELT components cannot handle table/column name in
Japanese
2022-09-14 14:25:50 +08:00
Liu Xinquan
8dc706cfb1 Revert "fix(TDQ-20610) org.apache.lucene:lucene-core (#7941)" (#7983)
This reverts commit 17e08830c4.
2022-09-13 17:48:03 +08:00
pyzhou
22465eadbd feat(TDI-48332):oracle orai18n.jar (#7921)
* feat(TDI-48332):oracle orai18n.jar

* add dependency

* Add name

* fix wrong mvn path and name

* wrong import
2022-09-13 10:17:52 +08:00
Dmytro Ochkas
24226aebb8 dochkas/tdi 48339 aws CVE path traversal (#7978)
bump aws-java-sdk to 1.12.297
2022-09-09 17:14:28 +03:00
jiezhang-tlnd
7185dfa931 Add localized files (#7969) (#7976)
Co-authored-by: jenkins-git <jenkins-git@talend.com>

Co-authored-by: jzhangbj <jzhang@talend.com>
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-09-09 17:57:42 +08:00
jiezhang-tlnd
055f7bee5d Add localized files (#7967) (#7975)
Co-authored-by: jenkins-git <jenkins-git@talend.com>

Co-authored-by: tsasada-talend <51699524+tsasada-talend@users.noreply.github.com>
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-09-09 17:20:05 +08:00
Oleksandr Zhelezniak
33ca67bff9 fix(TDI-47865): guess schema flow (#7862) 2022-09-09 11:32:18 +03:00
jiezhang-tlnd
459c47190c Add localized files (#7965) (#7972)
Co-authored-by: jenkins-git <jenkins-git@talend.com>

Co-authored-by: Alexiane Yvonet <ayvonet@talend.com>
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-09-09 15:11:50 +08:00
AlixMetivier-zz
1a8b41df07 feat(TBD-13647): allow switch from transient to interactive cluster (#7713)
* feat(TBD-13647): allow switch from transient to interactive cluster

* refacto

* fix(TBD-14086): fix empty spark conf

* feat(TBD-13647): contextualize DBR wizard

* fix isContext

Co-authored-by: unknown <ametivier@talend.com>
2022-09-08 16:35:09 +02:00
Jane Ding
05328699c0 update jdt pref (#7963) 2022-09-08 11:54:38 +08:00
sbliu
6e987053d6 feat(TUP-36340) oracle add support of orai18n.jar (#7861) 2022-09-08 10:42:49 +08:00
hcyi
ec79fdc29b fix(TUP-35511):[JDBC TCK]: improve the ui layout for tck connector in (#7947)
studio
2022-09-07 15:35:41 +08:00
Andreas Mattes
1055e43782 fix(APPINT-34738): Improve error handling and logging on native library load. (#7888) 2022-09-07 14:34:13 +08:00
bhe-talendbj
32db8042da feat(TUP-36373): move m2 setting out of local setting (#7956) 2022-09-07 09:51:11 +08:00
Liu Xinquan
17e08830c4 fix(TDQ-20610) org.apache.lucene:lucene-core (#7941) 2022-09-06 17:19:39 +08:00
hzhao
39f8026abb fix(TUP-36593): Nexus proxy password is stored in clear text in project (#7935)
* fix(TUP-36593): Nexus proxy password is stored in clear text in project
setting preference

* fix(TUP-36593): Nexus proxy password is stored in clear text in project

* fix(TUP-36593): Nexus proxy password is stored in clear text in project
add junit
2022-09-05 23:34:15 +08:00
Jane Ding
28b2357544 fix(TUP-36440):JSON parsing issue when creating a new JSON file input in (#7909)
* fix(TUP-36440):JSON parsing issue when creating a new JSON file input in
a repository
https://jira.talendforge.org/browse/TUP-36440

* fix(TUP-36440):JSON parsing issue when creating a new JSON file input in
a repository
https://jira.talendforge.org/browse/TUP-36440

* fix(TUP-36440):JSON parsing issue when creating a new JSON file input in
a repository
https://jira.talendforge.org/browse/TUP-36440
2022-09-05 17:13:53 +08:00
kjwang
927ad3d03a Kjwang/tup 32641 change the help system (#7856)
* TUP-32641 Change the help system to open the links of component from CLM
https://jira.talendforge.org/browse/TUP-32641
2022-09-05 14:30:47 +08:00
jiezhang-tlnd
6151312167 Add localized files (#7936) (#7943)
Co-authored-by: jenkins-git <jenkins-git@talend.com>

Co-authored-by: jzhangbj <jzhang@talend.com>
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-09-02 15:01:50 +08:00
jiezhang-tlnd
8613ad6681 Add localized files (#7934) (#7942)
Co-authored-by: jenkins-git <jenkins-git@talend.com>

Co-authored-by: tsasada-talend <51699524+tsasada-talend@users.noreply.github.com>
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-09-02 14:55:19 +08:00
sbliu
0fc95d1338 fix junit failure on 8.0 (#7933) 2022-09-02 09:32:12 +08:00
bhe-talendbj
d1060f31b4 feat(TUP-36373): add doc link (#7932) 2022-09-01 16:49:50 +08:00
Oleksandr Zhelezniak
2b2fa51832 fix(TDI-48363): skip null enum parameter (#7874) 2022-09-01 11:12:15 +03:00
Oleksandr Zhelezniak
5b89f0c395 fix(TDI-48446): require library when no connection (#7924) 2022-09-01 10:44:37 +03:00
wang wei
1cde3705dc fix(TDI-48333): [CVE]: replace or remove xalan dependency for tfileinputxml and twebservicexxx components (#7890) 2022-09-01 11:42:05 +08:00
pyzhou
e7ab9952e4 fix(TDI-48456):tPOP java8 compatibility 2022-09-01 11:23:05 +08:00
bhe-talendbj
9cf054fe7c feat(TUP-36373): Delete .m2 with UI option when apply a monthly update (#7906)
* feat(TUP-36373): inital impl

* feat(TUP-36373): update messages

* feat(TUP-36373): fix UI

* feat(TUP-36373): update UI and message

* feat(TUP-36373): update UI of updatesite settings

* feat(TUP-36373): update UI of updatesite settings

* feat(TUP-36373): delete m2 during startup
2022-09-01 10:11:03 +08:00
pyzhou
4e70f2fe7f Added extra fields, dependencies + token fetch logic. (#7918)
Co-authored-by: Balázs Gunics <bgunics@talend.com>
2022-08-31 17:54:10 +08:00
Xilai Dai
906c5981e5 fix(APPINT-34973) exclude saaj-impl from OSGi build (#7915) 2022-08-31 16:10:10 +08:00
sbliu
5993e26bb2 chore(TUP-36502) upgrade org.postgresql:postgresql:42.2.25 to 42.2.26 (#7899) 2022-08-31 09:34:05 +08:00
hcyi
945ca09529 fix(TUP-36483):Code generation fails with xmlmap. (#7891) 2022-08-30 17:57:01 +08:00
jzhao
51634ddae4 fix(TDI-48426):CVE: org.postgresql:postgresql:42.2.25 (#7903) 2022-08-30 15:57:39 +08:00
bhe-talendbj
194538b2e8 fix(TUP-35879): Default value is not saved into the job in tck component (#7815)
* fix(TUP-35879): persist closed_list of tck into job item

* fix(TUP-35879): add migration task and junit test

* fix(TUP-35879): fix test case
2022-08-28 14:49:11 +08:00
Joe
3d71f80ea7 fix(TUP-35231): tELTMap update query not be wrapped for SET column when (#7855)
* fix(TUP-35231): tELTMap update query not be wrapped for SET column when
enable `Use update statement without subqueries` in tELTOutput

* fix(TUP-35231): tELTMap update query not be wrapped for SET column

* fix(TUP-35231): tELTMap update query not be wrapped for SET column
2022-08-20 11:40:57 +08:00
Dmytro Sylaiev
8593003ad1 fix(TDI-48316): Add remote dir name (#7864) 2022-08-19 20:40:19 +03:00
jiezhang-tlnd
b76efa649b Add localized files (#7908) (#7912)
Co-authored-by: jenkins-git <jenkins-git@talend.com>

Co-authored-by: Alexiane Yvonet <ayvonet@talend.com>
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-08-19 14:12:13 +08:00
pyzhou
c7e8398eda feat(TDI-46737):print jobinfo log move (#7832) 2022-08-18 15:19:18 +08:00
Xilai Dai
b1026c9515 fix(APPINT-34738) add MsmqTalend into osgi-exclude.properties (#7895) (#7896) 2022-08-17 16:09:13 +08:00
zyuan-talend
52bc20ba6c fix(TUP-35909):add junit test. (#7878) 2022-08-15 10:59:28 +08:00
jiezhang-tlnd
9b3fc383a6 Add localized files (#7881) (#7886)
Co-authored-by: jenkins-git <jenkins-git@talend.com>

Co-authored-by: Xuwei ZHU <xzhu@talend.com>
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-08-12 10:20:34 +08:00
jiezhang-tlnd
b1403a7512 Add localized files (#7883) (#7884)
Co-authored-by: jenkins-git <jenkins-git@talend.com>

Co-authored-by: jzhangbj <jzhang@talend.com>
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-08-12 08:52:09 +08:00
jiezhang-tlnd
09847a84e0 Add localized files (#7877) (#7882)
Co-authored-by: jenkins-git <jenkins-git@talend.com>

Co-authored-by: Alexiane Yvonet <ayvonet@talend.com>
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-08-11 18:22:48 +08:00
vyu-talend
a0b3c983fb Revert "fix(TDI-48213):fix the closing resources issues. (#7826)" (#7880)
This reverts commit a092a9caab.
2022-08-11 15:34:36 +08:00
jiezhang-tlnd
43c4e71705 Revert "Jzhnag/80/tup 36410 need select talendssl (#7865)" (#7876)
This reverts commit ff24577e43.
2022-08-11 15:03:59 +08:00
jiezhang-tlnd
3a53d8a958 Revert "feat(TUP-35808)Generate module name from maven url (#7732)" (#7875)
This reverts commit 68a69cad7f.
2022-08-11 15:03:26 +08:00
wang wei
f6233bb17d fix(TDI-47696): [JDBC TCK]: Support dynamic changable setting when every row come, for tjdbcrow preparedstatementtable ui (#7711) 2022-08-10 20:38:20 +08:00
vyu-talend
a092a9caab fix(TDI-48213):fix the closing resources issues. (#7826)
* fix(TDI-48213):fix the closing resources issues.

* fix(TDI-48213):change the log level.
2022-08-10 17:15:08 +08:00
Oleksandr Zhelezniak
d8c18ff269 fix(TDI-46563): fix log message (#7869)
* add variable with empty value
2022-08-09 14:14:00 +03:00
jiezhang-tlnd
ff24577e43 Jzhnag/80/tup 36410 need select talendssl (#7865)
* fix(TUP-36410)Need select talendssl.jar from local while building job
which using tLDAPInput

* format code

* add <stripVersion>true</stripVersion>
2022-08-09 18:00:13 +08:00
hcyi
2fdda554d8 feat(TUP-35963):fix a bug when rename the link. (#7725) 2022-08-09 16:35:22 +08:00
hzhao-talendbj
7bd4190816 (TUP-36341): Unable to run DQ reports with subjob+joblet on a cloud or (#7838)
* (TUP-36341): Unable to run DQ reports with subjob+joblet on a cloud or
remote engine

* fix(TUP-36341): Unable to run DQ reports with subjob+joblet on a cloud

* fix(TUP-36341): Unable to run DQ reports with subjob+joblet on a cloud

* (TUP-36341): Unable to run DQ reports with subjob+joblet on a cloud

* fix(TUP-36341): Unable to run DQ reports with subjob+joblet on a cloud

* fix(TUP-36341): Unable to run DQ reports with subjob+joblet on a cloud

* fix(TUP-36341): Unable to run DQ reports with subjob+joblet on a cloud
2022-08-09 16:21:09 +08:00
Abdulhamid Rashankar
6d1c78e5e1 APPINT-34738:Integrate Talend-customized Microsoft MQ driver jar with improved native library loading (#7859)
Co-authored-by: arashankar <abdulhamid0606@gmail.com>
2022-08-09 09:17:48 +02:00
zyuan-talend
b0d427b936 fix(TUP-35909):update junit test. (#7854) 2022-08-09 11:25:55 +08:00
pyzhou
0042ffa19e fix(TDI-48322):align javax.mail version (#7847) 2022-08-09 10:23:44 +08:00
wang wei
c4efcea671 fix(TDI-47717): [JDBC TCK]: support tjdbccommit/tjdbcrollback (#7591) 2022-08-09 09:43:02 +08:00
pyzhou
c2a61959da feat(TDI-47369): tSendMail Oauth2 (#7784)
* fix(TDI-47369): tSendMail Oauth2

* fix migration

* feat(TDI-47447):tPOP OAuth2.0

* rename

* fix show if

* tSendMile MVN path

* tPOP mvn path

* correct migration description.
2022-08-08 17:23:58 +08:00
qiongli
19b29ea519 fix(TDQ-20362): Update and save analysis when rename jdbc connection (#7797) 2022-08-08 09:49:07 +08:00
pyzhou
cac9e1f72e fix(TDI-46737) (#7843) 2022-08-05 10:31:16 +08:00
jiezhang-tlnd
2d6fc1c328 Add localized files (#7846) (#7850)
Co-authored-by: jenkins-git <jenkins-git@talend.com>

Co-authored-by: Xuwei ZHU <xzhu@talend.com>
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-08-04 17:26:12 +08:00
jiezhang-tlnd
5c3637bfee Add localized files (#7845) (#7849)
Co-authored-by: jenkins-git <jenkins-git@talend.com>

Co-authored-by: jzhangbj <jzhang@talend.com>
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-08-04 17:22:26 +08:00
jiezhang-tlnd
3e6c3d65a5 Add localized files (#7844) (#7848)
Co-authored-by: jenkins-git <jenkins-git@talend.com>

Co-authored-by: Alexiane Yvonet <ayvonet@talend.com>
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-08-04 17:17:32 +08:00
msjian
4320d5a6d4 fix(TDQ-20638): fix a replacement error for DQ item (#7841) 2022-08-02 17:14:51 +08:00
sbliu
1cc40dac56 feat(TUP-29393) amend message. (#7836) 2022-08-02 15:33:43 +08:00
vyu-talend
b56d39476c fix(TDI-48246):upgrade guava to align. (#7809) 2022-08-02 11:40:05 +08:00
pyzhou
10ebfa7c56 fix(TDI-48254): tRSSOoutput encoding issue (#7799)
* fix(TDI-48254): tRSSOoutput encoding issue

* Changed to compatible with jdk 8
2022-08-02 10:27:49 +08:00
vyu-talend
864565e5f8 fix(TDI-48082):add additional parameters to all greenplum. (#7794) 2022-08-01 17:31:24 +08:00
zyuan-talend
d4db372bd9 801 loc 2022 07 29 (#7825)
* Add localized files (#7810)

Co-authored-by: jenkins-git <jenkins-git@talend.com>

* Add localized files (#7821)

Co-authored-by: jenkins-git <jenkins-git@talend.com>

* Add localized files (#7822)

Co-authored-by: jenkins-git <jenkins-git@talend.com>

* Add localized files (#7823)

Co-authored-by: jenkins-git <jenkins-git@talend.com>

Co-authored-by: jzhangbj <jzhang@talend.com>
Co-authored-by: jenkins-git <jenkins-git@talend.com>
Co-authored-by: Alexiane Yvonet <ayvonet@talend.com>
Co-authored-by: tsasada-talend <51699524+tsasada-talend@users.noreply.github.com>
2022-07-29 15:45:53 +08:00
jiezhang-tlnd
68a69cad7f feat(TUP-35808)Generate module name from maven url (#7732)
* feat(TUP-35808)Generate module name from maven url

* format code
2022-07-27 18:38:29 +08:00
sbliu
88ec878129 feat(TUP-29393) remove preference initialization of nexus connection timeout (#7789)
* feat(TUP-29393) remove preference initialization of nexus connection timeout

* use same label for both local and remote connection, for default connection timeout / default read timeout

* change label for database connection timeout
2022-07-27 17:42:16 +08:00
jiezhang-tlnd
03fd7be5b8 fix(TUP-35446)CVE: org.apache.maven:maven-core:3.8.3 (#7747) 2022-07-27 11:25:08 +08:00
wang wei
1281774f65 fix(TDI-48086): CVE poi-scratchpad (#7786) 2022-07-27 10:19:45 +08:00
wang wei
3b73492a15 fix(TDI-48203): [CVE]: routines.system.JSONObject(Object bean) use reflect to call method invoke, that's dangerous for evil script inject(#7721) 2022-07-27 09:28:53 +08:00
Oleksandr Zhelezniak
d692b7c0d0 chore(TDI-48177): bump google oauth (#7765)
* 1.31.0 -> 1.33.3
2022-07-26 11:06:14 +03:00
sbliu
3e57b5c1f5 fix(TUP-36128) fix problem when parse where condition string which contains global string for tELTmap. (#7801)
* fix(TUP-36128) fix problem when parse where condition string which contains global string for tELTmap.

* fix(TUP-36128) add junit .
2022-07-26 14:29:28 +08:00
sbliu
e04186b994 fix(TUP-36252) fix NPE for tos studio build job (#7795) 2022-07-26 14:25:07 +08:00
pyzhou
449699463f feat(TDI-46737):print jobinfo log (#7618)
* feat(TDI-46737):print jobinfo log

* fix compaile error when log4jndisabled

* feat(TDI-46737): replace /n with /t

* put jobinfo outside main method

* add boundary check
2022-07-26 11:01:45 +08:00
sbliu
b6bc8f8bb4 chore(TUP-35865) remove dependency link to wstx-asl in libraries.apache.axis (#7726) 2022-07-22 17:27:58 +08:00
Oleksandr Zhelezniak
ee41b11458 chore(TDI-48081): bump xmlsec 2.3.1 (#7769)
* MCRMInput\Output 2.1.2 -> 2.3.1
2022-07-22 09:51:32 +03:00
kjwang
cd0a376742 TUP-36157 Error when install Bigtable in studio: Illegal character in (#7761)
TUP-36157 Error when install Bigtable in studio: Illegal character in query
https://jira.talendforge.org/browse/TUP-36157
2022-07-22 09:37:38 +08:00
Jane Ding
0e942c29ec Add localized files (#7800) (#7803)
Co-authored-by: jenkins-git <jenkins-git@talend.com>

Co-authored-by: tsasada-talend <51699524+tsasada-talend@users.noreply.github.com>
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-07-21 17:43:54 +08:00
Jane Ding
263c68aa1c fix(TUP-36192):Talend 8 - Unable to Save Job (#7783)
* fix(TUP-36192):Talend 8 - Unable to Save Job
https://jira.talendforge.org/browse/TUP-36192

* fix(TUP-36192):Talend 8 - Unable to Save Job
https://jira.talendforge.org/browse/TUP-36192
2022-07-21 17:36:43 +08:00
jzhao
9c734ed1ab fix(TDI-48235):align bouncycastle to 1.70 (#7760) 2022-07-20 16:36:55 +08:00
jzhao
34ea4e2000 fix(TDI-48046): CVE: IBM MQ 9.2.4.0 (#7758) 2022-07-20 15:48:16 +08:00
hzhao-talendbj
3a7cdb4a7d Revert "chore(TUP-35265): upgrade 'crypto-utils' jar in low level (#7645)" (#7790)
This reverts commit 71e030028b.
2022-07-19 16:25:40 +08:00
pyzhou
b3f59bb007 fix(TDI-48024): ResumeUtil performance issue. (#7771) 2022-07-19 10:35:34 +08:00
vyu-talend
5dacef1e96 fix(TDI-47976):fix some potencial npe. (#7757) 2022-07-19 10:00:33 +08:00
wang wei
50390195d3 fix(TDI-48221): tDBBulkExec (MYSQL) Failing with error (#7739) 2022-07-18 10:11:43 +08:00
Dmytro Sylaiev
fda862cc39 feat(TDI-46563): Allow not to fire ANALYZE command (#7729) 2022-07-15 12:19:10 +03:00
Jane Ding
f8cc41a85e feat(TUP-35644):tMap - possible simplified metrics to send to Pendo (#7690)
* feat(TUP-35644):tMap - possible simplified metrics to send to Pendo
https://jira.talendforge.org/browse/TUP-35644

* feat(TUP-35644):tMap - possible simplified metrics to send to Pendo
https://jira.talendforge.org/browse/TUP-35644

* feat(TUP-35644):tMap - possible simplified metrics to send to Pendo
https://jira.talendforge.org/browse/TUP-35644

* feat(TUP-35644):tMap - possible simplified metrics to send to Pendo
https://jira.talendforge.org/browse/TUP-35644

* feat(TUP-35644):tMap - possible simplified metrics to send to Pendo
https://jira.talendforge.org/browse/TUP-35644

* feat(TUP-35644):tMap - possible simplified metrics to send to Pendo
https://jira.talendforge.org/browse/TUP-35644

* feat(TUP-35644):tMap - possible simplified metrics to send to Pendo
https://jira.talendforge.org/browse/TUP-35644

* feat(TUP-35644):tMap - possible simplified metrics to send to Pendo
https://jira.talendforge.org/browse/TUP-35644

* feat(TUP-35644):tMap - possible simplified metrics to send to Pendo
https://jira.talendforge.org/browse/TUP-35644
2022-07-14 17:23:09 +08:00
vyu-talend
080d15bb46 feat(TDI-44761):improve sftp in ftp components (#7728)
* feat(TDI-44761):improve sftp in ftp components.

* feat(TDI-44761):update plugin.xml for migration task.

* Delete .project

* feat(TDI-47761):improve code

* feat(TDI-44761):fix something

* feat(TDI-44761):fix migration issue.

* feat(TDI-47761):fix migration task.

* feat(TDI-44761):test manual build patch

* feat(TDI-44761):test migration task.

* feat(TDI-44761):improve code

* feat(TDI-44761):fix string value issue.

* feat(TDI-44761):import java.util.map.

* feat(TDI-44761):fix UI issue.

* feat(TDI-44761):improve migration.

* feat(TDI-44761):improve migration.
2022-07-14 16:51:35 +08:00
sbliu
6ef21d35df chore(TUP-35948) showOverwrite enabled when is cloud connection (#7770)
show override in preference page load from logon dialog when product is cloud license or tp_all license.
2022-07-14 15:51:52 +08:00
hcyi
bfd6eeb40c feat(TUP-30684):fix a bug if the table is start with a number or (#7774)
illegal character.
2022-07-14 15:12:54 +08:00
zshen-talend
a88cecbea1 fix(TDQ-20577): replace project name with lowercase mode in TDQItems when export job 2022-07-14 12:31:40 +08:00
pyzhou
98dced7251 Revert "migration" (#7773)
This reverts commit 4422793a56.

Revert "UI change"

This reverts commit b0d9c95d5a.

Revert "fix(TDI-47369): tSendMail Oauth2"

This reverts commit 5639383b2b.
2022-07-14 11:50:12 +08:00
Jill Yan
2e80d7e136 APPINT-34809 fix JSON exception (#7752)
Co-authored-by: jillyan <yan955599@gmail.com>
2022-07-14 09:37:23 +08:00
Jane Ding
1675c694a4 Jding/tup 35939 file dialog style (#7755)
* fix(TUP-35939):tFileOutput components resulting in File not found error
when selecting a file path for saving the output file.
https://jira.talendforge.org/browse/TUP-35939

* fix(TUP-35939):tFileOutput components resulting in File not found error
when selecting a file path for saving the output file.
https://jira.talendforge.org/browse/TUP-35939

* fix(TUP-35939):tFileOutput components resulting in File not found error
when selecting a file path for saving the output file.
https://jira.talendforge.org/browse/TUP-35939
2022-07-13 17:53:53 +08:00
Zhiwei Xue
d08c179dec fix(TUP-18979):Migration tasks including mapping files (#7730) 2022-07-13 11:02:31 +08:00
pyzhou
4422793a56 migration
Conflicts:
	main/plugins/org.talend.repository/plugin.xml
2022-07-12 22:19:43 +08:00
pyzhou
b0d9c95d5a UI change 2022-07-12 22:18:28 +08:00
pyzhou
5639383b2b fix(TDI-47369): tSendMail Oauth2 2022-07-12 22:18:22 +08:00
Dmytro Sylaiev
6ae35f5f87 fix(TDI-47908): Commit stats in case of Error (#7703) 2022-07-12 11:15:40 +03:00
pyzhou
f82cc232e2 fix(TDI-48290): tCould upgrade (#7750) 2022-07-12 09:29:31 +08:00
hcyi
9c90588ab5 feat(TUP-30684):snowflake Feature request to refresh the table schema instead of automatically refreshing all table schemas. (#7694)
* feat(TUP-30684):snowflake Feature request to refresh the table schema
instead of automatically refreshing all table schemas.

* feat(TUP-30684):add junits
2022-07-11 18:41:28 +08:00
kjwang
ddff7906c8 Fix: TUP-36107 In Studio 8 Stats & Logs project settings are removed (#7723)
Fix: TUP-36107 In Studio 8 Stats & Logs project settings are removed after enabling "Publish to artifact repository" feature
https://jira.talendforge.org/browse/TUP-36107
2022-07-08 18:33:55 +08:00
zshen-talend
ffddff1dbb fix(TDQ-20754): revert code to keep project is lowercase (#7741) 2022-07-08 16:17:55 +08:00
wang wei
59a4f69506 fix(TDI-47694): [JDBC TCK]: Inject runtime context for tck connector runtime(#7744) 2022-07-08 15:44:10 +08:00
pyzhou
06b2da94fc fix(TDI-48107):gson CVE (#7649)
* fix(TDI-48107):gson CVE

* fix(TDI-48107):gson CVE 2.8.9

* fix(TDI-48107):gson CVE

* fix(TDI-48107):gson CVE

* upgrade version

* missing GoogleDataprocManage
# Conflicts:
#	main/plugins/org.talend.designer.components.libs/libs_src/adal4j/pom.xml
#	main/plugins/org.talend.designer.components.libs/libs_src/talend-mscrm/pom.xml
2022-07-07 23:44:49 +08:00
Emmanuel GALLOIS
2a8024f79e fix(TCOMP-2171): fix ComponentIndex constructor in TaCoKitUtilTest (#7736) 2022-07-07 14:37:04 +02:00
zyuan-talend
7f6d815c1f Add localized files (#7735)
* Add localized files (#7733)

Co-authored-by: jenkins-git <jenkins-git@talend.com>

* Add localized files (#7734)

Co-authored-by: jenkins-git <jenkins-git@talend.com>

Co-authored-by: Alexiane Yvonet <ayvonet@talend.com>
Co-authored-by: jenkins-git <jenkins-git@talend.com>
Co-authored-by: tsasada-talend <51699524+tsasada-talend@users.noreply.github.com>
2022-07-07 18:09:25 +08:00
Emmanuel GALLOIS
31092cc40f fix(TCOMP-2171): fix ComponentIndex constructor (#7716) 2022-07-07 10:30:00 +02:00
Hongchun Yi
b7d9ba140c feat(TUP-35963):revert the fix a bug when rename the link. 2022-07-06 10:21:25 +08:00
Hongchun Yi
686564ae5e feat(TUP-35963):fix a bug when rename the link. 2022-07-05 18:42:25 +08:00
hzhao-talendbj
71e030028b chore(TUP-35265): upgrade 'crypto-utils' jar in low level (#7645) 2022-07-04 17:42:13 +08:00
sponomarova
d981791b42 fix(TBD-13990): [Patch R2022-05v2_8.0.1] tHiveConnection component doesn't generate code for url_tHiveConnection variable definition (#7669) 2022-07-04 12:06:26 +03:00
Dmytro Grygorenko
82f35f6e41 fix(TDI-48185): bump "nimbus-jose" version (leftovers). (#7717) 2022-07-04 11:29:42 +03:00
jzhao
99d434d29b fix(TDI-48159):tSalesforceEinsteinBulkExec align force-wsc with other sf
components (#7693)
2022-07-01 14:44:38 +08:00
zyuan-talend
f8865cb213 chore(TUP-8888):Add localized files (#7709)
* Add localized files (#7706)

Co-authored-by: jenkins-git <jenkins-git@talend.com>

* Add localized files (#7707)

Co-authored-by: jenkins-git <jenkins-git@talend.com>

Co-authored-by: tsasada-talend <51699524+tsasada-talend@users.noreply.github.com>
Co-authored-by: jenkins-git <jenkins-git@talend.com>
Co-authored-by: jzhangbj <jzhang@talend.com>
2022-07-01 11:42:53 +08:00
Jane Ding
dd9fd8cb24 fix(TUP-35939):tFileOutput components resulting in File not found error (#7666)
* fix(TUP-35939):tFileOutput components resulting in File not found error
when selecting a file path for saving the output file.
https://jira.talendforge.org/browse/TUP-35939

* fix(TUP-35939):tFileOutput components resulting in File not found error
when selecting a file path for saving the output file.
https://jira.talendforge.org/browse/TUP-35939
2022-07-01 09:28:25 +08:00
pyzhou
6655f97987 fix(TDI-48113):CVE woodstox-core (#7650) 2022-06-30 15:05:50 +08:00
zyuan-talend
4e7e7e3f92 fix(TUP-31721):Not clear studio index cache in normal case. (#7616) 2022-06-30 14:54:16 +08:00
wang wei
8200e6db62 fix(TDI-47714): [JDBC TCK]: "Use existed connection" ui appear in (#7586) 2022-06-30 11:38:06 +08:00
Dmytro Sylaiev
55ce5dea3c fix(TDI-48004): Handle dependency with classifier (#7672) 2022-06-29 15:18:35 +03:00
Abdulhamid Rashankar
cc71d9db71 APPINT-34489 : profile added for promthus dependencies (#7689)
Co-authored-by: arashankar <abdulhamid0606@gmail.com>
2022-06-29 13:55:39 +02:00
kjwang
dff68c17f2 Fix:TUP-35887 "build job" working in 7.2.1 fails in 8.0.1: Failed to generate code : NPE org.talend.designer.dbmap.language.oracle.OracleGenerationManager.addQuoteForSpecialChar (#7667)
* Fix:TUP-35887
"build job" working in 7.2.1 fails in 8.0.1: Failed to generate code :
NPE org.talend.designer.dbmap.language.oracle.OracleGenerationManager.addQuoteForSpecialChar
https://jira.talendforge.org/browse/TUP-35887
2022-06-29 11:38:42 +08:00
bhe-talendbj
1d99eba2b7 fix(TUP-35942): update relevant job only after renaming joblet (#7673) 2022-06-29 11:05:07 +08:00
Jill Yan
251293a356 APPINT-34694 build routlet module (#7676)
Co-authored-by: jillyan <yan955599@gmail.com>
2022-06-29 10:48:26 +08:00
Wei Hua
2ad83e745a APPINT-31958 Wrong endpoint displayed in console message when using cRest/tRESTRequest (#7680) 2022-06-28 16:23:47 +08:00
msjian
bc7b87956d fix(TDQ-19435): fix a NPE (#7665) 2022-06-28 14:17:48 +08:00
zshen-talend
fd8cf997dc fix(TDQ-19623): fix junit about BuildJobHandlerTest.testBuildJobWithTDM (#7692) 2022-06-27 19:03:14 +08:00
Olha V
6318139dd4 fix(TDI-48035): Add null marker to tBigQueryOutput (#7662) (#7687) 2022-06-24 12:27:25 +03:00
Jane Ding
9f034e9752 fix(TUP-35599):SuggestionValues.Item support of user friendly UI label (#7685)
different from it's id
https://jira.talendforge.org/browse/TUP-35599
2022-06-24 14:26:57 +08:00
hcyi
22168da847 fix(TUP-35960):signer.version show a fixed value in job's pom.xml. (#7681) 2022-06-23 18:08:20 +08:00
Chao MENG
024fbf3e6f chore: update plugin timestamp (#7683) 2022-06-23 17:13:57 +08:00
Jane Ding
7e4f1971ab fix(TUP-35599):SuggestionValues.Item support of user friendly UI label (#7619)
* fix(TUP-35599):SuggestionValues.Item support of user friendly UI label
different from it's id
https://jira.talendforge.org/browse/TUP-35599

* fix(TUP-35599):SuggestionValues.Item support of user friendly UI label
different from it's id
https://jira.talendforge.org/browse/TUP-35599
2022-06-21 22:07:41 +08:00
wwang
e24bc3e0c6 Revert "fix(TDI-47694): [JDBC TCK]: Inject runtime context for tck connector runtime (#7567)"
This reverts commit 77e3b8bb8a.
2022-06-21 09:08:32 +08:00
wang wei
77e3b8bb8a fix(TDI-47694): [JDBC TCK]: Inject runtime context for tck connector runtime (#7567) 2022-06-21 09:03:53 +08:00
zshen-talend
89433520a1 fix(TDQ-19623): make sure project name never force lowercase (#7660) 2022-06-17 10:15:06 +08:00
sbieliaievl
e22fe46720 fix(APPINT-33830) - fixed issue with timeout param upon migration (#7603)
* fix(APPINT-33830) - added migration project task

* fix(APPINT-33830) - added migration file
2022-06-16 13:44:50 +08:00
AlixMetivier
deb67d297d feat(TBD-13823): spark local 3.2.x GA (#7652) 2022-06-15 13:45:04 +03:00
zshen-talend
a9d6a44b7f fix(TDQ-19623): make sure build job action work for reference project (#7651) 2022-06-15 18:15:03 +08:00
Dmytro Sylaiev
fc81e0bd2f feat(TDI-47398): migrate adal4j to msal4j mscrm (#7556)
* feat(TDI-47398): Change adal4j to msal4j for talend-mscrm

* feat(TDI-47398): Change dependencies for tMicrosoftCRMXXX

* feat(TDI-47398): Implement oauth token acquiring

* chore(TDI-47398): Small microbes fix
2022-06-14 22:49:00 +03:00
hcyi
8faa1bba22 fix(TUP-35508):Better to improve context prompt for JDBC. (#7623)
* fix(TUP-35508):Better to improve context prompt for JDBC.

* fix(TUP-35508):Better to improve context prompt for JDBC.

* fix(TUP-35508):Better to improve context prompt for JDBC.

* fix(TUP-35508):Better to improve context prompt for JDBC.

* fix(TUP-35508):Better to improve context prompt for JDBC.
2022-06-14 15:06:18 +08:00
wang wei
5ff663a025 fix(TCOMP-2122): [JDBC TCK]: can't get user defined schema info in tck (#7536)
runtime in studio when no data outut line
2022-06-14 10:31:48 +08:00
hzhao-talendbj
e610fc7c78 801 loc trans 2022 06 09 (#7644)
* Add localized files (#7640)

Co-authored-by: jenkins-git <jenkins-git@talend.com>

* Add localized files (#7642)

Co-authored-by: jenkins-git <jenkins-git@talend.com>

Co-authored-by: Alexiane Yvonet <ayvonet@talend.com>
Co-authored-by: jenkins-git <jenkins-git@talend.com>
Co-authored-by: Xuwei ZHU <xzhu@talend.com>
2022-06-09 19:38:14 +08:00
Dmytro Sylaiev
71adfe57ed fix(TDI-47951): Don't set null passw for sso auth (#7580)
* fix(TDI-47951): Don't set null passw for sso auth

* fix(TDI-47951): Handle possible NPE

* For tRedshiftUnload and tRedshiftBE/OBE
2022-06-09 13:47:14 +03:00
Jane Ding
6da3235e82 feat(TUP-33085):Add Icon(s) to open Help (#7571)
* feat(TUP-33085):Add Icon(s) to open Help
https://jira.talendforge.org/browse/TUP-33085

* feat(TUP-33085):Add Icon(s) to open Help
https://jira.talendforge.org/browse/TUP-33085
fix(TUP-35782):[bug] button 'Online help' can't work for some TCK
components
https://jira.talendforge.org/browse/TUP-35782
2022-06-09 17:56:01 +08:00
Dmytro Grygorenko
9a9348dbd7 fix(TDI-47935): bump "nimbus-jose-jwt" lib to fix CVE. (#7641) 2022-06-09 10:47:46 +03:00
Chao MENG
ef141d231f item(TUP-35556): Handle demo feedbacks for update from TMC (#7596)
https://jira.talendforge.org/browse/TUP-35556
2022-06-09 10:50:22 +08:00
jiezhang-tlnd
ba9b07a7ef export dataset need with datastore (#7579)
* export dataset need with datastore

* issue is that deleting datastore but dataset not be deleted

* fix selection issue on export wizard

* fomat code

* format code

* improve performance

* improve performance by adding objectType

* improve code and handle import issue

* code format
2022-06-09 10:01:35 +08:00
jiezhang-tlnd
ac33871bcf fix(TUP-35683)doc use job for route, joblet for routelet (#7630)
https://jira.talendforge.org/browse/TUP-35683
2022-06-08 15:16:13 +08:00
sbieliaievl
be61612d11 fix(APPINT-24774) - POST/PUT operations when importing API in (#7544)
tRESTRequest should declare a body parameter
2022-06-08 08:46:35 +03:00
jiezhang-tlnd
78f11e1915 feat(TUP-34931)Support Sybase 17 (#7620) 2022-06-08 09:49:45 +08:00
hzhao-talendbj
1c2cc10d46 801 loc trans 2022 06 02 (#7615)
* Add localized files (#7609)

Co-authored-by: jenkins-git <jenkins-git@talend.com>

* Add localized files (#7610)

Co-authored-by: jenkins-git <jenkins-git@talend.com>

* Add localized files (#7611)

Co-authored-by: jenkins-git <jenkins-git@talend.com>

Co-authored-by: Alexiane Yvonet <ayvonet@talend.com>
Co-authored-by: jenkins-git <jenkins-git@talend.com>
Co-authored-by: tsasada-talend <51699524+tsasada-talend@users.noreply.github.com>
Co-authored-by: jzhangbj <jzhang@talend.com>
2022-06-06 10:37:27 +08:00
zyuan-talend
a3efe44a58 fix(TUP-35622):Add missed org.talend.libraries.esb items when building studio index (#7566)
* fix(TUP-35622):Add missed org.talend.libraries.esb items when building studio index

* fix(TUP-35622):Add missed org.talend.designer.esb.components.rs.consumer
items when building studio index
2022-06-06 09:45:35 +08:00
pyzhou
ec95a0660d fix(TDI-48069):tRedshiftBulkExec wrong version (#7607) 2022-06-02 19:39:22 +08:00
wang wei
5dad003e3a fix(TDI-48037): CVE: org.postgresql:postgresql:42.2.14 (#7573) 2022-06-02 16:37:57 +08:00
hcyi
286748d5e0 feat(TUP-34854):Setup custom JKS for signature by System Property (#7367)
* feat(TUP-34854):Setup custom JKS for signature by System Property

* feat(TUP-34854):improve for Setup custom JKS for signature by System
Property

* feat(TUP-34854): upgrade version of signer-maven-plugin to 8.0.3

* feat(TUP-34855):Setup custom JKS for job signature from GUI.

* feat(TUP-34855):Setup custom JKS for job signature from GUI.

* feat(TUP-34855):Setup custom JKS for job signature from GUI.
2022-06-02 10:52:12 +08:00
Chao MENG
68e17cf5c9 Cmeng/fix/tup 35585 zero install tck 8 (#7569)
* fix(TUP-35585): Zero install fail to install custom tck component in
801.
https://jira.talendforge.org/browse/TUP-35585
2022-06-02 09:55:54 +08:00
Jill Yan
c577b2214d Jill/m80/APPINT-34618 fix: sqljdbc_auth.dll already loaded in another classloader (#7584)
* APPINT-34618 remove mssql-jdbc dependency

* APPINT-34618 add mssql-jdbc in import-package for child job

* APPINT-34618 add mssql-jdbc to import-package if used in child job

Co-authored-by: jillyan <yan955599@gmail.com>
2022-06-02 09:10:42 +08:00
Jane Ding
bca61021d8 feat(TUP-35301):[JDBC TCK]: Support MODULE_LIST field for studio tck (#7517)
* feat(TUP-35301):[JDBC TCK]: Support MODULE_LIST field for studio tck
plugin
https://jira.talendforge.org/browse/TUP-35301

* feat(TUP-35301):[JDBC TCK]: Support MODULE_LIST field for studio tck
plugin
https://jira.talendforge.org/browse/TUP-35301

* feat(TUP-35301):[JDBC TCK]: Support MODULE_LIST field for studio tck
plugin
https://jira.talendforge.org/browse/TUP-35301

* feat(TUP-35301):[JDBC TCK]: Support MODULE_LIST field for studio tck
plugin
https://jira.talendforge.org/browse/TUP-35301
fix(TUP-35716):[bug] new JDBC driver column will be always set to mvn
after reopen wizard
https://jira.talendforge.org/browse/TUP-35716
driver table contains path=mvn:xxxx/xxxx

* feat(TUP-35301):[JDBC TCK]: Support MODULE_LIST field for studio tck
plugin
https://jira.talendforge.org/browse/TUP-35301
2022-06-01 16:09:38 +08:00
wang wei
42456991d0 fix(TDI-47803): Compile error after applying Patch_20220107_R2022-01_v1-7.3.1 (#7474) 2022-06-01 11:25:33 +08:00
jiezhang-tlnd
2dfd3d1208 feat(TUP-28853)tRunjob is ok, need handle joblet (#7484)
* feat(TUP-28853)tRunjob is ok, need handle joblet

* generation document is ok from standard process

* format code

* reduce the same item to improve performance

* Remove duplicates to improve performance and fix preview picture missing
issue

* handle latest version on tRunjob

* handle version for joblet

* hanlde version

* improve performance with VersionList

* handle BD process part

* handle BD process

* handle route process

* code formate

* format code
2022-05-31 17:02:26 +08:00
Dmytro Sylaiev
9c7f9f8765 feat(TDI-44884): Correct missing label change (#7593) 2022-05-31 11:53:05 +03:00
Oleksandr Zhelezniak
d3608fce0a fix(TDI-47895): oracle input float length (#7545)
* force to use 38 as length for NUMBER (FLOAT) in oracle when getPrecision returns value bigger than 38
* getPrecision for Float Oracle returns 126.
* It's expected binary precision for FLOAT Oracle type. The decimal precision for it is 38.
2022-05-31 11:05:02 +03:00
bhe-talendbj
cf6ad2ea56 chore(TUP-35685): upgrade database driver version (#7576) 2022-05-31 11:38:49 +08:00
Chao MENG
0fc2cb145b fix(TUP-35633): 'Use local Update settings' checkbox should not be (#7578)
displayed in studio update settings when TMC update config is not set
for the project.
https://jira.talendforge.org/browse/TUP-35633
2022-05-31 10:15:03 +08:00
Oleksandr Zhelezniak
9fdefd85a8 fix(TDI-45946): greenplum mapping (#7514)
* add mapping type in XML for input and output
* migration task, replace mapping type from postgres_id to greenplum_id
2022-05-30 16:15:10 +03:00
hzhao-talendbj
841e254160 Add localized files (#7588) (#7589)
Co-authored-by: jenkins-git <jenkins-git@talend.com>

Co-authored-by: Alexiane Yvonet <ayvonet@talend.com>
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-05-30 15:57:35 +08:00
hzhao-talendbj
b773a3822f 801 trans 2022 05 27 (#7585)
* Add localized files (#7582)

Co-authored-by: jenkins-git <jenkins-git@talend.com>

* Add localized files (#7583)

Co-authored-by: jenkins-git <jenkins-git@talend.com>

Co-authored-by: tsasada-talend <51699524+tsasada-talend@users.noreply.github.com>
Co-authored-by: jenkins-git <jenkins-git@talend.com>
Co-authored-by: jzhangbj <jzhang@talend.com>
2022-05-30 10:35:44 +08:00
Zhiwei Xue
8e7c5367d6 fix(TUP-35613):Can't display the dataset settings of AzureAdlsGen2 (#7564)
metadata wizard with CSV format in default GUI size
2022-05-27 10:35:34 +08:00
Chao MENG
285c1cd61c fix(TUP-35608): Stat and Logs screen - Database connection dropdown incorrect (#7560)
* fix(TUP-35608): Stat and Logs screen - Database connection dropdown
incorrect
https://jira.talendforge.org/browse/TUP-35608

* fix(TUP-35608): Stat and Logs screen - Database connection dropdown
incorrect
https://jira.talendforge.org/browse/TUP-35608
2022-05-26 19:44:51 +08:00
hcyi
563429e649 fix(TUP-35326):[JDBC TCK]: can't pass table value to runtime when use existed connection (#7505)
* fix(TUP-35326):[JDBC TCK]: can't pass table value to runtime when use
existed connection

* fix(TUP-35326):[JDBC TCK]: can't pass table value to runtime when use
existed connection

* Merge remote-tracking branch 'origin/maintenance/8.0' into
hcyi/TUP-35326_8.0
2022-05-26 15:29:07 +08:00
Zhiwei Xue
23b3fbdcf1 fix(TUP-31233):Routine pom is not updated after installed the required (#7543)
* fix(TUP-31233):Routine pom is not updated after installed the required
jar of user routine

* fix(TUP-31233):Routine pom is not updated after installed the required
jar of user routine

* fix(TUP-31233):Routine pom is not updated after installed the required
jar of user routine
2022-05-25 18:04:57 +08:00
Dmytro Sylaiev
954dd78d68 feat(TDI-44884): Change the label of Sybase SA (#7558) 2022-05-24 19:40:35 +03:00
wang wei
56200c66e8 fix(TDI-47958): [JDBC TCK]: support the component like tjdbcrow which have 3 modes in studio(#7501) 2022-05-23 14:01:49 +08:00
wang wei
bd99549311 fix(TDI-47966): [JDBC TCK]: We have a input/mapper which is defined by Emitter, that don't works for using existed connection(#7511) 2022-05-23 14:01:31 +08:00
hzhao-talendbj
b689b068e4 fix(TUP-28879): JDBC metadata`s modification cannot be porpagated to (#7508)
components
2022-05-20 18:14:34 +08:00
Chao MENG
a898ccc320 fix(TUP-35616): Problems on the \ processing on the password field after TUP-32821 (#7552)
* fix(TUP-35616): Problems on the \ processing on the password field after
TUP-32821
https://jira.talendforge.org/browse/TUP-35616

* Update PasswordDialog.java

* fix(TUP-35616): Problems on the \ processing on the password field after
TUP-32821
https://jira.talendforge.org/browse/TUP-35616
2022-05-19 19:25:15 +08:00
hzhao-talendbj
6280d524ff 801 loc translate 2022 05 19 (#7554)
* Add localized files (#7549)

Co-authored-by: jenkins-git <jenkins-git@talend.com>

* Add localized files (#7550)

Co-authored-by: jenkins-git <jenkins-git@talend.com>

Co-authored-by: Alexiane Yvonet <ayvonet@talend.com>
Co-authored-by: jenkins-git <jenkins-git@talend.com>
Co-authored-by: tsasada-talend <51699524+tsasada-talend@users.noreply.github.com>
2022-05-19 18:44:51 +08:00
Dmytro Ochkas
d62e535ed0 fix(TDI-47932): EncryptClientSecretMicrosoftCRMMigrationTask returns wrong value (#7491)
Added modification check
2022-05-19 11:14:30 +03:00
Dmytro Ochkas
872b792ad1 fix(TDI-47879): tExtractJSONFields NB_LINE not updated
Removed destination property from tExtractJSONFields. Created migration to remove the property from .item file
2022-05-19 10:50:43 +03:00
pyzhou
bc84f657ba feat(TDI-47152):tFileFetch upgrade v4 (#7403)
* feat(TDI-47152):tFileFetch upgrade v4

* feat(TDI-47687):promote jar imports

* feat(TDI-47687):adjust show if

* fix(TDI-47152):  compile error

* fix(TDI-47152):  read cookie

* bad content type

* error message

* compile error
2022-05-18 14:43:56 +08:00
bhe-talendbj
15cf7ddb70 fix(TUP-35590): update slf4j (#7538) 2022-05-17 18:03:15 +08:00
Jane Ding
6f4ea42405 fix(TUP-33119):SuggestionValues.Item label is received at runtime (#7535)
instead of id when used inside table
https://jira.talendforge.org/browse/TUP-33119
2022-05-17 17:44:01 +08:00
Oleksandr Zhelezniak
732d3f1479 fix(TDI-46054): support java11 mscrm onprem 2015 (#7490)
* add jaxb-api-2.3.1
* add jaxws-api-2.3.1
* add javax.annotation-api-1.3.2
* align slf4j dependencies to 1.7.29
2022-05-17 10:45:34 +03:00
Jane Ding
d504323cc1 Revert "fix(TUP-33119):SuggestionValues.Item label is received at runtime (#7320)" (#7533)
This reverts commit b521f4208a.
2022-05-16 15:51:15 +08:00
Chao MENG
474360f154 chore: fix junit failure issue (#7532) 2022-05-16 12:10:30 +08:00
Chao MENG
617f0d2e2c chore: update message (#7530) 2022-05-13 18:07:56 +08:00
Emmanuel GALLOIS
2b6b3cbd4d fix(TCOMP-2003): Maven dependency classifier considered as version in dependencies.txt by Studio (#7302) (#7303)
* fix(TCOMP-2003): fix Mvn.toLocation in GAV parsing

(cherry picked from commit 8f5d517779)
2022-05-13 11:17:34 +02:00
hzhao-talendbj
2bf70b9940 801 loc 2022 05 12 (#7526)
* Add localized files (#7524)

Co-authored-by: jenkins-git <jenkins-git@talend.com>

* Add localized files (#7525)

Co-authored-by: jenkins-git <jenkins-git@talend.com>

Co-authored-by: tsasada-talend <51699524+tsasada-talend@users.noreply.github.com>
Co-authored-by: jenkins-git <jenkins-git@talend.com>
Co-authored-by: jzhangbj <jzhang@talend.com>
2022-05-12 21:04:15 +08:00
Chao MENG
49a00f57d1 Cmeng/feat/tup 33928 tmc update 8 (#7464)
* feat(TUP-33928): Controlled Studio Updates from TMC
https://jira.talendforge.org/browse/TUP-33928
2022-05-12 18:59:01 +08:00
Chao MENG
f21f45c28d feat(TUP-32821): Credential property value in json format in tck framework (#7452)
* feat(TUP-32821): Credential property value in json format in tck
framework
https://jira.talendforge.org/browse/TUP-32821

* feat(TUP-32821): Credential property value in json format in tck
framework
https://jira.talendforge.org/browse/TUP-32821

* fix(TUP-35529): MarkLogic password display not properly
https://jira.talendforge.org/browse/TUP-35529
2022-05-12 18:35:27 +08:00
Chao MENG
0c4dfba75c fix(TUP-35400): Save snowflake metadata failed when selected table name (#7510)
start with number
https://jira.talendforge.org/browse/TUP-35400
2022-05-12 18:27:22 +08:00
hcyi
08b2202bf4 feat(TUP-34889):Support to prompt Context on Metadata Connection (#7469)
* feat(TUP-34889):Support to prompt Context on Metadata Connection

* feat(TUP-34889):improve for Support to prompt Context on Metadata
Connection

* feat(TUP-34889):improve for Support to prompt Context on Metadata

* feat(TUP-34889):fix bug TUP-35370 and TUP-35372

* feat(TUP-34889):fix bug TUP-35486

* feat(TUP-34889):fix bug TUP-35503 and TUP-35504

* feat(TUP-34889):fix bug TUP-35503 and TUP-35504
2022-05-12 17:08:29 +08:00
sponomarova
d26fb2cc29 feat(TBD-13581): Dataproc 2.x support for di jobs (#7488) 2022-05-12 11:25:23 +03:00
hcyi
7f0bc14fd6 fix(TUP-32889):Credential value with double quotes in tck framework (#7304)
* fix(TUP-32889):Credential value with double quotes in tck framework

* fix(TUP-32889):add junits

* fix(TUP-32889):Credential value with double quotes in tck framework
2022-05-12 15:18:51 +08:00
Wei Hua
ada20f06cb APPINT-34569 [801]Job including tRESTand tRESTClient deployed to runtime with error: com.sun.jersey.api.client.ClientHandlerException (#7516) 2022-05-11 14:47:37 +02:00
apoltavtsev
469fce3a70 fix(APPINT-34578) MDM components causing 'java.lang.ClassNotFoundException' (#7521) 2022-05-11 11:57:11 +02:00
hcyi
a5f73b2d14 feat(TUP-28953):move change to other util class . (#7513) 2022-05-11 11:31:03 +08:00
Jane Ding
b521f4208a fix(TUP-33119):SuggestionValues.Item label is received at runtime (#7320)
* fix(TUP-33119):SuggestionValues.Item label is received at runtime
instead of id when used inside table
https://jira.talendforge.org/browse/TUP-33119

* fix(TUP-33119):SuggestionValues.Item label is received at runtime
instead of id when used inside table
https://jira.talendforge.org/browse/TUP-33119

* fix(TUP-33119):SuggestionValues.Item label is received at runtime
instead of id when used inside table
https://jira.talendforge.org/browse/TUP-33119

* fix(TUP-33119):SuggestionValues.Item label is received at runtime
instead of id when used inside table
https://jira.talendforge.org/browse/TUP-33119

* fix(TUP-33119):SuggestionValues.Item label is received at runtime
instead of id when used inside table
https://jira.talendforge.org/browse/TUP-33119

* fix(TUP-33119):SuggestionValues.Item label is received at runtime
instead of id when used inside table
https://jira.talendforge.org/browse/TUP-33119
2022-05-11 10:38:21 +08:00
Olha V
e462d54ebb fix(TDI-47519): Kafka ssl conflict with schema registry (#7325) (#7507)
* fix(TDI-47519): Kafka ssl conflict with schema registry

* add migration task

* fix(TDI-47519): Kafka ssl conflict with schema registry

* fix schema registry ssl configuration for empty kafka tSetKeystore

* fix(TDI-47519): Kafka ssl conflict with schema registry

* add null check for schema registry use ssl property

* fix(TDI-47519): Kafka ssl conflict with schema registry

* fix migration for empty tSetKeystore in existing connection

* fix(TDI-47519): Kafka ssl conflict with schema registry

* add null check for https settings
* clean up code

* fix(TDI-47519): Kafka ssl conflict with schema registry

* fix migrated status
2022-05-09 16:32:56 +03:00
Oleksandr Zhelezniak
13ea203175 chore(TDI-47688): bump jackson (#7379)
* jackson to 2.13.2
* jackson-databind to  2.13.2.2
2022-05-09 14:47:05 +03:00
Jane Ding
e6d62056f3 fix(TUP-35252):Additional parameter can not update to the job after (#7445)
* fix(TUP-35252):Additional parameter can not update to the job after
modified.
https://jira.talendforge.org/browse/TUP-35252

* fix(TUP-35252):Additional parameter can not update to the job after
modified.
https://jira.talendforge.org/browse/TUP-35252
2022-05-07 10:05:40 +08:00
Dmytro Grygorenko
340ee0738a feat(TDI-45870): checkbox in tWriteJSONField to avoid use of scientific notation for float values. (#7502) 2022-05-06 16:06:38 +03:00
hcyi
55afb8808a fix(TUP-35248):Context password exposed when hovering over context on (#7499)
Talend 8
2022-05-06 15:56:25 +08:00
hzhao-talendbj
9fe757d8ac Add localized files (#7493) (#7497)
* Add localized files (#7493)

Co-authored-by: jenkins-git <jenkins-git@talend.com>

* Add localized files (#7496)

Co-authored-by: jenkins-git <jenkins-git@talend.com>

Co-authored-by: Alexiane Yvonet <ayvonet@talend.com>
Co-authored-by: jenkins-git <jenkins-git@talend.com>
Co-authored-by: tsasada-talend <51699524+tsasada-talend@users.noreply.github.com>
2022-05-06 09:43:08 +08:00
Emmanuel GALLOIS
c4b5674205 fix(TCOMP-1963): adapt correct Metadata from schema (#6711) (#7487)
(cherry picked from commit e556a39c4e)
2022-05-05 09:34:59 +02:00
hcyi
32ab9862cf Hcyi/tup 28953 8.0 (#7422)
* feat(TUP-28953):Spark Big Data/streaming job are missing "open another
version" action.

* feat(TUP-28953):add junits
2022-05-05 14:04:08 +08:00
wang wei
a78d75cd75 fix(TDI-47819): tJDBCInput component results in error with Dynamic schema inTalend latest versions. (#7426) 2022-05-05 13:36:22 +08:00
Dmytro Grygorenko
20589b75f2 feat(TDI-45629): add dynamic schema support for tFileOutputJSON. (#7486) 2022-04-29 17:30:56 +03:00
sbliu
0d5ce18334 Add localized files (#7483)
Co-authored-by: Alexiane Yvonet <ayvonet@talend.com>
Co-authored-by: tsasada-talend <51699524+tsasada-talend@users.noreply.github.com>
Co-authored-by: jzhangbj <jzhang@talend.com>
2022-04-28 18:34:25 +08:00
pyzhou
062c36b33c Pyzhou/tdi 43829 zip4j2 tfile archive 8.0 (#7477)
* feat(TDI-43829): Add support for zip4j 2.x libraries to tFileArchive/unArchive components

# Conflicts:
#	main/plugins/org.talend.designer.components.libs/libs_src/talendzip/pom.xml

* fix(TDI-43829): move IntegrityUtil.java

# Conflicts:
#	main/plugins/org.talend.designer.components.libs/libs_src/checkArchive/pom.xml
2022-04-28 16:44:57 +08:00
hcyi
5f9c3c089e fix(TUP-35078):tJDBCSCDELT does not work correctly on Snowflake. (#7393)
* fix(TUP-35078):tJDBCSCDELT does not work correctly on Snowflake.

* fix(TUP-35078):add junits
2022-04-25 17:19:12 +08:00
sbliu
160fe02147 Add localized files (#7471)
Co-authored-by: Alexiane Yvonet <ayvonet@talend.com>
Co-authored-by: jzhangbj <jzhang@talend.com>
2022-04-24 10:15:33 +08:00
Tetiana Meronyk
c01f9c84c7 fix(TDI-47257): tELTOracleOutput does not print messages during execution unlike other tELT***Output components (#7388) 2022-04-22 01:46:28 +03:00
AlixMetivier
3612331c6b fix(TBD-13517): set default value as 3.1 for univ (#7465) 2022-04-21 14:15:29 +02:00
vyu-talend
8de3f29911 fix(TDI-46584):modify limit label. (#7459) 2022-04-20 18:10:58 +08:00
sponomarova
69e7b7fa77 fix(TBD-13798): CVE: Replace log4j1.x by reload4j for org.talend.libraries.hadoop.mapr.5.0.0 (#7449) 2022-04-20 11:27:59 +03:00
Jane Ding
399df5fe10 fix(TUP-35238):Drag and drop Redshift metadata to list components lost (#7441)
some components
https://jira.talendforge.org/browse/TUP-35238
2022-04-19 17:42:48 +08:00
Chao MENG
2fe7acf5ac chore: fix swtbot issue (#7447) 2022-04-19 11:12:56 +08:00
Dmytro Sylaiev
d0cb6c1337 fix(TDI-47802): Fix short strings as Clobs (#7425)
* Add warning for long strings as varchar
2022-04-18 15:32:56 +03:00
Laurent BOURGEOIS
df355a4388 feat(TBD-13522):CDE - GA (#7358) 2022-04-15 17:59:10 +02:00
Dmytro Ochkas
d5cb99e5a7 fix(TDI-47539): MSCRM Application secret as password (#7437)
Update migration task
2022-04-15 12:17:18 +03:00
sbliu
eae6a2c262 Add localized files (#7434)
Co-authored-by: tsasada-talend <51699524+tsasada-talend@users.noreply.github.com>
Co-authored-by: jzhangbj <jzhang@talend.com>
2022-04-15 15:10:50 +08:00
Jane Ding
d40c50f1ba feat(TUP-35069):Upgrade Redshift driver to v2.x (#7433)
https://jira.talendforge.org/browse/TUP-35069
2022-04-14 17:45:45 +08:00
Tetiana Meronyk
33809a44b2 feat(TDI-47263): Upgrade Redshift driver to v2.x (#7056)
* feat(TDI-47263): Upgrade Redshift driver to v2.x

* Add dependency aws-java-sdk-redshift-internal-1.12.x.jar

* UI change

* Connection javajet

* Connection javajet change

* Row generate code

* Migration task

* input compile error

* input compile error

* add back jar version

* add back jar version

* class version

* migration add tCreate table

* feat(TUP-35069):Upgrade Redshift driver to v2.x (#7411)

https://jira.talendforge.org/browse/TUP-35069

Co-authored-by: pyzhou <pyzhou@talend.com>
Co-authored-by: Jane Ding <jding@talend.com>
2022-04-14 17:43:37 +08:00
yyin
e0ea03fcfe Feat TDQ-20141 add param algoVersion (#7428) 2022-04-14 16:05:45 +08:00
Jane Ding
6a5ab216e4 fix(TUP-35238):Drag and drop Redshift metadata to list components lost (#7419)
* fix(TUP-35238):Drag and drop Redshift metadata to list components lost
some components
https://jira.talendforge.org/browse/TUP-35238

* fix(TUP-35238):Drag and drop Redshift metadata to list components lost
some components
https://jira.talendforge.org/browse/TUP-35238
2022-04-14 16:04:55 +08:00
bhe-talendbj
b184ad5fa4 fix(TUP-35191): fix java path (#7394)
* fix(TUP-35191): fix java path

* fix(TUP-35191): fix java path

* fix(TUP-35191): fix java path

* fix(TUP-35191): fix java path

* fix(TUP-35191): add junit

* fix(TUP-35191): add junit

* fix(TUP-35191): add junit

* fix(TUP-35191): add junit

* fix(TUP-35191): update junit package

* fix(TUP-35191): find java instead of guess

* fix(TUP-35191): find java instead of guess
2022-04-13 17:50:03 +08:00
Jane Ding
966c4a2958 fix(TUP-34716):can't get the right (#7347)
* fix(TUP-34716):can't get the right
"ACTIVE_DATABASE_DELIMITED_IDENTIFIERS" property value in tELTMap in
javajet
https://jira.talendforge.org/browse/TUP-34716

* fix(TUP-34716):can't get the right
"ACTIVE_DATABASE_DELIMITED_IDENTIFIERS" property value in tELTMap in
javajet
https://jira.talendforge.org/browse/TUP-34716
2022-04-13 00:48:31 +08:00
wang wei
35af8a3dc5 fix(TDI-47496): Column names in a main query are not enclosed when enabling "Delimited identifiers" (#7392) 2022-04-12 18:11:02 +08:00
vyu-talend
fe3a94ae72 feat(TDI-46111):upgrade teradata jdbc driver to 17. (#7376) 2022-04-12 14:37:26 +08:00
pyzhou
7968396091 feat(TDI-47687):tScp reuse session (#7416)
* feat(TDI-47687):tScp reuse session

* feat(TDI-47687): tSCPFileList

* feat(TDI-47687): tSCPFileList compile error
2022-04-12 11:44:48 +08:00
hcyi
575670e424 feat(TUP-34849):missing a change for the d&d (#7414) 2022-04-12 09:39:55 +08:00
vyu-talend
7c5c9fd082 fix(TDI-46584): tServiceNowInput Limit disable option in Advanced settings not working (#6717) (#7412)
* fix(TDI-46584): tServiceNowInput Limit disable option in Advanced
settings not working

* fix something

* fix more

* fix(TDI-46584):fix the job won't stop issue.

* fix(TDI-46584):fix always reading-all-records issue.

Co-authored-by: vyu <vyu@talend.com>

Co-authored-by: wang wei <wwang@talend.com>
2022-04-11 17:33:54 +08:00
Tetiana Meronyk
3b04b8651d fix(TDI-47133): the log "closing the connection" in tCreateTable is not right (#7359) 2022-04-10 15:47:48 +03:00
Dmytro Ochkas
7ebc296617 chore(TDI-47539): moved EncryptClientSecretMicrosoftCRMMigrationTask.java to correct directory (#7409) 2022-04-08 15:49:13 +03:00
sbliu
d7739e23c5 Add localized files (#7398) (#7407)
Co-authored-by: tsasada-talend <51699524+tsasada-talend@users.noreply.github.com>
2022-04-08 10:06:30 +08:00
sbliu
862bf636ca Add localized files (#7405) (#7406)
Co-authored-by: jzhangbj <jzhang@talend.com>
2022-04-08 09:46:12 +08:00
Chao MENG
e59ce89834 fix(TUP-35034): CI - stop the build if custom component is missing (#7401)
https://jira.talendforge.org/browse/TUP-35034
2022-04-07 16:34:46 +08:00
sbliu
31eb56130e Add localized files (#7396) (#7399)
Co-authored-by: Alexiane Yvonet <ayvonet@talend.com>
2022-04-07 15:57:32 +08:00
Dmytro Ochkas
360bb6ad19 fix(TDI-47539): tMicrosoftCRM change application secret as a password (#7324)
Changed field type and refactored code so that 2 passwords didn't conflict. Created Migration task to encrypt client secret field
2022-04-06 15:50:15 +03:00
vyu-talend
a20d1f73cb chore(TDI-47404):bump cxf version to 3.4.4 (#7313)
* chore(TDI-47404):bump cxf version to 3.4.4

* fix(TDI-47404):delete the codes causing error.

* chore(TDI-47404):bump cxf in talend ws.
2022-04-06 15:40:44 +08:00
sbliu
9367f9e4e2 fix(TUP-27413) add junit (#7377) 2022-04-06 09:39:39 +08:00
Dmytro Grygorenko
1716c4a53d fix(TDI-47725): increment nb_line counter for "on duplicate" output action. (#7390) 2022-04-04 16:45:06 +03:00
clesaec
31abe8e412 TDI-47287 : change ftpput (#7353) 2022-04-04 07:37:50 +02:00
Laurent BOURGEOIS
dba8a49c0d chore:Fix Junit (#7375) 2022-04-01 16:36:51 +02:00
Chao MENG
fe27538b5f fix(TUP-35034): CI - stop the build if custom component is missing (#7380)
https://jira.talendforge.org/browse/TUP-35034
2022-04-01 19:14:34 +08:00
sbliu
ad56c1e790 Add localized files (#7374)
Co-authored-by: Alexiane Yvonet <ayvonet@talend.com>
Co-authored-by: tsasada-talend <51699524+tsasada-talend@users.noreply.github.com>
Co-authored-by: jzhangbj <jzhang@talend.com>
2022-04-01 16:13:47 +08:00
wang wei
64c6017cce fix(TDI-47536): CVE : logback (#7373) 2022-04-01 15:43:05 +08:00
wang wei
ff5018893a fix(TDI-47633): CVE: Replace log4j1.x by reload4j or upgrade to log4j2 (#7330) 2022-04-01 14:32:13 +08:00
jiezhang-tlnd
8faa657699 fix(TUP-34954)CVE: Replace log4j1.x by reload4j (#7329)
* fix(TUP-34954)CVE: Replace log4j1.x by reload4j

* fix(TUP-34954)CVE: Replace log4j1.x by reload4j

* update junits

* exclude log4j from slf4j-log4j12
2022-04-01 14:14:26 +08:00
sbliu
38b038211c fix(TUP-27413) SQL Builder: Graphical Editor is Empty for a specific table. (#7335) 2022-04-01 09:23:07 +08:00
Xilai Dai
3416273d30 fix(APPINT-34443) add missing import packages for tRESTClient (#7361) 2022-03-31 14:16:16 +08:00
Chao MENG
981ee4e4fc Cmeng/fix/tup 35034 err on component missing 8 (#7327)
* fix(TUP-35034): CI - stop the build if custom component is missing
https://jira.talendforge.org/browse/TUP-35034

* fix(TUP-35034): CI - stop the build if custom component is missing
https://jira.talendforge.org/browse/TUP-35034

* fix(TUP-35034): CI - stop the build if custom component is missing
https://jira.talendforge.org/browse/TUP-35034

* fix(TUP-35034): CI - stop the build if custom component is missing
https://jira.talendforge.org/browse/TUP-35034
2022-03-30 16:09:58 +08:00
Dmytro Grygorenko
1a26148bae fix(TDI-47670): BP_801: fix Xpath "count" function for unformatted XML file (#7354)
* fix(TDI-47670): use asXML() method instead of getText().

* fix(TDI-47670): use getStringValue() method instead.

* fix(TDI-47670): use isEmpty() method.
2022-03-29 16:17:01 +03:00
Dmytro Grygorenko
e2b381c4fe fix(TDI-47532): bump XercesImpl library to 2.12.2 (#7350) 2022-03-28 16:26:45 +03:00
Dmytro Ochkas
5e6ce92172 fix(TDI-47560): tSybaseOutput BigDecimal jdbc inconsistencies (#7305)
Set BigDecimal for each Sybase version. Add DBVersion field to Manager class and remove it from OracleManager
2022-03-28 14:00:06 +03:00
wang wei
18f254a8ce fix(TDI-47589): "Write Excel 2007 format" leads to tFileOutputExcel poor performance(#7261) 2022-03-28 14:30:57 +08:00
wwang-talend
15b4174ae0 fix(TDI-47154): no need to generate label code for joblet case if not
change label
2022-03-28 11:20:54 +08:00
Oleksandr Zhelezniak
09a762aff3 fix(TDI-47651): bump Redshift driver to 1.2.55.1083 (#7342) 2022-03-25 11:46:22 +02:00
sbliu
ef18108de7 Add localized files (#7343) (#7344)
Co-authored-by: jzhangbj <jzhang@talend.com>
2022-03-25 16:02:23 +08:00
sbliu
4f5dd9ea91 Add localized files (#7339)
* Add localized files (#7337)

Co-authored-by: jenkins-git <jenkins-git@talend.com>

* Add localized files (#7338)

Co-authored-by: jenkins-git <jenkins-git@talend.com>

Co-authored-by: tsasada-talend <51699524+tsasada-talend@users.noreply.github.com>
Co-authored-by: jenkins-git <jenkins-git@talend.com>
Co-authored-by: Alexiane Yvonet <ayvonet@talend.com>
2022-03-24 17:33:47 +08:00
jiezhang-tlnd
a591b3be76 chore(TUP-34977)Help links in Studio (#7316) 2022-03-21 14:49:47 +08:00
pyzhou
a8d70de160 fix(TDI-47223):CVE_axis2-kernel compile error (#7308)
* fix(TDI-47223):CVE_axis2-kernel compile error

* correct mvn path
2022-03-18 17:34:01 +08:00
Dmytro Grygorenko
8d114ee5ac fix(TDI-47073): fix description for tBigQueryOutput. (#7323) 2022-03-18 10:14:58 +02:00
sbliu
d8be371e3f Add localized files (#7322)
Co-authored-by: Alexiane Yvonet <ayvonet@talend.com>
Co-authored-by: tsasada-talend <51699524+tsasada-talend@users.noreply.github.com>
2022-03-18 11:39:03 +08:00
Chao MENG
c46bb87b51 fix(TUP-34378): Job could build out successfully if contains component which cannot be loaded (#7287)
* fix(TUP-34378): Job could build out successfully if contains component
which cannot be loaded
https://jira.talendforge.org/browse/TUP-34378
2022-03-16 16:19:57 +08:00
jzhao
bfab7d73ff fix(TDI-47373):update IBM MQ client lib to 9.2.4.0 (#7281) 2022-03-16 15:02:01 +08:00
sbliu
b25bdb5cd8 Add localized files (#7300)
* Add localized files (#7290)
* Add localized files (#7297)
* Add localized files (#7298)
2022-03-11 18:31:44 +08:00
pyzhou
c22e448f2e Pyzhou/tdi 47528 CVE mina sshd 8.0 (#7262)
* fix(TDI-47528):CVE mina-sshd

* upgrade talend-scp-helper version

* compile error

* compile error

* compile error

* compile error
2022-03-11 11:29:45 +08:00
Dmytro Sylaiev
c126c49bb0 feat(TDI-47211): Update active dir drivers for mssql (#7057)
* feat(TDI-47211): Update active dir drivers for mssql

* feat(TDI-47211): Fix the pb with component descriptor
2022-03-10 13:58:13 +02:00
Dmytro Sylaiev
a276d55584 fix(TDI-47452): Fix codegen for not valid xpath expression (#7175) 2022-03-10 13:54:38 +02:00
chmyga
b21c2e8854 feat(TDI-46441): add cassandra 4.0 support (#6703)
Co-authored-by: Dmytro Chmyga <dmytro.chmyga@globallogic.com>
Co-authored-by: Dmytro Sylaiev <dmytro.sylaiev@globallogic.com>
2022-03-10 19:07:00 +08:00
Laurent BOURGEOIS
aa58b1798c chore(TBD-13325):CVE on protobuf-java-2.5.0 (#7264) 2022-03-09 09:47:39 +01:00
Jane Ding
55a214d78b fix(TUP-28898):Drag Exasol connection to a job choose tDBOutput(Exasol) (#7260)
* fix(TUP-28898):Drag Exasol connection to a job choose tDBOutput(Exasol)
not work as tExasolOutput
https://jira.talendforge.org/browse/TUP-28898

* fix(TUP-28898):Drag Exasol connection to a job choose tDBOutput(Exasol)
not work as tExasolOutput
https://jira.talendforge.org/browse/TUP-28898
2022-03-09 16:03:40 +08:00
Jane Ding
9ca063156f feat(TUP-33990):Pendo tracking for Studio integrations with API Designer (#7227)
& API Tester
https://jira.talendforge.org/browse/TUP-33990
2022-03-09 14:43:02 +08:00
pyzhou
61d8175d80 fix(TDI-45863): remove Input limit for tck reuse connection (#7088) 2022-03-09 09:20:58 +08:00
wang wei
738b55f748 fix(TDI-47154): send exception info for audit log (#7288) 2022-03-08 22:02:07 +08:00
bhe-talendbj
0ae5d46067 feat(TUP-33809): check modulelist (#7209)
* feat(TUP-33809): check modulelist

* feat(TUP-33809): get all sub jobs
2022-03-08 10:44:03 +08:00
zshen-talend
15aff46503 Zshen/feat/tdq 20069 backport on 80 for patch3 (#7280) 2022-03-07 17:23:58 +08:00
Dmytro Sylaiev
4ca2a26c61 feat(TDI-47211): Revert from R2022-03
This reverts commit ecb8c2d693.
2022-03-07 09:53:41 +02:00
wang wei
8590938a0c fix(TDI-47230): close thread pool for spring boot case (#7272) (#7275) 2022-03-07 09:38:40 +08:00
pyzhou
fb709ec46e feat(TDI-47136):tcreateTable upgrade snowflake driver (#7241) 2022-03-04 17:56:58 +08:00
Chao MENG
2b9b21b2ed fix(TUP-30599): tMap drag and drop does not work seamlessly in Linux GUI (#7269)
as it does in Windows
https://jira.talendforge.org/browse/TUP-30599
2022-03-04 16:13:08 +08:00
Dmytro Grygorenko
54375a9349 fix(TDI-47485): update "protobuf-java" to 3.19.2 (#7187) 2022-03-04 11:09:52 +08:00
jiezhang-tlnd
fa924629aa Backport localized files 0303 (#7277)
* Add localized files (#7231)

Co-authored-by: jenkins-git <jenkins-git@talend.com>

* Add localized files (#7236)

Co-authored-by: jenkins-git <jenkins-git@talend.com>

* Add localized files (#7240)

Co-authored-by: jenkins-git <jenkins-git@talend.com>

* Add localized files (#7276)

Co-authored-by: jenkins-git <jenkins-git@talend.com>

Co-authored-by: tsasada-talend <51699524+tsasada-talend@users.noreply.github.com>
Co-authored-by: jenkins-git <jenkins-git@talend.com>
Co-authored-by: Alexiane Yvonet <ayvonet@talend.com>
2022-03-04 08:41:24 +08:00
jiezhang-tlnd
f00f9c3c39 Jzhang/80/tup 34609 (#7252)
* fix(TUP-34609)Cannot retrieve Module Name in tSalesforceInput with
password starting with double-quotes

* change condition
2022-03-02 18:26:06 +08:00
kjwang
9151de9cde Kjwang/fix tup 32950 on ubuntu (#7265)
* Fix TUP-32950 On Ubuntu 18.04.5 documentation comment is displayed as a
black box in Talend Studio designer tab
https://jira.talendforge.org/browse/TUP-32950
2022-03-02 17:28:06 +08:00
Xilai Dai
a597e57466 fix(APPINT-33965) add the rhino dependencies into OSGi build of tRESTRequest (#7257) 2022-03-02 10:28:24 +08:00
Dmytro Ochkas
e5f763b4e1 fix(TDI-46789): tMSSqlOutputBulkExec can't work with server on Linux … (#7142)
* fix(TDI-46789): tMSSqlOutputBulkExec can't work with server on Linux platform

Added new checkbox which enables/disables codepage

* fix(TDI-46789): tMSSqlOutputBulkExec can't work with server on Linux platform

Fixed formatting issues

* fix(TDI-46789): tMSSqlOutputBulkExec can't work with server on Linux platform

Fixed one more formatting issue

* fix(TDI-46789): tMSSqlOutputBulkExec can't work with server on Linux platform

Adjusted naming with tMssqlBulkExec component
2022-03-01 14:08:02 +08:00
Liu Xinquan
c3426fdd2f fix(TBD-13419) Class not found happen in spark job calling a standard… (#7163) (#7238) 2022-02-28 14:54:38 +08:00
sbliu
d3f6f5b292 fix(TUP-34769) add junit (#7254) 2022-02-28 14:24:54 +08:00
wwang-talend
941da0bc39 fix(TDI-47230): use fixedthreadpool for TDM 2022-02-28 14:06:05 +08:00
hcyi
d0f9060bd4 fix(TUP-34593):Cannot connect to Salesforce with password starting with double-quotes (#7248)
* fix(TUP-34593):Cannot connect to Salesforce with password starting with
double-quotes

* fix(TUP-34593):Cannot connect to Salesforce with password starting with
double-quotes

* fix(TUP-34593):add junits
2022-02-25 17:51:57 +08:00
wang wei
02ed52e0cc fix(TDI-46642): Observability: connector_label is not correct (#7171) 2022-02-24 18:33:53 +08:00
wang wei
e976c9bf62 fix(TDI-47230): avoid create thread for every task for twritexmlfield/twritejsonfield in loop (#7235) 2022-02-24 14:34:16 +08:00
sbliu
bfbf2bbf36 fix(TUP-34769) Error fields for Rejects get dropped from tSalesforceOutput after Sync Columns. (#7233)
fix bug TUP-33497
2022-02-23 18:01:28 +08:00
apoltavtsev
af3fd09333 fix(APPINT-34330) Deprecated build type conversion is removed 2022-02-23 05:36:56 +01:00
Dmytro Sylaiev
f16c97d6bd feat(TDI-47211): Update active dir drivers for mssql (#7057)
* feat(TDI-47211): Update active dir drivers for mssql

* feat(TDI-47211): Fix the pb with component descriptor
2022-02-21 13:58:11 +02:00
pyzhou
4c0894125f fix(TDI-47223):CVE axis2-kernel 1.8.0 (#7153)
* fix(TDI-47223):CVE axis2-kernel 1.8.0

* Other axis2 jar

* upgrade dependency

* correct compile error

* compile error
2022-02-21 17:22:07 +08:00
Dmytro Grygorenko
f56ea273f8 fix(TDI-47524): replace non-dynamic column for PosgresqlOutput with dynamic schema. (#7223) 2022-02-21 10:22:21 +02:00
Jane Ding
e52b6fd10f Revert "fix(TUP-28898):Drag Exasol connection to a job choose tDBOutput(Exasol) (#7023)" (#7217)
This reverts commit 6b82e95328.
2022-02-18 17:17:40 +08:00
unknown
51432e83c6 Revert "feat(TBD-12990): Dataproc TP"
This reverts commit 982a048e43.
2022-02-17 19:22:16 +01:00
Svitlana Ponomarova
982a048e43 feat(TBD-12990): Dataproc TP 2022-02-17 14:19:53 +02:00
AlixMetivier
b1f26c263b feat(TBD-12989): add databricks to universal plugins (#7143)
* feat(TBD-12989): add databricks to universal plugins

* feat(TBD-12989): add databricks to universal plugin
2022-02-17 11:32:16 +01:00
kjwang
5e89b28c72 Revert "Fix TUP-32950 On Ubuntu 18.04.5 documentation comment is displayed as a (#7098)" (#7211)
This reverts commit 20a1cd9476.
2022-02-17 17:32:07 +08:00
ypiel
53328080a5 fix(TDI-46848): mscrm oauth2+on-premise + client secret (#7157)
* fix(TDI-46848): add mscrm oauth2 logs

* fix(TDI-46848): Add client secret for oauth2 on-premise

* fix(TDI-46848): Fix pom version.

* fix(TDI-46848): client_secret not mandatory
2022-02-17 10:23:36 +01:00
kjwang
044548edc1 TUP-34156 UI is broken for TCK Table structures in 8.0.1 + nighty (#7202)
TUP-34156 UI is broken for TCK Table structures in 8.0.1 + nighty
https://jira.talendforge.org/browse/TUP-34156
2022-02-17 11:46:57 +08:00
Dmytro Ochkas
af479b6e6a fix(TDI-47435): tPostgreSqlOutput 'Debug query mode' and 'Upsert' (#7167)
* Modified some DB templates so they initialize unresolved variable when dataAction is 'Upsert'
2022-02-16 19:12:34 +02:00
Dmytro Grygorenko
c12301d5a3 fix(TDI-47344): update Apache Ant for tFileUnarchive. (#7208) 2022-02-16 16:30:02 +02:00
Dmytro Grygorenko
459cb23bae fix(TDI-47437): check for replaced column for Postgres Upsert action. (#7207) 2022-02-16 16:24:31 +02:00
Dmytro Ochkas
2896cb57d4 fix(TDI-47436): tPostgreSqlOutput upsert and dynamic column (#7172)
* ON CONFLICT clause now contains not only dynamic columns but not dynamic ones as well
2022-02-16 16:00:32 +02:00
Dmytro Ochkas
ece6b4cd0d fix(TDI-47385): tMap error when tenary operator is used (#7188)
Add parentheses so that user don't add them manually
2022-02-16 15:37:11 +02:00
pyzhou
cdd89534b9 fix(TDI-47396):tSCPGet doesn't always close session (#7134) 2022-02-14 17:51:59 +08:00
jiezhang-tlnd
e64820cab0 Master localized file backport 2022 0210 (#7197)
* Add localized files (#7192)

Co-authored-by: jenkins-git <jenkins-git@talend.com>

* Add localized files (#7194)

Co-authored-by: jenkins-git <jenkins-git@talend.com>

* Add localized files (#7196)

Co-authored-by: jenkins-git <jenkins-git@talend.com>

Co-authored-by: Alexiane Yvonet <ayvonet@talend.com>
Co-authored-by: jenkins-git <jenkins-git@talend.com>
Co-authored-by: tsasada-talend <51699524+tsasada-talend@users.noreply.github.com>
Co-authored-by: sbouyer <35452259+sbouyer@users.noreply.github.com>
2022-02-14 16:01:31 +08:00
Jane Ding
6b82e95328 fix(TUP-28898):Drag Exasol connection to a job choose tDBOutput(Exasol) (#7023)
not work as tExasolOutput
https://jira.talendforge.org/browse/TUP-28898
2022-02-14 10:12:40 +08:00
hzhao-talendbj
b59ff111a5 fix(TUP-33639): Job which import by metedata bridge:NPE (#7141)
* fix(TUP-33639): Job which import by metedata bridge:NPE when
check/uncheck "use project settings" in stats&logs

* fix(TUP-33639):   add junit

* fix(TUP-33639): add junit

* fix(TUP-33639): Job which import by metedata bridge:NPE
2022-02-10 16:04:57 +08:00
jiezhang-tlnd
7f018d34f1 Master localized file backport 2022 0203 (#7185)
* Add localized files (#7180)

Co-authored-by: jenkins-git <jenkins-git@talend.com>

* Add localized files (#7181)

Co-authored-by: jenkins-git <jenkins-git@talend.com>

Co-authored-by: Alexiane Yvonet <ayvonet@talend.com>
Co-authored-by: jenkins-git <jenkins-git@talend.com>
Co-authored-by: tsasada-talend <51699524+tsasada-talend@users.noreply.github.com>
2022-02-07 18:02:10 +08:00
zyuan-talend
2281fab273 fix(TUP-34489):forward interpreter to child job in commandline. (#7162) 2022-02-07 12:15:08 +08:00
Dmytro Ochkas
87c369ca1e fix(TDI-35717): tOracleBulkExec's action on table still used when invisible (#7114)
Added additional if wrappers to the sections where data action is processed in tOracleBulkExec_begin.javajet and tOracleBulkExec_end.javajet. The wrappers check if .ctl file or manual .ctl code is used and if so no data action has to be processed
2022-01-28 13:32:21 +02:00
jiezhang-tlnd
346755a798 Master localized file backport 2022 01 27 (#7170)
* Add localized files (#7164)

Co-authored-by: jenkins-git <jenkins-git@talend.com>

* Add localized files (#7165)

Co-authored-by: jenkins-git <jenkins-git@talend.com>

Co-authored-by: Alexiane Yvonet <ayvonet@talend.com>
Co-authored-by: jenkins-git <jenkins-git@talend.com>
Co-authored-by: tsasada-talend <51699524+tsasada-talend@users.noreply.github.com>
2022-01-28 16:00:50 +08:00
jiezhang-tlnd
6373dabd6f fix(TUP-34575)Correction to messages-properties file (#7168)
* fix(TUP-34575)Correction to messages-properties file

* fix(TUP-34575)Correction to messages-properties file

* fix(TUP-34575)Correction to messages-properties file
2022-01-28 14:53:05 +08:00
apoltavtsev
74cf2ca49d feat(APPINT-32531) Make all DS/Route builds Java 11 and above compatible, design/build & run should work with different Java versions (#7127) 2022-01-27 09:25:39 +01:00
Laurent BOURGEOIS
13d4589675 fix(TBD-13463):No FileSystem for scheme: HDFS on any EMR 5.29 job on Talend 8 (#7124) 2022-01-26 17:54:55 +01:00
jiezhang-tlnd
921629ac8f fix(TUP-34281): Cleanup of old translation files (#7105)
* fix(TUP-34281): Cleanup of old translation files

* Cleanup of old translation files
2022-01-26 18:13:06 +08:00
wang wei
e59cadab69 fix(TDI-47395): tPostgresqlOutput cannot select Insert as Action on Data when disable the Log4j(#7136) 2022-01-26 16:47:10 +08:00
jzhao
64c85d2f10 fix(TDI-47375):tMicrosoftCRM components with compile error when using OnPremise 2011 (#7115)
* fix(TDI-47375):tMicrosoftCRM components with compile error when using
OnPremise 2011

* fix(TDI-47375):class not found issue
2022-01-25 09:36:39 +08:00
kjwang
20a1cd9476 Fix TUP-32950 On Ubuntu 18.04.5 documentation comment is displayed as a (#7098)
Fix TUP-32950 On Ubuntu 18.04.5 documentation comment is displayed as a black box in Talend Studio designer tab
https://jira.talendforge.org/browse/TUP-32950
2022-01-21 14:47:31 +08:00
zyuan-talend
2a4d97e2f9 fix(TUP-27184):add junit test (#7145) 2022-01-21 11:06:59 +08:00
Wei Hua
5dfb2fa414 Hwei/bugfix/801/appint 33765 (#7138)
* APPINT-33765 [7.3.1 patch] ClassNotFoundException in runtime when DB connection (SQLServer) in joblet without using alias

* APPINT-33765 [7.3.1 patch] ClassNotFoundException in runtime when DB connection (SQLServer) in joblet without using alias
2022-01-21 10:30:44 +08:00
jiezhang-tlnd
635ef37f93 Add localized files (#7149) (#7151)
* Add localized files (#7149)

Co-authored-by: jenkins-git <jenkins-git@talend.com>

* Add localized files (#7150)

Co-authored-by: jenkins-git <jenkins-git@talend.com>

Co-authored-by: tsasada-talend <51699524+tsasada-talend@users.noreply.github.com>
Co-authored-by: jenkins-git <jenkins-git@talend.com>
Co-authored-by: Alexiane Yvonet <ayvonet@talend.com>
2022-01-21 09:55:53 +08:00
Jane Ding
cc8ff04ccb Add localized files (#7123) (#7146)
Co-authored-by: jenkins-git <jenkins-git@talend.com>

Co-authored-by: tsasada-talend <51699524+tsasada-talend@users.noreply.github.com>
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-01-20 10:12:36 +08:00
Emmanuel GALLOIS
1112ea17e2 feat(TCOMP-2045): Pass meta information about columns (#7099)
* feat(TCOMP-2045): fix quotes and escaping issues
- add import
2022-01-19 17:14:14 +01:00
Jill Yan
aaaf1e0ba5 APPINT-31044 (#7109)
Co-authored-by: jillyan <yan955599@gmail.com>
2022-01-19 17:05:07 +08:00
zshen-talend
05d204762f feat(TDQ-19814): clear the code let it call adjustPomGeneration only to (#7131)
avoid some TDM regression
2022-01-17 19:47:03 +08:00
Abdulhamid Rashankar
759c85b2f9 APPINT-33784: Project analysis task - Warn about custom component dependencies risk (#7129) 2022-01-17 12:41:42 +01:00
Jill Yan
63c037343c Revert "jill/fix/m80/APPINT-33992 (#7071)" (#7125)
This reverts commit 4c48cc91b3.
2022-01-17 12:04:07 +08:00
zyuan-talend
7e61986aa2 fix(TUP-27184):revert javajet change. (#7117) 2022-01-14 22:09:46 +08:00
Zhiwei Xue
766fe40204 fix(TUP-34469):fix comp cache path problem (#7120) 2022-01-14 19:45:31 +08:00
zshen-talend
dea6be3175 Zshen/feat/tdq 19814 backport 80 (#7112)
* feat(TDQ-19814): create a new component for tDataQualityRules

* feat(TDQ-19814): use adjustPomGeneration method instead of
adjustClassPath method to avoid conflict with TDM case
2022-01-13 16:59:38 +08:00
zyuan-talend
8da7c1aa17 fix(TUP-27184):escape label value for javajet. (#7111) 2022-01-13 16:40:15 +08:00
jiezhang-tlnd
b8191aa46c fix(TUP-34021)CVE org.apache.maven:maven-core:3.8.1 (#7106) 2022-01-13 15:27:14 +08:00
Tetyana Meronyk
532b8200f1 feat(TDI-46151): Filter data based on return value in subquery in source database before pushing it down to a tDBInput to execute (#6906) (#7108)
feat(TDI-46151): Filter data based on return value in subquery in source database before pushing it down to a tDBInput to execute

(cherry picked from commit 2c25ae3771)
2022-01-12 17:39:25 +02:00
hcyi
dff1b037c0 fix(I18N-322):change a message to "Set the connection and read timeouts" (#7059) 2022-01-12 16:18:42 +08:00
Jill Yan
4c48cc91b3 jill/fix/m80/APPINT-33992 (#7071)
* APPINT-33992

* revert mis-commit in previous

* APPINT-33992

* APPINT-33992

* APPINT-33992

* APPINT-33992

* APPINT-33992

Co-authored-by: jillyan <yan955599@gmail.com>
2022-01-12 15:57:22 +08:00
ozhelezniak
49493eb6de Merge branch 'maintenance/8.0' of github.com:Talend/tdi-studio-se into maintenance/8.0 2022-01-11 11:37:22 +02:00
Oleksandr Zhelezniak
86de9b6f45 fix(TDI-47222): invoke stop after flush (#7104)
* TCK studio-integration
* method stop should be invoked after the method flush for producers (outputs)
2022-01-11 10:56:20 +02:00
Oleksandr Zhelezniak
ffd5625247 fix(TDI-47222): invoke stop after flush (#6985)
* TCK studio-integration
* method stop should be invoked after the method flush for producers (outputs)

(cherry picked from commit 54b17eea2c)
2022-01-11 10:53:14 +02:00
zyuan-talend
a81d38bb2a fix(TUP-27184): copy label from GraphicNode to DataNode. (#7095) 2022-01-11 15:48:34 +08:00
wang wei
2ce8037e4e fix(TDI-47212): CVE: jackson-mapper(core)-asl-1.9.15-TALEND (#7001) 2022-01-10 15:09:17 +08:00
Jane Ding
2d02f681d9 Add localized files (#7092)
* Add localized files (#7090)

Co-authored-by: jenkins-git <jenkins-git@talend.com>

* Add localized files (#7091)

Co-authored-by: jenkins-git <jenkins-git@talend.com>

Co-authored-by: Alexiane Yvonet <ayvonet@talend.com>
Co-authored-by: jenkins-git <jenkins-git@talend.com>
Co-authored-by: tsasada-talend <51699524+tsasada-talend@users.noreply.github.com>
2022-01-07 11:17:52 +08:00
kjwang
52c8a51e2b TUP-34282 CVE: log4j-core(1.2-api)-[2-2.16.0) (#7083)
TUP-34282 CVE: log4j-core(1.2-api)-[2-2.16.0)
https://jira.talendforge.org/browse/TUP-34282
2022-01-07 10:00:39 +08:00
Oleksandr Zhelezniak
bb2b0c89f4 fix(TDI-46410): update namespace in xml element (#7018) 2022-01-04 14:38:04 +02:00
Jane Ding
ef8bd6950a Localize message update 4 maintenance80 (#7081)
* Add localized files (#7077)

Co-authored-by: jenkins-git <jenkins-git@talend.com>

* Add localized files (#7079)

Co-authored-by: jenkins-git <jenkins-git@talend.com>

Co-authored-by: Alexiane Yvonet <ayvonet@talend.com>
Co-authored-by: jenkins-git <jenkins-git@talend.com>
Co-authored-by: tsasada-talend <51699524+tsasada-talend@users.noreply.github.com>
2022-01-04 12:02:13 +08:00
ypiel
fea9ec3fb9 feat(TDI-46093): Customize tck/connection name (#6976)
* feat(TDI-46093): Support defined connection name

* feat(TDI-46093): Update defaultName

* use cache one to avoid recall every time

Co-authored-by: wwang-talend <wwang@talend.com>
2022-01-03 11:46:57 +01:00
Abdulhamid Rashankar
f996786ed7 APPINT-33784: Project analysis task - Warn about custom component dependencies risk (#6997)
Co-authored-by: arashankar <abdulhamid0606@gmail.com>
2022-01-03 10:09:53 +01:00
Jane Ding
156ffa5b3f Localize message update 4 maintenance80 (#7074)
* Add localized files (#7058)

Co-authored-by: jenkins-git <jenkins-git@talend.com>

* Add localized files (#7065)

Co-authored-by: jenkins-git <jenkins-git@talend.com>

Co-authored-by: tsasada-talend <51699524+tsasada-talend@users.noreply.github.com>
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2021-12-31 18:06:59 +08:00
pyzhou
241a784b36 fix(TDI-47234):tXSLT cache source in memory (#7021)
* fix(TDI-47234):tXSLT regression

* migration task

* correct migration task

* Correct ExecutionResult

* Correct Migration result
2021-12-31 11:43:32 +08:00
jillyan
9492ef6034 revert for mis-push 2021-12-30 18:14:40 +08:00
jillyan
f806f96585 APPINT-33992 2021-12-30 18:07:21 +08:00
Zhiwei Xue
3457ffb30f workitem(TUP-34111):slow studio build time for remote execution (#7039) 2021-12-30 16:07:09 +08:00
jiezhang-tlnd
08f1d92ee6 fix(TUP-33863)Update of Metadata Hadoop Cluster does not change spark (#6944)
* fix(TUP-33863)Update of Metadata Hadoop Cluster does not change spark
version when propagated
https://jira.talendforge.org/browse/TUP-33863

* format code

* format code

* fix(TUP-33863)Update of Metadata Hadoop Cluster does not change spark
version when propagated

Conflicts:
	main/plugins/org.talend.designer.core/src/main/java/org/talend/designer/core/ui/editor/properties/controllers/ComboController.java

* add common judgment

Conflicts:
	main/plugins/org.talend.designer.core/src/main/java/org/talend/designer/core/ui/editor/properties/controllers/ComboController.java

* add common fix

* Update of Metadata Hadoop Cluster does not change spark version when
propagated

Conflicts:
	main/plugins/org.talend.designer.core/src/main/java/org/talend/designer/core/ui/editor/properties/controllers/ComboController.java
2021-12-30 15:09:31 +08:00
jiezhang-tlnd
5cb031a8ed chore(TUP-34021)CVE: org.apache.maven:maven-core:3.8.1 (#7011) 2021-12-30 15:01:25 +08:00
Olha V
daeea2641a feat(TDI-46430): Kafka Input Output Avro support (#6981) (#7067)
* feat(TDI-46430): Kafka Input Output Avro support

* add migration task for security settings setup order

* feat(TDI-46430): Kafka Input Output Avro support

* add check if https settings not empty

* feat(TDI-46430): Kafka Input Output Avro support

* fix migration task status

* feat(TDI-46430): Kafka Input Output Avro support

* add check for kafka version
2021-12-29 14:56:47 +02:00
Wei Hua
f78696e776 APPINT-34077 RuntimeException: java.lang.NoClassDefFoundError: org/apache/cxf/databinding/DataBinding (#7064) 2021-12-29 14:48:39 +08:00
Jane Ding
02738c0a79 fix(TUP-33830):[7.3] ref project compilation error (#7053)
https://jira.talendforge.org/browse/TUP-33830
2021-12-29 11:35:24 +08:00
Emmanuel GALLOIS
a992419605 fix(TCOMP-2053): correct migration issue w/ context + function call (#7009) 2021-12-29 11:25:28 +08:00
Zhiwei Xue
ffd2e378ae fix(TUP-33966):Studio/commandline fails to generate code for the job, (#6977)
throws "Invalid thread access"
2021-12-29 09:45:56 +08:00
jiezhang-tlnd
c59a2743de fix(TUP-34123)talendcsv-1.0.0.jar is missing on Guess Schema (#7016) 2021-12-28 14:15:50 +08:00
sbliu
e8e4751a2e chore(TUP-33956) remove xercesImpl from libraries needed. (#7027) 2021-12-27 15:50:55 +08:00
hcyi
4cc46a0bc7 fix(TUP-33897):Remove username from Studio Cloud Login. (#7017) 2021-12-27 10:28:30 +08:00
Chao MENG
0a21c8d735 chore: hide parallelize (#7046) 2021-12-23 14:34:41 +08:00
Dmytro Grygorenko
aee76ce19a fix(TDI-47228): tPostgresqlOutput Upsert existing connection (#7049) 2021-12-20 17:07:37 +02:00
Dmytro Grygorenko
78a28bc217 fix(TDI-46743): avoid file locking when using "streaming append" feature. (#7042) 2021-12-20 14:25:34 +02:00
Jane Ding
89f29eecc2 Add localized files (#7032) (#7045)
Co-authored-by: jenkins-git <jenkins-git@talend.com>

Co-authored-by: Alexiane Yvonet <ayvonet@talend.com>
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2021-12-20 09:56:45 +08:00
Dmytro Sylaiev
7444c68931 fix(TDI-46910): Fix codegen and compile errors for dynamic schemas (#7019) 2021-12-17 10:41:37 +02:00
bhe-talendbj
a7d2ebbfe1 fix(TBD-13373): User did not initialize spark context when I run a simple spark job with HDI4 (#7033) 2021-12-16 19:49:37 +08:00
bhe-talendbj
db2e13c963 fix(TUP-34105): backport (#7024) 2021-12-15 11:44:27 +08:00
Tetyana Meronyk
b0700e6aba fix(TDI-46943): Dynamic schema fail's with Excel (#6992)
* fix(TDI-46943): Dynamic schema fail's with Excel
2021-12-14 15:51:50 +02:00
bhe-talendbj
450c4062ef fix(TUP-34105): upgrade log4j2 (#7006)
* fix(TUP-34105): upgrade log4j2

* fix(TUP-34105): update version
2021-12-14 15:40:37 +08:00
wang wei
878c793b30 fix(TDI-46962): tAmazonAuoraOutput compilation errors (#6872) 2021-12-13 11:22:44 +08:00
nrousseau
162d69539c fix(TUP-34110): fix tck dependencies (#7005)
* fix(TUP-34110): fix tck dependencies

* fix(TUP-34110): fix tck dependencies
2021-12-13 11:14:26 +08:00
Tetyana Meronyk
3ce05e9d7f fix(TDI-46834): Additional columns in tDBOutput doesn`t generate code properly (#6825) (#7002)
* fix(TDI-46834): Additional columns in tDBOutput doesn`t generate code properly

(cherry picked from commit 82243d59ac)
2021-12-10 15:21:39 +02:00
Dmytro Sylaiev
bb173c5e77 fix(TDI-46910): Add hadnling escaping of ELTOutput for quotes (#6875)
* fix(TDI-46910): Add hadnling escaping of ELTOutput for quotes

* fix(TDI-46910): Fix create table statement compile error
2021-12-09 16:18:13 +02:00
Xilai Dai
340f572844 Bugfix/maintenance/8.0/appint 34009 (#6901)
* (APPINT-34009) fix the tCosmosDB and tNeo4j dependency issues when building microservice

* (APPINT-34009) fix the regexp and jar name
2021-12-09 17:11:34 +08:00
hcyi
028ffd2beb feat(TUP-33198):Support retrieve SAP ADSO service metadata with SAP JCO3 (#6942) 2021-12-09 16:57:49 +08:00
kjwang
2c3708280a TUP-33713 Logon popup message in a mess when main project and refer (#6954)
* TUP-33713 Logon popup message in a mess when main project and refer
project are on different patch level
https://jira.talendforge.org/browse/TUP-33443
2021-12-09 16:40:30 +08:00
Jane Ding
1a5cc1038d Master loc backport (#6994)
* Add localized files (#6986)

Co-authored-by: jenkins-git <jenkins-git@talend.com>

* Add localized files (#6988)

Co-authored-by: jenkins-git <jenkins-git@talend.com>

Co-authored-by: tsasada-talend <51699524+tsasada-talend@users.noreply.github.com>
Co-authored-by: jenkins-git <jenkins-git@talend.com>
Co-authored-by: sbouyer <35452259+sbouyer@users.noreply.github.com>
2021-12-09 10:45:16 +08:00
jiezhang-tlnd
a74752e87d Jzhang/80/tup 33728 re (#6968)
* add migration

* add migration

* fix migration

* add copyright
2021-12-09 09:25:46 +08:00
jzhao
8bdc378efd feat(TDI-45793):Add migration task for tSAPADSOInput (#6989)
* feat(TDI-45793):Add migration task for tSAPADSOInput

* chore(TDI-45793):add Copyright for migration task.
2021-12-08 17:54:23 +08:00
Dmytro Grygorenko
99beb58953 fix(TDI-47179): enable batch checkbox for Postgres Upsert. (#6961) 2021-12-08 11:22:52 +02:00
bhe-talendbj
1a7409fcb7 feat(TUP-33718): add distribution version (#6979) (#6982)
* feat(TUP-33718): add distribution version

* feat(TUP-33718): fix version
2021-12-07 17:52:10 +08:00
hcyi
036219f5ca fix(TUP-32940):Remove "Also search from Help when performing a component (#6984)
searching".
2021-12-07 17:35:12 +08:00
Emmanuel GALLOIS
7ed3514e38 fix(TCOMP-1988): add nashorn scripting engine for java11+ (#6974) 2021-12-07 09:31:03 +01:00
Christophe Le Saec
25d47c6db3 TDI-47170 : go root directory for sftp (duplicate code) 2021-12-06 10:08:46 +01:00
Wei Hua
e31db9e33a APPINT-34089 Project analysis task - Warn about duplicated routeId usage (#6970)
* APPINT-34089 Project analysis task - Warn about duplicated routeId usage

* update the way to get code value.

* correct component name in message
2021-12-03 17:31:34 +01:00
pyzhou
7bd2e943ed fix(TDI-47147):tMap TUJ fix (#6971)
# Conflicts:
#	main/plugins/org.talend.designer.components.localprovider/components/tAdvancedHash/tAdvancedHash_java.xml
2021-12-03 17:49:47 +08:00
apoltavtsev
4a1012dba8 fix(APPINT-33820): Add support for log assignment to TESB task. (#6966) 2021-12-02 12:29:59 +01:00
bhe-talendbj
12782d28c9 feat(TUP-33718): add system property to load dynamic distribution jars (#6904) (#6964)
* feat(TUP-33718): add system property to load dynamic distribution jars

* feat(TUP-33718): fix load dynamic distributions

* feat(TUP-33718): load all dynamic distribution jars

* feat(TUP-33718): load bigdata modules

* feat(TUP-33718): load all dynamic distributions

* feat(TUP-33718): show distribution display version

* feat(TUP-33718): replace display version by version

* feat(TUP-33718): fix bug

* feat(TUP-33718): load dynamic distribution modules

* feat(TUP-33718): load dynamic distribution modules
2021-12-02 17:15:05 +08:00
apoltavtsev
9cf5e2a29e fix(APPINT-34066) Fail to build route as OSGI to runtime with ClassNotFoundException on MacOS 2021-11-29 10:41:08 +01:00
wang wei
1ef9cf8cd1 fix(TDI-46850): Upgrade ActiveMQ Jars to 5.16.3 which align with ESB (#6924) 2021-11-29 17:29:11 +08:00
Chao MENG
951055f00c fix(TUP-33121): Talend Studio gives no error if unable to connect to (#6934)
remote GIT repository
https://jira.talendforge.org/browse/TUP-33121
2021-11-29 10:35:20 +08:00
kjwang
ec4be52d06 TUP-33443 The method tFileInputDelimited_1_onSubJobError(Exception, (#6936)
TUP-33443 The method tFileInputDelimited_1_onSubJobError(Exception,String, Map<String,Object>) is undefined for the type xxxxx
https://jira.talendforge.org/browse/TUP-33443
2021-11-29 10:06:05 +08:00
vyu-talend
c04240ee23 feat(TDI-45016):add query time out. (#6539) (#6900) (#6949)
* feat(TDI-45016):add query time out. (#6539)

* feat(TDI-45016):add query time out.

* feat(TDI-45016):optimize codes.

* feat(TDI-45016):fix bugs.

* feat(TDI-45016):fix some issues.

Conflicts:
	main/plugins/org.talend.designer.components.localprovider/components/tAS400Input/tAS400Input_messages.properties
	main/plugins/org.talend.designer.components.localprovider/components/tAS400Output/tAS400Output_messages.properties
	main/plugins/org.talend.designer.components.localprovider/components/tAS400Row/tAS400Row_messages.properties
	main/plugins/org.talend.designer.components.localprovider/components/tMSSqlInput/tMSSqlInput_messages.properties
	main/plugins/org.talend.designer.components.localprovider/components/tMSSqlOutput/tMSSqlOutput_messages.properties
	main/plugins/org.talend.designer.components.localprovider/components/tMSSqlRow/tMSSqlRow_messages.properties
	main/plugins/org.talend.designer.components.localprovider/components/templates/_tableActionForOutput.javajet

* feat(TDI-45016): fix something.
2021-11-26 18:00:17 +08:00
Wei Hua
53a35c7551 APPINT-32136 Job & Run view displays DI job icon and/or label when a route or routelet editor is active (#6889) (#6941)
* APPINT-32136 Job & Run view displays DI job icon and/or label when a route or routelet editor is active

* Fixing labels and Routelet icon

* change the way to determine routelet

* Solve NPE issue

* small changes
2021-11-25 17:00:29 +08:00
wang wei
5f966a7796 fix(TDI-47078): [7.3]Multiple SQL Statements in SQL Template => Duplicate local variable(#6909) 2021-11-25 15:48:35 +08:00
bhe-talendbj
b384608b4c fix(TUP-32838): Custom value in a table column with suggestable values is not allowed (#6819) (#6926)
* fix(TUP-32838): editable properties table

* fix(TUP-32838): support editable properties table

* fix(TUP-32838): support editable properties table

* fix(TUP-32838): support editable properties table

* fix(TUP-32838): rename property name

* fix(TUP-32838): editable for all of suggestable parameters

* fix(TUP-32838): resolve comments

* fix(TUP-32838): avoid invoking component
2021-11-25 14:55:41 +08:00
pyzhou
bdfe560cb4 fix(TDI-45710):tXSLT support for streaming input and output (#6251) (#6830)
* Added streaming support on inputs

* Added InputStream for the 2 input files

* Added support for input / output columns

* Removed the label as it was confusing than helpful.
Changed the XML / XSLT label as it supports Stream.

Output however does NOT support stream so changed it in the Override to File only.

* Upgraded the 15 year old saxon9.jar
My tests passed.

* fix xml column was not used issue

* According to the new writing standard, only the capitalize the first character of first word

Co-authored-by: pyzhou <pyzhou@talend.com>
# Conflicts:
#	main/plugins/org.talend.designer.components.localprovider/components/tXSLT/tXSLT_messages.properties

Co-authored-by: bgunics-talend <63251373+bgunics-talend@users.noreply.github.com>
2021-11-25 14:01:16 +08:00
pyzhou
979574709e fix(TDI-46857):Upgrade bcprov-jdk15on-1.69 2021-11-25 12:20:21 +08:00
bhe-talendbj
2b76ccc994 fix(TUP-33859): force upgrade for bcprov (#6915) (#6923)
Co-authored-by: nrousseau <nrousseau@talend.com>
2021-11-25 10:12:15 +08:00
Tetyana Meronyk
5f172ec096 fix(TDI-46986): tFTPGet component unable to get file from FileZilla Server, with a particular Filemask in Studio, after September patch, Patch_20210924_R2021-09_v2-7.3.1
(cherry picked from commit 69f3e4b340)
2021-11-24 11:47:41 +02:00
Tetyana Meronyk
15b20a6b4a fix(TDI-46791): tBigQueryInput - Component returning extra row of NULL values (#6724) (#6921)
fix(TDI-46791): tBigQueryInput - Component returning extra row of NULL values

(cherry picked from commit 56af81bdbc)
2021-11-24 11:47:16 +02:00
Olha V
352b69ee78 chore(TDI-46752): CVE: Oauth 2.0 SDK with OpenID (#6811) (#6935)
* chore(TDI-46752): CVE: Oauth 2.0 SDK with OpenID

* chore(TDI-46752): CVE: Oauth 2.0 SDK with OpenID

* bump talend-mscrm in tMicrosoftCrm

* chore(TDI-46752): CVE: Oauth 2.0 SDK with OpenID

* add content-type dependency
2021-11-23 18:24:13 +02:00
hzhao-talendbj
d4eb8346cc chore(TUP-33736): Backport for 8.0 (#6912)
* Add localized files

* Add localized files (#6884)

Co-authored-by: jenkins-git <jenkins-git@talend.com>

* Add localized files (#6885)

Co-authored-by: jenkins-git <jenkins-git@talend.com>

Co-authored-by: jenkins-git <jenkins-git@talend.com>
Co-authored-by: sbouyer <35452259+sbouyer@users.noreply.github.com>
2021-11-23 17:31:17 +08:00
Oleksandr Zhelezniak
3072be03f6 fix(TDI-46930): wrap filename (#6846) (#6930)
* wrap a filename in parenthesis to explicit handle java operations priority
2021-11-23 11:02:29 +02:00
jiezhang-tlnd
2587b78d01 fix(TUP-33467)Need to adjust the UI of check connection when tck (#6925)
component in studio
https://jira.talendforge.org/browse/TUP-33467
2021-11-23 16:37:47 +08:00
Dmytro Grygorenko
96daa21f6f feat(TDI-44717): fix backport issue for "maintenance/8.0" branch. (#6928) 2021-11-23 09:43:06 +02:00
Christophe Le Saec
05928ddb45 TDI-46905 : treat absolute path 2021-11-23 08:39:49 +01:00
Dmytro Grygorenko
f574223e1d feat(TDI-44717): Postgres Upsert feature (backport to 8.0.1). (#6919) 2021-11-22 14:29:34 +02:00
Dmytro Grygorenko
5e0191fc6b fix(TDI-46912): tELTOutput cannot locate & drop existing table in Snowflake. (#6918) 2021-11-22 14:09:36 +02:00
Dmytro Sylaiev
e4bc47faf4 fix(TDI-46790): Fix fetching big files GSGet (#6706) 2021-11-22 13:55:08 +02:00
Dmytro Grygorenko
15485b8073 fix(TDI-46746): CVE - update "protobuf-java" to 3.4.0 2021-11-22 09:40:36 +02:00
Xilai Dai
e54a5539a3 Bugfix/maintenance/8.0/appint 34059 (#6908)
* (APPINT-34059) fix the plexus-utils version in maven-bundle-plugin

* (APPINT-34059) fix the plexus-classworlds
2021-11-22 11:10:41 +08:00
apoltavtsev
dc2fe3ebff fix(APPINT-33956) Project analysis task - Seek for unresolved dependencies (Part 2) (#6913) 2021-11-19 14:20:51 +01:00
Jill Yan
3393c79cfc APPINT-34090 (#6911)
Co-authored-by: jillyan <yan955599@gmail.com>
2021-11-19 17:37:19 +08:00
Zhiwei Xue
ce827cf975 chore(TUP-33614):Update each component plugin, make sure it generates a (#6902) (#6910)
new timestamp at each build
2021-11-19 17:26:08 +08:00
bhe-talendbj
3aa81c490d Update version from 8.0.2-SNAPSHOT to 8.0.1-SNAPSHOT (#6898) 2021-11-18 12:02:03 +08:00
Christophe Le Saec
1bce339197 TDI-47072 : fix context 2021-11-17 08:58:51 +01:00
Jenkins Continuous Build server
8a9c24f80a Set version to 8.0.2 SNAPSHOT 2021-11-16 11:09:32 +01:00
apoltavtsev
ec3be21f28 feat (APPINT-33956) Project analysis task - Seek for unresolved dependencies (Part 2) (#6881)
* feat (APPINT-33956) Project analysis task - Seek for unresolved dependencies (Part 2)

* Update messages.properties

* Add files via upload

* Update UnresolvedComponentsDependenciesAnalysisTask.java
2021-11-09 09:25:33 +01:00
jiezhang-tlnd
ec4b7f1862 fix(TUP-33627)[Linux aarch64] License agreement panel and introduction (#6877)
are blank
2021-11-05 20:04:47 +08:00
Jane Ding
87b2d61e0c fix(TUP-33385):Error pops up while logging on migrated project (#6867) (#6873)
* fix(TUP-33385):Error pops up while logging on migrated project if the
project which exported from monthly patch studio>Studio
https://jira.talendforge.org/browse/TUP-33385

* fix(TUP-33385):Error pops up while logging on migrated project if the
project which exported from monthly patch studio>Studio
https://jira.talendforge.org/browse/TUP-33385
2021-11-04 19:55:46 +08:00
sbouyer
3aeb0f435f Add localized files (#6866)
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2021-11-04 10:48:41 +08:00
Alexiane Yvonet
d3e732661d Add localized files (#6852)
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2021-11-04 10:48:30 +08:00
tsasada-talend
4b02eab8ce Add localized files (#6853)
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2021-11-04 10:48:19 +08:00
Jenkins Continuous Build server
df2cac92df Set version to 8.0.1 2021-11-03 17:02:08 +01:00
Dmytro Grygorenko
7ee99a9e56 fix(TDI-46968): fix compile error for tGreenplumOutput. (#6863) 2021-11-02 09:41:36 +02:00
hcyi
d9ad02e2b6 fix(TUP-33449):tPreJob trigger fails with GSS exception when "Set path (#6848)
to custom hadoop jar" is checked in 7.3.1
2021-11-02 15:23:50 +08:00
sbliu
74b894166d fix(TUP-33596) NPE when try to open project setting. (#6859) (#6861)
add NPE judgment
2021-11-02 11:30:23 +08:00
vyu-talend
d6d2dfdb6f fix(TDI-46921):change maven url path for miscrm. (#6856) 2021-11-01 11:38:33 +08:00
sbliu
b08087e24a feat(TUP-33462) Removal / deprecate of DB versions linked to DI components. (#6851) 2021-10-29 17:23:58 +08:00
pyzhou
4308b888d7 fix(TDI-46937): fix tmap tuj (#6845)
* fix(TDI-46937): fix tmap tuj

* fix(TDI-46937):fix tuj
2021-10-29 16:47:26 +08:00
Jane Ding
04448025a4 fix(TUP-33447):"servlet-api-2.5-20081211.jar" download failed when (#6810)
(#6809)

install libraries
https://jira.talendforge.org/browse/TUP-33447

Conflicts:
	main/plugins/org.talend.libraries.servlet/META-INF/MANIFEST.MF
	main/plugins/org.talend.libraries.servlet/pom.xml
	pom.xml
2021-10-29 15:09:18 +08:00
wang wei
a56fab7f5b fix(TDI-46476): as we remove some components, should adjust some tup junit(#6837) 2021-10-29 14:55:35 +08:00
Dmytro Sylaiev
f2422727b3 fix(TDI-46876): Fix dependencies list for tGoogleDataprocManage (#6847) 2021-10-29 10:45:42 +08:00
hcyi
94f818195d Hcyi/tup 33477 release/8.0.1 (#6823)
* feat(TUP-33477):Remove username/password authentication from Studio.

* feat(TUP-33477):Remove username/password authentication from Studio.

* feat(TUP-33477):keep username authentication for cloud on license select
dialog.
2021-10-28 15:47:04 +08:00
hzhao-talendbj
8679592c7e fix(TUP-33485): [tELTMap] Delimited identifiers does not work for (#6833) (#6838)
* fix(TUP-33485): [tELTMap] Delimited identifiers does not work for

* fix(TUP-33485): [tELTMap] Delimited identifiers does not work for

* fix(TUP-33485): [tELTMap] Delimited identifiers does not work for
2021-10-27 18:10:54 +08:00
wang wei
086d2763f3 fix(TDI-46286): upgrade org.slf4j version to 1.7.29 from 1.7.25 (#6733) 2021-10-27 15:47:09 +08:00
bhe-talendbj
939dd01908 chore(TUP-33502): Show installation of components only in debug mode (#6832) (#6835)
* chore(TUP-33502): change logs

* chore(TUP-33502): print logs in debug mode
2021-10-27 15:40:56 +08:00
zyuan-talend
5dfcdcfe5b fix(TUP-33392): remove un-needed Map Reduce related tests. (#6822) (#6834) 2021-10-27 15:24:07 +08:00
wang wei
d04e966718 fix(TDI-46476): Remove deprecated components in 8.0 (#6730) 2021-10-26 16:58:10 +08:00
jiezhang-tlnd
4294ecd024 update text (#6814) (#6817) 2021-10-25 14:37:28 +08:00
Jenkins Continuous Build server
1d2d17d71d Set version to 8.0.1 2021-10-21 16:11:20 +02:00
6907 changed files with 37648 additions and 323485 deletions

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<feature id="org.talend.designer.feature" label="Designer Feature" version="8.8.8.qualifier" provider-name=".Talend SA.">
<feature id="org.talend.designer.feature" label="Designer Feature" version="8.0.1.qualifier" provider-name=".Talend SA.">
<description url="http://www.talend.com/online/featuresdescription.html#designer-feature">Complete description about this feature at http://www.talend.com/online/featuresdescription.html#designer-feature</description>
<copyright url="http://www.talend.com/online/copyright.txt">Copyright Talend 2006, 2007</copyright>
<license>The licence are describe in branding feature</license>

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tdi-studio-se</artifactId>
<version>8.8.8-SNAPSHOT</version>
<version>8.0.1-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.designer.feature</artifactId>

View File

@@ -2,7 +2,7 @@
<feature
id="org.talend.fragment.jars.di.feature"
label="Fragment Jars in DI"
version="8.8.8.qualifier">
version="8.0.1.qualifier">
<description url="http://www.example.com/description">
[Enter Feature Description here.]

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tdi-studio-se</artifactId>
<version>8.8.8-SNAPSHOT</version>
<version>8.0.1-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.fragment.jars.di.feature</artifactId>

View File

@@ -2,7 +2,7 @@
<feature
id="org.talend.gmf.feature"
label="Gmf"
version="8.8.8.qualifier">
version="8.0.1.qualifier">
<description url="http://www.example.com/description">
GMF

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tdi-studio-se</artifactId>
<version>8.8.8-SNAPSHOT</version>
<version>8.0.1-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.gmf.feature</artifactId>

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<feature id="org.talend.rcp.branding.tos.feature" label="Tos branding feature" version="8.8.8.qualifier" provider-name=".Talend SA." plugin="org.talend.rcp.branding.tos">
<feature id="org.talend.rcp.branding.tos.feature" label="Tos branding feature" version="8.0.1.qualifier" provider-name=".Talend SA." plugin="org.talend.rcp.branding.tos">
<description url="http://www.example.com/description">[Enter Feature Description here.]</description>
<copyright url="http://www.example.com/copyright">[Enter Copyright Description here.]</copyright>
<license>[Enter License Description here.]</license>

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tdi-studio-se</artifactId>
<version>8.8.8-SNAPSHOT</version>
<version>8.0.1-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.rcp.branding.tos.feature</artifactId>

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<feature id="org.talend.rcp.branding.tos.test.feature" label="Test feature for TOS" version="8.8.8.qualifier">
<feature id="org.talend.rcp.branding.tos.test.feature" label="Test feature for TOS" version="8.0.1.qualifier">
<description url="http://www.example.com/description">[Enter Feature Description here.]</description>
<copyright url="http://www.example.com/copyright">[Enter Copyright Description here.]</copyright>
<license url="http://www.example.com/license">[Enter License Description here.]</license>
@@ -16,6 +16,7 @@
<import plugin="org.talend.repository" version="0.0.0" match="greaterOrEqual"/>
<import plugin="org.talend.utils" version="0.0.0" match="greaterOrEqual"/>
</requires>
<plugin id="org.talend.common.ui.runtime.test" download-size="0" install-size="0" version="0.0.0" fragment="true" unpack="false"/>
<plugin id="org.talend.commons.runtime.test" download-size="0" install-size="0" version="0.0.0" fragment="true" unpack="false"/>
<plugin id="org.talend.commons.ui.test" download-size="0" install-size="0" version="0.0.0" fragment="true" unpack="false"/>
<plugin id="org.talend.core.repository.test" download-size="0" install-size="0" version="0.0.0" fragment="true" unpack="false"/>
@@ -43,12 +44,14 @@
<plugin id="org.talend.migrationTool.test" download-size="0" install-size="0" version="0.0.0" fragment="true" unpack="false"/>
<plugin id="org.talend.model.test" download-size="0" install-size="0" version="0.0.0" fragment="true" unpack="false"/>
<plugin id="org.talend.repository.generic.test" download-size="0" install-size="0" version="0.0.0" fragment="true" unpack="false"/>
<plugin id="org.talend.repository.json.test" download-size="0" install-size="0" version="0.0.0" fragment="true" unpack="false"/>
<plugin id="org.talend.repository.items.importexport.test" download-size="0" install-size="0" version="0.0.0" fragment="true" unpack="false"/>
<plugin id="org.talend.repository.items.importexport.ui.test" download-size="0" install-size="0" version="0.0.0" fragment="true" unpack="false"/>
<plugin id="org.talend.repository.localprovider.test" download-size="0" install-size="0" version="0.0.0" fragment="true" unpack="false"/>
<plugin id="org.talend.repository.metadata.test" download-size="0" install-size="0" version="0.0.0" fragment="true" unpack="false"/>
<plugin id="org.talend.repository.test" download-size="0" install-size="0" version="0.0.0" fragment="true" unpack="false"/>
<plugin id="org.talend.sqlbuilder.test" download-size="0" install-size="0" version="0.0.0" fragment="true" unpack="false"/>
<plugin id="org.talend.presentation.onboarding.resource.test" download-size="0" install-size="0" version="0.0.0" fragment="true" unpack="false"/>
<plugin id="org.talend.repository.view.di.test" download-size="0" install-size="0" version="0.0.0" fragment="true" unpack="false"/>
<plugin id="org.talend.repository.view.test" download-size="0" install-size="0" version="0.0.0" fragment="true" unpack="false"/>
<plugin id="org.talend.testutils" download-size="0" install-size="0" version="0.0.0" unpack="false"/>

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tdi-studio-se</artifactId>
<version>8.8.8-SNAPSHOT</version>
<version>8.0.1-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.rcp.branding.tos.test.feature</artifactId>

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<feature id="org.talend.repository.feature" label="Repository Feature" version="8.8.8.qualifier" provider-name=".Talend SA.">
<feature id="org.talend.repository.feature" label="Repository Feature" version="8.0.1.qualifier" provider-name=".Talend SA.">
<description url="http://www.talend.com/online/featuresdescription.html#repository-feature">Complete description about this feature at http://www.talend.com/online/featuresdescription.html#repository-feature</description>
<copyright url="http://www.talend.com/online/copyright.txt">Copyright Talend 2006, 2007</copyright>
<license>The licence are describe in branding feature</license>

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tdi-studio-se</artifactId>
<version>8.8.8-SNAPSHOT</version>
<version>8.0.1-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.repository.feature</artifactId>

View File

@@ -2,7 +2,7 @@
<feature
id="org.talend.studio.components.tcompv0.azurestorage.feature"
label="Azure Storage"
version="8.8.8.qualifier">
version="8.0.1.qualifier">
<description url="http://www.example.com/description">
Azure Storage

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tdi-studio-se</artifactId>
<version>8.8.8-SNAPSHOT</version>
<version>8.0.1-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.studio.components.tcompv0.azurestorage.feature</artifactId>

View File

@@ -2,7 +2,7 @@
<feature
id="org.talend.studio.components.tcompv0.googledrive.feature"
label="Google Drive"
version="8.8.8.qualifier">
version="8.0.1.qualifier">
<description url="http://www.example.com/description">
Google drive component

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tdi-studio-se</artifactId>
<version>8.8.8-SNAPSHOT</version>
<version>8.0.1-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.studio.components.tcompv0.googledrive.feature</artifactId>

View File

@@ -2,7 +2,7 @@
<feature
id="org.talend.studio.components.tcompv0.jdbc.feature"
label="JDBC_feature"
version="8.8.8.qualifier">
version="8.0.1.qualifier">
<description url="http://www.example.com/description">
[Enter Feature Description here.]

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tdi-studio-se</artifactId>
<version>8.8.8-SNAPSHOT</version>
<version>8.0.1-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.studio.components.tcompv0.jdbc.feature</artifactId>

View File

@@ -2,7 +2,7 @@
<feature
id="org.talend.studio.components.tcompv0.jira.feature"
label="Jira"
version="8.8.8.qualifier">
version="8.0.1.qualifier">
<description url="http://www.example.com/description">
Jira component

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tdi-studio-se</artifactId>
<version>8.8.8-SNAPSHOT</version>
<version>8.0.1-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.studio.components.tcompv0.jira.feature</artifactId>

View File

@@ -2,7 +2,7 @@
<feature
id="org.talend.studio.components.tcompv0.marketo.feature"
label="Marketo"
version="8.8.8.qualifier">
version="8.0.1.qualifier">
<description url="http://www.example.com/description">
Marketo component

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tdi-studio-se</artifactId>
<version>8.8.8-SNAPSHOT</version>
<version>8.0.1-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.studio.components.tcompv0.marketo.feature</artifactId>

View File

@@ -2,7 +2,7 @@
<feature
id="org.talend.studio.components.tcompv0.marklogic.feature"
label="Marklogic"
version="8.8.8.qualifier">
version="8.0.1.qualifier">
<description url="http://www.example.com/description">
Marklogic component

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tdi-studio-se</artifactId>
<version>8.8.8-SNAPSHOT</version>
<version>8.0.1-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.studio.components.tcompv0.marklogic.feature</artifactId>

View File

@@ -2,7 +2,7 @@
<feature
id="org.talend.studio.components.tcompv0.netsuite.feature"
label="Netsuite"
version="8.8.8.qualifier">
version="8.0.1.qualifier">
<description url="http://www.example.com/description">
Netsuite

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tdi-studio-se</artifactId>
<version>8.8.8-SNAPSHOT</version>
<version>8.0.1-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.studio.components.tcompv0.netsuite.feature</artifactId>

View File

@@ -2,7 +2,7 @@
<feature
id="org.talend.studio.components.tcompv0.salesforce.feature"
label="Salesforce"
version="8.8.8.qualifier">
version="8.0.1.qualifier">
<description url="http://www.example.com/description">
Salesforce component

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tdi-studio-se</artifactId>
<version>8.8.8-SNAPSHOT</version>
<version>8.0.1-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.studio.components.tcompv0.salesforce.feature</artifactId>

View File

@@ -2,7 +2,7 @@
<feature
id="org.talend.studio.components.tcompv0.snowflake.feature"
label="SNOWFLAKE_feature"
version="8.8.8.qualifier">
version="8.0.1.qualifier">
<description url="http://www.example.com/description">
Snowflake

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tdi-studio-se</artifactId>
<version>8.8.8-SNAPSHOT</version>
<version>8.0.1-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.studio.components.tcompv0.snowflake.feature</artifactId>

View File

@@ -2,7 +2,7 @@
<feature
id="org.talend.studio.components.tcompv0.splunk.feature"
label="Splunk"
version="8.8.8.qualifier">
version="8.0.1.qualifier">
<description url="http://www.example.com/description">
Splunk component

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tdi-studio-se</artifactId>
<version>8.8.8-SNAPSHOT</version>
<version>8.0.1-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.studio.components.tcompv0.splunk.feature</artifactId>

View File

@@ -2,7 +2,7 @@
<feature
id="org.talend.tos.components.feature"
label="Components-feature"
version="8.8.8.qualifier">
version="8.0.1.qualifier">
<description url="http://www.example.com/description">
[Enter Feature Description here.]
@@ -164,7 +164,7 @@
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="org.talend.designer.filemultischemas"
download-size="0"
@@ -248,5 +248,12 @@
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="org.talend.designer.esb.components.rs.consumer"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
</feature>

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tdi-studio-se</artifactId>
<version>8.8.8-SNAPSHOT</version>
<version>8.0.1-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.tos.components.feature</artifactId>

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<feature id="org.talend.tos.core.feature" label="Feature" version="8.8.8.qualifier">
<feature id="org.talend.tos.core.feature" label="Feature" version="8.0.1.qualifier">
<description url="http://www.example.com/description">[Enter Feature Description here.]</description>
<copyright url="http://www.example.com/copyright">[Enter Copyright Description here.]</copyright>
<license url="http://www.example.com/license">[Enter License Description here.]</license>

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tdi-studio-se</artifactId>
<version>8.8.8-SNAPSHOT</version>
<version>8.0.1-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.tos.core.feature</artifactId>

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<feature id="org.talend.tos.feature" label="Tos feature" version="8.8.8.qualifier" provider-name=".Talend SA.">
<feature id="org.talend.tos.feature" label="Tos feature" version="8.0.1.qualifier" provider-name=".Talend SA.">
<description url="http://www.example.com/description">[Enter Feature Description here.]</description>
<copyright url="http://www.example.com/copyright">[Enter Copyright Description here.]</copyright>
<license>[Enter License Description here.]</license>

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tdi-studio-se</artifactId>
<version>8.8.8-SNAPSHOT</version>
<version>8.0.1-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.tos.feature</artifactId>

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<feature id="org.talend.tos.libraries.feature" label="Libraries_feature" version="8.8.8.qualifier">
<feature id="org.talend.tos.libraries.feature" label="Libraries_feature" version="8.0.1.qualifier">
<description url="http://www.example.com/description">[Enter Feature Description here.]</description>
<copyright url="http://www.example.com/copyright">[Enter Copyright Description here.]</copyright>
<license url="http://www.example.com/license">[Enter License Description here.]</license>
@@ -46,4 +46,5 @@
<plugin id="org.talend.libraries.slf4j" download-size="0" install-size="0" version="0.0.0"/>
<plugin id="org.talend.libraries.xml" download-size="0" install-size="0" version="0.0.0"/>
<plugin id="org.talend.libraries.zmq" download-size="0" install-size="0" version="0.0.0"/>
<plugin id="org.talend.libraries.esb" download-size="0" install-size="0" version="0.0.0"/>
</feature>

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tdi-studio-se</artifactId>
<version>8.8.8-SNAPSHOT</version>
<version>8.0.1-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.tos.libraries.feature</artifactId>

View File

@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Abstract Map Plug-in
Bundle-SymbolicName: org.talend.designer.abstractmap;singleton:=true
Bundle-Version: 8.8.8.qualifier
Bundle-Version: 8.0.1.qualifier
Bundle-Activator: org.talend.designer.abstractmap.MapPlugin
Require-Bundle: org.eclipse.core.runtime,
org.talend.core,

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tdi-studio-se</artifactId>
<version>8.8.8-SNAPSHOT</version>
<version>8.0.1-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.designer.abstractmap</artifactId>

View File

@@ -2,7 +2,7 @@ prefs.configuration.title=\u30DE\u30C3\u30D7\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3
prefs.configuration.LINK_STYLE=\u30C7\u30D5\u30A9\u30EB\u30C8\u30DE\u30C3\u30D4\u30F3\u30B0\u30EA\u30F3\u30AF\u306E\u8868\u793A:
prefs.configuration.LINK_STYLE.AUTO=\u81EA\u52D5
prefs.configuration.LINK_STYLE.BEZIER_CURVE=\u66F2\u7DDA
prefs.configuration.LINK_STYLE.LINE=\u76F4\u7DDA\uFF08\u9AD8\u901F\uFF09
prefs.configuration.LINK_STYLE.LINE=\u76F4\u7DDA(\u9AD8\u901F)
DraggingInfosPopup.draggingEntry={0}\u30A8\u30F3\u30C8\u30EA\u30FC\u3092\u30C9\u30E9\u30C3\u30B0\u3057\u3066\u3044\u307E\u3059\u3002
DraggingInfosPopup.dropInvalid=\n<< \u7121\u52B9\u306A\u30C9\u30ED\u30C3\u30D7 >>\n
DraggingInfosPopup.draggingEntries={0}\u30A8\u30F3\u30C8\u30EA\u30FC\u3092\u30C9\u30E9\u30C3\u30B0\u3057\u3066\u3044\u307E\u3059\u3002

View File

@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Alfresco Output Component Plug-in
Bundle-SymbolicName: org.talend.designer.alfrescooutput;singleton:=true
Bundle-Version: 8.8.8.qualifier
Bundle-Version: 8.0.1.qualifier
Bundle-Vendor: .Talend SA.
Require-Bundle: org.eclipse.core.runtime,
org.talend.core,

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tdi-studio-se</artifactId>
<version>8.8.8-SNAPSHOT</version>
<version>8.0.1-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.designer.alfrescooutput</artifactId>

View File

@@ -1,4 +1,4 @@
AlfrescoOutputManager.failedLoadModel=\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u30E1\u30BF\u30C7\u30FC\u30BF\u304B\u3089\u30E2\u30C7\u30EB\u30ED\u30FC\u30C9\u306B\u5931\u6557\u3057\u307E\u3057\u305F\u3002\u518D\u521D\u671F\u5316\u4E2D,
AlfrescoOutputManager.failedLoadModel=\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u30E1\u30BF\u30C7\u30FC\u30BF\u304B\u3089\u30E2\u30C7\u30EB\u30ED\u30FC\u30C9\u306B\u5931\u6557\u3057\u307E\u3057\u305F\u3002\u518D\u521D\u671F\u5316\u4E2D
AlfrescoOutputManager.schemaError.title=\u30B9\u30AD\u30FC\u30DE\u306E\u30A8\u30E9\u30FC
AlfrescoOutputManager.schemaError.msg=\u6700\u521D\u306B\u30B9\u30AD\u30FC\u30DE\u3092\u540C\u671F\u3057\u3066\u304F\u3060\u3055\u3044\u3002
AlfrescoOutputModelManager.alreadyAdded=\u3053\u306E\u30E2\u30C7\u30EB\u306F\u65E2\u306B\u8FFD\u52A0\u6E08\u307F\u3067\u3059\u3002

View File

@@ -1,3 +1,4 @@
#Thu Jan 06 14:39:43 CST 2011
eclipse.preferences.version=1
encoding//src/main/java/org/talend/designer/codegen/components/model/ComponentsFactory.java=UTF-8
encoding//src/main/java/org/talend/designer/codegen/components/ui/ComponentsPreferencePage.java=UTF-8

View File

@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: CodeGen Plug-in
Bundle-SymbolicName: org.talend.designer.codegen;singleton:=true
Bundle-Version: 8.8.8.qualifier
Bundle-Version: 8.0.1.qualifier
Bundle-Localization: plugin
Require-Bundle: org.talend.core.repository,
org.eclipse.emf.codegen,
@@ -33,10 +33,8 @@ Export-Package: org.talend.designer.codegen,
org.talend.designer.codegen.components.ui,
org.talend.designer.codegen.config,
org.talend.designer.codegen.exception,
org.talend.designer.codegen.i18n,
org.talend.designer.codegen.model,
org.talend.designer.codegen.proxy,
org.talend.designer.codegen.stigma
org.talend.designer.codegen.proxy
Bundle-Vendor: .Talend SA.
Bundle-Activator: org.talend.designer.codegen.CodeGeneratorActivator
Import-Package: org.apache.commons.lang

View File

@@ -7,7 +7,6 @@ bin.includes = plugin.xml,\
jet_stub/,\
plugin.properties,\
plugin_de.properties,\
plugin_en.properties,\
plugin_es.properties,\
plugin_fr.properties,\
plugin_ja.properties,\

View File

@@ -1,232 +0,0 @@
<%@ jet
imports="
org.talend.core.model.process.INode
org.talend.core.model.process.ElementParameterParser
org.talend.core.model.process.IConnection
org.talend.core.model.process.IConnectionCategory
org.talend.designer.codegen.config.CodeGeneratorArgument
org.talend.core.model.metadata.IMetadataTable
org.talend.core.model.metadata.IMetadataColumn
org.talend.core.model.metadata.types.JavaTypesManager
org.talend.core.model.metadata.types.JavaType
java.util.List
java.util.Map
"
%>
<%
CodeGeneratorArgument codeGenArgument = (CodeGeneratorArgument) argument;
INode node = (INode)codeGenArgument.getArgument();
String cid = node.getUniqueName();
String nbRows = ElementParameterParser.getValue(node, "__NB_ROWS__");
List<Map<String, String>> tableValues =
(List<Map<String,String>>)ElementParameterParser.getObjectValue(
node,
"__VALUES__"
);
boolean use_singleMode = ("true").equals(ElementParameterParser.getValue(node, "__USE_SINGLEMODE__"));
boolean use_inTable = ("true").equals(ElementParameterParser.getValue(node, "__USE_INTABLE__"));
boolean use_inlineContent = ("true").equals(ElementParameterParser.getValue(node, "__USE_INLINECONTENT__"));
String fieldSeparator = ElementParameterParser.getValue(node, "__FIELDSEPARATOR__");
String rowSeparator = ElementParameterParser.getValue(node, "__ROWSEPARATOR__");
List<Map<String, String>> inTableValues =
(List<Map<String,String>>)ElementParameterParser.getObjectValue(
node,
"__INTABLE__"
);
List<IMetadataTable> metadatas = node.getMetadataList();
IMetadataTable metadata = null;
if ((metadatas!=null)&&(metadatas.size()>0)) {
metadata = metadatas.get(0);
}
List< ? extends IConnection> conns = node.getOutgoingSortedConnections();
//************** the original part that get only one value for each column ********************
if(use_singleMode){
if(tableValues != null && tableValues.size() > 0 && conns != null && conns.size() > 0) {
%>
for (int i_<%=cid%> = 0 ; i_<%=cid%> < <%=nbRows%> ; i_<%=cid%>++) {
<%
String firstConnName = "";
for(IConnection conn : conns) {
if(conn.getLineStyle().hasConnectionCategory(IConnectionCategory.DATA)) {
firstConnName = conn.getName();
break;
} // if(conn) end
} // for(conns) end
if (firstConnName !=null && !"".equals(firstConnName)) {
for(Map<String, String> tableValue : tableValues) {
String lable = tableValue.get("SCHEMA_COLUMN");
String value = tableValue.get("VALUE");
if(value == null || value.length() == 0){ //use the default value
IMetadataColumn column = metadata.getColumn(lable);
String typeToGenerate = JavaTypesManager.getTypeToGenerate(column.getTalendType(), column.isNullable());
String defaultValue = JavaTypesManager.getDefaultValueFromJavaType(typeToGenerate, column.getDefault());
%>
<%=firstConnName%>.<%=lable %> = <%=defaultValue %>;
<%
}else{
%>
<%=firstConnName%>.<%=lable %> = <%=value %>;
<%
}
} // for (map) end
} // if(firstConnName) end
}
//***************************the original part end ***************************************
}else if(use_inTable){
//******************the new part ---get several values for each column*********************
if(inTableValues != null && inTableValues.size() > 0 && conns != null && conns.size() > 0) {
%>
int nb_line_<%=cid %> = 0;
<%
String firstConnName = "";
for(IConnection conn : conns) {
if(conn.getLineStyle().hasConnectionCategory(IConnectionCategory.DATA)) {
firstConnName = conn.getName();
break;
}
}
if(firstConnName!=null && !firstConnName.equals("")){//XXX
%>
List<<%=firstConnName%>Struct> cacheList_<%=cid %> = new java.util.ArrayList<<%=firstConnName%>Struct>();
<%
for(Map<String, String> tableValue : inTableValues) {
%>
<%=firstConnName%> = new <%=firstConnName%>Struct();
<%
for(IMetadataColumn column: metadata.getListColumns()){
String label = column.getLabel();
String value = tableValue.get(label);
if(value == null || value.length() == 0){ //use the default value
String typeToGenerate = JavaTypesManager.getTypeToGenerate(column.getTalendType(), column.isNullable());
String defaultValue = JavaTypesManager.getDefaultValueFromJavaType(typeToGenerate, column.getDefault());
%>
<%=firstConnName%>.<%=label %> = <%=defaultValue %>;
<%
}else{
%>
<%=firstConnName%>.<%=label %> = <%=value %>;
<%
}
}
%>
cacheList_<%=cid %>.add(<%=firstConnName%>);
<%
}
}
%>
for (int i_<%=cid%> = 0 ; i_<%=cid%> < <%=nbRows%> ; i_<%=cid%>++) {
<%
if(firstConnName!=null && !firstConnName.equals("")){
%>
for(<%=firstConnName%>Struct tmpRow_<%=cid %> : cacheList_<%=cid %>){
<%
}
%>
nb_line_<%=cid %> ++;
<%
if(firstConnName!=null && !firstConnName.equals("")){
%>
<%=firstConnName%> = tmpRow_<%=cid %>;
<%
}
}
//********************the new part end*****************************************************
}else if(use_inlineContent){
String fileContent = ElementParameterParser.getValue(node,"__INLINECONTENT__");
String lineSeparator = "\r\n";
String fileContentEnCodeStr = "";
try {
fileContentEnCodeStr = java.util.Base64.getMimeEncoder().encodeToString(fileContent.getBytes("UTF-8"));
} catch (java.io.UnsupportedEncodingException e) {
e.printStackTrace();
}
%>
StringBuilder result_<%=cid %> = new StringBuilder();
<%
String[] arrayStr = fileContentEnCodeStr.split(lineSeparator);
for(String item : arrayStr){
%>
result_<%=cid %>.append("<%=item %>");
<%}%>
String originalFileContent_<%=cid %> = "";
try {
originalFileContent_<%=cid %> = new String(java.util.Base64.getMimeDecoder().decode(result_<%=cid %>.toString()), utf8Charset);
} catch (java.lang.Exception e) {
globalMap.put("<%=cid%>_ERROR_MESSAGE",e.getMessage());
e.printStackTrace();
}
int nb_line_<%=cid %> = 0;
for (int i_<%=cid%> = 0 ; i_<%=cid%> < <%=nbRows%> ; i_<%=cid%>++) {
java.io.InputStream ins_<%=cid %> = new java.io.ByteArrayInputStream(originalFileContent_<%=cid %>.getBytes(utf8Charset));
org.talend.fileprocess.FileInputDelimited fid_<%=cid %> = new org.talend.fileprocess.FileInputDelimited(ins_<%=cid %>, utf8Charset,<%=fieldSeparator %>,<%=rowSeparator %>,true, 0, 0, -1, -1, false);
while (fid_<%=cid %>.nextRecord()) {
nb_line_<%=cid %>++;
<%
String firstConnName = "";
for(IConnection conn : conns) {
if(conn.getLineStyle().hasConnectionCategory(IConnectionCategory.DATA)) {
firstConnName = conn.getName();
break;
}
}
if(!firstConnName.equals("")){//XXX
%>
<%=firstConnName %> = new <%=firstConnName %>Struct();
<%
List<IMetadataColumn> columns = metadata.getListColumns();
int sizeListColumns = columns.size();
for (int i=0;i<sizeListColumns;i++) {//AAA
IMetadataColumn column=columns.get(i);
String label = column.getLabel();
String typeToGenerate = JavaTypesManager.getTypeToGenerate(column.getTalendType(), column.isNullable());
JavaType javaType = JavaTypesManager.getJavaTypeFromId(column.getTalendType());
String patternValue = column.getPattern() == null || column.getPattern().trim().length() == 0 ? null : column.getPattern();
String defaultValue = JavaTypesManager.getDefaultValueFromJavaType(typeToGenerate, column.getDefault());
%>
if(<%=i %> < fid_<%=cid %>.getColumnsCountOfCurrentRow()){
String colContent = fid_<%=cid %>.get(<%=i %>);
<%if(javaType == JavaTypesManager.STRING || javaType == JavaTypesManager.OBJECT) {%>
<%=firstConnName %>.<%=label %> = (colContent == null || colContent.length() == 0) ? <%=defaultValue %>: colContent;
<%}else if(javaType == JavaTypesManager.DATE){%>
<%=firstConnName %>.<%=label %> = (colContent == null || colContent.length() == 0) ? ParserUtils.parseTo_Date(<% if((defaultValue==null)||"".equals(defaultValue) || "null".equals(defaultValue)){%>(String)<%}%> <%=defaultValue %>, <%= patternValue %>) : ParserUtils.parseTo_Date(colContent, <%= patternValue %>);
<%}else if(javaType == JavaTypesManager.BYTE_ARRAY){%>
<%=firstConnName %>.<%=label %> = (colContent == null || colContent.length() == 0) ? <%=defaultValue %> : colContent.getBytes();
<%}else{%>
<%=firstConnName %>.<%=label %> = (colContent == null || colContent.trim().length() == 0) ? <%=defaultValue %> : ParserUtils.parseTo_<%= typeToGenerate %>(colContent);
<%}%>
} else {
<%if(javaType != JavaTypesManager.DATE){%>
<%=firstConnName %>.<%=label %> = <%=defaultValue %>;
<%}else {%>
<%=firstConnName %>.<%=label %> = ParserUtils.parseTo_Date(<% if(defaultValue==null||"".equals(defaultValue)|| "null".equals(defaultValue)){%>(String)<%}%><%=defaultValue %>, <%= patternValue %>);
<%}%>
}
<%
}//AAA
%>
<%
}//XXX
//********************the use_inTable part end*****************************************************
}
%>

View File

@@ -1,80 +0,0 @@
<%@ jet
imports="
org.talend.core.model.process.INode
org.talend.core.model.process.ElementParameterParser
org.talend.core.model.process.IConnection
org.talend.designer.codegen.config.CodeGeneratorArgument
org.talend.core.model.process.IConnectionCategory
java.util.List
java.util.Map"
%>
<%
CodeGeneratorArgument codeGenArgument = (CodeGeneratorArgument) argument;
INode node = (INode)codeGenArgument.getArgument();
String cid = node.getUniqueName();
String nbRows = ElementParameterParser.getValue(node, "__NB_ROWS__");
boolean use_singleMode = ("true").equals(ElementParameterParser.getValue(node, "__USE_SINGLEMODE__"));
boolean use_inTable = ("true").equals(ElementParameterParser.getValue(node, "__USE_INTABLE__"));
boolean use_inlineContent = ("true").equals(ElementParameterParser.getValue(node, "__USE_INLINECONTENT__"));
List<Map<String, String>> tableValues =
(List<Map<String,String>>)ElementParameterParser.getObjectValue(
node,
"__VALUES__"
);
List<Map<String, String>> inTableValues =
(List<Map<String,String>>)ElementParameterParser.getObjectValue(
node,
"__INTABLE__"
);
List< ? extends IConnection> conns = node.getOutgoingSortedConnections();
if(use_singleMode){
if(tableValues != null && tableValues.size() > 0 && conns != null && conns.size() > 0) {
%>
}
globalMap.put("<%=cid%>_NB_LINE", <%=nbRows%>);
<%
}
//********************the new part*****************************************************
}else if(use_inTable){
if(inTableValues != null && inTableValues.size() > 0 && conns != null && conns.size() > 0) {
String firstConnName = null;
for(IConnection conn : conns) {
if(conn.getLineStyle().hasConnectionCategory(IConnectionCategory.DATA)) {
firstConnName = conn.getName();
break;
}
}
if(firstConnName!=null && !firstConnName.equals("")){
%>
}
<%
}
%>
}
<%
if(firstConnName!=null && !firstConnName.equals("")){
%>
cacheList_<%=cid %>.clear();
<%
}
%>
globalMap.put("<%=cid%>_NB_LINE", nb_line_<%=cid %>);
<%
}
//********************the new part*****************************************************
} else if(use_inlineContent){
%>
}
fid_<%=cid %>.close();
}
globalMap.put("<%=cid%>_NB_LINE", nb_line_<%=cid %>);
<%
}
%>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

View File

@@ -1,90 +0,0 @@
<COMPONENT>
<HEADER PLATEFORM="ALL" SERIAL="" VERSION="0.102" STATUS="ALPHA"
COMPATIBILITY="ALL" AUTHOR="Talend" RELEASE_DATE="20050320A"
STARTABLE="true">
<SIGNATURE />
</HEADER>
<FAMILIES>
<FAMILY>Misc</FAMILY>
</FAMILIES>
<DOCUMENTATION>
<URL />
</DOCUMENTATION>
<CONNECTORS>
<CONNECTOR CTYPE="FLOW" MAX_INPUT="0" MAX_OUTPUT="1"/>
<CONNECTOR CTYPE="ITERATE" MAX_OUTPUT="1" MAX_INPUT="1" />
<CONNECTOR CTYPE="SUBJOB_OK" MAX_INPUT="1" />
<CONNECTOR CTYPE="SUBJOB_ERROR" MAX_INPUT="1" />
<CONNECTOR CTYPE="COMPONENT_OK" />
<CONNECTOR CTYPE="COMPONENT_ERROR" />
<CONNECTOR CTYPE="RUN_IF" />
</CONNECTORS>
<PARAMETERS>
<PARAMETER NAME="SCHEMA" FIELD="SCHEMA_TYPE" REQUIRED="true"
NUM_ROW="10">
<DEFAULT />
</PARAMETER>
<PARAMETER NAME="NB_ROWS" FIELD="TEXT" NUM_ROW="20">
<DEFAULT>1</DEFAULT>
</PARAMETER>
<PARAMETER NAME="USE_SINGLEMODE" FIELD="RADIO" REQUIRED="true"
NUM_ROW="30" GROUP="MODE">
<DEFAULT>true</DEFAULT>
</PARAMETER>
<PARAMETER NAME="VALUES" FIELD="TABLE" REQUIRED="true"
NUM_ROW="35" NB_LINES="5" SHOW_IF="USE_SINGLEMODE=='true'" GROUP="MODE">
<ITEMS BASED_ON_SCHEMA="true">
<ITEM NAME="VALUE" />
</ITEMS>
</PARAMETER>
<PARAMETER NAME="USE_INTABLE" FIELD="RADIO" REQUIRED="true"
NUM_ROW="40" GROUP="MODE">
<DEFAULT>false</DEFAULT>
</PARAMETER>
<PARAMETER NAME="INTABLE" FIELD="TABLE" REQUIRED="true"
NUM_ROW="45" NB_LINES="5" SHOW_IF="USE_INTABLE=='true'" GROUP="MODE">
<ITEMS COLUMNS_BASED_ON_SCHEMA="true">
</ITEMS>
</PARAMETER>
<PARAMETER NAME="USE_INLINECONTENT" FIELD="RADIO" REQUIRED="true"
NUM_ROW="50" GROUP="MODE">
<DEFAULT>false</DEFAULT>
</PARAMETER>
<PARAMETER NAME="ROWSEPARATOR" FIELD="TEXT" NUM_ROW="52"
REQUIRED="true" SHOW_IF="USE_INLINECONTENT=='true'" GROUP="MODE">
<DEFAULT>"\n"</DEFAULT>
</PARAMETER>
<PARAMETER NAME="FIELDSEPARATOR" FIELD="TEXT" NUM_ROW="52"
REQUIRED="true" SHOW_IF="USE_INLINECONTENT=='true'" GROUP="MODE">
<DEFAULT>";"</DEFAULT>
</PARAMETER>
<PARAMETER NAME="INLINECONTENT" FIELD="MEMO" RAW="true" REQUIRED="true"
NUM_ROW="55" NB_LINES="10" SHOW_IF="USE_INLINECONTENT=='true'" GROUP="MODE">
</PARAMETER>
</PARAMETERS>
<CODEGENERATION>
<IMPORTS>
<IMPORT NAME="Talen File Enhanced" MODULE="talend_file_enhanced-1.1.jar" MVN="mvn:org.talend.components.lib/talend_file_enhanced/1.1" UrlPath="platform:/plugin/org.talend.libraries.custom/lib/talend_file_enhanced-1.1.jar" REQUIRED="true" />
</IMPORTS>
</CODEGENERATION>
<RETURNS>
<RETURN NAME="NB_LINE" TYPE="id_Integer" AVAILABILITY="AFTER" />
</RETURNS>
</COMPONENT>

View File

@@ -1,14 +0,0 @@
LONG_NAME=Creates a fixed flow from internal variables
HELP=org.talend.help.tFixedFlowInput
NB_LINE.NAME=Number of lines
NB_ROWS.NAME=Number of rows
VALUES.NAME=Values
VALUES.ITEM.VALUE=Value
INTABLE.NAME=Inline Table
MODE.NAME=Mode
USE_SINGLEMODE.NAME=Use Single Table
USE_INTABLE.NAME=Use Inline Table
USE_INLINECONTENT.NAME=Use Inline Content(delimited file)
INLINECONTENT.NAME=Content
ROWSEPARATOR.NAME=Row Separator
FIELDSEPARATOR.NAME=Field Separator

View File

@@ -1,7 +0,0 @@
NB_LINE.NAME=Anzahl an Zeilen
VALUES.NAME=Wert
VALUES.ITEM.VALUE=Wert
MODE.NAME=Modus
INLINECONTENT.NAME=Inhalt
ROWSEPARATOR.NAME=Zeilenseparator
FIELDSEPARATOR.NAME=Feldseparator

View File

@@ -1,6 +0,0 @@
NB_ROWS.NAME=N\u00FAmero de filas
VALUES.NAME=Valores
VALUES.ITEM.VALUE=Valor
INLINECONTENT.NAME=Contenido
ROWSEPARATOR.NAME=Separador de Fila
FIELDSEPARATOR.NAME=Separador de Campo

View File

@@ -1,14 +0,0 @@
LONG_NAME=Cr\u00E9e un flux fixe \u00E0 partir de variables internes
HELP=org.talend.help.tFixedFlowInput
NB_LINE.NAME=Nombre de lignes
NB_ROWS.NAME=Nombre de lignes
VALUES.NAME=Valeurs
VALUES.ITEM.VALUE=Valeur
INTABLE.NAME=Utiliser le tableau
MODE.NAME=Mode
USE_SINGLEMODE.NAME=Utiliser une table seule
USE_INTABLE.NAME=Utiliser le tableau
USE_INLINECONTENT.NAME=Utiliser du contenu align\u00E9 (fichier d\u00E9limit\u00E9)
INLINECONTENT.NAME=Contenu
ROWSEPARATOR.NAME=S\u00E9parateur de lignes
FIELDSEPARATOR.NAME=S\u00E9parateur de champs

View File

@@ -1,13 +0,0 @@
LONG_NAME=Crea un flusso fisso da variabili interne
NB_LINE.NAME=Numero di linee
NB_ROWS.NAME=Numero di righe
VALUES.NAME=Valori
VALUES.ITEM.VALUE=Valore
INTABLE.NAME=Tabella InLine
MODE.NAME=Modo
USE_SINGLEMODE.NAME=Utilizza tabella singola
USE_INTABLE.NAME=Utilizza tabella InLine
USE_INLINECONTENT.NAME=Utilizza contenuto Inline (file delimitato)
INLINECONTENT.NAME=contenuto
ROWSEPARATOR.NAME=Separatore riga
FIELDSEPARATOR.NAME=Separatore di campo

View File

@@ -1,14 +0,0 @@
LONG_NAME=\u5185\u90E8\u5909\u6570\u304B\u3089\u56FA\u5B9A\u30D5\u30ED\u30FC\u3092\u751F\u6210\u3057\u307E\u3059\u3002
HELP=org.talend.help.tFixedFlowInput
NB_LINE.NAME=\u884C\u6570
NB_ROWS.NAME=\u884C\u6570
VALUES.NAME=\u5024
VALUES.ITEM.VALUE=\u5024
INTABLE.NAME=\u30A4\u30F3\u30E9\u30A4\u30F3\u30C6\u30FC\u30D6\u30EB
MODE.NAME=\u30E2\u30FC\u30C9
USE_SINGLEMODE.NAME=\u30B7\u30F3\u30B0\u30EB\u30C6\u30FC\u30D6\u30EB\u306E\u4F7F\u7528
USE_INTABLE.NAME=\u30A4\u30F3\u30E9\u30A4\u30F3\u30C6\u30FC\u30D6\u30EB\u306E\u4F7F\u7528
USE_INLINECONTENT.NAME=\u30A4\u30F3\u30E9\u30A4\u30F3\u30B3\u30F3\u30C6\u30F3\u30C4\u3092\u4F7F\u7528
INLINECONTENT.NAME=\u30B3\u30F3\u30C6\u30F3\u30C4
ROWSEPARATOR.NAME=\u884C\u533A\u5207\u308A
FIELDSEPARATOR.NAME=\u30D5\u30A3\u30FC\u30EB\u30C9\u533A\u5207\u308A

View File

@@ -1,10 +0,0 @@
LONG_NAME=\u5185\u90E8\u5909\u6570\u304B\u3089\u56FA\u5B9A\u30D5\u30ED\u30FC\u3092\u4F5C\u6210
HELP=org.talend.help.tFixedFlowInput
NB_LINE.NAME=\u884c\u6570
NB_ROWS.NAME=\u30ed\u30a6\u6570
VALUES.NAME=\u5024
VALUES.ITEM.VALUE=\u5024
MODE.NAME=\u30E2\u30FC\u30C9
INLINECONTENT.NAME=\u30B3\u30F3\u30C6\u30F3\u30C4
ROWSEPARATOR.NAME=\u30ED\u30A6\u30BB\u30D1\u30EC\u30FC\u30BF
FIELDSEPARATOR.NAME=\u30D5\u30A3\u30FC\u30EB\u30C9\u30BB\u30D1\u30EC\u30FC\u30BF

View File

@@ -1,6 +0,0 @@
NB_LINE.NAME=\u0427\u0438\u0441\u043B\u043E \u0441\u0442\u0440\u043E\u043A
VALUES.NAME=\u0417\u043D\u0430\u0447\u0435\u043D\u0438\u044F
VALUES.ITEM.VALUE=\u0417\u043D\u0430\u0447\u0435\u043D\u0438\u0435
INLINECONTENT.NAME=\u0441\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0435
ROWSEPARATOR.NAME=\u0420\u0430\u0437\u0434\u0435\u043B\u0438\u0442\u0435\u043B\u044C \u0441\u0442\u0440\u043E\u043A
FIELDSEPARATOR.NAME=\u0420\u0430\u0437\u0434\u0435\u043B\u0438\u0442\u0435\u043B\u044C \u043F\u043E\u043B\u0435\u0439

View File

@@ -1,3 +0,0 @@
VALUES.ITEM.VALUE=Hodnota
MODE.NAME=M\u00F3d
INLINECONTENT.NAME=Obsah

View File

@@ -1,3 +0,0 @@
VALUES.ITEM.VALUE=Hodnota
MODE.NAME=Mód
INLINECONTENT.NAME=Obsah

View File

@@ -1,14 +0,0 @@
LONG_NAME=\u4ECE\u5185\u90E8\u53D8\u91CF\u521B\u5EFA\u56FA\u5B9A\u6D41
HELP=org.talend.help.tFixedFlowInput
NB_LINE.NAME=\u884C\u6570
NB_ROWS.NAME=\u884C\u6570
VALUES.NAME=\u503C
VALUES.ITEM.VALUE=\u503C
INTABLE.NAME=\u5185\u8054\u8868
MODE.NAME=\u6A21\u5F0F
USE_SINGLEMODE.NAME=\u4F7F\u7528\u5355\u8868
USE_INTABLE.NAME=\u4F7F\u7528\u5185\u8054\u8868
USE_INLINECONTENT.NAME=\u4F7F\u7528\u5185\u8054\u5185\u5BB9 (\u5206\u9694\u6587\u4EF6)
INLINECONTENT.NAME=\u5185\u5BB9
ROWSEPARATOR.NAME=\u884C\u5206\u9694\u7B26
FIELDSEPARATOR.NAME=\u5B57\u6BB5\u5206\u9694\u7B26

View File

@@ -1,14 +0,0 @@
<%@ jet
imports="
org.talend.core.model.process.INode
org.talend.core.model.process.ElementParameterParser
org.talend.designer.codegen.config.CodeGeneratorArgument
"
%>
<%
CodeGeneratorArgument codeGenArgument = (CodeGeneratorArgument) argument;
INode node = (INode)codeGenArgument.getArgument();
%>
<%=ElementParameterParser.getValue(node, "__CODE__") %>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

View File

@@ -1,52 +0,0 @@
<COMPONENT>
<HEADER
PLATEFORM="ALL"
SERIAL=""
VERSION="0.101"
STATUS="ALPHA"
COMPATIBILITY="ALL"
AUTHOR="Talend"
RELEASE_DATE="20070210A"
STARTABLE="true"
PARTITIONING="AUTO"
>
<SIGNATURE></SIGNATURE>
</HEADER>
<FAMILIES>
<FAMILY>Custom_Code</FAMILY>
</FAMILIES>
<DOCUMENTATION>
<URL/>
</DOCUMENTATION>
<CONNECTORS>
<CONNECTOR CTYPE="FLOW" MAX_INPUT="1" MAX_OUTPUT="1"/>
<CONNECTOR CTYPE="ITERATE" MAX_OUTPUT="1" MAX_INPUT="1"/>
<CONNECTOR CTYPE="SUBJOB_OK" MAX_INPUT="1" />
<CONNECTOR CTYPE="SUBJOB_ERROR" MAX_INPUT="1" />
<CONNECTOR CTYPE="COMPONENT_OK"/>
<CONNECTOR CTYPE="COMPONENT_ERROR"/>
<CONNECTOR CTYPE="RUN_IF"/>
</CONNECTORS>
<PARAMETERS>
<PARAMETER NAME="CODE" FIELD="MEMO_JAVA" RAW="true" REQUIRED="false" NUM_ROW="2" NB_LINES="9" CONTEXT="begin">
<DEFAULT>String foo = "bar";</DEFAULT>
</PARAMETER>
</PARAMETERS>
<ADVANCED_PARAMETERS>
<PARAMETER NAME="IMPORT" FIELD="MEMO_IMPORT" RAW="true" REQUIRED="false" NUM_ROW="1" NB_LINES="3">
<DEFAULT>//import java.util.List;</DEFAULT>
</PARAMETER>
</ADVANCED_PARAMETERS>
<CODEGENERATION/>
<RETURNS/>
</COMPONENT>

View File

@@ -1,4 +0,0 @@
CODE.NAME=Code
HELP=org.talend.help.tJava
LONG_NAME=Allows to enter manually the start Java-code part of a component
IMPORT.NAME=Import

View File

@@ -1,3 +0,0 @@
CODE.NAME=Code
LONG_NAME=Erm\u00F6glich die manuelle Eingabe des Java-Codes f\u00FCr den Start Bereich der Komponente
IMPORT.NAME=Importiere

View File

@@ -1,4 +0,0 @@
CODE.NAME=Code
HELP=org.talend.help.tJava
LONG_NAME=Permet de saisir manuellement le code Java initial d'un composant
IMPORT.NAME=Import

View File

@@ -1,3 +0,0 @@
CODE.NAME=Codice
LONG_NAME=Permetti di inserire manualmente lo start Java-code in un componente
IMPORT.NAME=Importa

View File

@@ -1,4 +0,0 @@
CODE.NAME=\u30B3\u30FC\u30C9
HELP=org.talend.help.tJava
LONG_NAME=Java\u30B3\u30FC\u30C9\u306B\u3066\u3001\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u958B\u59CB\u51E6\u7406(begin)\u306E\u30B9\u30AF\u30EA\u30D7\u30C8\u3092\u30DE\u30CB\u30E5\u30A2\u30EB\u4F5C\u6210
IMPORT.NAME=\u30A4\u30F3\u30DD\u30FC\u30C8

View File

@@ -1,4 +0,0 @@
CODE.NAME=\u30B3\u30FC\u30C9
HELP=org.talend.help.tJava
LONG_NAME=Java\u30B3\u30FC\u30C9\u306B\u3066\u3001\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u958B\u59CB\u51E6\u7406(begin)\u306E\u30B9\u30AF\u30EA\u30D7\u30C8\u3092\u30DE\u30CB\u30E5\u30A2\u30EB\u4F5C\u6210
IMPORT.NAME=\u30A4\u30F3\u30DD\u30FC\u30C8

View File

@@ -1 +0,0 @@
CODE.NAME=\u041A\u043E\u0434

View File

@@ -1,4 +0,0 @@
CODE.NAME=\u4EE3\u7801
HELP=org.talend.help.tJava
LONG_NAME=\u5141\u8BB8\u624B\u52A8\u8F93\u5165\u7EC4\u4EF6\u7684 Java \u4EE3\u7801\u7684\u5F00\u59CB\u90E8\u5206\u3002
IMPORT.NAME=\u5BFC\u5165

View File

@@ -1,441 +0,0 @@
<%@ jet
imports="
org.talend.core.model.process.INode
org.talend.core.model.process.ElementParameterParser
org.talend.designer.codegen.config.CodeGeneratorArgument
org.talend.core.model.metadata.IMetadataTable
org.talend.core.model.metadata.IMetadataColumn
org.talend.core.model.metadata.types.JavaType
org.talend.core.model.process.IConnection
org.talend.core.model.process.IConnectionCategory
org.talend.core.model.metadata.types.JavaTypesManager
org.talend.core.model.utils.NodeUtil
java.util.List
java.util.Map
"
%>
<%
CodeGeneratorArgument codeGenArgument = (CodeGeneratorArgument) argument;
INode node = (INode)codeGenArgument.getArgument();
List<IMetadataTable> metadatas = node.getMetadataList();
if ((metadatas!=null)&&(metadatas.size()>0)) {//1
IMetadataTable metadata = metadatas.get(0);
if (metadata!=null) {//2
String cid = node.getUniqueName();
String label = ElementParameterParser.getValue(node, "__LABEL__");
if(("__UNIQUE_NAME__").equals(label))
label=cid;
boolean tablePrint = ("true").equals(ElementParameterParser.getValue(node,"__TABLE_PRINT__"));
String printHeader = ElementParameterParser.getValue(node,"__PRINT_HEADER__");
boolean vertical = ("true").equals(ElementParameterParser.getValue(node,"__VERTICAL__"));
boolean uniquePrint = ("true").equals(ElementParameterParser.getValue(node,"__PRINT_UNIQUE__"));
boolean titlePrint = ("true").equals(ElementParameterParser.getValue(node,"__PRINT_LABEL__"));
boolean uniqueTitlePrint = ("true").equals(ElementParameterParser.getValue(node,"__PRINT_UNIQUE_LABEL__"));
boolean basic = !(tablePrint||vertical);
boolean isLog4jEnabled = ("true").equals(ElementParameterParser.getValue(node.getProcess(), "__LOG4J_ACTIVATE__"));
boolean isLogContent = ("true").equals(ElementParameterParser.getValue(node,"__PRINT_CONTENT_WITH_LOG4J__"));
List<IMetadataColumn> columns = metadata.getListColumns();
int sizeColumns = columns.size();
%>
///////////////////////
<%
if(tablePrint) { // table display mode
%>
<%@ include file="@{org.talend.designer.components.localprovider}/components/templates/tablePrintLogUtil.javajet"%>
<%
}
// vertical display mode
if(vertical) {
%>
class Util_<%=cid %> {
String[] des_top = { ".", "-" };
String[] des_data = { "-", "+" };
String[] des_frame = { "|" };
public void printLine(StringBuilder sb, int titleWidth, int dataWidth){
sb.append("+");
for(int i=0; i<titleWidth+2; i++)
sb.append("-");
sb.append("+");
for(int i=0; i<dataWidth+2; i++)
sb.append("-");
sb.append("+" + "\n");
}
public String print(String[] row, int nbLine){
StringBuilder sb = new StringBuilder();
<%
if(uniquePrint) {
%>
String title = "#" + nbLine + ". " + "<%=cid%>";
<%
} else if(titlePrint) {
%>
String title = "#" + nbLine + ". " + "<%=label%>";
<%
} else if(uniqueTitlePrint) {
%>
String title = "#" + nbLine + ". " + "<%=cid%>--<%=label%>";
<%
}
%>
//step 1: get the max length of all the row[] member;
int dataWidth = 5; //the length of the string "value"
for(int i=0;i<row.length;i++) {
if(row[i] == null && 4 > dataWidth) {
dataWidth = 4;
}
else if(row[i] != null && row[i].length()>dataWidth)
dataWidth = row[i].length();
}
<%
int titleWidth = 3; //the length of the string 'key'
for(IMetadataColumn column:columns)
if(column.getLabel().length()>titleWidth) titleWidth = column.getLabel().length();
%>
int titleWidth = <%=titleWidth%>;
int totalWidth = dataWidth + titleWidth + 5;
//step 2: print the header with line number
sb.append(".");
for(int i=0 ; i<totalWidth ; i++)
sb.append("-");
sb.append("." + "\n" + "|");
int emptyCenterWidth = (totalWidth-title.length())/2;
for(int i=0 ; i<emptyCenterWidth; i++)
sb.append(" ");
sb.append(title);
for(int i=0 ; i<totalWidth - emptyCenterWidth - title.length() ; i++)
sb.append(" ");
sb.append("|" + "\n");
//step 3: print "key" and "value"
printLine(sb,titleWidth,dataWidth);
sb.append("|" + " key");
for(int i=0; i<titleWidth-2; i++)
sb.append(" ");
sb.append("|" + " value");
for(int i=0; i<dataWidth-4; i++)
sb.append(" ");
sb.append("|" + "\n");
printLine(sb,titleWidth,dataWidth);
//step 4: print dataset
<%
int count = 0;
for(IMetadataColumn column:columns){
%>
//for(int i=0; i<row.length; i++){
sb.append("| " + "<%=column.getLabel()%>");
for(int i=0; i<titleWidth -"<%=column.getLabel()%>".length()+ 1 ;i++)
sb.append(" ");
sb.append("| " + row[<%=count%>]);
for(int i=0; row[<%=count%>] == null && i<dataWidth - 3 || row[<%=count%>] != null && i<dataWidth -row[<%=count%>].length()+ 1 ;i++)
sb.append(" ");
sb.append("|" + "\n");
//}
<%
count++;
}%>
//step 5: print a line gap
printLine(sb,titleWidth,dataWidth);
return sb.toString();
}
}
Util_<%=cid %> util_<%=cid %> = new Util_<%=cid %>();
java.io.PrintStream consoleOut_<%=cid%> = null;
if (globalMap.get("tLogRow_CONSOLE")!=null){
consoleOut_<%=cid%> = (java.io.PrintStream) globalMap.get("tLogRow_CONSOLE");
}else{
consoleOut_<%=cid%> = new java.io.PrintStream(new java.io.BufferedOutputStream(System.out));
globalMap.put("tLogRow_CONSOLE",consoleOut_<%=cid%>);
}
<%
}
if(basic) {// basic display mode
%>
final String OUTPUT_FIELD_SEPARATOR_<%=cid %> = <%=ElementParameterParser.getValue(node, "__FIELDSEPARATOR__") %>;
java.io.PrintStream consoleOut_<%=cid%> = null;
<%
if (("true").equals(printHeader)) {
%>
StringBuilder sbHeader_<%=cid%> = new StringBuilder();
<%
for (int i = 0; i < sizeColumns; i++) {
IMetadataColumn column = columns.get(i);
%>
sbHeader_<%=cid%>.append("<%=column.getLabel() %>");
<%
if(i == sizeColumns-1) break;
%>
sbHeader_<%=cid%>.append("\t");
<%
}
%>
if (globalMap.get("tLogRow_CONSOLE")!=null)
{
consoleOut_<%=cid%> = (java.io.PrintStream) globalMap.get("tLogRow_CONSOLE");
}
else
{
consoleOut_<%=cid%> = new java.io.PrintStream(new java.io.BufferedOutputStream(System.out));
globalMap.put("tLogRow_CONSOLE",consoleOut_<%=cid%>);
}
<%
if(isLogContent && isLog4jEnabled){
%>
log.info("<%=cid%> - Header names: " + sbHeader_<%=cid%>.toString());
<%
}
%>
consoleOut_<%=cid%>.println(sbHeader_<%=cid%>.toString());
consoleOut_<%=cid%>.flush();
<%
}
%>
<%
}
%>
StringBuilder strBuffer_<%=cid%> = null;
int nb_line_<%=cid%> = 0;
///////////////////////
<%
String printColumnNames = ElementParameterParser.getValue(node,"__PRINT_COLNAMES__");
String useFixedLength = ElementParameterParser.getValue(node,"__USE_FIXED_LENGTH__");
List<Map<String, String>> lengths = (List<Map<String,String>>)ElementParameterParser.getObjectValue(node,"__LENGTHS__");
List< ? extends IConnection> conns = node.getIncomingConnections();
for (IConnection conn : conns) {//3
if (conn.getLineStyle().hasConnectionCategory(IConnectionCategory.DATA)) {//4
int schemaOptNum=100;
String schemaOptNumStr=ElementParameterParser.getValue(node, "__SCHEMA_OPT_NUM__");
if(schemaOptNumStr!=null && !"".equals(schemaOptNumStr) && !"\"\"".equals(schemaOptNumStr)){
schemaOptNum = Integer.parseInt(schemaOptNumStr);
}
boolean isOptimizeCode = false;
if(schemaOptNum < sizeColumns){
isOptimizeCode = true;
}
if(isOptimizeCode){//5
%>
class LogRowUtil_<%=cid%>{
<%
if (basic||vertical) { // A1
for (int i = 0; i < sizeColumns; i++) {//B1
IMetadataColumn column = columns.get(i);
JavaType javaType = JavaTypesManager.getJavaTypeFromId(column.getTalendType());
if(i%schemaOptNum==0){
%>
public void putBasicVerticalValue_<%=i/schemaOptNum%>(final <%=NodeUtil.getPrivateConnClassName(conn)%>Struct <%=conn.getName() %>,StringBuilder strBuffer_<%=cid%>){
<%
}
if (("true").equals(useFixedLength)) {//fix the column length
%>
java.util.Formatter formatter_<%=column.getLabel() %>_<%=cid%> = new java.util.Formatter(new StringBuilder());
<%
}
if (("true").equals(printColumnNames)) {//print the schema name
%>
strBuffer_<%=cid%>.append("<%=column.getLabel() %>: ");
<%
}
boolean isPrimitive = JavaTypesManager.isJavaPrimitiveType( javaType, column.isNullable());
if(!isPrimitive) { //begin
%>
if(<%=conn.getName() %>.<%=column.getLabel() %> != null) { //
<%
}
if (("true").equals(useFixedLength)) {//AAA
%>
strBuffer_<%=cid%>.append(formatter_<%=column.getLabel() %>_<%=cid%>.format("%1$"+<%=lengths.get(i).get("LENGTH") %>+"s",
<%
String pattern = column.getPattern() == null || column.getPattern().trim().length() == 0 ? null : column.getPattern();
if (javaType == JavaTypesManager.DATE && pattern != null && pattern.trim().length() != 0) {//Date
%>
FormatterUtils.format_Date(<%=conn.getName() %>.<%=column.getLabel() %>, <%= pattern %>)
<%
} else if (javaType == JavaTypesManager.BYTE_ARRAY) {//byte[]
%>
java.nio.charset.Charset.defaultCharset().decode(java.nio.ByteBuffer.wrap(<%=conn.getName() %>.<%=column.getLabel() %>)).toString()
<%
} else if (javaType == JavaTypesManager.BIGDECIMAL) {
%>
<%=column.getPrecision() == null? conn.getName() + "." + column.getLabel() : conn.getName() + "." + column.getLabel() + ".setScale(" + column.getPrecision() + ", java.math.RoundingMode.HALF_UP)" %>.toPlainString()
<%
} else if (javaType == JavaTypesManager.DOUBLE || javaType == JavaTypesManager.FLOAT ) {
%>
FormatterUtils.formatUnwithE(<%=conn.getName() %>.<%=column.getLabel() %>)
<%
} else {//others
%>
String.valueOf(<%=conn.getName() %>.<%=column.getLabel() %>)
<%
}
%>
).toString());
<%
} else {//AAA
%>
strBuffer_<%=cid%>.append(
<%
String pattern = column.getPattern() == null || column.getPattern().trim().length() == 0 ? null : column.getPattern();
if (javaType == JavaTypesManager.DATE && pattern != null && pattern.trim().length() != 0) {//Date
%>
FormatterUtils.format_Date(<%=conn.getName() %>.<%=column.getLabel() %>, <%= pattern %>)
<%
} else if (javaType == JavaTypesManager.BYTE_ARRAY) {//byte[]
%>
java.nio.charset.Charset.defaultCharset().decode(java.nio.ByteBuffer.wrap(<%=conn.getName() %>.<%=column.getLabel() %>)).toString()
<%
} else if (javaType == JavaTypesManager.BIGDECIMAL) {
%>
<%=column.getPrecision() == null? conn.getName() + "." + column.getLabel() : conn.getName() + "." + column.getLabel() + ".setScale(" + column.getPrecision() + ", java.math.RoundingMode.HALF_UP)" %>.toPlainString()
<%
} else if (javaType == JavaTypesManager.DOUBLE || javaType == JavaTypesManager.FLOAT ) {
%>
FormatterUtils.formatUnwithE(<%=conn.getName() %>.<%=column.getLabel() %>)
<%
} else {//others
%>
String.valueOf(<%=conn.getName() %>.<%=column.getLabel() %>)
<%
}
%>
);
<%
}//AAA
if(!isPrimitive) {//end
%>
} //
<%
}
if(i == sizeColumns-1){
if((i+1)%schemaOptNum==0){
%>
}
<%
}
break;
}else{
%>
strBuffer_<%=cid%>.append(<%=ElementParameterParser.getValue(node, "__FIELDSEPARATOR__") %>);
<%
}
if((i+1)%schemaOptNum==0){
%>
}
<%
}
}//B1
if(sizeColumns>0 && (sizeColumns%schemaOptNum)>0){
%>
}
<%
}
}//A1
if(tablePrint || vertical) { //C1
for (int i = 0; i < sizeColumns; i++) {//D1
IMetadataColumn column = columns.get(i);
JavaType javaType = JavaTypesManager.getJavaTypeFromId(column.getTalendType());
boolean isPrimitive = JavaTypesManager.isJavaPrimitiveType( javaType, column.isNullable());
if(i%schemaOptNum==0){
%>
public void putTableVerticalValue_<%=i/schemaOptNum%>(final <%=NodeUtil.getPrivateConnClassName(conn) %>Struct <%=conn.getName() %>,String[] row_<%=cid%>){
<%
}
if(!isPrimitive) { //begin
%>
if(<%=conn.getName() %>.<%=column.getLabel() %> != null) { //
<%
}
%>
row_<%=cid%>[<%=i %>]=
<%
String pattern = column.getPattern() == null || column.getPattern().trim().length() == 0 ? null : column.getPattern();
if (javaType == JavaTypesManager.DATE && pattern != null && pattern.trim().length() != 0) {//Date
%>
FormatterUtils.format_Date(<%=conn.getName() %>.<%=column.getLabel() %>, <%= pattern %>)
<%
} else if (javaType == JavaTypesManager.BYTE_ARRAY) {//byte[]
%>
java.nio.charset.Charset.defaultCharset().decode(java.nio.ByteBuffer.wrap(<%=conn.getName() %>.<%=column.getLabel() %>)).toString()
<%
} else if (javaType == JavaTypesManager.BIGDECIMAL) {
%>
<%=column.getPrecision() == null? conn.getName() + "." + column.getLabel() : conn.getName() + "." + column.getLabel() + ".setScale(" + column.getPrecision() + ", java.math.RoundingMode.HALF_UP)" %>.toPlainString()
<%
} else if (javaType == JavaTypesManager.DOUBLE || javaType == JavaTypesManager.FLOAT ) {
%>
FormatterUtils.formatUnwithE(<%=conn.getName() %>.<%=column.getLabel() %>)
<%
} else {//others
%>
String.valueOf(<%=conn.getName() %>.<%=column.getLabel() %>)
<%
}
%>
;
<%
if(!isPrimitive) {//end
%>
} //
<%
}
if((i+1)%schemaOptNum==0){
%>
}
<%
}
}//D1
if(sizeColumns>0&&(sizeColumns%schemaOptNum)>0){
%>
}
<%
}
}//C1
%>
}
LogRowUtil_<%=cid%> logRowUtil_<%=cid%>=new LogRowUtil_<%=cid%>();
<%
}//5
}//4
}//3
}//2
}//1
%>

View File

@@ -1,54 +0,0 @@
<%@ jet
imports="
org.talend.core.model.process.INode
org.talend.core.model.process.ElementParameterParser
org.talend.designer.codegen.config.CodeGeneratorArgument
org.talend.core.model.metadata.IMetadataTable
java.util.List
"
%>
<%@ include file="@{org.talend.designer.components.localprovider}/components/templates/Log4j/LogUtil.javajet"%>
<%
CodeGeneratorArgument codeGenArgument = (CodeGeneratorArgument) argument;
INode node = (INode)codeGenArgument.getArgument();
log = new LogUtil(node);
List<IMetadataTable> metadatas = node.getMetadataList();
if ((metadatas!=null)&&(metadatas.size()>0)) {//1
IMetadataTable metadata = metadatas.get(0);
if (metadata!=null) {//2
String cid = node.getUniqueName();
String tablePrint = ElementParameterParser.getValue(node,"__TABLE_PRINT__");
%>
//////
<%
if (("true").equals(tablePrint)) {//print all records one time
%>
java.io.PrintStream consoleOut_<%=cid%> = null;
if (globalMap.get("tLogRow_CONSOLE")!=null)
{
consoleOut_<%=cid%> = (java.io.PrintStream) globalMap.get("tLogRow_CONSOLE");
}
else
{
consoleOut_<%=cid%> = new java.io.PrintStream(new java.io.BufferedOutputStream(System.out));
globalMap.put("tLogRow_CONSOLE",consoleOut_<%=cid%>);
}
consoleOut_<%=cid%>.println(util_<%=cid %>.format().toString());
consoleOut_<%=cid%>.flush();
<%
}
%>
//////
globalMap.put("<%=cid %>_NB_LINE",nb_line_<%=cid %>);
<%log.info(log.str("Printed row count: "), log.var("nb_line"), log.str("."));%>
///////////////////////
<%
}//2
}//1
%>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

View File

@@ -1,103 +0,0 @@
<!-- $Id: tLogRow_perl.xml 1528 2007-01-19 17:03:36 +0000 (星期五, 19 一月 2007) smallet $ -->
<COMPONENT>
<HEADER PLATEFORM="ALL" SERIAL="" VERSION="0.101" STATUS="ALPHA"
COMPATIBILITY="ALL" AUTHOR="Talend" RELEASE_DATE="20050320A"
STARTABLE="false" PARTITIONING="AUTO" LOG4J_ENABLED="true">
<SIGNATURE></SIGNATURE>
</HEADER>
<FAMILIES>
<FAMILY>Logs_Errors</FAMILY>
</FAMILIES>
<DOCUMENTATION>
<URL />
</DOCUMENTATION>
<CONNECTORS>
<CONNECTOR CTYPE="FLOW" MAX_INPUT="1" MAX_OUTPUT="1"/>
<CONNECTOR CTYPE="ITERATE" MAX_OUTPUT="0" MAX_INPUT="0" />
<CONNECTOR CTYPE="SUBJOB_OK" MAX_INPUT="1" />
<CONNECTOR CTYPE="SUBJOB_ERROR" MAX_INPUT="1" />
<CONNECTOR CTYPE="COMPONENT_OK" />
<CONNECTOR CTYPE="COMPONENT_ERROR" />
<CONNECTOR CTYPE="RUN_IF" />
</CONNECTORS>
<PARAMETERS>
<PARAMETER NAME="SCHEMA" FIELD="SCHEMA_TYPE" REQUIRED="true"
NUM_ROW="10" />
<PARAMETER NAME="BASIC_MODE" FIELD="RADIO" NUM_ROW="11" GROUP="MODE">
<DEFAULT>true</DEFAULT>
</PARAMETER>
<PARAMETER NAME="TABLE_PRINT" FIELD="RADIO" NUM_ROW="12" GROUP="MODE">
<DEFAULT>false</DEFAULT>
</PARAMETER>
<PARAMETER NAME="VERTICAL" FIELD="RADIO" NUM_ROW="13" GROUP="MODE">
<DEFAULT>false</DEFAULT>
</PARAMETER>
<PARAMETER NAME="PRINT_UNIQUE" FIELD="RADIO" GROUP="TITLE_PRINT" NUM_ROW="15"
SHOW_IF="(BASIC_MODE == 'false') and (VERTICAL == 'true')">
<DEFAULT>true</DEFAULT>
</PARAMETER>
<PARAMETER NAME="PRINT_LABEL" FIELD="RADIO" GROUP="TITLE_PRINT" NUM_ROW="15"
SHOW_IF="(BASIC_MODE == 'false') and (VERTICAL == 'true')">
<DEFAULT>false</DEFAULT>
</PARAMETER>
<PARAMETER NAME="PRINT_UNIQUE_LABEL" FIELD="RADIO" GROUP="TITLE_PRINT" NUM_ROW="15"
SHOW_IF="(BASIC_MODE == 'false') and (VERTICAL == 'true')">
<DEFAULT>false</DEFAULT>
</PARAMETER>
<PARAMETER NAME="FIELDSEPARATOR" FIELD="TEXT" NUM_ROW="20"
SHOW_IF="(TABLE_PRINT == 'false') and (VERTICAL == 'false')">
<DEFAULT>"|"</DEFAULT>
</PARAMETER>
<PARAMETER NAME="PRINT_HEADER" FIELD="CHECK" NUM_ROW="25"
SHOW_IF="(TABLE_PRINT == 'false') and (VERTICAL == 'false')">
<DEFAULT>false</DEFAULT>
</PARAMETER>
<PARAMETER NAME="PRINT_UNIQUE_NAME" FIELD="CHECK" NUM_ROW="30"
SHOW_IF="(TABLE_PRINT == 'false') and (VERTICAL == 'false')">
<DEFAULT>false</DEFAULT>
</PARAMETER>
<PARAMETER NAME="PRINT_COLNAMES" FIELD="CHECK" NUM_ROW="40"
SHOW_IF="(TABLE_PRINT == 'false') and (VERTICAL == 'false')">
<DEFAULT>false</DEFAULT>
</PARAMETER>
<PARAMETER NAME="USE_FIXED_LENGTH" FIELD="CHECK" NUM_ROW="50"
SHOW_IF="(TABLE_PRINT == 'false') and (VERTICAL == 'false')">
<DEFAULT>false</DEFAULT>
</PARAMETER>
<PARAMETER NAME="LENGTHS" FIELD="TABLE" REQUIRED="true"
NUM_ROW="60" NB_LINES="5"
SHOW_IF="(USE_FIXED_LENGTH == 'true') and ((TABLE_PRINT == 'false') and (VERTICAL == 'false'))">
<ITEMS BASED_ON_SCHEMA="true">
<ITEM NAME="LENGTH" VALUE="10" />
</ITEMS>
</PARAMETER>
<PARAMETER NAME="PRINT_CONTENT_WITH_LOG4J" FIELD="CHECK" NUM_ROW="70" >
<DEFAULT>true</DEFAULT>
</PARAMETER>
<PARAMETER NAME="SCHEMA_OPT_NUM" FIELD="TEXT" NUM_ROW="100" REQUIRED="true" SHOW="false">
<DEFAULT>100</DEFAULT>
</PARAMETER>
</PARAMETERS>
<CODEGENERATION />
<RETURNS>
<RETURN NAME="NB_LINE" TYPE="id_Integer" AVAILABILITY="AFTER" />
</RETURNS>
</COMPONENT>

View File

@@ -1,313 +0,0 @@
<%@ jet
imports="
org.talend.core.model.process.INode
org.talend.core.model.process.ElementParameterParser
org.talend.core.model.metadata.IMetadataTable
org.talend.core.model.metadata.IMetadataColumn
org.talend.designer.codegen.config.CodeGeneratorArgument
org.talend.core.model.process.IConnection
org.talend.core.model.process.IConnectionCategory
org.talend.core.model.metadata.types.JavaTypesManager
org.talend.core.model.metadata.types.JavaType
java.util.List
java.util.Map
"
%>
<%
CodeGeneratorArgument codeGenArgument = (CodeGeneratorArgument) argument;
INode node = (INode)codeGenArgument.getArgument();
List<IMetadataTable> metadatas = node.getMetadataList();
if ((metadatas!=null)&&(metadatas.size()>0)) {//1
IMetadataTable metadata = metadatas.get(0);
if (metadata!=null) {//2
String cid = node.getUniqueName();
boolean tablePrint = ("true").equals(ElementParameterParser.getValue(node,"__TABLE_PRINT__"));
boolean vertical = ("true").equals(ElementParameterParser.getValue(node,"__VERTICAL__"));
boolean basic = !(tablePrint||vertical);
String printUniqueName = ElementParameterParser.getValue(node,"__PRINT_UNIQUE_NAME__");
String printColumnNames = ElementParameterParser.getValue(node,"__PRINT_COLNAMES__");
String useFixedLength = ElementParameterParser.getValue(node,"__USE_FIXED_LENGTH__");
List<Map<String, String>> lengths = (List<Map<String,String>>)ElementParameterParser.getObjectValue(node,"__LENGTHS__");
boolean isLog4jEnabled = ("true").equals(ElementParameterParser.getValue(node.getProcess(), "__LOG4J_ACTIVATE__"));
boolean isLogContent = ("true").equals(ElementParameterParser.getValue(node,"__PRINT_CONTENT_WITH_LOG4J__"));
List< ? extends IConnection> conns = node.getIncomingConnections();
for (IConnection conn : conns) {//3
if (conn.getLineStyle().hasConnectionCategory(IConnectionCategory.DATA)) {//4
%>
///////////////////////
<%
List<IMetadataColumn> columns = metadata.getListColumns();
int sizeColumns = columns.size();
int schemaOptNum=100;
String schemaOptNumStr=ElementParameterParser.getValue(node, "__SCHEMA_OPT_NUM__");
if(schemaOptNumStr!=null && !"".equals(schemaOptNumStr) && !"\"\"".equals(schemaOptNumStr)){
schemaOptNum = Integer.parseInt(schemaOptNumStr);
}
boolean isOptimizeCode = false;
if(schemaOptNum < sizeColumns){
isOptimizeCode = true;
}
%>
<%
if (basic||vertical) { // don't print the table form//***
%>
strBuffer_<%=cid%> = new StringBuilder();
<%
if (("true").equals(printUniqueName)) {//print the component name.
%>
strBuffer_<%=cid%>.append("[<%=cid%>] ");
<%
}
%>
<%
for (int i = 0; i < sizeColumns; i++) {//5
IMetadataColumn column = columns.get(i);
JavaType javaType = JavaTypesManager.getJavaTypeFromId(column.getTalendType());
if(isOptimizeCode){
if(i%schemaOptNum == 0){
%>
logRowUtil_<%=cid%>.putBasicVerticalValue_<%=i/schemaOptNum%>(<%=conn.getName() %>,strBuffer_<%=cid%>);
<%
}
}else{
if (("true").equals(useFixedLength)) {//fix the column length
%>
java.util.Formatter formatter_<%=column.getLabel() %>_<%=cid%> = new java.util.Formatter(new StringBuilder());
<%
}
%>
<%
if (("true").equals(printColumnNames)) {//print the schema name
%>
strBuffer_<%=cid%>.append("<%=column.getLabel() %>: ");
<%
}
%>
<%
boolean isPrimitive = JavaTypesManager.isJavaPrimitiveType( javaType, column.isNullable());
if(!isPrimitive) { //begin
%>
if(<%=conn.getName() %>.<%=column.getLabel() %> != null) { //
<%
}
%>
<%
if (("true").equals(useFixedLength)) {//fixed the column length
%>
strBuffer_<%=cid%>.append(formatter_<%=column.getLabel() %>_<%=cid%>.format("%1$"+<%=lengths.get(i).get("LENGTH") %>+"s",
<%
String pattern = column.getPattern() == null || column.getPattern().trim().length() == 0 ? null : column.getPattern();
if (javaType == JavaTypesManager.DATE && pattern != null && pattern.trim().length() != 0) {//Date
%>
FormatterUtils.format_Date(<%=conn.getName() %>.<%=column.getLabel() %>, <%= pattern %>)
<%
} else if (javaType == JavaTypesManager.BYTE_ARRAY) {//byte[]
%>
java.nio.charset.Charset.defaultCharset().decode(java.nio.ByteBuffer.wrap(<%=conn.getName() %>.<%=column.getLabel() %>)).toString()
<%
} else if (javaType == JavaTypesManager.BIGDECIMAL) {
%>
<%=column.getPrecision() == null? conn.getName() + "." + column.getLabel() : conn.getName() + "." + column.getLabel() + ".setScale(" + column.getPrecision() + ", java.math.RoundingMode.HALF_UP)" %>.toPlainString()
<%
} else if (javaType == JavaTypesManager.DOUBLE || javaType == JavaTypesManager.FLOAT ) {
%>
FormatterUtils.formatUnwithE(<%=conn.getName() %>.<%=column.getLabel() %>)
<%
} else {//others
%>
String.valueOf(<%=conn.getName() %>.<%=column.getLabel() %>)
<%
}
%>
).toString());
<%
} else {
%>
strBuffer_<%=cid%>.append(
<%
String pattern = column.getPattern() == null || column.getPattern().trim().length() == 0 ? null : column.getPattern();
if (javaType == JavaTypesManager.DATE && pattern != null && pattern.trim().length() != 0) {//Date
%>
FormatterUtils.format_Date(<%=conn.getName() %>.<%=column.getLabel() %>, <%= pattern %>)
<%
} else if (javaType == JavaTypesManager.BYTE_ARRAY) {//byte[]
%>
java.nio.charset.Charset.defaultCharset().decode(java.nio.ByteBuffer.wrap(<%=conn.getName() %>.<%=column.getLabel() %>)).toString()
<%
} else if (javaType == JavaTypesManager.BIGDECIMAL) {
%>
<%=column.getPrecision() == null? conn.getName() + "." + column.getLabel() : conn.getName() + "." + column.getLabel() + ".setScale(" + column.getPrecision() + ", java.math.RoundingMode.HALF_UP)" %>.toPlainString()
<%
} else if (javaType == JavaTypesManager.DOUBLE || javaType == JavaTypesManager.FLOAT ) {
%>
FormatterUtils.formatUnwithE(<%=conn.getName() %>.<%=column.getLabel() %>)
<%
} else {//others
%>
String.valueOf(<%=conn.getName() %>.<%=column.getLabel() %>)
<%
}
%>
);
<%
}
%>
<%
if(!isPrimitive) {//end
%>
} //
<%
}
%>
<%
if(i == sizeColumns-1) break;
%>
strBuffer_<%=cid%>.append(<%=ElementParameterParser.getValue(node, "__FIELDSEPARATOR__") %>);
<%
}
}//5
}
if (basic) {
%>
if (globalMap.get("tLogRow_CONSOLE")!=null)
{
consoleOut_<%=cid%> = (java.io.PrintStream) globalMap.get("tLogRow_CONSOLE");
}
else
{
consoleOut_<%=cid%> = new java.io.PrintStream(new java.io.BufferedOutputStream(System.out));
globalMap.put("tLogRow_CONSOLE",consoleOut_<%=cid%>);
}
<%
if(isLogContent && isLog4jEnabled){
%>
log.info("<%=cid%> - Content of row "+(nb_line_<%=cid %>+1)+": " + strBuffer_<%=cid%>.toString());
<%
}
%>
consoleOut_<%=cid%>.println(strBuffer_<%=cid%>.toString());
consoleOut_<%=cid%>.flush();
nb_line_<%=cid %>++;
<%
}
if(tablePrint || vertical) { //print the table and vertical model//***
%>
String[] row_<%=cid%> = new String[<%=sizeColumns %>];
<%
for (int i = 0; i < sizeColumns; i++) {//5
IMetadataColumn column = columns.get(i);
JavaType javaType = JavaTypesManager.getJavaTypeFromId(column.getTalendType());
if(isOptimizeCode){
if(i%schemaOptNum == 0){
%>
logRowUtil_<%=cid%>.putTableVerticalValue_<%=i/schemaOptNum%>(<%=conn.getName() %>,row_<%=cid%>);
<%
}
}else{
boolean isPrimitive = JavaTypesManager.isJavaPrimitiveType( javaType, column.isNullable());
if(!isPrimitive) { //begin
%>
if(<%=conn.getName() %>.<%=column.getLabel() %> != null) { //
<%
}
%>
row_<%=cid%>[<%=i %>]=
<%
String pattern = column.getPattern() == null || column.getPattern().trim().length() == 0 ? null : column.getPattern();
if (javaType == JavaTypesManager.DATE && pattern != null && pattern.trim().length() != 0) {//Date
%>
FormatterUtils.format_Date(<%=conn.getName() %>.<%=column.getLabel() %>, <%= pattern %>)
<%
} else if (javaType == JavaTypesManager.BYTE_ARRAY) {//byte[]
%>
java.nio.charset.Charset.defaultCharset().decode(java.nio.ByteBuffer.wrap(<%=conn.getName() %>.<%=column.getLabel() %>)).toString()
<%
} else if (javaType == JavaTypesManager.BIGDECIMAL) {
%>
<%=column.getPrecision() == null? conn.getName() + "." + column.getLabel() : conn.getName() + "." + column.getLabel() + ".setScale(" + column.getPrecision() + ", java.math.RoundingMode.HALF_UP)" %>.toPlainString()
<%
} else if (javaType == JavaTypesManager.DOUBLE || javaType == JavaTypesManager.FLOAT ) {
%>
FormatterUtils.formatUnwithE(<%=conn.getName() %>.<%=column.getLabel() %>)
<%
} else {//others
%>
String.valueOf(<%=conn.getName() %>.<%=column.getLabel() %>)
<%
}
%>
;
<%
if(!isPrimitive) {//end
%>
} //
<%
}
%>
<%
}
}//5
if(tablePrint){
%>
util_<%=cid %>.addRow(row_<%=cid%>);
nb_line_<%=cid %>++;
<%
}else{
%>
nb_line_<%=cid %>++;
consoleOut_<%=cid%>.println(util_<%=cid %>.print(row_<%=cid%>,nb_line_<%=cid%>));
consoleOut_<%=cid%>.flush();
<%
}
if(isLogContent && isLog4jEnabled){
%>
log.info("<%=cid%> - Content of row "+nb_line_<%=cid %>+": " + TalendString.unionString("|",row_<%=cid%>));
<%
}
}//***
%>
//////
//////
///////////////////////
<%
}//4
}//3
}//2
}//1
%>

View File

@@ -1,20 +0,0 @@
LONG_NAME=Displays the flow content (rows) on the Run Job console
HELP=org.talend.help.tLogRow
MODE.NAME=Mode
BASIC_MODE.NAME=Basic
TABLE_PRINT.NAME=Table (print values in cells of a table)
VERTICAL.NAME=Vertical (each row is a key/value list)
FIELDSEPARATOR.NAME=Field Separator
NB_LINE.NAME=Number of lines
PRINT_UNIQUE_NAME.NAME=Print component unique name in front of each output row
PRINT_COLNAMES.NAME=Print schema column name in front of each value
USE_FIXED_LENGTH.NAME=Use fixed length for values
LENGTHS.NAME=Lengths
LENGTHS.ITEM.LENGTH=Length
PRINT_HEADER.NAME=Print header
PRINT_UNIQUE.NAME=Print unique name
PRINT_LABEL.NAME=Print label
PRINT_UNIQUE_LABEL.NAME=Print unique name and label
TITLE_PRINT.NAME=Title printing mode
SCHEMA_OPT_NUM.NAME=Min column number of optimize code
PRINT_CONTENT_WITH_LOG4J.NAME=Print content with log4j

View File

@@ -1,10 +0,0 @@
LONG_NAME=Zeigt den Inhalt (Zeilen) des Datenflusses auf der RunJob-Konsole an.
MODE.NAME=Modus
BASIC_MODE.NAME=Einfach
VERTICAL.NAME=Vertikal (wobei jede Zeile eine Schl\u00FCssel/Wertliste ist)
FIELDSEPARATOR.NAME=Feldseparator
NB_LINE.NAME=Anzahl an Zeilen
USE_FIXED_LENGTH.NAME=Feste L\u00E4nge f\u00FCr Werte verwenden
LENGTHS.ITEM.LENGTH=L\u00E4nge
PRINT_HEADER.NAME=Kopfzeile ausgeben
PRINT_LABEL.NAME=Beschriftungen ausgeben

View File

@@ -1,3 +0,0 @@
BASIC_MODE.NAME=Basico
FIELDSEPARATOR.NAME=Separador de Campo
LENGTHS.ITEM.LENGTH=Longitud

View File

@@ -1,20 +0,0 @@
LONG_NAME=Affiche le contenu du flux (lignes) dans la console d'ex\u00E9cution du Job
HELP=org.talend.help.tLogRow
MODE.NAME=Mode
BASIC_MODE.NAME=Simple
TABLE_PRINT.NAME=Table (afficher les valeurs dans des cellules)
VERTICAL.NAME=Vertical (chaque ligne est une liste cl\u00E9/valeur)
FIELDSEPARATOR.NAME=S\u00E9parateur de champs
NB_LINE.NAME=Nombre de lignes
PRINT_UNIQUE_NAME.NAME=Afficher le nom unique du composant devant chaque ligne de sortie
PRINT_COLNAMES.NAME=Afficher le nom de la colonne du sch\u00E9ma en face de chaque valeur
USE_FIXED_LENGTH.NAME=Utiliser une longueur fixe pour les valeurs
LENGTHS.NAME=Longueurs
LENGTHS.ITEM.LENGTH=Longueur
PRINT_HEADER.NAME=Afficher l'en-t\u00EAte
PRINT_UNIQUE.NAME=Afficher le nom unique
PRINT_LABEL.NAME=Afficher le libell\u00E9
PRINT_UNIQUE_LABEL.NAME=Afficher le nom unique et le libell\u00E9
TITLE_PRINT.NAME=Mode d'affichage du titre
SCHEMA_OPT_NUM.NAME=Nombre minimum de colonnes au code optimis\u00E9
PRINT_CONTENT_WITH_LOG4J.NAME=Afficher le contenu avec Log4j

View File

@@ -1,17 +0,0 @@
LONG_NAME=Mostra il contenuto del flusso (righe) nella console del Run Job
MODE.NAME=Modalit\u00E0
BASIC_MODE.NAME=Base
TABLE_PRINT.NAME=Tabella (stampa valori nelle celle di una tabella)
VERTICAL.NAME=Verticale (ogni riga \u00E8 una lista chiave/valore)
FIELDSEPARATOR.NAME=Separatore di campo
NB_LINE.NAME=Numero riga
PRINT_UNIQUE_NAME.NAME=Stampa nome componenti univoci all'inizio di ogni riga di output
PRINT_COLNAMES.NAME=Stampa nome colonna dello schema all'inizio di ogni valore
USE_FIXED_LENGTH.NAME=Usa lunghezza fissa per valori
LENGTHS.NAME=Lunghezze
LENGTHS.ITEM.LENGTH=Lunghezza
PRINT_HEADER.NAME=Stampa Header
PRINT_UNIQUE.NAME=Stampa nome univoco
PRINT_LABEL.NAME=Stampa etichetta
PRINT_UNIQUE_LABEL.NAME=Stampa etichetta e nome univoco
TITLE_PRINT.NAME=Titolo modalit\u00E0 stampa

View File

@@ -1,20 +0,0 @@
LONG_NAME=[\u30B8\u30E7\u30D6\u5B9F\u884C]\u30B3\u30F3\u30BD\u30FC\u30EB\u3067\u30D5\u30ED\u30FC\u30B3\u30F3\u30C6\u30F3\u30C4(\u884C)\u3092\u8868\u793A\u3057\u307E\u3059\u3002
HELP=org.talend.help.tLogRow
MODE.NAME=\u30E2\u30FC\u30C9
BASIC_MODE.NAME=\u30D9\u30FC\u30B7\u30C3\u30AF
TABLE_PRINT.NAME=\u30C6\u30FC\u30D6\u30EB\uFF08\u8868\u306E\u30BB\u30EB\u3067\u5024\u3092\u8868\u793A\uFF09
VERTICAL.NAME=\u7E26\u306B\u51FA\u529B\uFF08\u5404\u884C\u3092\u30AD\u30FC/\u5024\u306E\u30EA\u30B9\u30C8\u3067\u8868\u793A\uFF09
FIELDSEPARATOR.NAME=\u30D5\u30A3\u30FC\u30EB\u30C9\u533A\u5207\u308A
NB_LINE.NAME=\u884C\u6570
PRINT_UNIQUE_NAME.NAME=\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u30E6\u30CB\u30FC\u30AF\u540D\u3092\u51FA\u529B\u306E\u5404\u884C\u306E\u524D\u306B\u8868\u793A
PRINT_COLNAMES.NAME=\u30AB\u30E9\u30E0\u540D\u3092\u5024\u306E\u524D\u306B\u8868\u793A
USE_FIXED_LENGTH.NAME=\u5024\u3092\u56FA\u5B9A\u9577\u3067\u8868\u793A
LENGTHS.NAME=\u9577\u3055
LENGTHS.ITEM.LENGTH=\u9577\u3055
PRINT_HEADER.NAME=\u30D8\u30C3\u30C0\u30FC\u306E\u8868\u793A
PRINT_UNIQUE.NAME=\u30E6\u30CB\u30FC\u30AF\u540D\u306E\u8868\u793A
PRINT_LABEL.NAME=\u30E9\u30D9\u30EB\u306E\u8868\u793A
PRINT_UNIQUE_LABEL.NAME=\u30E6\u30CB\u30FC\u30AF\u540D\u3068\u30E9\u30D9\u30EB\u306E\u8868\u793A
TITLE_PRINT.NAME=\u30BF\u30A4\u30C8\u30EB\u8868\u793A\u30E2\u30FC\u30C9
SCHEMA_OPT_NUM.NAME=\u6700\u9069\u5316\u30B3\u30FC\u30C9\u306E\u6700\u5C0F\u30AB\u30E9\u30E0\u6570
PRINT_CONTENT_WITH_LOG4J.NAME=log4j\u3067\u30B3\u30F3\u30C6\u30F3\u30C4\u3092\u5370\u5237

View File

@@ -1,7 +0,0 @@
HELP=org.talend.help.tLogRow
MODE.NAME=\u30E2\u30FC\u30C9
BASIC_MODE.NAME=\u30D9\u30FC\u30B7\u30C3\u30AF
FIELDSEPARATOR.NAME=\u30D5\u30A3\u30FC\u30EB\u30C9\u30BB\u30D1\u30EC\u30FC\u30BF
NB_LINE.NAME=\u30E9\u30A4\u30F3\u6570
LENGTHS.NAME=\u9577\u3055
LENGTHS.ITEM.LENGTH=\u9577\u3055

View File

@@ -1,5 +0,0 @@
BASIC_MODE.NAME=\u041E\u0441\u043D\u043E\u0432\u043D\u043E\u0439
VERTICAL.NAME=\u0412\u0435\u0440\u0442\u0438\u043A\u0430\u043B\u044C\u043D\u044B\u0439 (\u043A\u0430\u0436\u0434\u044B\u0439 \u0440\u044F\u0434 - \u043F\u0430\u0440\u0430 \u043A\u043B\u044E\u0447/\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435)
FIELDSEPARATOR.NAME=\u0420\u0430\u0437\u0434\u0435\u043B\u0438\u0442\u0435\u043B\u044C \u043F\u043E\u043B\u0435\u0439
NB_LINE.NAME=\u0427\u0438\u0441\u043B\u043E \u0441\u0442\u0440\u043E\u043A
LENGTHS.ITEM.LENGTH=\u0414\u043B\u0438\u043D\u0430

View File

@@ -1,2 +0,0 @@
MODE.NAME=M\u00F3d
LENGTHS.ITEM.LENGTH=D\u013A\u017Eka

View File

@@ -1,2 +0,0 @@
MODE.NAME=Mód
LENGTHS.ITEM.LENGTH=D\u013A\u017Eka

View File

@@ -1,20 +0,0 @@
LONG_NAME=\u5728\u8FD0\u884C\u4F5C\u4E1A\u63A7\u5236\u53F0\u4E0A\u663E\u793A\u6D41\u5185\u5BB9 (\u884C)
HELP=org.talend.help.tLogRow
MODE.NAME=\u6A21\u5F0F
BASIC_MODE.NAME=\u57FA\u672C
TABLE_PRINT.NAME=\u8868 (\u5728\u8868\u7684\u5355\u5143\u683C\u4E2D\u6253\u5370\u503C)
VERTICAL.NAME=\u5782\u76F4 (\u6BCF\u884C\u90FD\u662F\u4E00\u4E2A\u952E/\u503C\u5217\u8868)
FIELDSEPARATOR.NAME=\u5B57\u6BB5\u5206\u9694\u7B26
NB_LINE.NAME=\u884C\u6570
PRINT_UNIQUE_NAME.NAME=\u5728\u6BCF\u4E00\u4E2A\u8F93\u51FA\u884C\u524D\u6253\u5370\u552F\u4E00\u7EC4\u4EF6\u540D
PRINT_COLNAMES.NAME=\u5C06 schema \u5217\u540D\u6253\u5370\u5728\u6BCF\u4E2A\u503C\u7684\u524D\u9762
USE_FIXED_LENGTH.NAME=\u4F7F\u7528\u56FA\u5B9A\u957F\u5EA6\u7684\u503C
LENGTHS.NAME=\u957F\u5EA6
LENGTHS.ITEM.LENGTH=\u957F\u5EA6
PRINT_HEADER.NAME=\u6253\u5370\u6587\u4EF6\u5934
PRINT_UNIQUE.NAME=\u6253\u5370\u552F\u4E00\u540D\u79F0
PRINT_LABEL.NAME=\u6253\u5370\u6807\u7B7E
PRINT_UNIQUE_LABEL.NAME=\u6253\u5370\u552F\u4E00\u540D\u79F0\u548C\u6807\u7B7E
TITLE_PRINT.NAME=\u6807\u9898\u6253\u5370\u6A21\u5F0F
SCHEMA_OPT_NUM.NAME=\u4F18\u5316\u4EE3\u7801\u7684\u6700\u5C0F\u5217\u6570
PRINT_CONTENT_WITH_LOG4J.NAME=\u7528 log4j \u6253\u5370\u5185\u5BB9

View File

@@ -1,57 +0,0 @@
<%@ jet
%>
<%
JavaType[] commonTypes = {
JavaTypesManager.STRING,
JavaTypesManager.INTEGER,
JavaTypesManager.LONG,
JavaTypesManager.SHORT,
JavaTypesManager.BOOLEAN,
JavaTypesManager.CHARACTER,
JavaTypesManager.BYTE,
JavaTypesManager.BYTE_ARRAY,
JavaTypesManager.DATE,
JavaTypesManager.DOUBLE,
JavaTypesManager.FLOAT,
JavaTypesManager.OBJECT,
JavaTypesManager.LIST,
JavaTypesManager.BIGDECIMAL
};
for(JavaType sourceType : commonTypes) {
for(JavaType targetType : commonTypes) {
if(sourceType == targetType) {
continue;
}
String sourceTypeToGenerate = JavaTypesManager.getTypeToGenerate(sourceType.getId(), true);
sourceTypeToGenerate = sourceTypeToGenerate.contains(".") ? sourceTypeToGenerate.substring(sourceTypeToGenerate.lastIndexOf(".") + 1) : sourceTypeToGenerate;
if (("byte[]").equals(sourceTypeToGenerate)){
sourceTypeToGenerate = "byteArray";
}
String targetTypeToGenerate = JavaTypesManager.getTypeToGenerate(targetType.getId(), true);
targetTypeToGenerate = targetTypeToGenerate.contains(".") ? targetTypeToGenerate.substring(targetTypeToGenerate.lastIndexOf(".") + 1) : targetTypeToGenerate;
if (("byte[]").equals(targetTypeToGenerate)){
targetTypeToGenerate = "byteArray";
}
String function = null;
if("Date".equals(targetTypeToGenerate) && ("String".equals(sourceTypeToGenerate)||"Object".equals(sourceTypeToGenerate))) {
function = contact("routines.system.TypeConvert.", sourceTypeToGenerate, "2", targetTypeToGenerate, "(${0}, ${1})");
} else if("String".equals(targetTypeToGenerate) && "Date".equals(sourceTypeToGenerate)) {
function = contact("routines.system.TypeConvert.", sourceTypeToGenerate, "2", targetTypeToGenerate, "(${0}, ${1})");
} else {
function = contact("routines.system.TypeConvert.", sourceTypeToGenerate, "2", targetTypeToGenerate, "(${0})");
}
autoConverterMap.put(contact(sourceType.getId(), ":", targetType.getId()), function);
}
}
autoConverterMap.put(contact("id_Dynamic", ":", JavaTypesManager.STRING.getId()), "String.valueOf(${0})");
autoConverterMap.put(contact("id_Document", ":", JavaTypesManager.STRING.getId()), "String.valueOf(${0})");
autoConverterMap.put(contact(JavaTypesManager.STRING.getId(), ":", "id_Document"), "routines.system.ParserUtils.parseTo_Document(${0})");
%>

View File

@@ -1,40 +0,0 @@
<%@ jet
imports="
java.util.ArrayList
java.util.List
java.util.Map
java.util.HashMap
org.talend.core.model.metadata.IMetadataTable
org.talend.core.model.metadata.IMetadataColumn
org.talend.core.model.metadata.types.JavaTypesManager
org.talend.core.model.metadata.types.JavaType
org.talend.designer.codegen.config.CodeGeneratorArgument
org.talend.designer.mapper.MapperComponent
org.talend.designer.mapper.external.data.ExternalMapperData
org.talend.designer.mapper.external.data.ExternalMapperTable
org.talend.designer.mapper.external.data.ExternalMapperTableEntry
org.talend.core.model.process.IConnection
org.talend.designer.mapper.language.ILanguage
org.talend.designer.mapper.language.generation.GenerationManagerFactory
org.talend.designer.mapper.language.generation.JavaGenerationManager
org.talend.designer.mapper.language.LanguageProvider
org.talend.core.model.process.ElementParameterParser
org.talend.core.model.process.EConnectionType
org.talend.core.model.process.INode
org.talend.core.model.utils.TalendTextUtils
org.talend.designer.mapper.model.tableentry.TableEntryLocation
org.talend.designer.mapper.utils.DataMapExpressionParser
"
skeleton="tMap_commons.skeleton"
%>
<%@ include file="tMap_begin.inc.javajet" %>

View File

@@ -1,259 +0,0 @@
public class CLASS {
public boolean hasConcurrencyContext(List<IConnection> inputConnections, List<? extends INode> graphicalNodes) {
for(IConnection connection : inputConnections) {
EConnectionType connectionType = connection.getLineStyle();
if (connectionType == EConnectionType.FLOW_MAIN) {
INode node = connection.getSource();
return recursiveSearchIterateForConcurrency(node, graphicalNodes);
}
}
return false;
}
public boolean hasIterateConnectionBefore(List<IConnection> inputConnections, List<? extends INode> graphicalNodes) {
for(IConnection connection : inputConnections) {
EConnectionType connectionType = connection.getLineStyle();
if (connectionType == EConnectionType.FLOW_MAIN) {
INode node = connection.getSource();
return recursiveSearchIterate(node, graphicalNodes);
}
}
return false;
}
public boolean recursiveSearchIterate(INode node, List<? extends INode> graphicalNodes) {
//System.out.println(node);
List<IConnection> connections = (List<IConnection>) node.getIncomingConnections();
for(IConnection connection : connections) {
EConnectionType connectionType = connection.getLineStyle();
if (connectionType == EConnectionType.FLOW_MAIN) {
node = connection.getSource();
//System.out.println(connection.getName() + " connectionType=" + connectionType + " connection=" + String.valueOf(connection));
return recursiveSearchIterate(node, graphicalNodes);
} else if(connectionType == EConnectionType.ITERATE) {
//System.out.println("ITERATE return true");
return true;
}else{
//for virtual component
boolean find = false;
for(INode loopNode : graphicalNodes) {
if(loopNode.getUniqueName().equals(node.getUniqueName())){
find = true;
}
}
if(!find){
List<IConnection> vConnections = (List<IConnection>) node.getIncomingConnections();
for(IConnection vConnection : vConnections) {
node = vConnection.getSource();
break;
}
return recursiveSearchIterate(node, graphicalNodes);
}
}
}
//System.out.println("return false");
return false;
}
private boolean recursiveSearchIterateForConcurrency(INode node, List<? extends INode> graphicalNodes) {
List<IConnection> connections = (List<IConnection>) node.getIncomingConnections();
for(IConnection connection : connections) {
EConnectionType connectionType = connection.getLineStyle();
if (connectionType == EConnectionType.FLOW_MAIN) {
node = connection.getSource();
return recursiveSearchIterateForConcurrency(node, graphicalNodes);
} else if(connectionType == EConnectionType.ITERATE) {
boolean parallelIterate = "true".equals(ElementParameterParser.getValue(connection, "__ENABLE_PARALLEL__"));
if(parallelIterate) {
return true;
} else {
node = connection.getSource();
return recursiveSearchIterateForConcurrency(node, graphicalNodes);
}
}else{
//for virtual component
boolean find = false;
for(INode loopNode : graphicalNodes) {
if(loopNode.getUniqueName().equals(node.getUniqueName())){
find = true;
}
}
if(!find){
List<IConnection> vConnections = (List<IConnection>) node.getIncomingConnections();
for(IConnection vConnection : vConnections) {
node = vConnection.getSource();
break;
}
return recursiveSearchIterateForConcurrency(node, graphicalNodes);
}
}
}
return false;
}
public INode searchSubProcessStartNode(IConnection connection) {
INode source = connection.getSource();
//System.out.println(" source=" + source);
INode subprocessStartNode = null;
if(source != null) {
String searchedComponentName = source.getUniqueName();
//System.out.println(" searchedComponentName=" + searchedComponentName);
List<? extends INode> generatedNodes = source.getProcess().getGeneratingNodes();
for(INode loopNode : generatedNodes) {
if(loopNode.getUniqueName().equals(searchedComponentName)) {
subprocessStartNode = loopNode.getSubProcessStartNode(false);
//System.out.println(" subprocessStartNode=" + subprocessStartNode.getUniqueName());
}
}
}
return subprocessStartNode;
}
public boolean hasJoinedTable(String tableNameToTest, ExternalMapperData data) {
for (ExternalMapperTable table : data.getOutputTables()) {
if (table.getIsJoinTableOf() != null && table.getIsJoinTableOf().equals(tableNameToTest)) {
return true;
}
}
return false;
}
public boolean isErrorReject(ExternalMapperTable table){
String errorMessage = null;
String errorStackTrace = null;
if(table!=null&&table.getName()!=null&&table.getName().endsWith("ErrorReject")){
for(ExternalMapperTableEntry entry:table.getMetadataTableEntries()){
if("errorMessage".equals(entry.getName())){
errorMessage = entry.getName();
}else if("errorStackTrace".equals(entry.getName())){
errorStackTrace = entry.getName();
}
}
if(errorMessage!=null&&errorStackTrace!=null){
return true;
}
}
return false;
}
public String getExpressionWithAutoConvertFunction(
String expression,
ExternalMapperTableEntry targetTableEntry,
IMetadataColumn targetColumn,
DataMapExpressionParser expressionParser,
Map<TableEntryLocation, ExternalMapperTableEntry> locationMap4Entry,
Map<TableEntryLocation, IMetadataColumn> locationMap4Column,
Map<String,String> autoConverterMap,
boolean enable_auto_convert_type) {
if(!enable_auto_convert_type) {
return expression;
}
if(expression == null || expression.isEmpty()) {
return expression;
}
TableEntryLocation uniqueLocation = getUniqueEntryLocation(expression);
if(uniqueLocation == null) {
return expression;
}
ExternalMapperTableEntry uniqueSourceEntry = locationMap4Entry.get(uniqueLocation);
if(uniqueSourceEntry == null) {
return expression;
}
String source_talend_type = uniqueSourceEntry.getType();
String target_talend_type = targetTableEntry.getType();
String convertFunction = autoConverterMap.get(contact(source_talend_type, ":", target_talend_type));
if(convertFunction!=null && !convertFunction.isEmpty()) {
StringBuilder strbuilder = new StringBuilder();
if(uniqueSourceEntry.isNullable()) {
strbuilder.append("(((").append(expression).append(") == null) ? null : (");
}
expression = convertFunction.replace("${0}", expression);
String pattern = null;
if((JavaTypesManager.STRING.getId().equals(source_talend_type)||JavaTypesManager.OBJECT.getId().equals(source_talend_type)) && JavaTypesManager.DATE.getId().equals(target_talend_type)) {
if(targetColumn!=null) {
pattern = targetColumn.getPattern();
}
if(pattern == null || pattern.isEmpty()) {
pattern = "\"dd-MM-yyyy\"";
}
} else if(JavaTypesManager.DATE.getId().equals(source_talend_type) && JavaTypesManager.STRING.getId().equals(target_talend_type)) {
IMetadataColumn sourceColumn = locationMap4Column.get(uniqueLocation);
if(sourceColumn!=null) {
pattern = sourceColumn.getPattern();
}
if(pattern == null || pattern.isEmpty()) {
pattern = "\"dd-MM-yyyy\"";
}
}
if(pattern != null) {
expression = expression.replace("${1}", pattern);
}
strbuilder.append(expression);
if(uniqueSourceEntry.isNullable()) {
strbuilder.append("))");
}
return strbuilder.toString();
}
return expression;
}
java.util.regex.Pattern locationPattern = java.util.regex.Pattern.compile(LanguageProvider.getJavaLanguage().getLocationPattern());
private TableEntryLocation getUniqueEntryLocation(String expression) {
java.util.regex.Matcher matcher = locationPattern.matcher(expression);
if(matcher.matches()) {
return new TableEntryLocation(matcher.group(1), matcher.group(2));
}
return null;
}
StringBuilder strbuilder = new StringBuilder(20);
private String contact(String... content) {
strbuilder.setLength(0);
for(String each : content) {
strbuilder.append(each);
}
return strbuilder.toString();
}
public String generate(Object argument) {
}
}

View File

@@ -1,169 +0,0 @@
<%@ jet
imports="
java.util.ArrayList
java.util.List
org.talend.designer.mapper.external.data.ExternalMapperData
org.talend.designer.mapper.external.data.ExternalMapperTable
org.talend.designer.mapper.external.data.ExternalMapperTableEntry
org.talend.designer.codegen.config.CodeGeneratorArgument
org.talend.designer.mapper.MapperComponent
org.talend.core.model.process.IElementParameter
org.talend.core.model.process.INode
org.talend.core.model.process.IConnection
java.util.HashMap
java.util.Map
org.talend.core.model.process.ElementParameterParser
"
skeleton="tMap_commons.skeleton"
%>
<%
CodeGeneratorArgument codeGenArgument = (CodeGeneratorArgument) argument;
MapperComponent node = (MapperComponent) codeGenArgument.getArgument();
boolean stats = codeGenArgument.isStatistics();
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
ExternalMapperData data = (ExternalMapperData) node.getExternalData();
String componentName = node.getUniqueName();
boolean isVirtualIn = componentName.endsWith("TMAP_IN");
boolean isVirtualOut = componentName.endsWith("TMAP_OUT");
List<IConnection> inputConnections = (List<IConnection>) node.getIncomingConnections();
boolean isLog4jEnabled = ("true").equals(ElementParameterParser.getValue(node.getProcess(), "__LOG4J_ACTIVATE__"));
String uniqueNameComponent = componentName.replaceAll("_TMAP_IN", "");
uniqueNameComponent = uniqueNameComponent.replaceAll("_TMAP_OUT", "");
if(isVirtualIn) {
String searchedComponentName = componentName.replaceAll("TMAP_IN", "TMAP_OUT");
List<? extends INode> generatedNodes = node.getProcess().getGeneratingNodes();
for(INode loopNode : generatedNodes) {
if(loopNode.getUniqueName().equals(searchedComponentName)) {
inputConnections = (List<IConnection>) loopNode.getIncomingConnections();
break;
}
}
}
// Bug partially fixed, see bug:785
// Bug partially fixed, see bug:3966
boolean hasIterate = hasIterateConnectionBefore(inputConnections, node.getProcess().getGraphicalNodes());
%>
// ###############################
// # Lookup hashes releasing
<%
if(!isVirtualOut) {
HashMap<String, IConnection> hNameToConnection = new HashMap<String, IConnection>();
for (IConnection connection : inputConnections) {
hNameToConnection.put(connection.getName(), connection);
}
List<ExternalMapperTable> inputTablesList = new ArrayList<ExternalMapperTable>(data.getInputTables());
int lstSizeInputs = inputTablesList.size();
if(lstSizeInputs > 1) {
String mainTableName = inputTablesList.get(0).getName();
int joinedTableIndex = 0;
int tmpJoinedTableIndex = 0;
boolean hasPersistentLookup = false;
for (int i = 0; i < lstSizeInputs; i++) {
ExternalMapperTable inputTable = (ExternalMapperTable) inputTablesList.get(i);
if(hNameToConnection.get(inputTable.getName()) != null) {
if(inputTable.isPersistent()
&& !"ALL_ROWS".equals(inputTable.getMatchingMode())
) {
joinedTableIndex = tmpJoinedTableIndex;
hasPersistentLookup = true;
}
tmpJoinedTableIndex++;
}
}
if(hasPersistentLookup) {
%>
fsi_<%=uniqueNameComponent%>_<%=joinedTableIndex%>.endGet();
<%
}
}
for (int i = 1; i < lstSizeInputs; i++) {
ExternalMapperTable inputTable = (ExternalMapperTable) inputTablesList.get(i);
List<ExternalMapperTableEntry> tableEntries = inputTable.getMetadataTableEntries();
if (tableEntries == null) {
continue;
}
String tableName = inputTable.getName();
IConnection connection = hNameToConnection.get(tableName);
if(connection == null) {
continue;
}
String lookupMode = inputTable.getLookupMode();
boolean isCacheOrReload = org.talend.designer.mapper.model.table.LOOKUP_MODE.CACHE_OR_RELOAD.name().equals(lookupMode);
if(!hasIterate) {
%>
if(tHash_Lookup_<%=tableName%> != null) {
tHash_Lookup_<%=tableName%>.endGet();
}
globalMap.remove( "tHash_Lookup_<%=tableName%>" );
<%
if(isCacheOrReload) {
%>
tHash_Lookup_Cache_<%=tableName%>.endGet();
tHash_Lookup_Cache_<%=tableName%> = null;
tHash_Lookup_Real_<%=tableName%> = null;
<%
}
%>
<%
}
}
}
%>
// ###############################
<%
List<IConnection> outputConnections = (List<IConnection>) node.getOutgoingConnections();
Map<String, IConnection> nameToOutputConnection = new HashMap<String, IConnection>();
for (IConnection connection : outputConnections) {
nameToOutputConnection.put(connection.getName(), connection);
}
List<ExternalMapperTable> outputTables = data.getOutputTables();
for(ExternalMapperTable outputTable : outputTables){
String outputTableName = outputTable.getName();
List<ExternalMapperTableEntry> tableEntries = outputTable.getMetadataTableEntries();
if (tableEntries == null || nameToOutputConnection.get(outputTable.getName()) == null) {
continue;
}
if(isLog4jEnabled){
if(!isVirtualOut) {
%>
log.debug("<%=uniqueNameComponent%> - Written records count in the table '<%=outputTableName%>': " + count_<%=outputTableName%>_<%=uniqueNameComponent%> + ".");
<%
}
}
}
%>

View File

@@ -1,29 +0,0 @@
<%@ jet
imports="
java.util.ArrayList
java.util.List
org.talend.designer.mapper.external.data.ExternalMapperData
org.talend.designer.mapper.external.data.ExternalMapperTable
org.talend.designer.mapper.external.data.ExternalMapperTableEntry
org.talend.designer.codegen.config.CodeGeneratorArgument
org.talend.designer.mapper.MapperComponent
org.talend.core.model.process.INode
java.util.HashMap
java.util.Map
org.talend.core.model.process.IConnection
org.talend.core.model.process.EConnectionType
org.talend.core.model.process.ElementParameterParser
org.talend.designer.mapper.model.tableentry.TableEntryLocation
org.talend.designer.mapper.utils.DataMapExpressionParser
org.talend.designer.mapper.language.LanguageProvider
org.talend.core.model.metadata.IMetadataColumn
org.talend.core.model.metadata.types.JavaTypesManager
"
skeleton="tMap_commons.skeleton"
%>
<%@ include file="tMap_end.inc.javajet" %>

Some files were not shown because too many files have changed in this diff Show More