Compare commits

..

445 Commits

Author SHA1 Message Date
undx
ef236baa03 feat(TCOMP-2443): allow component-server extensions for Studio 2023-05-30 16:16:17 +02:00
mhryb
66e35605bf fix(TDI-49860): guid should manage empty string as null (#8802) 2023-05-30 15:08:32 +03:00
zyuan-talend
042c3a8a5f fix(TUP-38972): tELTInput component schema switches to Built-in each time tELTMap editor is opened (#8789) (#8816) 2023-05-29 16:52:41 +08:00
vyu-talend
107da4b445 feat(TDI-49786):upgrade mysql driver. (#8760) (#8812)
* feat(TDI-49786):upgrade mysql driver.

* feat(TDI-49786):change the driver path.

* feat(TDI-49786):add support mysql8 to aurora.

* feat(TDI-49786):adjust UI part and change default value.
2023-05-29 10:56:33 +08:00
Abdulhamid Rashankar
d1697da0cf APPINT-35585:There is nb.route.osgi under process in Data Collector (#8798) 2023-05-25 10:19:58 +02:00
Alexiane Yvonet
00a26fb1bf Add localized files (#8785)
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
2023-05-25 11:02:44 +08:00
Alexiane Yvonet
6db252cffd Add localized files (#8784)
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
2023-05-25 11:02:26 +08:00
hcyi
7429dcb424 fix(TUP-38581):[JDBC TCK]: check studio "Enable parallel execution" if works after migrate to tck one, should work (#8769)
* fix(TUP-38581):[JDBC TCK]: check studio "Enable parallel execution" if
works after migrate to tck one, should work

* fix(TUP-37725): [TCK Studio]: support DiscoverSchemaExtended for output
connector when use existed connection

---------

Co-authored-by: wwang <wwang@talend.com>
2023-05-25 10:51:22 +08:00
kjwang
ab71b14570 Fix TUP-39092 Studio frozen at start (#8782) (#8799)
Fix TUP-39092 Studio frozen at start
https://jira.talendforge.org/browse/TUP-39092
2023-05-25 09:54:58 +08:00
jiezhang-tlnd
4f2c885879 chore(TUP-38346)CVE: org.apache.maven:maven-core:3.8.6 (#8612) (#8793)
* chore(TUP-38346)CVE: org.apache.maven:maven-core:3.8.6

* for update time stamp
2023-05-24 10:10:44 +08:00
kjwang
6c1e516a1e TUP-31305 Improve the code to avoid encrypt the password in job (#8692) (#8787)
* TUP-31305 Improve the code to avoid encrypt the password in job
everytime
https://jira.talendforge.org/browse/TUP-31305
2023-05-22 18:02:16 +08:00
jzhao
3a1cf0cc56 fix(TDI-49499):[8.0.1] CXF version upgrade to 3.5.5 (#8758)
* fix(TDI-49499):[8.0.1] CXF version upgrade to 3.5.5

* fix(TDI-49499):update dependencies
2023-05-22 14:33:24 +08:00
sbliu
052687fa17 fix(TUP-38851) fix cannot show in job console if line content's length too large (#8765) 2023-05-17 17:21:45 +08:00
sbliu
64a57e1aeb chore(TUP-38415) remove dependency xercesImpl ,see TBD-13325 (#8705) 2023-05-17 17:20:28 +08:00
wang wei
71893a0d24 fix(TDI-49546): CVE-2022-45688, org.json:json:(<=20220924) (#8588) (#8779) 2023-05-17 10:58:18 +08:00
sbliu
beffedfba4 fix(TUP-38912) fix mvn build cannot handle special name such as 'CVS' (#8750) 2023-05-16 17:48:52 +08:00
Oleksandr Zhelezniak
20771a3a08 fix(TDI-49771): Cell format is not date (#8740)
* column that we read may start not from the first excel column, need to take it into account
2023-05-16 10:40:10 +03:00
wang wei
5b0ec28d63 fix(TDI-49489): tFTPConnection code generation wrongly after switch authentication method(#8546) (#8777) 2023-05-16 10:27:54 +08:00
jiezhang-tlnd
156a75b573 chore(TUP-38624)Request for an API to determine if a joblet refactoring (#8745)
is ongoing
2023-05-15 18:53:16 +08:00
wang wei
9a1098e35d fix(TDI-49752): tMap performance issue after migration to v8.0 (#8756) (#8776) 2023-05-15 16:57:34 +08:00
sbliu
b4bb09fbea fix(TUP-38462) make sure generate migration report only needed. (#8634) (#8775)
* fix(TUP-38462) make sure generate migration report only needed.

* refactor for generate report
# Conflicts:
#	main/plugins/org.talend.repository/src/main/java/org/talend/repository/model/migration/RenameTimeoutParameterstRESTClient.java
2023-05-12 17:26:35 +08:00
Zhiwei Xue
6cbd930cb6 fix(TUP-38316):[801 CI/CD] Duplicate Parameter error in the artifact and (#8576) (#8774)
creating the task
2023-05-12 17:16:12 +08:00
Alexiane Yvonet
e3fb0f868a Add localized files (#8772)
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
2023-05-12 15:40:58 +08:00
tsasada-talend
571720c9db Add localized files (#8771)
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
2023-05-12 15:40:17 +08:00
Svitlana Anulich
42a0097cd7 fix(TBD-15112): remove HBASE-LIB-MAPR50X_LASTEST library group (#8689) (#8770) 2023-05-11 10:41:16 +03:00
apoltavtsev
7aeca9e4b6 APPINT-34483: Update Logging feature to hide security sensitive parameters 2023-05-10 16:11:52 +02:00
Emmanuel GALLOIS
ff28926d15 fix(TCOMP-2389): correct staled reading on windows 2023-05-10 15:45:06 +02:00
AlixMetivier
4ace67f46c fix(TBD-14987): fix hadoop jar not found (#8643) (#8682) (#8763) 2023-05-10 08:51:15 +02:00
Jill Yan
93a379b163 APPINT-35584 add runtime feature in data collector (adds) (#8754)
* APPINT-35584 Add runtime feature count

* APPINT-35584 Add runtime feature count

* update type "count_use_OAuther2_Bearer" to "count_use_OAuth2_Bearer"

---------

Co-authored-by: Abdulhamid Rashankar <40884069+arashankar@users.noreply.github.com>
2023-05-09 12:47:15 +02:00
Dmytro Sylaiev
3f013ece38 fix(TDI-49659): Release streams tMap lib (#8718)
* fix(TDI-49659): Release file streams tMap lib

* Remove commented code

* fix(TDI-49659): Update advancedPersistent lib where used
2023-05-09 12:58:48 +03:00
kjwang
1dacef35c7 Fix TUP-38911 Can't resize input/output table in tmap dialog (#8735) (#8757)
TUP-38911 Can't resize input/output table in tmap dialog
https://jira.talendforge.org/browse/TUP-38911
2023-05-09 09:36:54 +08:00
hzhao
d1b78c6205 fix(TUP-38452): Talend 6.3.1 to Talend 8.0.1 Migration Issues in tELT (#8614) (#8752)
* fix(TUP-38452): Talend 6.3.1 to Talend 8.0.1 Migration Issues in tELT
components

* fix(TUP-38452): Talend 6.3.1 to Talend 8.0.1 Migration Issues in tELT

* fix(TUP-38452): Talend 6.3.1 to Talend 8.0.1 Migration Issues in tELT
2023-05-08 14:06:08 +08:00
jiezhang-tlnd
a130c3e9a3 fix(TUP-38456)Ordering of "Run If" Triggers (#8737)
* fix(TUP-38456)Ordering of "Run If" Triggers

* change to linkedhashset
2023-05-06 16:58:41 +08:00
hzhao
503459e4bb fix(TUP-38108): Job changes lost on close+save job with dirty joblet (#8691) (#8747)
* fix(TUP-38108): Job changes lost on close+save job with dirty joblet

* fix(TUP-38108): Job changes lost on close+save job with dirty joblet

* fix(TUP-38108): Job changes lost on close+save job with dirty joblet

* fix(TUP-38108): Job changes lost on close+save job with dirty joblet
2023-05-06 09:07:08 +08:00
Dmytro Sylaiev
d713e389a7 chore(TDI-49749): Update json-smart and related (#8723) 2023-05-05 14:49:17 +03:00
hcyi
7b5e44318b fix(TUP-38455):"Get folder by ID" can't work when create boxv2 dataset (#8706)
from metadata wizard.
2023-05-05 15:46:52 +08:00
Chao MENG
72486c4693 item(TUP-38247): provide component schema data (#8731)
https://jira.talendforge.org/browse/TUP-38247
2023-05-05 14:14:31 +08:00
jzhangbj
e7e12cd091 Add localized files (#8736)
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
2023-05-05 10:54:19 +08:00
jiezhang-tlnd
39d853cd2e fix(TUP-38314)Guess schema fails with the warning (#8582) (#8743)
* fix(TUP-38314)Guess schema fails with the warning
https://jira.talendforge.org/browse/TUP-38314

* fix(TUP-38314)Guess schema fails with the warning

* disable log4j on guess schema

* disable log4j on guess schema

* add system property

* code format
2023-05-05 10:05:44 +08:00
Abdulhamid Rashankar
311157536b APPINT-35490:App & API Integration - Studio Metrics gathering: build types & APIs usage (#8733) 2023-05-04 16:46:33 +02:00
tsasada-talend
f80472a2ce Add localized files (#8734)
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
2023-05-04 18:50:48 +08:00
Abdulhamid Rashankar
29639f0e05 APPINT-35490:App & API Integration - Studio Metrics gathering: build … (#8715)
* APPINT-35490:App & API Integration - Studio Metrics gathering: build types & APIs usage

* APPINT-35490:App & API Integration - Studio Metrics gathering: build types & APIs usage

* APPINT-35490:App & API Integration - Studio Metrics gathering: build types & APIs usage

* APPINT-35490:App & API Integration - Studio Metrics gathering: build types & APIs usage
2023-05-03 11:16:52 +02:00
jzhao
755296136b feat(TDI-49349):Private Link support for Google Storage & BigQuery (#8497) (#8726)
* feat(TDI-49349):Google Storage Private API URL tGSXxxx extension

* feat(TDI-49349):Google BigQuery Private API URL tBigQuery extension
part1

* feat(TDI-49349):TEMPLATE_PARAM redirection in tBigQueryOutput_java.xml

* feat(TDI-49349):AUTH_MODE on tBigQuery AUTH_TYPE on tGStorage

* feat(TDI-49349):adjustements and alignements

* feat(TDI-49349):tBigQuerySQLRow preparation

* feat(TDI-49349):Update googleStorageConnection.javajet correction class
path

* feat(TDI-49349):Update tBigQueryInput_begin.javajet

* tBigQueryBulkExec setHost

* tBigQuerySQLRow setHost

* feat(TDI-49349):SERVICE_ACCOUNT to SERVICEACCOUNT

* feat(TDI-49349):removing GoogleStorage private endpoint for
tBigQueryInput and tBigQuerySQLRow,

* chore(TDI-49349):add contributor to the list

* feat(TDI-49349): hide new parameter when use exist connection
and fix a code generate issue

* feat(TDI-49349): change params and display values

* feat(TDI-49349): revert change params name

---------

Co-authored-by: cflamain <cflamain@talend.com>
2023-04-28 16:41:48 +08:00
jzhangbj
250cac5add Add localized files (#8720)
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
2023-04-27 16:38:05 +08:00
Alexiane Yvonet
1ef1f4a697 Add localized files (#8719)
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
2023-04-27 15:44:07 +08:00
Oleksandr Zhelezniak
a3c05150eb fix(TDI-49305): dynamic schema length (#8651)
* include length and precision for dynamic schema for tcompv0 components
2023-04-27 10:42:24 +03:00
Jill Yan
35721a924b Jill/m80/appint-35472 (#8688) (#8702)
* APPINT-35472 add runtime feature count in studio metrix
2023-04-25 17:41:43 +08:00
hcyi
84e3278ec4 fix(TUP-38310):Import items : Got error when "Run Analysis" (#8586)
* fix(TUP-38310):Import items : Got error when "Run Analysis"

* fix(TUP-38310):Import items : Got error when "Run Analysis"
2023-04-25 15:28:56 +08:00
Oleksandr Zhelezniak
a4c9b9fb39 fix(TDI-49538): generate subjobpid in codegen (#8650)
* generate main part of subjobpid for MDC logs in code generation part, and add id to differentiate subjob in loop
2023-04-25 10:10:54 +03:00
jzhangbj
a977e70eaf Add localized files (#8711)
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
2023-04-25 14:42:30 +08:00
hzhao
9f6f4c2280 Hzhao/master/tup 38334 (#8709)
* workitem(TUP-34111):slow studio build time for remote execution (#7039)

* fix(TUP-38334): job showing error when running from studio on remote

---------

Co-authored-by: Zhiwei Xue <zwxue@talend.com>
2023-04-24 19:04:00 +08:00
hzhao
6755dcb55e Revert "fix(TUP-38334): job showing error when running from studio on remote (#8566) (#8697)" (#8708)
This reverts commit 6ea4d097e8.
2023-04-24 18:23:22 +08:00
hzhao
6ea4d097e8 fix(TUP-38334): job showing error when running from studio on remote (#8566) (#8697)
jobserver
2023-04-23 09:50:36 +08:00
tsasada-talend
d6aef958b8 Add localized files (#8693)
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
2023-04-20 16:33:10 +08:00
Alexiane Yvonet
7961a1becd Add localized files (#8690)
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
2023-04-20 16:32:53 +08:00
sbliu
28ed2a29b9 fix(TUP-38741) fix context value drop-down list in Run tab does not work (#8685) 2023-04-18 18:13:23 +08:00
kjwang
99e8d56430 Kjwang/fix tup 38656 improve job designer in dark mode (#8665) (#8680)
* TUP-38645 On dark mode, Job designer & subjob color can't restore to
correct default color
https://jira.talendforge.org/browse/TUP-38645
2023-04-17 18:12:35 +08:00
wang wei
ff2502858d fix(TDI-49483): Denial Of Service (DoS) in Talend/connectors-se (master)-FileUpload 2023-04-14 11:24:09 +08:00
bhe-talendbj
231cc85814 feat(TUP-36966): update message (#8661)
* feat(TUP-36966): update message (#8657)
2023-04-14 09:27:29 +08:00
jzhangbj
ad7c313979 Add localized files (#8659)
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
2023-04-13 18:04:35 +08:00
tsasada-talend
e17344348d Add localized files (#8656)
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
2023-04-13 18:02:44 +08:00
hcyi
b4781c3e7a fix(TUP-38629):Box: All configration is missing after reopen the Box connection (#8662)
connection
2023-04-13 17:51:28 +08:00
kjwang
0bd279b86a TUP-37441 Improve mapper display in dark mode (#8369) (#8655)
* TUP-37441 Improve mapper display in dark mode
2023-04-13 15:41:06 +08:00
sbliu
39d943557e fix(TUP-38637) fix context issue from TUP-38212 (#8648) 2023-04-13 10:58:36 +08:00
bhe-talendbj
642264ed4f fix(TUP-38617): Can still switch back to old mode (#8641) (#8653) 2023-04-13 10:06:56 +08:00
Jane Ding
e8db030775 fix(TUP-37227):Issue building when items names too long (#8594) (#8624) (#8644)
* fix(TUP-37227):Issue building when items names too long (#8594)

* fix(TUP-37227):Issue building when items names too long (#8412)

* 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-38185):job run fail if joblet use db connection from other
joblet
https://jira.talendforge.org/browse/TUP-38185

* fix(TUP-38185):job run fail if joblet use db connection from other
joblet
https://jira.talendforge.org/browse/TUP-38185

* fix(TUP-38185):job run fail if joblet use db connection from other
joblet
https://jira.talendforge.org/browse/TUP-38185

* fix(TUP-38185):job run fail if joblet use db connection from other
joblet
https://jira.talendforge.org/browse/TUP-38185

* fix(TUP-38185):job run fail if joblet use db connection from other
joblet
https://jira.talendforge.org/browse/TUP-38185

* fix(TUP-38185):job run fail if joblet use db connection from other
joblet
https://jira.talendforge.org/browse/TUP-38185

* fix(TUP-38185):job run fail if joblet use db connection from other
joblet
https://jira.talendforge.org/browse/TUP-38185

* fix(TUP-38185):job run fail if joblet use db connection from other
joblet
https://jira.talendforge.org/browse/TUP-38185

* fix(TUP-38185):job run fail if joblet use db connection from other
joblet
https://jira.talendforge.org/browse/TUP-38185

* fix(TUP-37227):Issue building when items names too long
https://jira.talendforge.org/browse/TUP-37227
2023-04-12 18:04:43 +08:00
bhe-talendbj
076f72bcab feat(TUP-38297): Improve Update settings for user/password (#8602) (#8640)
* feat(TUP-38297): add basic auth for remote update site

* feat(TUP-38297): add basic auth for remote update site

* feat(TUP-38297): add basic auth for remote update site

* feat(TUP-38297): adjust UI

* feat(TUP-38297): adjust UI

* feat(TUP-38297): adjust UI

* feat(TUP-38297): update UI

* feat(TUP-38297): update UI

* feat(TUP-38297): update UI

* feat(TUP-38297): fix NPE
2023-04-11 11:06:42 +08:00
sponomarova
d156f766ff feat(TBD-12991): Azure Synapse with universal (#8597) (#8639) 2023-04-10 11:52:53 +03:00
Wei Hua
a53a8a57bf APPINT-35059 Cleanup BUILD_TYPE update triggers in Studio (components part) (#8587) 2023-04-10 15:37:28 +08:00
jzhangbj
e9c320c918 Add localized files (#8636)
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
2023-04-10 14:28:12 +08:00
sbliu
552996e0e4 fix(TUP-38212) make 'Deselect all' button work. (#8598) (#8632) 2023-04-06 16:39:49 +08:00
Dmytro Sylaiev
e0c8db315a chore(TDI-49435): Bump talend-mscrm for studio crm (#8606) 2023-04-06 09:54:49 +03:00
Alexiane Yvonet
8433a2615b Add localized files (#8630)
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
2023-04-06 14:50:59 +08:00
pyzhou
d83525892d fix(TDI-49646):Remove azure-util lib from tdi-studio-se (#8629) 2023-04-06 10:16:19 +08:00
pyzhou
c7a0549efc fix(TDI-49580):fix mongodb Migration convert Bson NPE (#8628) 2023-04-04 17:53:14 +08:00
pyzhou
435245c6e5 fix(TDI-49580):fix mongodb Migration convert Bson (#8604) 2023-03-31 10:20:01 +08:00
jzhangbj
842d897577 Add localized files (#8619)
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
2023-03-30 18:09:45 +08:00
vyu-talend
a9ff402a01 fix(TDI-49458):bump talend_file_enhanced.jar (#8607) (#8617) 2023-03-30 17:27:33 +08:00
tsasada-talend
ce926e5919 Add localized files (#8616)
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
2023-03-30 17:20:52 +08:00
Alexiane Yvonet
32a0d338b4 Add localized files (#8615)
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
2023-03-30 17:20:44 +08:00
vyu-talend
28703c0583 feat(TDI-47760):add nb_line to tMSSqlRow/tAzureSynapseRow/tRedshiftRow/tTeradataRow (#8563) (#8610)
* 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 16:55:12 +08:00
hcyi
eb41087748 fix(TUP-37730):Updated generic schema name is not reflecting in the component Table field (#8487)
* 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:42 +08:00
hzhao
d27f49cf70 fix(TUP-38282): Guess Schema doesn't show Context options (#8575) (#8603)
* fix(TUP-38282): Guess Schema doesn't show Context options

* fix(TUP-38282): Guess Schema doesn't show Context options
2023-03-27 16:35:13 +08:00
bhe-talendbj
749098fd9f feat(TUP-38453): enable standard git storage mode for new workspace b… (#8584) (#8601)
* 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:56:14 +08:00
jzhangbj
1fc34f3899 Add localized files (#8600)
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
2023-03-27 14:26:33 +08:00
Jane Ding
00c7dab29a Revert "fix(TUP-37227):Issue building when items names too long (#8477)" (#8521)
This reverts commit d8ad47dc6a.
2023-03-23 17:43:22 +08:00
tsasada-talend
52946fbdad Add localized files (#8595)
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
2023-03-23 17:38:07 +08:00
Alexiane Yvonet
f12a226d6c Add localized files (#8593)
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
2023-03-23 17:37:55 +08:00
Oleksandr Zhelezniak
712ee57d37 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:44:19 +02:00
zyuan-talend
2580bc1256 fix(TUP-38234):Restore Job name and description editing in Job tab (#8538) (#8578) 2023-03-22 09:55:16 +08:00
Laurent BOURGEOIS
d8d2ca699d fix(TBD-14981):Compile error when tMap uses filter expression (#8581) 2023-03-21 11:24:23 +01:00
dicarcab
4930d47ea9 fix(TBD-14818):Spark job failing with error scheme-specific part at i… (#8528) (#8580) 2023-03-21 11:16:28 +01:00
Oleksandr Zhelezniak
676b190c9b 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:50:35 +02:00
sbliu
6f01b02cc0 fix(TUP-38173) add junit (#8574)
* fix(TUP-38173) add junit

* fix npe caused by link folder now prepared
2023-03-21 09:47:53 +08:00
sbliu
9249e0c4e5 fix(TUP-38173) upload context link when context changed (#8524) 2023-03-17 14:26:35 +08:00
tsasada-talend
8db68c08f6 Add localized files (#8570)
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
2023-03-17 09:30:01 +08:00
Alexiane Yvonet
cfb889157d Add localized files (#8569)
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
2023-03-17 09:29:40 +08:00
pyzhou
0804b07585 feat(TDI-49447):upgrade snowflake driver to 3.13.28 (#8553) (#8568) 2023-03-16 15:46:11 +08:00
Xilai Dai
18d77ed236 fix(APPINT-35336) fix the missing velocity 1.5 when build job bundle (#8559) (#8565) 2023-03-14 17:10:44 +08:00
Oleksandr Zhelezniak
4e7f9e46b8 fix(TDI-49434): copy MDC to subprocess (#8525)
* copy MDC to parallelize
2023-03-13 09:15:31 +02:00
Oleksandr Zhelezniak
700de90f8a fix(TDI-31777): bump library talendcsv (#8389) 2023-03-10 17:30:26 +02:00
jzhangbj
82995f9c6f Add localized files (#8557)
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
2023-03-09 18:55:17 +08:00
Colm O hEigeartaigh
53d44a293f fix(TDI-49470): Use try-with-resources in the codegen footer (#8519) 2023-03-09 12:44:30 +02:00
Colm O hEigeartaigh
10f4892f2b fix(TDI-47974): Avoid locale dependent call to toLowerCase (#8527) 2023-03-09 12:38:51 +02:00
Oleksandr Zhelezniak
75735bde0c chore(TDI-49521): update label content (#8554) 2023-03-09 12:27:04 +02:00
tsasada-talend
bff0e9ac44 Add localized files (#8555)
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
2023-03-09 18:17:03 +08:00
Alexiane Yvonet
bfd10b497f Add localized files (#8552)
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
2023-03-09 17:55:17 +08:00
Wei Hua
05b6a2754d APPINT-35381 Improve API storage for API imported from API Designer (#8511) (#8545) 2023-03-09 10:51:28 +01:00
Jane Ding
9c1c0d9a13 feat(TUP-37093):Send Mapper data to PTP (#8491) (#8544)
* 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-09 16:15:51 +08:00
jzhao
2fccd6985f fix(TDI-49446):tFTPPut is transferring the file to the remote directory but the current status shows "No file transfered." (#8515) (#8540)
* 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-09 14:36:20 +08:00
jzhao
fa24958953 feat(TDI-49241):tAS400Output bad insert performance due to Return Generated Keys (#8484) (#8543)
* 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 14:36:10 +08:00
bhe-talendbj
4bfc991bd7 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) (#8542)
* 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:44:17 +08:00
hcyi
667018fc02 Hcyi/tup 38145 master (#8537)
* fix(TUP-38145):tELTMap doesn't evaluate globalMap expressions with
Integer conversions

* fix(TUP-38145):add junits
2023-03-08 09:10:56 +08:00
sbliu
057420dcd5 chore(TUP-37919) keep connection order for refactor joblet (#8503) (#8534) 2023-03-06 19:53:33 +08:00
Oleksandr Zhelezniak
11c1f9731d fix(TDI-49395): fix additional clause place (#8514) 2023-03-06 10:20:59 +02:00
Xilai Dai
2ca69923a5 fix(APPINT-35435) backward compatibility with Velocity 1.x (#8529) (#8531) 2023-03-03 20:45:29 +08:00
Jane Ding
0fd46daff5 fix(TUP-38093):Studio 8.0.1 hangs in "Loading user component" after (#8499) (#8532)
* 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:44:04 +08:00
Dmytro Sylaiev
50889715a9 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:19:43 +02:00
hcyi
5ae290d862 Hzhao/80/tup 37298 new2 (#8362) (#8512)
* 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

Co-authored-by: hzhao <49395568+hzhao-talendbj@users.noreply.github.com>
2023-02-28 18:25:20 +08:00
sbliu
d3ed272dae chore(TUP-37430) cleanup default group id of org.talend.libraries (#8510)
* 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-02-27 15:19:27 +08:00
Jill Yan
4e62458477 Jill/master/APPINT-35414 (#8509)
* APPINT-35414 set build type when only one option

* APPINT-35414 set build type when only one option
2023-02-27 11:36:33 +08:00
Jill Yan
108d70530b APPINT-35414 set build type when only one option (#8508) 2023-02-24 21:05:14 +08:00
wang wei
548a3135d0 fix(TDI-49303): Premium Data,commons-net:commons-net:(2.2,3.3,3.6,3.8.0) (#8433) (#8505) 2023-02-24 11:55:58 +08:00
jzhangbj
78b4d7ff77 Add localized files (#8504)
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
2023-02-23 18:32:11 +08:00
tsasada-talend
ec93ad2e90 Add localized files (#8502)
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
2023-02-23 17:41:01 +08:00
Alexiane Yvonet
0daf4d1a5c Add localized files (#8501)
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
2023-02-23 16:48:05 +08:00
hzhao
bf3fab836e fix(TUP-37874)SQL inject risk (#8439) (#8498)
Co-authored-by: jiezhang-tlnd <40561780+jiezhang-tlnd@users.noreply.github.com>
2023-02-23 09:16:26 +08:00
hcyi
ba3d97739c fix(TUP-37697):tRedShiftInput requires the driver jar of V1 even the (#8409)
setting's version is driver 2
2023-02-21 09:58:13 +08:00
jzhao
8c238354a3 fix(TDI-49399):[CVE]: upgrade zip4j to lastest version : 2.11.4 (#8494)(tFileUnarchive) 2023-02-20 18:18:37 +08:00
jzhao
2c5e2d6855 fix(TDI-49399):[CVE]: upgrade zip4j to lastest version : 2.11.4 (#8492) 2023-02-20 17:56:59 +08:00
jzhangbj
9e283ad5b1 Add localized files (#8493)
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
2023-02-20 17:34:53 +08:00
Jill Yan
f3bc7982c6 APPINT-35307 correct build type (#8410) 2023-02-17 16:37:35 +08:00
pyzhou
8a611c763e feat(TDI-47390): tFileInputExcel support 1904 time (#8403)
* feat(TDI-47390): tFileInputExcel support 1904 time

* add check
2023-02-17 16:14:25 +08:00
pyzhou
1417736bf3 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:03:53 +08:00
tsasada-talend
f2af89e01b Add localized files (#8490)
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
2023-02-16 18:25:33 +08:00
Dmytro Ochkas
f6e0ffbe74 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 11:57:09 +02:00
Alexiane Yvonet
f1ece96364 Add localized files (#8488)
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
2023-02-16 17:25:04 +08:00
Oleksandr Zhelezniak
648ca518bb fix(TDI-32442): FileInputExcel pattern for dynamic (#8447)
* for date cell use pattern from dynamic column
2023-02-15 14:49:31 +02:00
Oleksandr Zhelezniak
491a6e656e fix(TDI-49395): fix tHttpRequest l11n (#8483) 2023-02-15 09:53:55 +02:00
Jill Yan
353d5fbdf2 APPINT-35336 replace velocity by velocity-engine-core/2.3 (#8479) 2023-02-14 14:12:30 +08:00
Dmytro Ochkas
b34a673c5b fix(TDI-49267): Update sql fail for tELTOutput when have two ELTMap and two WHERE clause (#8435)
* 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
2023-02-13 13:55:10 +02:00
Oleksandr Zhelezniak
4d6bb97def fix(TDI-49336): required if for hsqldb (#8460)
* in tCreateTable for java 9+ libraries
2023-02-13 13:32:33 +02:00
bhe-talendbj
c0de4031a7 fix(TUP-38047): fix migration for ingres and vectorwise (#8482) 2023-02-13 18:43:09 +08:00
Oleksandr Zhelezniak
0b4b185ebd fix(TDI-49284): talend file enhanced (#8423)
* fix the behavior when it reaches end of file
2023-02-13 11:25:20 +02:00
sbliu
feb5cc098f fix(TUP-29016) hide tTaCoKitGuessSchema in shared component and exclude from user data token collection. (#8420) 2023-02-13 14:15:18 +08:00
Jane Ding
d8ad47dc6a fix(TUP-37227):Issue building when items names too long (#8477)
* 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-10 17:59:26 +08:00
apoltavtsev
1454b8192a fix(APPINT-35370) check for missing deps in local/remote repos is added (#8468) 2023-02-09 17:23:15 +01:00
tsasada-talend
baa9c47132 Add localized files (#8472)
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
2023-02-09 17:57:31 +08:00
Zhiwei Xue
296496e997 feat(TUP-37353):Guess Schema for tBigQueryInput (#8469)
* feat(TUP-37353):Guess Schema for tBigQueryInput

* feat(TUP-37353):handle exception check for input node
2023-02-09 17:50:45 +08:00
jzhangbj
50a82f71d3 Add localized files (#8471)
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
2023-02-09 17:06:00 +08:00
AlixMetivier
395389724c fix(TBD-14542): add expression to know if DI job (#8437) (#8470) 2023-02-09 09:35:31 +01:00
sbliu
e29545df93 fix(TUP-37692) fix junit failure (#8467) 2023-02-09 10:58:41 +08:00
vyu-talend
2bb770e6fa feat(TDI-48882): backport master (#8466)
* 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.

* feat(TDI-48882):rename the label. (#8464)
2023-02-09 10:44:28 +08:00
hcyi
83034947d8 Hcyi/tup 36122 master v2 (#8463)
* 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:46 +08:00
Dmytro Sylaiev
8a461d4f7b fix(TDI-49252): crm4client to maven artifact (#8449)
* fix(TDI-49252): Move crm4client lib to maven

* fix(TDI-49252): Allign axiom-api

* Bump axiom

* fix(TDI-49252): Fix crm4client issue
2023-02-08 01:16:02 +02:00
Dmytro Sylaiev
2d0576a621 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-07 19:08:06 +02:00
bhe-talendbj
86bd245add feat(TUP-37595): reintroduce ingres/vectorwise in metedata (#8373) (#8461)
* feat(TUP-37595): add ingres and vectorwise support

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

* feat(TUP-37595): fix dataviewer
2023-02-07 15:47:13 +08:00
pyzhou
2999590ae8 fix(TDI-49268):tFileInputPosition close stream (#8422) 2023-02-07 10:33:06 +08:00
sbliu
4fae5293cd fix(TUP-37692) XPath json use context can't get any data when running job (#8378)
* 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 10:23:12 +08:00
bhe-talendbj
cace234a1f feat(TUP-37841): fix NPE (#8436) (#8458) 2023-02-06 14:32:17 +08:00
jiezhang-tlnd
c981cc3d33 fix(TUP-37349)Data viewer for tCouchBaseInput get npe error (#8247) (#8457)
* 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 10:10:40 +08:00
jiezhang-tlnd
05bfa3d270 chore(TUP-37868)commons-net:commons-net:(2.2,3.3,3.6,3.8.0) (#8456) 2023-02-06 09:38:50 +08:00
sponomarova
a5f8499673 fix(TBD-14786): tHiveRow Compilation error when set application name is unticked (#8445) (#8455) 2023-02-03 21:37:17 +02:00
hcyi
a9e3600e23 fix(TUP-37395):Schema changes made on DB side not being reflected in (#8367)
Studio 8.0.
2023-02-03 17:46:45 +08:00
Zhiwei Xue
cf21632c0e fix(TUP-35407):project rootPom template not considered anymore. (#8452) 2023-02-03 17:41:37 +08:00
kjwang
f0f55d44df TUP-37344 If access token & refresh token change to invalid, can't show (#8222) (#8451)
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 16:24:27 +08:00
tsasada-talend
7a1b222598 Add localized files (#8446)
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
2023-02-02 17:24:08 +08:00
Alexiane Yvonet
a156105eb2 Add localized files (#8444)
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
2023-02-02 16:23:21 +08:00
jiezhang-tlnd
8eec75dccc Jzhang/80/tup 37392 (#8290) (#8442)
* 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:41:47 +08:00
jiezhang-tlnd
0a30418d8c Jzhang/tup 37471 (#8443)
* 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

* code format
2023-02-02 15:36:49 +08:00
hcyi
49e90f46e2 Hcyi/tup 37262 master (#8396)
* feat(TUP-37262):Research: Unified component for Netsuite.

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

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

* feat(TUP-37262):change 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-02 10:11:40 +08:00
Oleksandr Zhelezniak
089d83d266 fix(TDI-49091): add parenthesis (#8353) 2023-01-31 10:54:03 +02:00
Oleksandr Zhelezniak
4e053c1c96 fix(TDI-49081): change logger level (#8336) (#8432) 2023-01-31 10:46:56 +02:00
pyzhou
0bf67ecfae 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-01-30 19:18:19 +08:00
Olha V
d9fc4a707e fix(TDI-48437): Parent job doesn't end (#8307)
* fix release of prepared statement
2023-01-30 11:42:27 +02:00
jzhangbj
af21a8cc43 Add localized files (#8427)
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
2023-01-28 11:01:27 +08:00
tsasada-talend
391c084a8e Add localized files (#8426)
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
2023-01-28 10:49:44 +08:00
Alexiane Yvonet
f0405e437c Add localized files (#8425)
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
2023-01-28 10:47:18 +08:00
Jane Ding
1f4621276d feat(TUP-37361):Deprecate Studio - Exchange integration (#8385) (#8421)
https://jira.talendforge.org/browse/TUP-37361
2023-01-20 15:05:42 +08:00
jzhangbj
21ece048b0 Add localized files (#8416)
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
2023-01-19 18:39:54 +08:00
sbliu
927108b2d3 fix(TUP-33645) adjust backsplash (#8397) 2023-01-19 17:32:44 +08:00
tsasada-talend
1590110935 Add localized files (#8414)
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
2023-01-19 17:09:39 +08:00
Alexiane Yvonet
2e10cb8903 Add localized files (#8413)
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
2023-01-19 16:49:57 +08:00
tsasada-talend
dea26d0b97 Add localized files (#8391)
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
2023-01-19 16:47:02 +08:00
Olha V
981a664c5b feat(TDI-46024): NetSuite API version 2021.2 (#8292)
* add migration task to rename componnets
2023-01-18 16:51:18 +02:00
pyzhou
0e206478a9 fix(TDI-49263):tFileInputJSON label have java 15 (#8406) 2023-01-18 11:24:05 +08:00
pyzhou
534ca7e218 fix(TDI-49262):Move talendExcel, SimpleExcel and talend-ws jar to connectors-lib-se (#8402) 2023-01-17 16:37:23 +08:00
bhe-talendbj
415099ac0e bugfix(TUP-37475): Migration task does not work for joblet in tck component (#8328) (#8400)
* fix(TUP-37475): migrate tck components in joblet

* fix(TUP-37475): fix stack overflow
2023-01-17 15:45:57 +08:00
jzhao
4af2d5e903 fix(TDI-49181):CVE-2020-13936,org.apache.velocity:velocity:1.7 (#8392)
* fix(TDI-49181):CVE-2020-13936,org.apache.velocity:velocity:1.7

* chore(TDI-49181):code format
2023-01-16 10:42:47 +08:00
hcyi
6c4ffb725f fix(TUP-37698):Field separator is not working as expected in Talend 801 (#8364) 2023-01-11 17:10:17 +08:00
Oleksandr Zhelezniak
ad5222080d chore(TDI-49189): move talendcsv (#8386)
* move talendcsv into connectors-lib-se repository
2023-01-11 10:07:57 +02:00
hzhao
45f3617d56 feat(TUP-37472): Oracle version cleanup (#8345) (#8387)
* 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:51:11 +08:00
kjwang
ed40eed2ff TUP-30674 Support rename on custom jar and inner code. (#8212) (#8384)
TUP-30674 Support rename on custom jar and inner code.
https://jira.talendforge.org/browse/TUP-30674
2023-01-10 15:58:44 +08:00
hzhao
224008c7b5 fix(TUP-37706): SQL Compilation error for tELTMap component after (#8370) (#8379)
* 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-09 18:15:07 +08:00
Xilai Dai
8eb2609f0c fix(APPINT-35326) missing slf4j-api 1.7.25 in maven off-line mode (#8376) 2023-01-06 20:46:53 +08:00
Alexiane Yvonet
ff2530a475 Add localized files (#8372)
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2023-01-06 09:53:05 +08:00
Emmanuel GALLOIS
5ee4645495 feat(TCOMP-2235): enable DiscoverSchemaExtended for inputs (#8223) 2023-01-05 11:56:52 +01:00
jzhao
04806e7ec3 fix(TDI-48610):update daikon to 7.0.5 (#8371) 2023-01-05 18:14:57 +08:00
hzhao
e04e3e93b1 chore(TUP-35265): upgrade 'crypto-utils' jar in low level (#8365) 2023-01-05 17:48:39 +08:00
qiongli
e789d1d05d fix(TDQ-20956):upgrade cxf to 3.5.5 (#8326) 2023-01-04 16:21:33 +08:00
Emmanuel GALLOIS
fba0dadf35 feat(TCOMP-2322): improve guess schema logs (#8267) 2023-01-02 17:39:17 +01:00
Oleksandr Zhelezniak
945713686d chore(TDI-48440): improve xml file processing security (#8246) 2022-12-30 13:50:19 +02:00
Dmytro Ochkas
958479e418 fix(TDI-48440): Improve Xml file processing security (#8149)
* add ACCESS_EXTERNAL_DTD, ACCESS_EXTERNAL_STYLESHEET attributes to TransformerFactory
* split try/catch blocks
* update readme
* move soap library into connectors-lib-se repository

Co-authored-by: Oleksandr Zhelezniak <ozhelezniak@talend.com>
2022-12-30 13:50:02 +02:00
jzhangbj
7defd7067e Add localized files (#8358)
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-12-29 18:04:46 +08:00
tsasada-talend
feaf700c8f Add localized files (#8357)
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-12-29 18:04:32 +08:00
Alexiane Yvonet
bb01ce199e Add localized files (#8356)
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-12-29 18:04:16 +08:00
tsasada-talend
896dfc54c5 Add localized files (#8346)
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-12-29 18:03:59 +08:00
vyu-talend
19cecc6d1a fix(TDI-49026):close stream. (#8343) (#8355)
* 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:32:24 +08:00
Jane Ding
2999c4eb9c fix(TUP-37467):[8.0.1&7.3.1] custom component are no more build as (#8308) (#8352)
snapshot but releases since june/july patch
https://jira.talendforge.org/browse/TUP-37467
2022-12-28 18:01:01 +08:00
Jane Ding
47afa2a7b0 fix(TUP-37416):Can't execute job with JSON component linked to (#8266) (#8351)
* 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 18:00:52 +08:00
hcyi
2b766f1a55 feat(TUP-32445):Add the support of the module view for TCK/tcomp (#8295)
frameworks.
2022-12-28 10:38:58 +08:00
Oleksandr Zhelezniak
021bfed544 fix(TDI-48981): bigquery support empty file (#8251) 2022-12-27 12:59:46 +02:00
kjwang
f23ab7e023 feat: TUP-37444 DI Repository view improvements (#8322)
* feat: TUP-37444 DI Repository view improvements
https://jira.talendforge.org/browse/TUP-37444
2022-12-27 10:16:46 +08:00
pyzhou
c0bfe51362 fix(TDI-48766):CVE Redshift jdbc42 (#8324) 2022-12-26 22:03:58 +08:00
jzhao
d836d6ed6d 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:01:40 +08:00
wang wei
e81263ac38 fix(TDI-49013): CVE-2022-40152,com.fasterxml.woodstox:woodstox-core (#8312) (#8341) 2022-12-23 17:27:57 +08:00
jzhangbj
2c67e7d0d3 Add localized files (#8335)
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-12-23 17:22:47 +08:00
Jane Ding
d7db470ae4 Revert "fix(TUP-37227):Issue building when items names too long (#8209) (#8321)" (#8340)
This reverts commit 3a74eff187.
2022-12-23 11:53:45 +08:00
wang wei
1ce2fa3ddd 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 (#8337) 2022-12-23 11:46:40 +08:00
kjwang
b9be92f27e Fix failed junit (#8329)
Fix failed junit
2022-12-22 14:55:39 +08:00
Laurent BOURGEOIS
d2d8a3e6a9 feat(TBD-11030):Add S3 Select Beta (#8331) 2022-12-21 17:57:28 +01:00
Jane Ding
3a74eff187 fix(TUP-37227):Issue building when items names too long (#8209) (#8321)
* 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-20 10:37:43 +08:00
Chao MENG
93be48ac4e fix(TUP-37051): Studio perspective continuously reset after install (#8316)
R2022-09 patch
https://jira.talendforge.org/browse/TUP-37051
2022-12-19 17:27:15 +08:00
Alexiane Yvonet
38a1c512ef Add localized files (#8302)
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-12-16 12:12:15 +08:00
tsasada-talend
f27daa72fb Add localized files (#8298)
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-12-16 11:43:15 +08:00
Alexiane Yvonet
7d3667ceaa Add localized files (#8306)
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-12-16 11:31:52 +08:00
tsasada-talend
885fb10ff3 Add localized files (#8304)
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-12-16 11:31:42 +08:00
Alexiane Yvonet
516473b734 Add localized files (#8303)
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-12-16 09:30:59 +08:00
ypiel
835e940d14 feat(TDI-48883): set some mscrm versions deprecated. (#8273) (#8299)
* 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>

Co-authored-by: jzhao-talend <jzhao@talend.com>
2022-12-15 10:29:34 +01:00
pyzhou
f3a16dc93c feat(TDI-49016):Oracle version cleanup (#8286)
* feat(TDI-49016):Oracle version cleanup

* remove code

* migration task

* Revert "migration task"

This reverts commit ccc1bc6215.

* correct typo and logic

* fix logic error
2022-12-15 17:24:26 +08:00
apoltavtsev
b77d4ec445 fix(APPINT-34695) Remove circular references from MS code 2022-12-13 14:34:05 +01:00
wang wei
65037a71c6 fix(TCOMP-2299): [TCK Studio] : support dynamic column mix with basic columns(#8194) (#8291) 2022-12-13 18:10:39 +08:00
hzhao
2643895108 fix(TUP-37360): Compilation error for tELTMap componentsquash (#8288) 2022-12-13 17:30:09 +08:00
Oleksandr Zhelezniak
f81e55d1a9 fix(TDI-48876): hsqldb add missing libraries (#8228) 2022-12-12 16:59:34 +02:00
Dmytro Sylaiev
310bb785fc fix(TDI-48824): Bump talend-mscrm (#8280)
* to not call oauth twice
2022-12-09 12:43:34 +02:00
bhe-talendbj
0896c0f71b feat(TUP-37162): Improvement needed for standard Git mode (#8207) (#8279)
* 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 16:08:55 +08:00
Zhiwei Xue
00d1af55c6 feat(TUP-37053):update UI text (#8275) 2022-12-09 10:52:21 +08:00
jzhangbj
33cc2d79af Add localized files (#8274)
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-12-09 09:17:42 +08:00
tsasada-talend
d5f81911e6 Add localized files (#8271)
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-12-08 18:15:40 +08:00
Chao MENG
19549210a3 feat(TUP-37052): Dark mode global implementation (#8270)
https://jira.talendforge.org/browse/TUP-37052
2022-12-08 11:46:57 +08:00
Emmanuel GALLOIS
10d57a9e85 fix(TCOMP-2277): rename shema's entry properties (#8264) 2022-12-07 11:32:45 +01:00
wang wei
9eaf5eecb9 fix(TDI-46955): TCK - Outline - Flow variable (#8260)
* fix(TDI-46955): TCK - Outline - Flow variable

* fix some issue

* remove duplicated
2022-12-07 10:26:40 +01:00
Chao MENG
4b025347ba feat(TUP-37052): Dark mode global implementation (#8263)
feat(TUP-37052): Dark mode global implementation
https://jira.talendforge.org/browse/TUP-37052
2022-12-06 15:28:05 +08:00
Chao MENG
d313d31074 feat(TUP-37052): dark theme support (#8262)
feat(TUP-37052): dark theme support
https://jira.talendforge.org/browse/TUP-37052
2022-12-06 14:35:09 +08:00
pyzhou
0f7d93b311 fix(TDI-48873):sl4j upgrade 1.7.34 (#8214)
* fix(TDI-48873):sl4j upgrade 1.7.34

* remove useless dependency

* reload4j
2022-12-06 10:35:51 +08:00
jiezhang-tlnd
81dcb5c72e fix(TUP-36712)revert for spark covert to standard (#8258) 2022-12-05 19:09:02 +08:00
Chao MENG
3a66b75a78 fix(TUP-37051): Studio perspective continuously reset after install R2022-09 patch (#8218)
* 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:06 +08:00
Zhiwei Xue
de37070c07 feat(TUP-36415):Add needed --add-opens parameters for job execution (#8245)
* 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:45:04 +08:00
tsasada-talend
beb3003e02 Add localized files (#8244)
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-12-02 14:52:59 +08:00
Alexiane Yvonet
1b6805f15c Add localized files (#8243)
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-12-02 14:52:22 +08:00
Chao MENG
ebe451527a feat(TUP-37052): dark theme support (#8238)
* chore: support dark theme

* chore: support dark theme
2022-12-01 20:15:54 +08:00
pyzhou
b969961c0d fix(TDI-48951):CVE mina-sshd 2.9.2 (#8232) 2022-12-01 14:21:49 +08:00
Jane Ding
72268f766c Fix junit fail (#8240) (#8242) 2022-12-01 09:49:56 +08:00
Jane Ding
0ee6612156 fix(TUP-36969):fix junit fail (#8234) (#8239)
https://jira.talendforge.org/browse/TUP-36969
2022-11-30 10:31:20 +08:00
Jane Ding
4f8c012aaf chore(TUP-36969):upgrade slf4j to 1.7.34 (#8231) (#8235)
https://jira.talendforge.org/browse/TUP-36969
2022-11-29 17:35:00 +08:00
Oleksandr Zhelezniak
9fa019a6f4 chore(TDI-48956): align protobuf-java-util (#8230)
* to 3.19.6
2022-11-29 06:29:59 +02:00
Colm O hEigeartaigh
704c7b7b80 Create SECURITY.md (#8216) 2022-11-28 08:19:42 +00:00
sbliu
30a16faba1 chore(TUP-36969) upgrade slf4j (#8213)
* chore(TUP-36969) upgrade slf4j

* correct

* slf4j-log4j12-1.7.34.jar replaced with slf4j-reload4j-1.7.34.jar
2022-11-26 10:19:52 +08:00
Alexiane Yvonet
9699972125 Add localized files (#8220)
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-11-25 16:07:54 +08:00
Chao MENG
9a966c1a90 fix(TUP-37153): Dead lock when migrating tck metadatas and jobs (#8210)
https://jira.talendforge.org/browse/TUP-37153
2022-11-25 14:35:37 +08:00
jzhangbj
18b15aaa62 Add localized files (#8217)
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-11-25 10:27:34 +08:00
Oleksandr Zhelezniak
c59aff6d57 chore(TDI-48754): cve bump protobuf-java (#8154) 2022-11-24 11:47:32 +02:00
Oleksandr Zhelezniak
5d48fe3645 fix(TDI-48891): tFileInputMail attachment file (#8197)
* support file name without extension
2022-11-22 09:44:19 +02:00
jiezhang-tlnd
4fd3c9b4d2 chore(TUP-35860)CVE bctls-jdk15on-1.68.jar bcprov-jdk15on-1.68.jar (#8206) 2022-11-22 14:43:43 +08:00
Dmytro Ochkas
bbe98bd7f9 chore(TDI-47253): AddHourFormatToBigqueryBulkOutput migration return correction (#8169)
* if there is no modification then NOTHING_TO_DO is returned, SUCCESS_NO_ALERT otherwise
2022-11-21 19:08:01 +02:00
pyzhou
6619f991db 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:01:14 +08:00
tsasada-talend
3adc392895 Add localized files (#8201)
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-11-18 09:46:09 +08:00
ypiel
5f417c7093 feat(TDI-48543): MSCRM ROPC backport to master (#8199) 2022-11-18 00:43:11 +01:00
ypiel
84f05fbf7f chore(TDI-48830): remove talend-mscrm (#8198) 2022-11-16 14:17:58 +01:00
Jill Yan
a6e2dbf3e9 Jill/m80/appint-35115 Add opportunity to import API files with OAS 3.0 format in Studio metadata (#8164) (#8195)
* APPINT-35115 support API with OAS 3 importing

* APPINT-35115 support OAS 3.0 format with API import
2022-11-16 14:51:33 +08:00
wang wei
033678f6c6 fix(TDI-48810): Job build fails with : Duplicate nested type CompareUtil after R2022-10v2(#8171) (#8173) 2022-11-16 11:39:50 +08:00
vyu-talend
11149e4cf5 fix(TDI-48782):upgrade hsqldb.jar to solve cve. (#8187) (#8192)
* fix(TDI-48782):upgrade hsqldb.jar to solve cve.

* fix(TDI-48782): add system property.
2022-11-15 16:50:22 +08:00
bhe-talendbj
8421944d91 feat(TUP-35957): filter out invalid branches (#8165) (#8190) 2022-11-15 16:25:50 +08:00
Chao MENG
811cbd9332 Cmeng/fix/tup 36831 fix mig version (#8183)
* 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:42 +08:00
jzhangbj
9d71e9d75e Add localized files (#8180)
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-11-11 09:16:52 +08:00
tsasada-talend
954796ecbe Add localized files (#8179)
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-11-11 08:53:12 +08:00
Alexiane Yvonet
c449cd1a4d Add localized files (#8178)
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-11-11 08:50:49 +08:00
Chao MENG
07a2becec8 fix(TUP-36831): Migration task not working for tck connection component (#8176)
https://jira.talendforge.org/browse/TUP-36831
2022-11-10 18:39:29 +08:00
pyzhou
d880265aa9 fix(TDI-48441):CVE reload4j 1.2.22 (#7979)
* fix(TDI-48441):CVE reload4j 1.2.22

* Upgrade jar

* upgrade excel

* add miss
2022-11-10 17:31:28 +08:00
pyzhou
f120f95a39 fix(TDI-48779):tExtractJSONFields support java 17 (#8140)
* fix(TDI-48779):tExtractJSONFields support java 17

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

* fix(TDI-48779):align tFileInputJson

* add migrationTask to plugin.xml

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

* add properties name

* Change name
2022-11-10 16:06:38 +08:00
Chao MENG
58c033c23b fix(TUP-36831): Migration task not working for tck connection component (#8162)
* 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:23:59 +08:00
hzhao
894964339e feat(TUP-33040): ELT components cannot handle table/column name in Japanese (#7991) (#8152)
* 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-10 11:49:24 +08:00
Emmanuel GALLOIS
c16538ae6c feat(TDI-48644): bump component-runtime to 1.50 (#8126) 2022-11-09 13:16:47 +01:00
Emmanuel GALLOIS
7b2c6a7f7c feat(TCOMP-2186): discover schema extended (#8072) 2022-11-09 13:15:42 +01:00
zyuan-talend
0844ba6a1a fix(TUP-36566):CVE:upgrade reload4j to 1.2.22. (#8117) (#8167) 2022-11-09 17:15:03 +08:00
sbliu
859a82c6b6 feat(TUP-32228) Load multiple libraries with routine by detect the selected module (#8083) (#8172)
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 10:10:17 +08:00
pyzhou
bfbeabf419 fix(TDI-48778): tGroovy java 17 upgrade 4.0.6 (#8141) 2022-11-08 18:08:52 +08:00
hcyi
2cf93ba8ef feat(TUP-33031):List invalid items with Project analysis of 8.0 (#8114)
* 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:12 +08:00
wang wei
98fbcedf21 fix(TDI-48715): CVE-2022-42003,CVE-2022-42004, jackson-databind-2.13.2.2jar 2022-11-07 18:17:44 +08:00
jzhao
58dc4dbeab feat(TDI-48675):JDBC ELT components can not handle Japanese table,schama,alias name for insert/update/delete(#8131) (#8150) 2022-11-07 16:29:54 +08:00
Jane Ding
40a47fd9f7 fix(TUP-36862):Transfer pendo to EE (#8108) (#8148)
https://jira.talendforge.org/browse/TUP-36862
2022-11-07 09:27:54 +08:00
Zhiwei Xue
2bdc36aab8 fix(TUP-33707):Cannot invoke "javax.script.ScriptEngine.createBindings()" for Java 17 (#8146)
* 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-03 15:02:44 +08:00
sbliu
df92a62c56 fix(TUP-36853) fix NPE during convert standard job to big data stream job (#8144) 2022-11-03 11:28:41 +08:00
Xilai Dai
9bbcb04a53 feat(APPINT-34708) exclude libraries for cSQL/cSQLConnection (#8056) (#8142)
* feat(APPINT-34708) exclude libraries for cSQL/cSQLConnection

* feat(APPINT-34707) exclude libraries for cJsonValidator/cXmlValidator
2022-11-02 20:16:14 +08:00
Oleksandr Zhelezniak
9153d9f4ef chore(TDI-48748): show UIfields for missed target (#8121)
* TCK studion-integration
* evaluate as true UI condition where can't resolve target field
2022-11-01 10:38:51 +02:00
kjwang
56fc425f96 TUP-36760 Should remove Workspace from "Other login mode">"Manage (#8086) (#8138)
* TUP-36760 Should remove Workspace from "Other login mode">"Manage
Connections">Preference
https://jira.talendforge.org/browse/TUP-36760
2022-10-31 10:17:02 +08:00
jiezhang-tlnd
7d54c939ce Jzhang/tup 36712 (#8076)
* 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

* change to variable

* fix(TUP-36712)Schema lost when convert DeltaLake job to spark
2022-10-28 09:50:44 +08:00
jzhao
af2c772e5f feat(TDI-48442):Add data action MERGE for tELTTeradataOutput/tELTNetezzaOutput (#8088) (#8137)
* 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-28 09:31:49 +08:00
tsasada-talend
8624e9148b Add localized files (#8134)
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-10-27 16:31:32 +08:00
jzhangbj
407d7b4a19 Add localized files (#8135)
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-10-27 16:27:27 +08:00
Alexiane Yvonet
b8bd48d736 Add localized files (#8116)
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-10-27 15:48:33 +08:00
tsasada-talend
d381c3010f Add localized files (#8112)
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-10-27 15:41:20 +08:00
Alexiane Yvonet
ae790e6c7c Add localized files (#8133)
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-10-27 15:34:12 +08:00
Dmytro Ochkas
6801577e96 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:29:05 +03:00
zyuan-talend
5671b2f063 fix(TUP-36820):add junit test. (#8124) 2022-10-26 11:15:48 +08:00
sbieliaievl
7758921bb7 fix(APPINT-34581) (#8130) 2022-10-26 09:58:39 +08:00
hzhao
491e85e141 Revert "feat(TUP-33040): ELT components cannot handle table/column name in (#8087)" (#8125)
This reverts commit 708a367d5d.
2022-10-25 14:15:49 +08:00
Jane Ding
19756c9a21 fix(TUP-36833):DB Common folder not showing under Palette tab (#8073) (#8119)
* 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 17:54:22 +08:00
sbieliaievl
0d88849e4a fix(APPINT-34581) - fixed versions 2022-10-18 14:30:53 +02:00
pyzhou
de38e44e8b fix(TDI-48465):tOracleBulkExec stream row separator (#8089) 2022-10-16 23:39:16 +08:00
jzhangbj
8f9bdd4bf3 Add localized files (#8092)
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-10-14 20:00:35 +08:00
tsasada-talend
38d70e7e8c Add localized files (#8091)
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-10-14 20:00:20 +08:00
sbieliaievl
4bcd21e6d5 fix(APPINT-34581) - Route and data services features versions behave differently in Talend Runtime (#8070)
* fix(APPINT-34581) - fixed job feature version relation to cloud

* fix(APPINT-34581) - fixed import
2022-10-13 10:39:36 +03:00
Chao MENG
56d70ec71f feat(TUP-36777): Improve workspace setting for "Log in with Talend Cloud" (#8084)
* feat(TUP-36777): Improve workspace setting for "Log in with Talend
Cloud"
https://jira.talendforge.org/browse/TUP-36777
2022-10-13 12:00:06 +08:00
Jane Ding
e0a8ca5871 fix(TUP-36284):Compile error in Studio (#8010) (#8090)
* 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:58:06 +08:00
hzhao
708a367d5d feat(TUP-33040): ELT components cannot handle table/column name in (#8087)
Japanese
2022-10-12 17:38:22 +08:00
Emmanuel GALLOIS
d64850ef04 feat(TDI-48595): bump component-runtime dependencies (#8049) 2022-10-12 10:20:29 +02:00
Zhiwei Xue
92ecd7e24b feat(TUP-36415):Add needed --add-opens parameters for job execution (#8062) 2022-10-12 10:00:24 +08:00
kjwang
576a491873 Fix TUP-36781 If do not select "ask me at startup" on login project (#8055)
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:22 +08:00
wang wei
2eeca2462d 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) (#8081) 2022-10-09 16:55:05 +08:00
zyuan-talend
9e7b3b559c fix(TUP-36653):Schema Update Detection popping up everytime upon opening (#8057) (#8074)
the job.
2022-10-09 15:23:16 +08:00
wang wei
0556c7afa5 fix(TDI-48473): Job using tLDAPInput with Protocol=LDAPS fails in MDM (#8079) 2022-10-09 10:02:06 +08:00
Alexiane Yvonet
f562bf0924 Add localized files (#8071)
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-10-09 09:19:07 +08:00
jiezhang-tlnd
f2f9696e13 fix(TUP-36755)Unable to load the jar automatically (#8033)
https://jira.talendforge.org/browse/TUP-36755
2022-10-08 11:28:01 +08:00
Wei Hua
816b7bfe95 APPINT-35038 Adding a comment breaks tRESTRequest and the resulting body is "null" (#8044)
-- clear comment for PUT/POST method outflow
2022-10-05 15:42:17 +02:00
tsasada-talend
0c57a88e0d Add localized files (#8061)
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-09-30 14:39:52 +08:00
Alexiane Yvonet
40f0a0250d Add localized files (#8063)
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-09-30 14:39:44 +08:00
Alexiane Yvonet
f522181bc1 Add localized files (#8058)
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-09-30 14:39:37 +08:00
sbliu
1e200e0507 feat(TUP-36169) add unit test plugin (#7961) 2022-09-30 14:38:44 +08:00
zyuan-talend
8c49918c3e fix(TUP-36626):tAmazonMysqlInput gets only tAmazonMysqlConnection and (#8018) (#8060)
remove the version compatible tMysqlConnection from valid list.
2022-09-30 14:08:27 +08:00
dicarcab
277c7295b5 fix(TBD-14224): NPE exception while opening BigData Streaming Job (#8065) 2022-09-29 18:17:42 +02:00
wang wei
967a9255e6 fix(TDI-48550): tMysqlSCD component does not change date(time) fields to NULL (#8002) (#8051) 2022-09-29 09:52:37 +08:00
Dmytro Sylaiev
2e8a9ecf6d 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-27 18:14:20 +03:00
zshen-talend
19508d6f72 fix(TDQ-20725): The default project dir path support reference project (#7999) (#8047) 2022-09-27 18:00:19 +08:00
vyu-talend
99b1f426b7 feat(TDI-42323):add entry to custom ratio. (#7968)
* 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:48:30 +08:00
kjwang
78a6da482d Kjwang/tup 36748 studio send request to wrong data center (#8032) (#8041)
* TUP-36748 Studio send request to wrong data center when token invalid
https://jira.talendforge.org/browse/TUP-36748
2022-09-26 18:22:34 +08:00
Chao MENG
a90bb7aed8 feat(TUP-36738): Not able to change workspace with "Log in with Talend (#8031)
feat(TUP-36738): Not able to change workspace with "Log in with Talend Cloud"
https://jira.talendforge.org/browse/TUP-36738
2022-09-26 18:01:42 +08:00
kjwang
d220fc90c2 kjwang/Fix TUP-36721 Only display SSO page for Talend Studio (#8016) (#8040)
kjwang/Fix TUP-36721 Only display SSO page for Talend Studio
https://jira.talendforge.org/browse/TUP-36721
2022-09-26 17:52:33 +08:00
Oleksandr Zhelezniak
9bf1d76f35 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:25:56 +03:00
kjwang
5b1fdbadd3 Fix TUP-36718 SSO Login: "Authentication credentials were missing or (#8038)
* 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-26 15:14:26 +08:00
kjwang
679d72115b Kjwang/fix tup 36733 fix junit error on maintenance 8.0 (#8027) (#8037)
Fix TUP-36733 Fix junit error on maintenance/8.0
https://jira.talendforge.org/browse/TUP-36733
2022-09-26 10:59:04 +08:00
kjwang
c55767e937 Fix: TUP-36714 Improve the code for SSO feature (#8012) (#8017) (#8036)
* Fix: TUP-36714 Improve the code for SSO feature
https://jira.talendforge.org/browse/TUP-36714
2022-09-26 10:45:38 +08:00
kjwang
523c1d26fd Kjwang/feat tup 32606 support sso on studio (#7494) (#8004) (#8035)
TUP-32606 Support SSO on Studio
https://jira.talendforge.org/browse/TUP-32606
2022-09-26 09:44:12 +08:00
Oleksandr Zhelezniak
0c23d25eeb fix(TDI-48540): jasper add missed jar (#8011)
* commons-collections (v2) is used by commons-beanutils
2022-09-23 14:18:53 +03:00
hcyi
6c2da8c724 fix(TUP-36584):tMap component hang with tRowGenerator; can only end task using Task Manager (#7986)
* 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:32 +08:00
tsasada-talend
b48311e366 Add localized files (#8026)
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-09-22 17:41:01 +08:00
zyuan-talend
be98e6c3eb fix(TUP-36519):"Detect and update all jobs" does not update all jobs. (#7959) (#8025) 2022-09-22 16:47:38 +08:00
bhe-talendbj
d9885994fc fix(TUP-35879): revert migration task (#8014) (#8019) 2022-09-21 17:39:00 +08:00
pyzhou
b39f4be745 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:03:22 +08:00
Oleksandr Zhelezniak
95c8141818 fix(TDI-48495): support dieOnError in tS3List (#7977) 2022-09-19 09:54:35 +03:00
Dmytro Grygorenko
de06f438be fix(TDI-48560): fix regression with MDC and Log4J. (#8006) 2022-09-16 18:05:09 +03:00
jzhangbj
17b165b8c8 Add localized files (#7997)
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-09-16 11:54:47 +08:00
tsasada-talend
dc3fb0f4db Add localized files (#7995)
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-09-16 10:36:01 +08:00
Alexiane Yvonet
64bdfe7ca3 Add localized files (#7994)
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-09-16 09:59:43 +08:00
Emmanuel GALLOIS
8e4d96b515 fix(TCOMP-2182): pass version to tck guess schema (#7987) 2022-09-15 11:42:33 +02:00
vyu-talend
a6190d6896 fix(TDI-48213):fix the risk of not closing resources (#7922)
* 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>
2022-09-15 16:33:45 +08:00
Dmytro Grygorenko
1f5a3f62d8 feat(TDI-46676): MDC logging for Log4J. (#7702)
* feat(TDI-46676): MDC logging for Log4J.

* feat(TDI-46676): implement for Log4J2 only.

* feat(TDI-46676): formatting, duplicate entries removed.

* feat(TDI-46676): restoring after rebase.

* feat(TDI-46676): fix after rebase.

* feat(TDI-46676): add content of jobInfo.properties

* fix(TDI-46676): corrections after rebase.

* feat(TDI-46676): typos.

* feat(TDI-46676): changes after code review.
2022-09-14 16:11:56 +03:00
Jane Ding
56577d508b fix(TUP-36251):[8.0.1] File JSON metadata not working when special character or space is available in the field name (#7992)
* 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

* 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 20:15:55 +08:00
Liu Xinquan
a5ad384e46 Revert "fix(TDQ-20610) org.apache.lucene:lucene-core (#7944)" (#7982)
This reverts commit 8ea780dc4d.
2022-09-13 17:47:58 +08:00
AlixMetivier
4e9e4e0290 feat(TBD-13647): allow switch from transient to interactive cluster (#7713) (#7971)
* 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>

Co-authored-by: AlixMetivier-zz <50327620+AlixMetivier-zz@users.noreply.github.com>
2022-09-13 08:38:40 +02:00
zyuan-talend
021574267c fix(TUP-35745): Research: Bring a dark mode for Talend Studio. (#7966) 2022-09-13 10:49:19 +08:00
pyzhou
761e336111 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:10:39 +08:00
jzhangbj
edb39550e6 Add localized files (#7969)
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-09-09 17:26:00 +08:00
Dmytro Ochkas
245bd37ca8 chore(TDI-48339): aws CVE path traversal (#7957)
bump aws-java-sdk to 1.12.297
2022-09-09 11:55:39 +03:00
Oleksandr Zhelezniak
54c00306d9 fix(TDI-47865): guess schema flow (#7863) 2022-09-09 11:31:50 +03:00
tsasada-talend
2c7248ef83 Add localized files (#7967)
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-09-09 15:13:57 +08:00
Alexiane Yvonet
01cd9c232b Add localized files (#7965)
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-09-09 14:59:42 +08:00
Jane Ding
fea8d4065a update jdt pref (#7964) 2022-09-08 11:54:33 +08:00
sbliu
d143d33850 feat(TUP-36340) oracle add support of orai18n.jar (#7861) (#7962) 2022-09-08 11:08:19 +08:00
hcyi
8e3ec1f574 fix(TUP-35511):[JDBC TCK]: improve the ui layout for tck connector in (#7948)
studio
2022-09-07 15:35:43 +08:00
bhe-talendbj
17742a2c68 feat(TUP-36373): move m2 setting out of local setting (#7956) (#7958) 2022-09-07 09:59:01 +08:00
Liu Xinquan
8ea780dc4d fix(TDQ-20610) org.apache.lucene:lucene-core (#7944) 2022-09-06 17:19:16 +08:00
hzhao
b63ce620eb fix(TUP-36593): Nexus proxy password is stored in clear text in project (#7935) (#7953)
* 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-06 09:34:19 +08:00
Jane Ding
19e68c1694 fix(TUP-36440):JSON parsing issue when creating a new JSON file input in (#7909) (#7952)
* 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:49:07 +08:00
kjwang
64b10e61a9 Kjwang/tup 32641 change the help system (#7856) (#7950)
* 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:48:05 +08:00
wang wei
7d7e4398ac fix(TDI-48333): [CVE]: replace or remove xalan dependency for tfileinputxml and twebservicexxx components (#7890) (#7949) 2022-09-05 11:08:06 +08:00
pyzhou
f5b4f882ff fix(TDI-48456):tPOP java8 compatibility (#7929) 2022-09-02 17:39:04 +08:00
jzhangbj
20b460ddc3 Add localized files (#7936)
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-09-02 14:56:04 +08:00
tsasada-talend
125870fea8 Add localized files (#7934)
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-09-02 14:41:20 +08:00
sbliu
ac916cbc57 fix junit failure(#7933) (#7940) 2022-09-02 14:27:07 +08:00
bhe-talendbj
e180852f07 feat(TUP-36373): Delete .m2 with UI option when apply a monthly updat… (#7928)
* 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

* feat(TUP-36373): add doc link
2022-09-01 16:54:53 +08:00
Oleksandr Zhelezniak
c05c6f3c7f fix(TDI-48363): skip null enum parameter (#7870) 2022-09-01 11:11:49 +03:00
Oleksandr Zhelezniak
50db6d0d8a fix(TDI-48446): require library when no connection (#7924) 2022-09-01 10:36:47 +03:00
pyzhou
d09be2efef Added extra fields, dependencies + token fetch logic. (#7918) (#7923)
Co-authored-by: Balázs Gunics <bgunics@talend.com>

Co-authored-by: Balázs Gunics <bgunics@talend.com>
2022-09-01 11:20:50 +08:00
hcyi
2b69024fee fix(TUP-36483):Code generation fails with xmlmap. (#7892) 2022-08-30 17:56:55 +08:00
jzhao
2c97652a74 fix(TDI-48426):CVE: org.postgresql:postgresql:42.2.25 (#7902) 2022-08-30 15:57:33 +08:00
bhe-talendbj
f6d32e4ac1 fix(TUP-35879): Default value is not saved into the job in tck component (#7815) (#7914)
* 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-29 17:46:44 +08:00
sbliu
b03481e60e chore(TUP-36502) upgrade org.postgresql:postgresql:42.2.25 to 42.2.26 (#7901) 2022-08-29 16:37:51 +08:00
Joe
4455d61521 fix(TUP-35231): tELTMap update query not be wrapped for SET column when (#7855) (#7916)
* 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-29 10:21:01 +08:00
Dmytro Sylaiev
c9c84e121c fix(TDI-48316): Add remote dir name (#7864) 2022-08-19 20:39:32 +03:00
Alexiane Yvonet
4905cfd090 Add localized files (#7908)
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-08-19 10:30:10 +08:00
Xilai Dai
30c0b563b1 fix(APPINT-34738) add MsmqTalend into osgi-exclude.properties (#7898) 2022-08-17 18:33:20 +08:00
wang wei
710bf29d2f fix(TDI-47696): [JDBC TCK]: Support dynamic changable setting when every row come, for tjdbcrow preparedstatementtable ui (#7711) (#7893) 2022-08-17 10:07:41 +08:00
zyuan-talend
e6c614bbc2 fix(TUP-35909):add junit test. (#7887) 2022-08-15 10:59:54 +08:00
Xuwei ZHU
4782532dca Add localized files (#7881)
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-08-12 08:58:23 +08:00
jzhangbj
2f3bdc3e0b Add localized files (#7883)
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-08-12 08:49:17 +08:00
Alexiane Yvonet
b2250689e9 Add localized files (#7877)
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-08-11 17:40:01 +08:00
vyu-talend
ac2245fb06 Revert "fix(TDI-48213):fix the closing resources issues. (#7826) (#7873)" (#7879)
This reverts commit e29fa80408.
2022-08-11 15:35:10 +08:00
zyuan-talend
32dcb2e020 fix(TUP-35909):update junit test. (#7854) (#7871) 2022-08-10 19:17:38 +08:00
vyu-talend
e29fa80408 fix(TDI-48213):fix the closing resources issues. (#7826) (#7873)
* fix(TDI-48213):fix the closing resources issues.

* fix(TDI-48213):change the log level.
2022-08-10 18:30:52 +08:00
hzhao-talendbj
f1967f2645 (TUP-36341): Unable to run DQ reports with subjob+joblet on a cloud or (#7838) (#7872)
* (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-10 16:58:09 +08:00
Oleksandr Zhelezniak
2c2f8e884e fix(TDI-46563): fix log message (#7869)
* add variable with empty value
2022-08-09 14:10:25 +03:00
jiezhang-tlnd
74d5f20345 Jzhang/tup 36410 (#7868)
* 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:18 +08:00
hcyi
db8732247a feat(TUP-35963):fix a bug when rename the link. (#7731) 2022-08-09 16:35:16 +08:00
Abdulhamid Rashankar
a91a2f6e71 APPINT-34738: Integrate Talend-customized Microsoft MQ driver jar with improved native library loading (#7858)
* APPINT-34738: Integrate Talend-customized Microsoft MQ driver jar with improved native library loading

* APPINT-34738: Integrate Talend-customized Microsoft MQ driver jar with improved native library loading

* APPINT-34738: Integrate Talend-customized Microsoft MQ driver jar with improved native library loading
2022-08-09 09:18:01 +02:00
pyzhou
e6f036a519 feat(TDI-47369): tSendMail Oauth2 (#7784) (#7866)
* 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.
# Conflicts:
#	main/plugins/org.talend.repository/plugin.xml
2022-08-09 10:07:51 +08:00
pyzhou
6c5527d6e9 fix(TDI-48322):align javax.mail version (#7847) 2022-08-09 10:06:48 +08:00
wang wei
532c950982 fix(TDI-47717): [JDBC TCK]: support tjdbccommit/tjdbcrollback (#7867) 2022-08-09 09:42:54 +08:00
qiongli
f26d262975 fix(TDQ-20362): Update and save analysis when rename jdbc connection (#7817) 2022-08-08 09:48:59 +08:00
pyzhou
d3800d42ea fix(TDI-46737) (#7843) 2022-08-05 10:29:07 +08:00
Xuwei ZHU
4a2583f672 Add localized files (#7846)
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-08-04 17:24:30 +08:00
jzhangbj
4fde7f3df4 Add localized files (#7845)
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-08-04 17:20:09 +08:00
Alexiane Yvonet
5c962b4b9c Add localized files (#7844)
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-08-04 17:02:20 +08:00
msjian
acd2da7b3c fix(TDQ-20638): fix a replacement error for DQ item (#7839) 2022-08-02 17:14:43 +08:00
sbliu
befb625719 feat(TUP-29393) amend message. (#7837) 2022-08-02 15:33:48 +08:00
pyzhou
43f7b1f96b feat(TDI-46737):print jobinfo log move (#7832) 2022-08-02 14:46:18 +08:00
vyu-talend
3cbfcff2a1 fix(TDI-48246):upgrade guava to align. (#7809) (#7834) 2022-08-02 12:03:25 +08:00
pyzhou
40214ad0f9 fix(TDI-48254): tRSSOoutput encoding issue (#7799)
* fix(TDI-48254): tRSSOoutput encoding issue

* Changed to compatible with jdk 8
2022-08-02 10:26:22 +08:00
vyu-talend
7aeecb33de fix(TDI-48082):add additional parameters to all greenplum. (#7794) (#7830) 2022-08-02 10:20:19 +08:00
tsasada-talend
120c8f067f Add localized files (#7823)
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-07-29 15:29:58 +08:00
jzhangbj
4aef962f93 Add localized files (#7822)
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-07-29 15:29:16 +08:00
Alexiane Yvonet
ccfd0210d9 Add localized files (#7821)
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-07-29 15:28:23 +08:00
jzhangbj
efb3892845 Add localized files (#7810)
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-07-29 15:27:22 +08:00
sbliu
0a076d5864 feat(TUP-29393) remove preference initialization of nexus connection timeout (#7789) (#7820)
* 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:58:14 +08:00
jiezhang-tlnd
aa3d21f60d fix(TUP-35446)CVE: org.apache.maven:maven-core:3.8.3 (#7747) (#7819) 2022-07-27 15:09:11 +08:00
sbliu
6057fa9b53 fix(TUP-36128) fix problem when parse where condition string which contains global string for tELTmap. (#7801) (#7816)
* fix(TUP-36128) fix problem when parse where condition string which contains global string for tELTmap.

* fix(TUP-36128) add junit .
2022-07-27 10:48:10 +08:00
wang wei
af32c2d607 fix(TDI-48086): CVE poi-scratchpad (#7814) 2022-07-27 10:19:52 +08:00
wang wei
738392a032 fix(TDI-48203): [CVE]: routines.system.JSONObject(Object bean) use reflect to call method invoke, that's dangerous for evil script inject(#7721) (#7813) 2022-07-27 09:51:33 +08:00
Oleksandr Zhelezniak
23a494f865 chore(TDI-48177): bump google oauth (#7765)
* 1.31.0 -> 1.33.3
2022-07-26 11:03:43 +03:00
sbliu
fbf81a76fe fix(TUP-36252) fix NPE for tos studio build job (#7806) 2022-07-26 14:25:30 +08:00
jzhao
b5bbb4ab54 feat(TDI-46737):print jobinfo log (#7618) (#7811)
* 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

Co-authored-by: pyzhou <pyzhou@talend.com>
2022-07-26 11:29:58 +08:00
sbliu
79091dad0d chore(TUP-35865) remove dependency link to wstx-asl in libraries.apache.axis (#7727) 2022-07-22 17:28:11 +08:00
Zhiwei Xue
86c76cea8f fix(TUP-18979):Migration tasks including mapping files (#7730) (#7808) 2022-07-22 16:51:42 +08:00
Oleksandr Zhelezniak
5833e5b3b3 chore(TDI-48081): bump xmlsec 2.3.1 (#7769)
* MCRMInput\Output 2.1.2 -> 2.3.1
2022-07-22 09:47:10 +03:00
kjwang
a30b7fb50e TUP-36157 Error when install Bigtable in studio: Illegal character in (#7764)
TUP-36157 Error when install Bigtable in studio: Illegal character in query
https://jira.talendforge.org/browse/TUP-36157
2022-07-22 09:37:05 +08:00
Jane Ding
663a066477 fix(TUP-36192):Talend 8 - Unable to Save Job (#7783) (#7805)
* 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:50:30 +08:00
tsasada-talend
ff52f0c86f Add localized files (#7800)
Co-authored-by: jenkins-git <jenkins-git@talend.com>
2022-07-21 16:43:36 +08:00
sbliu
d045f176a1 chore(TUP-35948) showOverwrite enabled when is cloud connection (#7770) (#7796)
show override in preference page load from logon dialog when product is cloud license or tp_all license.
2022-07-21 10:58:35 +08:00
jzhao
71fda3d5be fix(TDI-48235):align bouncycastle to 1.70 (#7760) 2022-07-20 16:16:31 +08:00
jzhao
dedff2bbda fix(TDI-48046): CVE: IBM MQ 9.2.4.0 (#7758) 2022-07-20 15:41:56 +08:00
hzhao-talendbj
c990583855 Revert "chore(TUP-35265): upgrade 'crypto-utils' jar in low level (#7645) (#7724)" (#7792)
This reverts commit 7e5d9ed650.
2022-07-19 16:55:41 +08:00
jiezhang-tlnd
4f93848f0f Revert "Revert "feat(TUP-35808)Generate module name from maven url (#7751)" (#7759)" (#7793)
This reverts commit c8e9707bb9.
2022-07-19 16:04:46 +08:00
pyzhou
4a368ce478 fix(TDI-48024): ResumeUtil performance issue. (#7771) 2022-07-19 10:31:11 +08:00
vyu-talend
92f3ef63e8 fix(TDI-47976):fix some potencial npe. (#7757) (#7787) 2022-07-19 10:21:27 +08:00
wang wei
1d8a178b8a fix(TDI-48221): tDBBulkExec (MYSQL) Failing with error (#7785) 2022-07-18 10:10:59 +08:00
15562 changed files with 799086 additions and 1077110 deletions

View File

@@ -7,4 +7,5 @@ Huge thanks to these people who contributed in making Talend product better:
- [overpackaging](https://github.com/overpackaging) (Steeve Dreux)
- [brazabr](https://github.com/brazabr) (Thiago Benvenuto)
- [phoflack](https://jira.talendforge.org/secure/ViewProfile.jspa?name=phoflack) (Philip Hoflack)
- [bgunics-talend](https://github.com/bgunics-talend) (Balasz Gunics)
- [bgunics-talend](https://github.com/bgunics-talend) (Balasz Gunics)
- [cflamain](https://github.com/cflamain) (Christophe Flamain)

14
SECURITY.md Normal file
View File

@@ -0,0 +1,14 @@
# Security Policy
## Supported Versions
| Version | Supported |
| ------- | ------------------ |
| 8.0.x | :white_check_mark: |
| 7.3.x | :white_check_mark: |
| < 7.3.x | :x: |
## Reporting a Vulnerability
For information on how to report a new security problem please see [here](https://www.talend.com/security/vulnerability-disclosure/).
Our existing security advisories are published [here](https://www.talend.com/security/incident-response/).

View File

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

@@ -164,7 +164,7 @@
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="org.talend.designer.filemultischemas"
download-size="0"

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

@@ -13,6 +13,10 @@
package org.talend.designer.abstractmap.managers;
import org.apache.log4j.Level;
import org.eclipse.swt.SWT;
import org.eclipse.swt.graphics.Color;
import org.eclipse.swt.widgets.Display;
import org.talend.commons.ui.runtime.ITalendThemeService;
import org.talend.commons.ui.runtime.exception.ExceptionHandler;
import org.talend.designer.abstractmap.ui.dnd.DraggingInfosPopup;
import org.talend.designer.abstractmap.ui.properties.LINK_STYLE;

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

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

@@ -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" %>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

View File

@@ -1,143 +0,0 @@
<COMPONENT>
<HEADER PLATEFORM="ALL"
SERIAL=""
VERSION="2.1"
STATUS="ALPHA"
COMPATIBILITY="WIN32"
AUTHOR="Talend"
RELEASE_DATE="20070703A"
STARTABLE="false"
EXTENSION="org.talend.designer.mapper"
SCHEMA_AUTO_PROPAGATE="false"
DATA_AUTO_PROPAGATE="false"
HAS_CONDITIONAL_OUTPUTS="true"
PARTITIONING="AUTO"
LOG4J_ENABLED="true"
>
<SIGNATURE></SIGNATURE>
</HEADER>
<FAMILIES>
<FAMILY>Processing</FAMILY>
</FAMILIES>
<DOCUMENTATION>
<URL/>
</DOCUMENTATION>
<CONNECTORS>
<CONNECTOR BUILTIN="true" CTYPE="FLOW" MIN_INPUT="1" MIN_OUTPUT="1"/>
<CONNECTOR CTYPE="LOOKUP" COMPONENT="tAdvancedHash"/>
<CONNECTOR CTYPE="ITERATE" MAX_OUTPUT="0" MAX_INPUT="0"/>
<CONNECTOR CTYPE="SUBJOB_OK" MAX_INPUT="0"/>
<CONNECTOR CTYPE="SUBJOB_ERROR" MAX_INPUT="0"/>
<CONNECTOR CTYPE="COMPONENT_OK" MAX_OUTPUT="0"/>
<CONNECTOR CTYPE="COMPONENT_ERROR" MAX_OUTPUT="0"/>
<CONNECTOR CTYPE="RUN_IF" MAX_OUTPUT="0"/>
</CONNECTORS>
<PARAMETERS>
<PARAMETER NAME="MAP" FIELD="EXTERNAL" NUM_ROW="1">
<DEFAULT/>
</PARAMETER>
<PARAMETER
NAME="LINK_STYLE"
FIELD="CLOSED_LIST"
NUM_ROW="1"
>
<ITEMS DEFAULT="">
<ITEM NAME="AUTO" VALUE="AUTO" />
<ITEM NAME="BEZIER_CURVE" VALUE="BEZIER_CURVE" />
<ITEM NAME="LINE" VALUE="LINE" />
</ITEMS>
</PARAMETER>
<PARAMETER NAME="TEMPORARY_DATA_DIRECTORY" FIELD="DIRECTORY"
NUM_ROW="2" GROUP="STORE_ON_DISK"
>
<!--<DEFAULT>"__COMP_DEFAULT_FILE_DIR__/temp"</DEFAULT>
--></PARAMETER>
<PARAMETER NAME="PREVIEW" FIELD="IMAGE" SHOW="true" NUM_ROW="4">
<DEFAULT/>
</PARAMETER>
<PARAMETER
NAME="DIE_ON_ERROR"
FIELD="CHECK"
NUM_ROW="100"
SHOW="false"
>
<DEFAULT>true</DEFAULT>
</PARAMETER>
<PARAMETER
NAME="LKUP_PARALLELIZE"
FIELD="CHECK"
NUM_ROW="100"
SHOW="false"
>
<DEFAULT>false</DEFAULT>
</PARAMETER>
<PARAMETER
NAME="LEVENSHTEIN"
FIELD = "TEXT"
NUM_ROW="120"
SHOW="false"
>
<DEFAULT>0</DEFAULT>
</PARAMETER>
<PARAMETER
NAME="JACCARD"
FIELD = "TEXT"
NUM_ROW="120"
SHOW="false"
>
<DEFAULT>0</DEFAULT>
</PARAMETER>
<PARAMETER
NAME="ENABLE_AUTO_CONVERT_TYPE"
FIELD="CHECK"
NUM_ROW="110"
SHOW="false"
>
<DEFAULT>false</DEFAULT>
</PARAMETER>
</PARAMETERS>
<ADVANCED_PARAMETERS>
<PARAMETER NAME="ROWS_BUFFER_SIZE" FIELD="TEXT"
REQUIRED="true" NUM_ROW="1" SHOW="true" GROUP="STORE_ON_DISK"
>
<DEFAULT>2000000</DEFAULT>
</PARAMETER>
<PARAMETER
NAME="CHANGE_HASH_AND_EQUALS_FOR_BIGDECIMAL"
FIELD="CHECK"
NUM_ROW="10"
>
<DEFAULT>true</DEFAULT>
</PARAMETER>
</ADVANCED_PARAMETERS>
<CODEGENERATION>
<TEMPLATES INPUT="TMAP_OUT" OUTPUT="TMAP_IN">
<TEMPLATE NAME="TMAP_OUT" COMPONENT="tMapOut">
<LINK_TO NAME="TMAP_IN" CTYPE="ROWS_END"/>
</TEMPLATE>
<TEMPLATE NAME="TMAP_IN" COMPONENT="tMapIn"/>
</TEMPLATES>
</CODEGENERATION>
<RETURNS/>
<PLUGINDEPENDENCIES>
<PLUGINDEPENDENCY ID="org.talend.designer.abstractmap" />
</PLUGINDEPENDENCIES>
</COMPONENT>

View File

@@ -1,46 +0,0 @@
<%@ jet
imports="
java.util.ArrayList
java.util.Collections
java.util.Comparator
java.util.List
java.util.HashMap
java.util.Map
org.talend.designer.codegen.config.CodeGeneratorArgument
org.talend.commons.utils.generation.CodeGenerationUtils
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.designer.mapper.language.ILanguage
org.talend.designer.mapper.language.generation.JavaGenerationManager
org.talend.designer.mapper.language.generation.HashedMetadataTable
org.talend.designer.mapper.language.LanguageProvider
org.talend.designer.mapper.model.tableentry.TableEntryLocation
org.talend.designer.mapper.utils.DataMapExpressionParser
org.talend.core.model.process.IConnection
org.talend.core.model.process.EConnectionType
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.core.model.process.BlockCode
org.talend.core.model.process.INode
org.talend.core.model.process.ElementParameterParser
org.talend.core.GlobalServiceRegister
org.talend.core.model.metadata.IAutoConvertTypesService
org.talend.core.model.metadata.types.AutoConversionType
"
skeleton="tMap_commons.skeleton"
%>
<%@ include file="tMap_main.inc.javajet" %>

View File

@@ -1,12 +0,0 @@
HELP=org.talend.help.tMap
LONG_NAME=Allows joins, column or row filtering, transformations, and multiple outputs
MAP.NAME=Map Editor:
PREVIEW.NAME=Preview
STORE_ON_DISK.NAME=Store on disk
TEMPORARY_DATA_DIRECTORY.NAME=Temp data directory path:
ROWS_BUFFER_SIZE.NAME=Max buffer size (nb of rows):
LINK_STYLE.NAME=Mapping links display as:
LINK_STYLE.ITEM.AUTO=Auto
LINK_STYLE.ITEM.BEZIER_CURVE=Curves
LINK_STYLE.ITEM.LINE=Lines (fast)
CHANGE_HASH_AND_EQUALS_FOR_BIGDECIMAL.NAME=Ignore trailing zeros for BigDecimal

View File

@@ -1,10 +0,0 @@
LONG_NAME=Erm\u00F6glicht Joins, Spalten- oder Zeilenfilter, Transformationen und multiple Ausgaben
MAP.NAME=Map Editor\:
PREVIEW.NAME=Vorschau
STORE_ON_DISK.NAME=Speichere auf Festplatte
TEMPORARY_DATA_DIRECTORY.NAME=Verzeichnis f\u00FCr tempor\u00E4re Daten:
ROWS_BUFFER_SIZE.NAME=Maximale Puffergr\u00F6\u00DFe (Anzahl Zeilen)
LINK_STYLE.NAME=Mapping Verbindungen anzeigen als:
LINK_STYLE.ITEM.AUTO=Auto
LINK_STYLE.ITEM.BEZIER_CURVE=Kurven
LINK_STYLE.ITEM.LINE=Linien (schnell)

View File

@@ -1,12 +0,0 @@
HELP=org.talend.help.tMap
LONG_NAME=Permet d'effectuer des jointures, des filtres de colonnes ou de lignes, des transformations et de multiples sorties
MAP.NAME=\u00C9diteur de mapping
PREVIEW.NAME=Aper\u00E7u
STORE_ON_DISK.NAME=Stocker sur le disque
TEMPORARY_DATA_DIRECTORY.NAME=Chemin du r\u00E9pertoire des donn\u00E9es temporaires :
ROWS_BUFFER_SIZE.NAME=Taille maximale de la m\u00E9moire tampon (nombre de lignes) :
LINK_STYLE.NAME=Les liens de mapping s'affichent comme\u00A0:
LINK_STYLE.ITEM.AUTO=Auto
LINK_STYLE.ITEM.BEZIER_CURVE=Courbes
LINK_STYLE.ITEM.LINE=Lignes (rapide)
CHANGE_HASH_AND_EQUALS_FOR_BIGDECIMAL.NAME=Ignorer les z\u00E9ros de fin pour BigDecimal

View File

@@ -1,10 +0,0 @@
LONG_NAME=Permetti join, colonne o righe filtrate, trasforazioni, e output multipli
MAP.NAME=Editor Map:
PREVIEW.NAME=Anteprima
STORE_ON_DISK.NAME=Salva su disco
TEMPORARY_DATA_DIRECTORY.NAME=Temp data directory path:
ROWS_BUFFER_SIZE.NAME=Grandezza buffer (n. di record)
LINK_STYLE.NAME=Mappa collegameti come:
LINK_STYLE.ITEM.AUTO=Auto
LINK_STYLE.ITEM.BEZIER_CURVE=Curve
LINK_STYLE.ITEM.LINE=Linee (veloce)

View File

@@ -1,12 +0,0 @@
HELP=org.talend.help.tMap
LONG_NAME=\u7D50\u5408\u3001\u30AB\u30E9\u30E0\u3001\u884C\u306E\u3044\u305A\u308C\u304B\u306E\u30D5\u30A3\u30EB\u30BF\u30EA\u30F3\u30B0\u3001\u5909\u63DB\u3001\u8907\u6570\u51FA\u529B\u3092\u8A31\u53EF\u3057\u307E\u3059
MAP.NAME=\u30DE\u30C3\u30D7\u30A8\u30C7\u30A3\u30BF\u30FC
PREVIEW.NAME=\u30D7\u30EC\u30D3\u30E5\u30FC
STORE_ON_DISK.NAME=\u30C7\u30A3\u30B9\u30AF\u306B\u4FDD\u7BA1
TEMPORARY_DATA_DIRECTORY.NAME=\u4E00\u6642\u30C7\u30FC\u30BF\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u30FC\u30D1\u30B9
ROWS_BUFFER_SIZE.NAME=\u6700\u5927\u30D0\u30C3\u30D5\u30A1\u30FC\u30B5\u30A4\u30BA\uFF08\u884C\u6570\uFF09
LINK_STYLE.NAME=\u30DE\u30C3\u30D4\u30F3\u30B0\u30EA\u30F3\u30AF\u3092\u6B21\u306E\u3088\u3046\u306B\u8868\u793A:
LINK_STYLE.ITEM.AUTO=\u81EA\u52D5
LINK_STYLE.ITEM.BEZIER_CURVE=\u66F2\u7DDA
LINK_STYLE.ITEM.LINE=\u76F4\u7DDA\uFF08\u9AD8\u901F\uFF09
CHANGE_HASH_AND_EQUALS_FOR_BIGDECIMAL.NAME=BigDecimal\u3067\u672B\u5C3E\u306E0\u3092\u7121\u52B9\u5316

View File

@@ -1,11 +0,0 @@
HELP=org.talend.help.tMap
LONG_NAME=\u30b8\u30e7\u30a4\u30f3\u3001\u30ed\u30a6\u307e\u305f\u306f\u30ab\u30e9\u30e0\u306e\u30d5\u30a3\u30eb\u30bf\u30ea\u30f3\u30b0\u3001\u5909\u63db\u3001\u30de\u30eb\u30c1\u51fa\u529b\u3092\u30b5\u30dd\u30fc\u30c8
MAP.NAME=\u30de\u30c3\u30d7\u30a8\u30c7\u30a3\u30bf:
PREVIEW.NAME=\u30D7\u30EC\u30D3\u30E5\u30FC
STORE_ON_DISK.NAME=\u30c7\u30a3\u30b9\u30af\u306b\u4fdd\u5b58
TEMPORARY_DATA_DIRECTORY.NAME=\u4e00\u6642\u30c7\u30fc\u30bf\u30c7\u30a3\u30ec\u30af\u30c8\u30ea:
ROWS_BUFFER_SIZE.NAME=\u6700\u5927\u30d0\u30c3\u30d5\u30a1\u30b5\u30a4\u30ba\uff08\u30ed\u30a6\u6570\uff09:
LINK_STYLE.NAME=\u30de\u30c3\u30d4\u30f3\u30b0\u30ea\u30f3\u30af\u8868\u793a:
LINK_STYLE.ITEM.AUTO=\u81EA\u52D5
LINK_STYLE.ITEM.BEZIER_CURVE=\u66F2\u7DDA
LINK_STYLE.ITEM.LINE=\u76F4\u7DDA\uFF08\u9AD8\u901F\uFF09

View File

@@ -1,2 +0,0 @@
PREVIEW.NAME=\u041F\u0440\u0435\u0434\u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440
STORE_ON_DISK.NAME=\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u043D\u0430 \u0434\u0438\u0441\u043A

View File

@@ -1 +0,0 @@
STORE_ON_DISK.NAME=Ulo\u017Ei\u0165 na disk

View File

@@ -1 +0,0 @@
STORE_ON_DISK.NAME=Ulo\u017Ei\u0165 na disk

View File

@@ -1,12 +0,0 @@
HELP=org.talend.help.tMap
LONG_NAME=\u5141\u8BB8\u8FDE\u63A5\u3001\u5217\u6216\u884C\u7B5B\u9009\u3001\u8F6C\u6362\u4EE5\u53CA\u591A\u4E2A\u8F93\u51FA
MAP.NAME=Map \u7F16\u8F91\u5668:
PREVIEW.NAME=\u9884\u89C8
STORE_ON_DISK.NAME=\u5B58\u50A8\u5728\u78C1\u76D8\u4E0A
TEMPORARY_DATA_DIRECTORY.NAME=\u4E34\u65F6\u6570\u636E\u76EE\u5F55\u8DEF\u5F84:
ROWS_BUFFER_SIZE.NAME=\u6700\u5927\u7F13\u51B2\u533A\u5927\u5C0F (\u884C\u6570):
LINK_STYLE.NAME=\u6620\u5C04\u8FDE\u63A5\u663E\u793A\u4E3A:
LINK_STYLE.ITEM.AUTO=\u81EA\u52A8
LINK_STYLE.ITEM.BEZIER_CURVE=\u66F2\u7EBF
LINK_STYLE.ITEM.LINE=\u76F4\u7EBF (\u5FEB)
CHANGE_HASH_AND_EQUALS_FOR_BIGDECIMAL.NAME=\u5FFD\u7565 BigDecimal \u7684\u5C3E\u968F\u96F6

View File

@@ -1,43 +0,0 @@
<%@ jet
imports="
org.talend.core.model.process.INode
org.talend.core.model.process.ElementParameterParser
org.talend.designer.codegen.config.CodeGeneratorArgument
"
%>
<%@ include file="../templates/DB/HelpClass/HelpClass.javajet"%>
<%
class ConnectionUtil extends DefaultConnectionUtil{
public void createURL(INode node) {
super.createURL(node);
String dbVersion = ElementParameterParser.getValue(node, "__DB_VERSION__");
String jdbcURL = "jdbc:mysql";
if("MARIADB".equals(dbVersion)){
jdbcURL = "jdbc:mariadb";
}
final boolean supportBulkComponent = true;
%>
<%@ include file="@{org.talend.designer.components.localprovider}/components/templates/Mysql/jdbcurl4connection_output.javajet"%>
<%
}
public String getDirverClassName(INode node){
String dbVersion = ElementParameterParser.getValue(node, "__DB_VERSION__");
if("MARIADB".equals(dbVersion)){
return "org.mariadb.jdbc.Driver";
} else if ("MYSQL_8".equals(dbVersion)){
return "com.mysql.cj.jdbc.Driver";
} else {
return "com.mysql.jdbc.Driver";
}
}
}//end class
connUtil = new ConnectionUtil();
%>
<%//----------------------------component codes-----------------------------------------%>
<%@ include file="../templates/DB/AbstractDBConnection.javajet"%>
globalMap.put("db_<%=cid%>",<%=dbname%>);

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

View File

@@ -1,203 +0,0 @@
<COMPONENT>
<HEADER
PLATEFORM="ALL"
SERIAL=""
VERSION="0.102"
STATUS="ALPHA"
COMPATIBILITY="ALL"
AUTHOR="Talend"
RELEASE_DATE="20050320A"
STARTABLE="true"
LOG4J_ENABLED="true"
>
<SIGNATURE/>
</HEADER>
<FAMILIES>
<FAMILY>Databases/DB Specifics/MySQL</FAMILY>
<FAMILY>ELT/Connections</FAMILY>
</FAMILIES>
<DOCUMENTATION>
<URL/>
</DOCUMENTATION>
<CONNECTORS>
<CONNECTOR CTYPE="FLOW" MAX_INPUT="0" MAX_OUTPUT="0"/>
<CONNECTOR CTYPE="ITERATE" MAX_OUTPUT="0" 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="PROPERTY"
FIELD="PROPERTY_TYPE"
SHOW="true"
NUM_ROW="1"
REPOSITORY_VALUE="DATABASE:MYSQL"
/>
<PARAMETER
NAME="DB_VERSION"
FIELD="CLOSED_LIST"
NUM_ROW="10"
REPOSITORY_VALUE="DB_VERSION">
<ITEMS DEFAULT="MYSQL_8">
<ITEM NAME="MYSQL_8" VALUE="MYSQL_8" />
<ITEM NAME="MYSQL_5" VALUE="MYSQL_5" />
<ITEM NAME="MARIADB" VALUE="MARIADB" />
</ITEMS>
</PARAMETER>
<PARAMETER
NAME="HOST"
FIELD="TEXT"
NUM_ROW="20"
REPOSITORY_VALUE="SERVER_NAME"
>
<DEFAULT>""</DEFAULT>
</PARAMETER>
<PARAMETER
NAME="TYPE"
FIELD="TEXT"
NUM_ROW="3"
SHOW="false"
REPOSITORY_VALUE="TYPE"
>
<DEFAULT>MySQL</DEFAULT>
</PARAMETER>
<PARAMETER
NAME="PORT"
FIELD="TEXT"
NUM_ROW="20"
REPOSITORY_VALUE="PORT"
>
<DEFAULT>"3306"</DEFAULT>
</PARAMETER>
<PARAMETER
NAME="DBNAME"
FIELD="TEXT"
NUM_ROW="30"
REPOSITORY_VALUE="SID"
REQUIRED="true"
>
<DEFAULT>""</DEFAULT>
</PARAMETER>
<PARAMETER
NAME="PROPERTIES"
FIELD="TEXT"
NUM_ROW="30"
REPOSITORY_VALUE="PROPERTIES_STRING">
<DEFAULT>"noDatetimeStringSync=true"</DEFAULT>
</PARAMETER>
<PARAMETER
NAME="USER"
FIELD="TEXT"
NUM_ROW="40"
REPOSITORY_VALUE="USERNAME"
REQUIRED="true"
>
<DEFAULT>""</DEFAULT>
</PARAMETER>
<PARAMETER
NAME="PASS"
FIELD="PASSWORD"
NUM_ROW="40"
REPOSITORY_VALUE="PASSWORD"
REQUIRED="true"
>
<DEFAULT>""</DEFAULT>
</PARAMETER>
<PARAMETER
NAME="ENCODING"
FIELD="ENCODING_TYPE"
NUM_ROW="50"
REQUIRED="true"
SHOW="false"
>
<DEFAULT>"ISO-8859-15"</DEFAULT>
</PARAMETER>
<PARAMETER
NAME="USE_SHARED_CONNECTION"
FIELD="CHECK"
NUM_ROW="60"
REQUIRED="true"
SHOW_IF="SPECIFY_DATASOURCE_ALIAS=='false'"
>
</PARAMETER>
<PARAMETER
NAME="SHARED_CONNECTION_NAME"
FIELD="TEXT"
NUM_ROW="60"
REQUIRED="true"
SHOW_IF="(USE_SHARED_CONNECTION == 'true' AND SPECIFY_DATASOURCE_ALIAS=='false')"
>
<DEFAULT></DEFAULT>
</PARAMETER>
<PARAMETER
NAME="NOTE"
FIELD="LABEL"
NUM_ROW="63"
GROUP="DATASOURCE"
SHOW_IF="USE_SHARED_CONNECTION=='false'"
>
<DEFAULT>This option only applies when deploying and running in the Talend Runtime</DEFAULT>
</PARAMETER>
<PARAMETER
NAME="SPECIFY_DATASOURCE_ALIAS"
FIELD="CHECK"
NUM_ROW="64"
REQUIRED="true"
GROUP="DATASOURCE"
SHOW_IF="USE_SHARED_CONNECTION=='false'"
>
</PARAMETER>
<PARAMETER
NAME="DATASOURCE_ALIAS"
FIELD="TEXT"
NUM_ROW="65"
REQUIRED="true"
GROUP="DATASOURCE"
SHOW_IF="(SPECIFY_DATASOURCE_ALIAS=='true' AND USE_SHARED_CONNECTION=='false')"
>
<DEFAULT>""</DEFAULT>
</PARAMETER>
</PARAMETERS>
<ADVANCED_PARAMETERS>
<PARAMETER
NAME="AUTO_COMMIT"
FIELD="CHECK"
NUM_ROW="10">
<DEFAULT>false</DEFAULT>
</PARAMETER>
</ADVANCED_PARAMETERS>
<CODEGENERATION>
<IMPORTS>
<IMPORT NAME="Mysql_Driver8" MODULE="mysql-connector-java-8.0.18.jar" MVN="mvn:mysql/mysql-connector-java/8.0.18" REQUIRED_IF="(DB_VERSION == 'MYSQL_8')" />
<IMPORT NAME="Mysql_Driver5" MODULE="mysql-connector-java-5.1.49.jar" MVN="mvn:mysql/mysql-connector-java/5.1.49" REQUIRED_IF="(DB_VERSION == 'MYSQL_5')" />
<IMPORT NAME="Mysql_MARIADB" MODULE="mariadb-java-client-2.5.3.jar" MVN="mvn:org.mariadb.jdbc/mariadb-java-client/2.5.3" REQUIRED_IF="(DB_VERSION == 'MARIADB')" />
<IMPORT NAME="slf4j-api-1.7.29.jar" MODULE="slf4j-api-1.7.29.jar" MVN="mvn:org.slf4j/slf4j-api/1.7.29" REQUIRED_IF="(USE_SHARED_CONNECTION == 'true' AND SPECIFY_DATASOURCE_ALIAS=='false')" />
<IMPORT NAME="slf4j-log4j12-1.7.29.jar" MODULE="slf4j-log4j12-1.7.29.jar" MVN="mvn:org.slf4j/slf4j-log4j12/1.7.29" REQUIRED_IF="(USE_SHARED_CONNECTION == 'true' AND SPECIFY_DATASOURCE_ALIAS=='false')" />
</IMPORTS>
</CODEGENERATION>
<RETURNS/>
</COMPONENT>

View File

@@ -1,38 +0,0 @@
DBD-ODBC.INFO=Required for ODBC-like connection
DBD-Oracle.INFO=Required for Oracle
DBD-Pg.INFO=Required for PostgreSQL
DBD-mysql.INFO=Required for MySQL
DBNAME.NAME=Database
ENCODING.NAME=Encoding
HELP=org.talend.help.tMysqlConnection
HOST.NAME=Host
LONG_NAME=Creates a connection to a MySQL database
NB_LINE.NAME=Number of line
NULL_CHAR.NAME=Null Char
PASS.NAME=Password
PORT.NAME=Port
QUERY.NAME=Query
QUERYSTORE.NAME=Query Type
SCHEMA.NAME=Schema
SCHEMA_DB.NAME=Schema
SQL_SYNTAX.NAME=Sql Syntax
STRING_QUOTE.NAME=String Quote
TYPE.ITEM.MSSQL_ODBC=Microsoft SQL (Odbc driver)
TYPE.ITEM.MYSQL=MySQL
TYPE.ITEM.ODBC=Generic ODBC
TYPE.ITEM.ORACLE=Oracle
TYPE.ITEM.PGSQL=PostgreSQL
TYPE.NAME=Database Driver
USER.NAME=Username
PROPERTIES.NAME=Additional JDBC Parameters
USE_SHARED_CONNECTION.NAME=Use or register a shared DB Connection
SHARED_CONNECTION_NAME.NAME=Shared DB Connection Name
SPECIFY_DATASOURCE_ALIAS.NAME=Specify a data source alias
DATASOURCE.NAME=Data source
DATASOURCE_ALIAS.NAME=Data source alias
AUTO_COMMIT.NAME=Auto Commit
PROPERTY.NAME=Property Type
DB_VERSION.NAME=DB Version
DB_VERSION.ITEM.MYSQL_5=Mysql 5
DB_VERSION.ITEM.MYSQL_8=Mysql 8
DB_VERSION.ITEM.MARIADB=MariaDB

View File

@@ -1,30 +0,0 @@
DBD-ODBC.INFO=F\u00FCr ODBC-\u00E4hnliche Verbindung ben\u00F6tigt
DBD-Oracle.INFO=F\u00FCr Oracle ben\u00F6tigt
DBD-Pg.INFO=F\u00FCr PostgreSQL ben\u00F6tigt
DBD-mysql.INFO=F\u00FCr MySQL ben\u00F6tigt
ENCODING.NAME=Encoding
HOST.NAME=Host
LONG_NAME=Baut eine Verbindung zur MySQL Datenbank auf
PASS.NAME=Passwort
PORT.NAME=Port
QUERY.NAME=Abfrage
QUERYSTORE.NAME=Abfragetyp
SCHEMA.NAME=Schema
SCHEMA_DB.NAME=Schema
SQL_SYNTAX.NAME=SQL Syntax
STRING_QUOTE.NAME=Text Quotierung
TYPE.ITEM.MSSQL_ODBC=Microsoft SQL (Odbc Treiber)
TYPE.ITEM.MYSQL=MySQL
TYPE.ITEM.ODBC=Generischer ODBC
TYPE.ITEM.ORACLE=Oracle
TYPE.ITEM.PGSQL=PostgreSQL
TYPE.NAME=Datenbanktreiber
USER.NAME=Benutzername
PROPERTIES.NAME=Zus\u00E4tzliche JDBC Parameter
USE_SHARED_CONNECTION.NAME=Verwende oder melde eine geteilte DB Verbindung an
SHARED_CONNECTION_NAME.NAME=Gemeinsam verwendeter DB Verbindungsname
AUTO_COMMIT.NAME=Autocommit
PROPERTY.NAME=Eigenschaftstyp
DB_VERSION.NAME=Datenbankversion
DB_VERSION.ITEM.MYSQL_5=Mysql 5
DATASOURCE.NAME=Datenquelle

View File

@@ -1,16 +0,0 @@
ENCODING.NAME=Codificaci\u00F3n
HOST.NAME=Host
LONG_NAME=Crea una conexi\u00F3n a una base de datos MySQL
PASS.NAME=Contrase\u00F1a
PORT.NAME=Puerto
SCHEMA.NAME=Esquema
SCHEMA_DB.NAME=Esquema
SQL_SYNTAX.NAME=Sintaxis SQL
TYPE.ITEM.MSSQL_ODBC=Microsoft SQL (Controlador ODBC)
TYPE.ITEM.MYSQL=MySQL
TYPE.ITEM.ODBC=ODBC Gen\u00E9rico
TYPE.ITEM.ORACLE=Oracle
TYPE.ITEM.PGSQL=PostgreSQL
TYPE.NAME=Controlador de base de datos
USER.NAME=Nombre de usuario
AUTO_COMMIT.NAME=Auto Commit

View File

@@ -1,38 +0,0 @@
DBD-ODBC.INFO=Requis pour les connexions de type ODBC
DBD-Oracle.INFO=Requis pour Oracle
DBD-Pg.INFO=Requis pour PostgreSQL
DBD-mysql.INFO=Requis pour MySQL
DBNAME.NAME=Base de donn\u00E9es
ENCODING.NAME=Encodage
HELP=org.talend.help.tMysqlConnection
HOST.NAME=H\u00F4te
LONG_NAME=Cr\u00E9e une connexion \u00E0 une base de donn\u00E9es MySQL
NB_LINE.NAME=Nombre de lignes
NULL_CHAR.NAME=Caract\u00E8re Null
PASS.NAME=Mot de passe
PORT.NAME=Port
QUERY.NAME=Requ\u00EAte
QUERYSTORE.NAME=Type de requ\u00EAte
SCHEMA.NAME=Sch\u00E9ma
SCHEMA_DB.NAME=Sch\u00E9ma
SQL_SYNTAX.NAME=Syntaxe SQL
STRING_QUOTE.NAME=S\u00E9parateur de cha\u00EEne de caract\u00E8res
TYPE.ITEM.MSSQL_ODBC=Microsoft SQL (pilote ODBC)
TYPE.ITEM.MYSQL=MySQL
TYPE.ITEM.ODBC=ODBC g\u00E9n\u00E9rique
TYPE.ITEM.ORACLE=Oracle
TYPE.ITEM.PGSQL=PostgreSQL
TYPE.NAME=Pilote de la base de donn\u00E9es
USER.NAME=Utilisateur
PROPERTIES.NAME=Param\u00E8tres suppl\u00E9mentaires JDBC
USE_SHARED_CONNECTION.NAME=Utiliser ou enregistrer une connexion partag\u00E9e \u00E0 une base de donn\u00E9es
SHARED_CONNECTION_NAME.NAME=Nom de la connexion partag\u00E9e \u00E0 la base de donn\u00E9es
SPECIFY_DATASOURCE_ALIAS.NAME=Sp\u00E9cifier un alias de source de donn\u00E9es
DATASOURCE.NAME=Source de donn\u00E9es
DATASOURCE_ALIAS.NAME=Alias de la source de donn\u00E9es
AUTO_COMMIT.NAME=Commit auto
PROPERTY.NAME=Type de propri\u00E9t\u00E9
DB_VERSION.NAME=Version de la base de donn\u00E9es
DB_VERSION.ITEM.MYSQL_5=MySQL 5
DB_VERSION.ITEM.MYSQL_8=MySQL 8
DB_VERSION.ITEM.MARIADB=MariaDB

View File

@@ -1,26 +0,0 @@
DBD-ODBC.INFO=Richiesto per connessione ODBC-like
DBD-Oracle.INFO=Richiesto per Oracle
DBD-Pg.INFO=Richiesto per PostgreSQL
DBD-mysql.INFO=Richiesto per MySQL
ENCODING.NAME=Codifica
HOST.NAME=Host
LONG_NAME=Crea una connesione ad un DB MySQL
NULL_CHAR.NAME=Carattere Nullo
PASS.NAME=Password
PORT.NAME=Porta
QUERY.NAME=Query
QUERYSTORE.NAME=Tipo query
SCHEMA.NAME=Schema
SCHEMA_DB.NAME=Schema
SQL_SYNTAX.NAME=Sintassi SQL
STRING_QUOTE.NAME=Quota stringa
TYPE.ITEM.MSSQL_ODBC=Microsoft SQL (Odbc driver)
TYPE.ITEM.MYSQL=MySQL
TYPE.ITEM.ODBC=ODBC Generico
TYPE.ITEM.ORACLE=Oracle
TYPE.ITEM.PGSQL=PostgreSQL
TYPE.NAME=Database Driver
USER.NAME=Username
PROPERTIES.NAME=Parametri aggiuntivi JDBC
PROPERTY.NAME=Tipo propriet\u00E0
DB_VERSION.NAME=Versione Db

View File

@@ -1,38 +0,0 @@
DBD-ODBC.INFO=ODBC\u306E\u3088\u3046\u306A\u63A5\u7D9A\u3067\u5FC5\u9808
DBD-Oracle.INFO=Oracle\u3067\u5FC5\u9808
DBD-Pg.INFO=PostgreSQL\u3067\u5FC5\u9808
DBD-mysql.INFO=MySQL\u3067\u5FC5\u9808
DBNAME.NAME=\u30C7\u30FC\u30BF\u30D9\u30FC\u30B9
ENCODING.NAME=\u30A8\u30F3\u30B3\u30FC\u30C7\u30A3\u30F3\u30B0
HELP=org.talend.help.tMysqlConnection
HOST.NAME=\u30DB\u30B9\u30C8
LONG_NAME=MySQL\u30C7\u30FC\u30BF\u30D9\u30FC\u30B9\u3078\u306E\u63A5\u7D9A\u3092\u4F5C\u6210\u3057\u307E\u3059
NB_LINE.NAME=\u884C\u6570
NULL_CHAR.NAME=Null\u6587\u5B57
PASS.NAME=\u30D1\u30B9\u30EF\u30FC\u30C9
PORT.NAME=\u30DD\u30FC\u30C8
QUERY.NAME=\u30AF\u30A8\u30EA\u30FC
QUERYSTORE.NAME=\u30AF\u30A8\u30EA\u30FC\u30BF\u30A4\u30D7
SCHEMA.NAME=\u30B9\u30AD\u30FC\u30DE
SCHEMA_DB.NAME=\u30B9\u30AD\u30FC\u30DE
SQL_SYNTAX.NAME=Sql\u69CB\u6587
STRING_QUOTE.NAME=\u5F15\u7528\u7B26
TYPE.ITEM.MSSQL_ODBC=Microsoft SQL (Odbc\u30C9\u30E9\u30A4\u30D0\u30FC)
TYPE.ITEM.MYSQL=MySQL
TYPE.ITEM.ODBC=\u6C4E\u7528ODBC
TYPE.ITEM.ORACLE=Oracle
TYPE.ITEM.PGSQL=PostgreSQL
TYPE.NAME=\u30C7\u30FC\u30BF\u30D9\u30FC\u30B9\u30C9\u30E9\u30A4\u30D0\u30FC
USER.NAME=\u30E6\u30FC\u30B6\u30FC\u540D
PROPERTIES.NAME=\u8FFD\u52A0\u306EJDBC\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC
USE_SHARED_CONNECTION.NAME=\u5171\u6709DB\u63A5\u7D9A\u306E\u4F7F\u7528\u307E\u305F\u306F\u767B\u9332
SHARED_CONNECTION_NAME.NAME=\u5171\u6709DB\u63A5\u7D9A\u540D
SPECIFY_DATASOURCE_ALIAS.NAME=\u30C7\u30FC\u30BF\u30BD\u30FC\u30B9\u30A8\u30A4\u30EA\u30A2\u30B9\u3092\u6307\u5B9A
DATASOURCE.NAME=\u30C7\u30FC\u30BF\u30BD\u30FC\u30B9
DATASOURCE_ALIAS.NAME=\u30C7\u30FC\u30BF\u30BD\u30FC\u30B9\u30A8\u30A4\u30EA\u30A2\u30B9
AUTO_COMMIT.NAME=\u81EA\u52D5\u30B3\u30DF\u30C3\u30C8
PROPERTY.NAME=\u30D7\u30ED\u30D1\u30C6\u30A3\u30BF\u30A4\u30D7
DB_VERSION.NAME=\u30C7\u30FC\u30BF\u30D9\u30FC\u30B9\u30D0\u30FC\u30B8\u30E7\u30F3
DB_VERSION.ITEM.MYSQL_5=Mysql 5
DB_VERSION.ITEM.MYSQL_8=Mysql8
DB_VERSION.ITEM.MARIADB=MariaDB

View File

@@ -1,32 +0,0 @@
DBD-ODBC.INFO=ODBC-like connection\u306E\u5834\u5408\u306F\u5FC5\u9808
DBD-Oracle.INFO=Oracle\u306E\u5834\u5408\u306F\u5FC5\u9808
DBD-Pg.INFO=PostgreSQL\u306E\u5834\u5408\u306F\u5FC5\u9808
DBD-mysql.INFO=MySQL\u306E\u5834\u5408\u306F\u5FC5\u9808
DBNAME.NAME=\u30C7\u30FC\u30BF\u30D9\u30FC\u30B9
ENCODING.NAME=\u30A8\u30F3\u30B3\u30FC\u30C7\u30A3\u30F3\u30B0
HELP=org.talend.help.tMysqlConnection
HOST.NAME=\u30DB\u30B9\u30C8
LONG_NAME=MySQL\u30C7\u30FC\u30BF\u30D9\u30FC\u30B9\u3078\u306E\u63A5\u7D9A\u3092\u4F5C\u6210
NB_LINE.NAME=\u884c\u6570
NULL_CHAR.NAME=Null\u30AD\u30E3\u30E9\u30AF\u30BF
PASS.NAME=\u30D1\u30B9\u30EF\u30FC\u30C9
PORT.NAME=\u30DD\u30FC\u30C8
QUERY.NAME=\u30AF\u30A8\u30EA
QUERYSTORE.NAME=\u30AF\u30A8\u30EA\u30BF\u30A4\u30D7
SCHEMA.NAME=\u30B9\u30AD\u30FC\u30DE
SCHEMA_DB.NAME=\u30B9\u30AD\u30FC\u30DE
SQL_SYNTAX.NAME=SQL\u69CB\u6587
STRING_QUOTE.NAME=\u6587\u5B57\u5217\u306E\u5F15\u7528
TYPE.ITEM.MSSQL_ODBC=Microsoft SQL (Odbc \u30C9\u30E9\u30A4\u30D0)
TYPE.ITEM.MYSQL=MySQL
TYPE.ITEM.ODBC=\u6c4e\u7528ODBC
TYPE.ITEM.ORACLE=Oracle
TYPE.ITEM.PGSQL=PostgreSQL
TYPE.NAME=\u30C7\u30FC\u30BF\u30D9\u30FC\u30B9\u30C9\u30E9\u30A4\u30D0
USER.NAME=\u30e6\u30fc\u30b6\u540d
PROPERTIES.NAME=\u8ffd\u52a0\u306eJDBC\u30d1\u30e9\u30e1\u30fc\u30bf
USE_SHARED_CONNECTION.NAME=\u5171\u6709DB\u63a5\u7d9a\u3092\u4f7f\u7528/\u767b\u9332
SHARED_CONNECTION_NAME.NAME=\u5171\u6709DB\u63A5\u7D9A\u540D
AUTO_COMMIT.NAME=\u81EA\u52D5\u30B3\u30DF\u30C3\u30C8
PROPERTY.NAME=\u30D7\u30ED\u30D1\u30C6\u30A3\u30BF\u30A4\u30D7
DB_VERSION.NAME=DB\u30D0\u30FC\u30B8\u30E7\u30F3

View File

@@ -1,23 +0,0 @@
DBD-ODBC.INFO=\u041D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C \u0434\u043B\u044F \u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u0439 ODBC \u0442\u0438\u043F\u0430
DBD-Oracle.INFO=\u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044F \u0434\u043B\u044F Oracle
DBD-Pg.INFO=\u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044F \u0434\u043B\u044F PostgreSQL
DBD-mysql.INFO=\u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044F \u0434\u043B\u044F MySQL
ENCODING.NAME=\u041A\u043E\u0434\u0438\u0440\u043E\u0432\u043A\u0430
HOST.NAME=\u0425\u043E\u0441\u0442
NULL_CHAR.NAME=\u041F\u0443\u0441\u0442\u043E\u0439 \u0441\u0438\u043C\u0432\u043E\u043B
PASS.NAME=\u041F\u0430\u0440\u043E\u043B\u044C
PORT.NAME=\u041F\u043E\u0440\u0442
QUERY.NAME=\u0417\u0430\u043F\u0440\u043E\u0441
QUERYSTORE.NAME=\u0422\u0438\u043F \u0437\u0430\u043F\u0440\u043E\u0441\u0430
SCHEMA.NAME=\u0421\u0445\u0435\u043C\u0430
SCHEMA_DB.NAME=\u0421\u0445\u0435\u043C\u0430
SQL_SYNTAX.NAME=SQL \u0441\u0438\u043D\u0442\u0430\u043A\u0441\u0438\u0441
TYPE.ITEM.MSSQL_ODBC=Microsoft SQL (Odbc driver)
TYPE.ITEM.MYSQL=MySQL
TYPE.ITEM.ODBC=Generic ODBC
TYPE.ITEM.ORACLE=Oracle
TYPE.ITEM.PGSQL=PostgreSQL
TYPE.NAME=\u0414\u0440\u0430\u0439\u0432\u0435\u0440 \u0431\u0430\u0437\u044B \u0434\u0430\u043D\u043D\u044B\u0445
USER.NAME=\u0418\u043C\u044F \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F
DB_VERSION.NAME=\u0412\u0435\u0440\u0441\u0438\u044F \u0411\u0414
DB_VERSION.ITEM.MYSQL_5=Mysql 5

View File

@@ -1,8 +0,0 @@
ENCODING.NAME=K\u00F3dovanie
HOST.NAME=Host
PASS.NAME=Heslo
PORT.NAME=Port
SCHEMA.NAME=Sch\u00E9ma
SCHEMA_DB.NAME=Sch\u00E9ma
USER.NAME=U\u017E\u00EDvate\u013Esk\u00E9 Meno
DB_VERSION.ITEM.MYSQL_5=Mysql 5

View File

@@ -1,9 +0,0 @@
ENCODING.NAME=Kódovanie
HOST.NAME=Host
PASS.NAME=Heslo
PORT.NAME=Port
SCHEMA.NAME=Schéma
SCHEMA_DB.NAME=Schéma
USER.NAME=U\u017Eívate\u013Eské Meno
DB_VERSION.ITEM.MYSQL_4=Mysql 4
DB_VERSION.ITEM.MYSQL_5=Mysql 5

View File

@@ -1,38 +0,0 @@
DBD-ODBC.INFO=\u4E3A\u7C7B\u4F3C ODBC \u8FDE\u63A5\u6240\u5FC5\u9700
DBD-Oracle.INFO=\u4E3A Oracle \u6240\u5FC5\u9700
DBD-Pg.INFO=\u4E3A PostgreSQL \u6240\u5FC5\u9700
DBD-mysql.INFO=\u4E3A MySQL \u6240\u5FC5\u9700
DBNAME.NAME=\u6570\u636E\u5E93
ENCODING.NAME=\u7F16\u7801
HELP=org.talend.help.tMysqlConnection
HOST.NAME=\u4E3B\u673A
LONG_NAME=\u521B\u5EFA\u5230 MySQL \u6570\u636E\u5E93\u7684\u8FDE\u63A5
NB_LINE.NAME=\u884C\u6570
NULL_CHAR.NAME=Null \u5B57\u7B26
PASS.NAME=\u5BC6\u7801
PORT.NAME=\u7AEF\u53E3
QUERY.NAME=\u67E5\u8BE2
QUERYSTORE.NAME=\u67E5\u8BE2\u7C7B\u578B
SCHEMA.NAME=Schema
SCHEMA_DB.NAME=Schema
SQL_SYNTAX.NAME=Sql \u8BED\u6CD5
STRING_QUOTE.NAME=\u5B57\u7B26\u4E32\u5F15\u7528
TYPE.ITEM.MSSQL_ODBC=Microsoft SQL (Odbc \u9A71\u52A8)
TYPE.ITEM.MYSQL=MySQL
TYPE.ITEM.ODBC=\u901A\u7528 ODBC
TYPE.ITEM.ORACLE=\u5B9E\u6570\u7EDD\u5BF9\u503C
TYPE.ITEM.PGSQL=PostgreSQL
TYPE.NAME=\u6570\u636E\u5E93\u9A71\u52A8
USER.NAME=\u7528\u6237\u540D
PROPERTIES.NAME=\u9644\u52A0 JDBC \u53C2\u6570
USE_SHARED_CONNECTION.NAME=\u4F7F\u7528\u6216\u6CE8\u518C\u5171\u4EAB\u6570\u636E\u5E93\u8FDE\u63A5
SHARED_CONNECTION_NAME.NAME=\u5171\u4EAB\u6570\u636E\u5E93\u8FDE\u63A5\u540D\u79F0
SPECIFY_DATASOURCE_ALIAS.NAME=\u6307\u5B9A\u6570\u636E\u6E90\u522B\u540D
DATASOURCE.NAME=\u6570\u636E\u6E90
DATASOURCE_ALIAS.NAME=\u6570\u636E\u6E90\u522B\u540D
AUTO_COMMIT.NAME=\u81EA\u52A8\u63D0\u4EA4
PROPERTY.NAME=\u5C5E\u6027\u7C7B\u578B
DB_VERSION.NAME=\u6570\u636E\u5E93\u7248\u672C
DB_VERSION.ITEM.MYSQL_5=Mysql 5
DB_VERSION.ITEM.MYSQL_8=Mysql 8
DB_VERSION.ITEM.MARIADB=MariaDB

View File

@@ -1,343 +0,0 @@
GNU General Public License
**************************
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
675 Mass Ave, Cambridge, MA 02139, USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Library General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
Appendix: How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) 19yy <name of author>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) 19yy name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Library General
Public License instead of this License.

View File

@@ -1,126 +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
java.util.List
java.util.Map
"
%>
<%@ include file="../templates/DB/Input/HelpClass.javajet"%>
<%
class DBInputBeginUtil extends DefaultDBInputUtil{
public void beforeComponentProcess(INode node){
super.beforeComponentProcess(node);
cid = node.getUniqueName();
%>
java.util.Calendar calendar_<%=cid%> = java.util.Calendar.getInstance();
calendar_<%=cid%>.set(0, 0, 0, 0, 0, 0);
java.util.Date year0_<%=cid%> = calendar_<%=cid%>.getTime();
<%
}
public void setURL(INode node) {
String dbVersion = ElementParameterParser.getValue(node, "__DB_VERSION__");
String jdbcURL = "jdbc:mysql";
if("MARIADB".equals(dbVersion)){
jdbcURL = "jdbc:mariadb";
}
%>
<%@ include file="@{org.talend.designer.components.localprovider}/components/templates/Mysql/jdbcurl4basic.javajet"%>
<%
}
public String getDirverClassName(INode node){
String dbVersion = ElementParameterParser.getValue(node, "__DB_VERSION__");
if("MARIADB".equals(dbVersion)){
return "org.mariadb.jdbc.Driver";
} else if ("MYSQL_8".equals(dbVersion)){
return "com.mysql.cj.jdbc.Driver";
} else {
return "com.mysql.jdbc.Driver";
}
}
public void createStatement(INode node) {
super.createStatement(node);
String enableStream = ElementParameterParser.getValue(node, "__ENABLE_STREAM__");
boolean useExistMySQLConn = "true".equalsIgnoreCase(ElementParameterParser.getValue(node,"__USE_EXISTING_CONNECTION__"));
String dbVersion = "";
if (useExistMySQLConn) {
List< ? extends INode> nodes = node.getProcess().getNodesOfType("tMysqlConnection");
String connectionMySQL = ElementParameterParser.getValue(node,"__CONNECTION__");
for (INode ne : nodes) {
if (connectionMySQL.equals(ne.getUniqueName())) {
dbVersion = ElementParameterParser.getValue(ne, "__DB_VERSION__");
}
}
} else {
dbVersion = ElementParameterParser.getValue(node, "__DB_VERSION__");
}
if(("true").equals(enableStream)&&(!"MARIADB".equals(dbVersion))&&(!"MYSQL_8".equals(dbVersion))) {
%>
if(stmt_<%=cid %> instanceof com.mysql.jdbc.Statement){
((com.mysql.jdbc.Statement)stmt_<%=cid %>).enableStreamingResults();
}else if(stmt_<%=cid %> instanceof com.mysql.jdbc.jdbc2.optional.JDBC4StatementWrapper){
((com.mysql.jdbc.jdbc2.optional.JDBC4StatementWrapper)stmt_<%=cid %>).enableStreamingResults();
}
<%
} else if (("true").equals(enableStream) && ("MYSQL_8".equals(dbVersion))){
%>
if(stmt_<%=cid %> instanceof com.mysql.cj.jdbc.StatementImpl){
((com.mysql.cj.jdbc.StatementImpl)stmt_<%=cid %>).enableStreamingResults();
}else if(stmt_<%=cid %> instanceof com.mysql.cj.jdbc.StatementWrapper){
((com.mysql.cj.jdbc.StatementWrapper)stmt_<%=cid %>).enableStreamingResults();
}
<%
}
}
public void generateYearResultSet(String firstConnName, IMetadataColumn column, int currentColNo) {
%>
//check if year is null in DB
String yearStringValue_<%=cid %> = rs_<%=cid%>.getString(<%if(isDynamic){%>column_index_<%=cid%><%}else{%><%=currentColNo%><%}%>);
if (null != yearStringValue_<%=cid %>) {
Integer yearValue_<%=cid%> = rs_<%=cid%>.getInt(<%if(isDynamic){%>column_index_<%=cid%><%}else{%><%=currentColNo%><%}%>);
calendar_<%=cid %>.set(yearValue_<%=cid%>, 0, 1);
<%=firstConnName%>.<%=column.getLabel()%> = calendar_<%=cid %>.getTime();
} else {
<%=firstConnName%>.<%=column.getLabel()%> = null;
}
<%
}
//-----------according schema type to generate ResultSet
public void generateTimestampResultSet(String firstConnName, IMetadataColumn column, int currentColNo) {
if ("YEAR".equalsIgnoreCase(column.getType())) {
generateYearResultSet(firstConnName, column, currentColNo);
} else {
%>
if(rs_<%=cid %>.getString(<%if(isDynamic){%>column_index_<%=cid%><%}else{%><%=currentColNo%><%}%>) != null) {
String dateString_<%=cid%> = rs_<%=cid%>.getString(<%if(isDynamic){%>column_index_<%=cid%><%}else{%><%=currentColNo%><%}%>);
if (!("0000-00-00").equals(dateString_<%=cid%>) && !("0000-00-00 00:00:00").equals(dateString_<%=cid%>)) {
<%=firstConnName%>.<%=column.getLabel()%> = rs_<%=cid%>.getTimestamp(<%if(isDynamic){%>column_index_<%=cid%><%}else{%><%=currentColNo%><%}%>);
} else {
<%=firstConnName%>.<%=column.getLabel()%> = (java.util.Date) year0_<%=cid%>.clone();
}
} else {
<%=firstConnName%>.<%=column.getLabel()%> = null;
}
<%
}
}
//---------end according schema type to generate ResultSet
}//end class
dbInputBeginUtil = new DBInputBeginUtil();
%>
<%@ include file="../templates/DB/Input/AbstractDBInputBegin.javajet"%>

View File

@@ -1,51 +0,0 @@
<%@ jet
imports="
org.talend.core.model.process.INode
org.talend.designer.codegen.config.CodeGeneratorArgument
org.talend.core.model.process.ElementParameterParser
"
%>
<%@ include file="../templates/Log4j/Log4jDBConnUtil.javajet"%>
<%
CodeGeneratorArgument codeGenArgument = (CodeGeneratorArgument) argument;
INode node = (INode)codeGenArgument.getArgument();
String cid = node.getUniqueName();
String useExistingConn = ElementParameterParser.getValue(node,"__USE_EXISTING_CONNECTION__");
%>
}
}finally{
if (rs_<%=cid%> != null) {
rs_<%=cid%>.close();
}
if (stmt_<%=cid%> != null) {
stmt_<%=cid%>.close();
}
<%
if(!("true").equals(useExistingConn))
{
%>
if(conn_<%=cid%> != null && !conn_<%=cid%>.isClosed()) {
<%log4jCodeGenerateUtil.close(node);%>
}
<%
}
%>
}
<%
boolean isAmazonAurora = node.isVirtualGenerateNode() && (cid.matches("^.*?tAmazonAuroraInput_\\d+_in$") || cid.matches("^.*?tDBInput_\\d+_in$"));
if(isAmazonAurora){
// why 3: ==> "_in".length()
%>
globalMap.put("<%= cid.substring(0,cid.length() - 3) %>_NB_LINE",nb_line_<%=cid%>);
<%
}else{
%>
globalMap.put("<%=cid %>_NB_LINE",nb_line_<%=cid%>);
<%
}
%>
<%
log4jCodeGenerateUtil.retrieveRecordsCount(node);
%>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

View File

@@ -1,282 +0,0 @@
<COMPONENT>
<HEADER
PLATEFORM="ALL"
SERIAL=""
VERSION="0.102"
STATUS="ALPHA"
COMPATIBILITY="ALL"
AUTHOR="Talend"
RELEASE_DATE="20070312A"
STARTABLE="true"
LOG4J_ENABLED="true"
>
<SIGNATURE/>
</HEADER>
<FAMILIES>
<FAMILY>Databases/DB Specifics/MySQL</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="PROPERTY"
FIELD="PROPERTY_TYPE"
NUM_ROW="1"
REPOSITORY_VALUE="DATABASE:MYSQL"
SHOW_IF="USE_EXISTING_CONNECTION == 'false'"
/>
<PARAMETER
NAME="DB_VERSION"
FIELD="CLOSED_LIST"
NUM_ROW="10"
REPOSITORY_VALUE="DB_VERSION"
SHOW_IF="USE_EXISTING_CONNECTION == 'false'">
<ITEMS DEFAULT="MYSQL_8">
<ITEM NAME="MYSQL_8" VALUE="MYSQL_8" />
<ITEM NAME="MYSQL_5" VALUE="MYSQL_5" />
<ITEM NAME="MARIADB" VALUE="MARIADB" />
</ITEMS>
</PARAMETER>
<PARAMETER
NAME="USE_EXISTING_CONNECTION"
FIELD="CHECK"
NUM_ROW="15"
>
<DEFAULT>false</DEFAULT>
</PARAMETER>
<PARAMETER
NAME="CONNECTION"
FIELD="COMPONENT_LIST"
REQUIRED="true" FILTER="tMysqlConnection"
NUM_ROW="15"
SHOW_IF="USE_EXISTING_CONNECTION == 'true'"
DYNAMIC_SETTINGS="true"
/>
<PARAMETER
NAME="HOST"
FIELD="TEXT"
NUM_ROW="20"
REPOSITORY_VALUE="SERVER_NAME"
REQUIRED="true"
SHOW_IF="USE_EXISTING_CONNECTION == 'false'"
>
<DEFAULT>""</DEFAULT>
</PARAMETER>
<PARAMETER
NAME="PORT"
FIELD="TEXT"
NUM_ROW="20"
REPOSITORY_VALUE="PORT"
REQUIRED="true"
SHOW_IF="USE_EXISTING_CONNECTION == 'false'"
>
<DEFAULT>"3306"</DEFAULT>
</PARAMETER>
<PARAMETER
NAME="DBNAME"
FIELD="TEXT"
NUM_ROW="20"
REPOSITORY_VALUE="SID"
REQUIRED="true"
SHOW_IF="USE_EXISTING_CONNECTION == 'false'"
>
<DEFAULT>""</DEFAULT>
</PARAMETER>
<PARAMETER
NAME="TYPE"
FIELD="TEXT"
NUM_ROW="20"
SHOW="false"
REPOSITORY_VALUE="TYPE"
>
<DEFAULT>MySQL</DEFAULT>
</PARAMETER>
<PARAMETER
NAME="USER"
FIELD="TEXT"
NUM_ROW="25"
REPOSITORY_VALUE="USERNAME"
REQUIRED="true"
SHOW_IF="USE_EXISTING_CONNECTION == 'false'"
>
<DEFAULT>""</DEFAULT>
</PARAMETER>
<PARAMETER
NAME="PASS"
FIELD="PASSWORD"
NUM_ROW="25"
REPOSITORY_VALUE="PASSWORD"
REQUIRED="true"
SHOW_IF="USE_EXISTING_CONNECTION == 'false'"
>
<DEFAULT>""</DEFAULT>
</PARAMETER>
<PARAMETER
NAME="SCHEMA"
FIELD="SCHEMA_TYPE"
NUM_ROW="30"
>
<DEFAULT>""</DEFAULT>
</PARAMETER>
<PARAMETER
NAME="TABLE"
FIELD="DBTABLE"
NUM_ROW="35"
>
<DEFAULT>""</DEFAULT>
</PARAMETER>
<PARAMETER
NAME="QUERYSTORE"
FIELD="QUERYSTORE_TYPE"
NUM_ROW="40"
>
<DEFAULT>""</DEFAULT>
</PARAMETER>
<PARAMETER
NAME="GUESS_SCHEMA"
FIELD="GUESS_SCHEMA"
NUM_ROW="40"
>
<DEFAULT>""</DEFAULT>
</PARAMETER>
<PARAMETER
NAME="QUERY"
FIELD="MEMO_SQL"
NUM_ROW="45"
REQUIRED="true"
>
<DEFAULT>"select id, name from employee"</DEFAULT>
</PARAMETER>
<PARAMETER
NAME="NOTE"
FIELD="LABEL"
NUM_ROW="63"
GROUP="DATASOURCE"
SHOW_IF="USE_EXISTING_CONNECTION=='false'"
>
<DEFAULT>This option only applies when deploying and running in the Talend Runtime</DEFAULT>
</PARAMETER>
<PARAMETER
NAME="SPECIFY_DATASOURCE_ALIAS"
FIELD="CHECK"
NUM_ROW="64"
REQUIRED="true"
GROUP="DATASOURCE"
SHOW_IF="USE_EXISTING_CONNECTION=='false'"
>
</PARAMETER>
<PARAMETER
NAME="DATASOURCE_ALIAS"
FIELD="TEXT"
NUM_ROW="65"
REQUIRED="true"
GROUP="DATASOURCE"
SHOW_IF="(SPECIFY_DATASOURCE_ALIAS=='true' AND USE_EXISTING_CONNECTION=='false')"
>
<DEFAULT>""</DEFAULT>
</PARAMETER>
<PARAMETER
NAME="MAPPING"
FIELD="MAPPING_TYPE"
NUM_ROW="120"
SHOW="false"
>
<DEFAULT>mysql_id</DEFAULT>
</PARAMETER>
</PARAMETERS>
<ADVANCED_PARAMETERS>
<PARAMETER
NAME="PROPERTIES"
FIELD="TEXT"
NUM_ROW="4"
REPOSITORY_VALUE="PROPERTIES_STRING"
SHOW_IF="USE_EXISTING_CONNECTION == 'false'">
<DEFAULT>"noDatetimeStringSync=true"</DEFAULT>
</PARAMETER>
<PARAMETER
NAME="ENCODING"
FIELD="ENCODING_TYPE"
NUM_ROW="10"
REQUIRED="true"
SHOW="false"
>
<DEFAULT>"ISO-8859-15"</DEFAULT>
</PARAMETER>
<PARAMETER
NAME="ENABLE_STREAM"
FIELD="CHECK"
NUM_ROW="20"
SHOW_IF="DB_VERSION != 'MARIADB'"
>
<DEFAULT>false</DEFAULT>
</PARAMETER>
<PARAMETER
NAME="TRIM_ALL_COLUMN"
FIELD="CHECK"
NUM_ROW="30">
<DEFAULT>false</DEFAULT>
</PARAMETER>
<PARAMETER
NAME="TRIM_COLUMN"
FIELD="TABLE"
NUM_ROW="40"
NB_LINES="5"
SHOW_IF="TRIM_ALL_COLUMN == 'false'">
<ITEMS BASED_ON_SCHEMA="true">
<ITEM NAME="TRIM" FIELD="CHECK"></ITEM>
</ITEMS>
</PARAMETER>
</ADVANCED_PARAMETERS>
<CODEGENERATION>
<IMPORTS>
<IMPORT NAME="Mysql_Driver8" MODULE="mysql-connector-java-8.0.18.jar" MVN="mvn:mysql/mysql-connector-java/8.0.18" REQUIRED_IF="(DB_VERSION == 'MYSQL_8') AND (USE_EXISTING_CONNECTION == 'false')" />
<IMPORT NAME="Mysql_Driver5" MODULE="mysql-connector-java-5.1.49.jar" MVN="mvn:mysql/mysql-connector-java/5.1.49" REQUIRED_IF="(DB_VERSION == 'MYSQL_5') AND (USE_EXISTING_CONNECTION == 'false')" />
<IMPORT NAME="Mysql_MARIADB" MODULE="mariadb-java-client-2.5.3.jar" MVN="mvn:org.mariadb.jdbc/mariadb-java-client/2.5.3" REQUIRED_IF="(DB_VERSION == 'MARIADB') AND (USE_EXISTING_CONNECTION == 'false')" />
</IMPORTS>
</CODEGENERATION>
<RETURNS>
<RETURN NAME="NB_LINE" TYPE="id_Integer" AVAILABILITY="AFTER"/>
<RETURN NAME="QUERY" TYPE="id_String" AVAILABILITY="FLOW"/>
</RETURNS>
</COMPONENT>

View File

@@ -1,45 +0,0 @@
DBD-ODBC.INFO=Required for ODBC-like connection
DBD-Oracle.INFO=Required for Oracle
DBD-Pg.INFO=Required for PostgreSQL
DBD-mysql.INFO=Required for MySQL
DBNAME.NAME=Database
DBTABLE.NAME=Table Name
ENABLE_STREAM.NAME=Enable stream
ENCODING.NAME=Encoding
HELP=org.talend.help.tMysqlInput
HOST.NAME=Host
LONG_NAME=Reads a MySQL table and extracts fields based on an SQL query
NB_LINE.NAME=Number of line
NULL_CHAR.NAME=Null Char
PASS.NAME=Password
PORT.NAME=Port
PROPERTIES.NAME=Additional JDBC Parameters
QUERY.NAME=Query
QUERYSTORE.NAME=Query Type
SCHEMA.NAME=Schema
SCHEMA_DB.NAME=Schema
SQL_SYNTAX.NAME=Sql Syntax
STRING_QUOTE.NAME=String Quote
TYPE.ITEM.MSSQL_ODBC=Microsoft SQL (Odbc driver)
TYPE.ITEM.MYSQL=MySQL
TYPE.ITEM.ODBC=Generic ODBC
TYPE.ITEM.ORACLE=Oracle
TYPE.ITEM.PGSQL=PostgreSQL
TYPE.NAME=Database Driver
USER.NAME=Username
USE_EXISTING_CONNECTION.NAME=Use an existing connection
TRIM_ALL_COLUMN.NAME=Trim all the String/Char columns
TRIM_COLUMN.NAME=Trim column
TRIM_COLUMN.ITEM.TRIM=Trim
TABLE.NAME=Table Name
GUESS_SCHEMA.NAME=Guess Schema
CONNECTION.NAME=Component List
PROPERTY.NAME=Property Type
MAPPING.NAME=Mapping
DB_VERSION.NAME=DB Version
DB_VERSION.ITEM.MYSQL_5=Mysql 5
DB_VERSION.ITEM.MYSQL_8=Mysql 8
DB_VERSION.ITEM.MARIADB=MariaDB
SPECIFY_DATASOURCE_ALIAS.NAME=Specify a data source alias
DATASOURCE.NAME=Data source
DATASOURCE_ALIAS.NAME=Data source alias

View File

@@ -1,35 +0,0 @@
DBD-ODBC.INFO=F\u00FCr ODBC-\u00E4hnliche Verbindung ben\u00F6tigt
DBD-Oracle.INFO=F\u00FCr Oracle ben\u00F6tigt
DBD-Pg.INFO=F\u00FCr PostgreSQL ben\u00F6tigt
DBD-mysql.INFO=F\u00FCr MySQL ben\u00F6tigt
DBTABLE.NAME=Tabellenname
ENCODING.NAME=Encoding
HOST.NAME=Host
PASS.NAME=Passwort
PORT.NAME=Port
PROPERTIES.NAME=Zus\u00E4tzliche JDBC Parameter
QUERY.NAME=Abfrage
QUERYSTORE.NAME=Abfragetyp
SCHEMA.NAME=Schema
SCHEMA_DB.NAME=Schema
SQL_SYNTAX.NAME=SQL Syntax
STRING_QUOTE.NAME=Text Quotierung
TYPE.ITEM.MSSQL_ODBC=Microsoft SQL (Odbc Treiber)
TYPE.ITEM.MYSQL=MySQL
TYPE.ITEM.ODBC=Generischer ODBC
TYPE.ITEM.ORACLE=Oracle
TYPE.ITEM.PGSQL=PostgreSQL
TYPE.NAME=Datenbanktreiber
USER.NAME=Benutzername
USE_EXISTING_CONNECTION.NAME=eine bestehende Verbindung verwenden
TRIM_ALL_COLUMN.NAME=Trimme alle Zeichenketten/Zeichen-Spalten
TRIM_COLUMN.NAME=Trimmt Spalte
TRIM_COLUMN.ITEM.TRIM=Trimmen
TABLE.NAME=Tabellenname
GUESS_SCHEMA.NAME=Errate Schema
CONNECTION.NAME=Komponenten Liste
PROPERTY.NAME=Eigenschaftstyp
DB_VERSION.NAME=Datenbankversion
DB_VERSION.ITEM.MYSQL_5=Mysql 5
MAPPING.NAME=Mapping
DATASOURCE.NAME=Datenquelle

View File

@@ -1,15 +0,0 @@
ENCODING.NAME=Codificaci\u00F3n
HOST.NAME=Host
PASS.NAME=Contrase\u00F1a
PORT.NAME=Puerto
SCHEMA.NAME=Esquema
SCHEMA_DB.NAME=Esquema
SQL_SYNTAX.NAME=Sintaxis SQL
TYPE.ITEM.MSSQL_ODBC=Microsoft SQL (Controlador ODBC)
TYPE.ITEM.MYSQL=MySQL
TYPE.ITEM.ODBC=ODBC Gen\u00E9rico
TYPE.ITEM.ORACLE=Oracle
TYPE.ITEM.PGSQL=PostgreSQL
TYPE.NAME=Controlador de base de datos
USER.NAME=Nombre de usuario
USE_EXISTING_CONNECTION.NAME=Usar una conexi\u00F3n existente

View File

@@ -1,45 +0,0 @@
DBD-ODBC.INFO=Requis pour les connexions de type ODBC
DBD-Oracle.INFO=Requis pour Oracle
DBD-Pg.INFO=Requis pour PostgreSQL
DBD-mysql.INFO=Requis pour MySQL
DBNAME.NAME=Base de donn\u00E9es
DBTABLE.NAME=Nom de la table
ENABLE_STREAM.NAME=Activer le flux
ENCODING.NAME=Encodage
HELP=org.talend.help.tMysqlInput
HOST.NAME=H\u00F4te
LONG_NAME=Lit une table MySQL et extrait des champs \u00E0 partir d'une requ\u00EAte SQL
NB_LINE.NAME=Nombre de lignes
NULL_CHAR.NAME=Caract\u00E8re Null
PASS.NAME=Mot de passe
PORT.NAME=Port
PROPERTIES.NAME=Param\u00E8tres suppl\u00E9mentaires JDBC
QUERY.NAME=Requ\u00EAte
QUERYSTORE.NAME=Type de requ\u00EAte
SCHEMA.NAME=Sch\u00E9ma
SCHEMA_DB.NAME=Sch\u00E9ma
SQL_SYNTAX.NAME=Syntaxe SQL
STRING_QUOTE.NAME=S\u00E9parateur de cha\u00EEne de caract\u00E8res
TYPE.ITEM.MSSQL_ODBC=Microsoft SQL (pilote ODBC)
TYPE.ITEM.MYSQL=MySQL
TYPE.ITEM.ODBC=ODBC g\u00E9n\u00E9rique
TYPE.ITEM.ORACLE=Oracle
TYPE.ITEM.PGSQL=PostgreSQL
TYPE.NAME=Pilote de la base de donn\u00E9es
USER.NAME=Utilisateur
USE_EXISTING_CONNECTION.NAME=Utiliser une connexion existante
TRIM_ALL_COLUMN.NAME=Supprimer les espaces entourant toutes les colonnes String/Char
TRIM_COLUMN.NAME=Colonnes \u00E0 rogner
TRIM_COLUMN.ITEM.TRIM=Supprimer les espaces en d\u00E9but et en fin de champ
TABLE.NAME=Nom de la table
GUESS_SCHEMA.NAME=D\u00E9tecter le sch\u00E9ma
CONNECTION.NAME=Liste des composants
PROPERTY.NAME=Type de propri\u00E9t\u00E9
MAPPING.NAME=Mapping
DB_VERSION.NAME=Version de la base de donn\u00E9es
DB_VERSION.ITEM.MYSQL_5=MySQL 5
DB_VERSION.ITEM.MYSQL_8=MySQL 8
DB_VERSION.ITEM.MARIADB=MariaDB
SPECIFY_DATASOURCE_ALIAS.NAME=Sp\u00E9cifier un alias de source de donn\u00E9es
DATASOURCE.NAME=Source de donn\u00E9es
DATASOURCE_ALIAS.NAME=Alias de la source de donn\u00E9es

View File

@@ -1,35 +0,0 @@
DBD-ODBC.INFO=Richiesto per connessione ODBC-like
DBD-Oracle.INFO=Richiesto per Oracle
DBD-Pg.INFO=Richiesto per PostgreSQL
DBD-mysql.INFO=Richiesto per MySQL
DBTABLE.NAME=Nome Tabella
ENCODING.NAME=Codifica
HOST.NAME=Host
LONG_NAME=Leggi tabella MySQL ed estrai i campi tramite query SQL
NULL_CHAR.NAME=Carattere Nullo
PASS.NAME=Password
PORT.NAME=Porta
PROPERTIES.NAME=Parametri aggiuntivi JDBC
QUERY.NAME=Query
QUERYSTORE.NAME=Tipo query
SCHEMA.NAME=Schema
SCHEMA_DB.NAME=Schema
SQL_SYNTAX.NAME=Sintassi SQL
STRING_QUOTE.NAME=Quota stringa
TYPE.ITEM.MSSQL_ODBC=Microsoft SQL (Odbc driver)
TYPE.ITEM.MYSQL=MySQL
TYPE.ITEM.ODBC=ODBC Generico
TYPE.ITEM.ORACLE=Oracle
TYPE.ITEM.PGSQL=PostgreSQL
TYPE.NAME=Database Driver
USER.NAME=Username
USE_EXISTING_CONNECTION.NAME=Usa una connessione esistente
TRIM_ALL_COLUMN.NAME=Regola colonne String/Char
TRIM_COLUMN.NAME=Regola colonna
TRIM_COLUMN.ITEM.TRIM=Regola
TABLE.NAME=Nome Tabella
GUESS_SCHEMA.NAME=Intuire schema
CONNECTION.NAME=Lista componente
PROPERTY.NAME=Tipo propriet\u00E0
DB_VERSION.NAME=Versione Db
MAPPING.NAME=Mapping

View File

@@ -1,45 +0,0 @@
DBD-ODBC.INFO=ODBC\u306E\u3088\u3046\u306A\u63A5\u7D9A\u3067\u5FC5\u9808
DBD-Oracle.INFO=Oracle\u3067\u5FC5\u9808
DBD-Pg.INFO=PostgreSQL\u3067\u5FC5\u9808
DBD-mysql.INFO=MySQL\u3067\u5FC5\u9808
DBNAME.NAME=\u30C7\u30FC\u30BF\u30D9\u30FC\u30B9
DBTABLE.NAME=\u30C6\u30FC\u30D6\u30EB\u540D
ENABLE_STREAM.NAME=\u30B9\u30C8\u30EA\u30FC\u30E0\u3092\u6709\u52B9\u5316
ENCODING.NAME=\u30A8\u30F3\u30B3\u30FC\u30C7\u30A3\u30F3\u30B0
HELP=org.talend.help.tMysqlInput
HOST.NAME=\u30DB\u30B9\u30C8
LONG_NAME=MySQL\u30C6\u30FC\u30D6\u30EB\u3092\u8AAD\u307F\u53D6\u308A\u3001SQL\u30AF\u30A8\u30EA\u30FC\u306B\u57FA\u3065\u3044\u3066\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u62BD\u51FA\u3057\u307E\u3059\u3002
NB_LINE.NAME=\u884C\u6570
NULL_CHAR.NAME=Null\u6587\u5B57
PASS.NAME=\u30D1\u30B9\u30EF\u30FC\u30C9
PORT.NAME=\u30DD\u30FC\u30C8
PROPERTIES.NAME=\u8FFD\u52A0\u306EJDBC\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC
QUERY.NAME=\u30AF\u30A8\u30EA\u30FC
QUERYSTORE.NAME=\u30AF\u30A8\u30EA\u30FC\u30BF\u30A4\u30D7
SCHEMA.NAME=\u30B9\u30AD\u30FC\u30DE
SCHEMA_DB.NAME=\u30B9\u30AD\u30FC\u30DE
SQL_SYNTAX.NAME=Sql\u69CB\u6587
STRING_QUOTE.NAME=\u5F15\u7528\u7B26
TYPE.ITEM.MSSQL_ODBC=Microsoft SQL (Odbc\u30C9\u30E9\u30A4\u30D0\u30FC)
TYPE.ITEM.MYSQL=MySQL
TYPE.ITEM.ODBC=\u6C4E\u7528ODBC
TYPE.ITEM.ORACLE=Oracle
TYPE.ITEM.PGSQL=PostgreSQL
TYPE.NAME=\u30C7\u30FC\u30BF\u30D9\u30FC\u30B9\u30C9\u30E9\u30A4\u30D0\u30FC
USER.NAME=\u30E6\u30FC\u30B6\u30FC\u540D
USE_EXISTING_CONNECTION.NAME=\u65E2\u5B58\u306E\u63A5\u7D9A\u3092\u4F7F\u7528
TRIM_ALL_COLUMN.NAME=\u3059\u3079\u3066\u306E\u6587\u5B57\u5217/\u6587\u5B57\u306E\u30AB\u30E9\u30E0\u3092\u30C8\u30EA\u30E0
TRIM_COLUMN.NAME=\u30AB\u30E9\u30E0\u306E\u30C8\u30EA\u30E0
TRIM_COLUMN.ITEM.TRIM=\u30C8\u30EA\u30E0
TABLE.NAME=\u30C6\u30FC\u30D6\u30EB\u540D
GUESS_SCHEMA.NAME=\u30B9\u30AD\u30FC\u30DE\u3092\u63A8\u6E2C
CONNECTION.NAME=\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u30EA\u30B9\u30C8
PROPERTY.NAME=\u30D7\u30ED\u30D1\u30C6\u30A3\u30BF\u30A4\u30D7
MAPPING.NAME=\u30DE\u30C3\u30D4\u30F3\u30B0
DB_VERSION.NAME=\u30C7\u30FC\u30BF\u30D9\u30FC\u30B9\u30D0\u30FC\u30B8\u30E7\u30F3
DB_VERSION.ITEM.MYSQL_5=Mysql 5
DB_VERSION.ITEM.MYSQL_8=Mysql8
DB_VERSION.ITEM.MARIADB=MariaDB
SPECIFY_DATASOURCE_ALIAS.NAME=\u30C7\u30FC\u30BF\u30BD\u30FC\u30B9\u30A8\u30A4\u30EA\u30A2\u30B9\u3092\u6307\u5B9A
DATASOURCE.NAME=\u30C7\u30FC\u30BF\u30BD\u30FC\u30B9
DATASOURCE_ALIAS.NAME=\u30C7\u30FC\u30BF\u30BD\u30FC\u30B9\u30A8\u30A4\u30EA\u30A2\u30B9

View File

@@ -1,38 +0,0 @@
DBD-ODBC.INFO=ODBC-like connection\u306E\u5834\u5408\u306F\u5FC5\u9808
DBD-Oracle.INFO=Oracle\u306E\u5834\u5408\u306F\u5FC5\u9808
DBD-Pg.INFO=PostgreSQL\u306E\u5834\u5408\u306F\u5FC5\u9808
DBD-mysql.INFO=MySQL\u306E\u5834\u5408\u306F\u5FC5\u9808
DBNAME.NAME=\u30C7\u30FC\u30BF\u30D9\u30FC\u30B9
DBTABLE.NAME=\u30C6\u30FC\u30D6\u30EB\u540D
ENABLE_STREAM.NAME=\u30B9\u30C8\u30EA\u30FC\u30E0\u3092\u6709\u52B9\u306B\u3059\u308B
ENCODING.NAME=\u30A8\u30F3\u30B3\u30FC\u30C7\u30A3\u30F3\u30B0
HELP=org.talend.help.tMysqlInput
HOST.NAME=\u30DB\u30B9\u30C8
LONG_NAME=MySQL\u30c6\u30fc\u30d6\u30eb\u3092\u8aad\u8fbc\u307f\u3001SQL\u30af\u30a8\u30ea\u306b\u57fa\u3065\u304d\u3001\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u62bd\u51fa
NB_LINE.NAME=\u884c\u6570
NULL_CHAR.NAME=Null\u30AD\u30E3\u30E9\u30AF\u30BF
PASS.NAME=\u30D1\u30B9\u30EF\u30FC\u30C9
PORT.NAME=\u30DD\u30FC\u30C8
PROPERTIES.NAME=\u8ffd\u52a0\u306eJDBC\u30d1\u30e9\u30e1\u30fc\u30bf
QUERY.NAME=\u30AF\u30A8\u30EA
QUERYSTORE.NAME=\u30AF\u30A8\u30EA\u30BF\u30A4\u30D7
SCHEMA.NAME=\u30B9\u30AD\u30FC\u30DE
SCHEMA_DB.NAME=\u30B9\u30AD\u30FC\u30DE
SQL_SYNTAX.NAME=SQL\u69CB\u6587
STRING_QUOTE.NAME=\u6587\u5B57\u5217\u306E\u5F15\u7528
TYPE.ITEM.MSSQL_ODBC=Microsoft SQL (Odbc \u30C9\u30E9\u30A4\u30D0)
TYPE.ITEM.MYSQL=MySQL
TYPE.ITEM.ODBC=\u6c4e\u7528ODBC
TYPE.ITEM.ORACLE=Oracle
TYPE.ITEM.PGSQL=PostgreSQL
TYPE.NAME=\u30C7\u30FC\u30BF\u30D9\u30FC\u30B9\u30C9\u30E9\u30A4\u30D0
USER.NAME=\u30e6\u30fc\u30b6\u540d
USE_EXISTING_CONNECTION.NAME=\u65e2\u5b58\u63a5\u7d9a\u3092\u4f7f\u7528
TRIM_ALL_COLUMN.NAME=\u5168\u6587\u5b57\u5217\u30ab\u30e9\u30e0\u3092\u30c8\u30ea\u30df\u30f3\u30b0
TRIM_COLUMN.NAME=\u30ab\u30e9\u30e0\u3092\u30c8\u30ea\u30df\u30f3\u30b0
TRIM_COLUMN.ITEM.TRIM=\u30c8\u30ea\u30df\u30f3\u30b0
TABLE.NAME=\u30C6\u30FC\u30D6\u30EB\u540D
GUESS_SCHEMA.NAME=\u30B9\u30AD\u30FC\u30DE\u3092\u63A8\u5B9A\u3059\u308B
CONNECTION.NAME=\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u30EA\u30B9\u30C8
PROPERTY.NAME=\u30D7\u30ED\u30D1\u30C6\u30A3\u30BF\u30A4\u30D7
DB_VERSION.NAME=DB\u30D0\u30FC\u30B8\u30E7\u30F3

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