Compare commits

...

574 Commits

Author SHA1 Message Date
apoltavtsev
9b7a31cd4f Revert "APINT-35122: Solve CI Build problems when using child jobs and routelets"
This reverts commit 32e2da5e46.
2023-09-12 19:25:08 +02:00
Jane Ding
8aeae703e0 Add localized files (#9091)
* Add localized files (#9086)

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

* Add localized files (#9087)

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

* Add localized files (#9090)

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

---------

Co-authored-by: Alexiane Yvonet <ayvonet@talend.com>
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
Co-authored-by: tsasada-talend <51699524+tsasada-talend@users.noreply.github.com>
2023-09-07 17:52:41 +08:00
hcyi
1493c8b5db feat(TUP-38042):Improve context view display. (#8997)
* feat(TUP-38042):Improve context view display.

* feat(TUP-38042):Improve context view display.

* feat(TUP-38042):update context message and improve for GUI

* feat(TUP-38042):TUP-40126 [bug] "Enable prompt" still use old settings
after migration

* feat(TUP-38042):TUP-40178 [bug] UI Problems

* feat(TUP-38042):TUP-40126 [bug] "Enable prompt" still use old settings
after migration

* feat(TUP-38042):TUP-40126 [bug] "Enable prompt" still use old settings
after migration

* feat(TUP-38042):TUP-40126 [bug] "Enable prompt" still use old settings
after migration
2023-09-07 11:01:36 +08:00
Jane Ding
b9175d5539 fix(TUP-40217):Update checkbox linked to allow internal (#9084)
https://jira.talendforge.org/browse/TUP-40217
2023-09-06 17:55:01 +08:00
zyuan-talend
23cc5b5294 fix(TUP-39605): Cleanup Exchange related code. (#9076) 2023-09-06 16:32:06 +08:00
apoltavtsev
32e2da5e46 APINT-35122: Solve CI Build problems when using child jobs and routelets 2023-09-06 08:50:33 +02:00
Wei Hua
bf60d556f6 APPINT-35853 Spring-security-config:5.7.8 | CVE-2023-34034 (#9072)
* APPINT-35853 Spring-security-config:5.7.8 | CVE-2023-34034

* update micrometer-registry-prometheus version
2023-09-06 12:08:05 +08:00
pyzhou
c03753ed3b Revert "Revert "fix(TDI-50218): fix tFileInputExcel NPE (#9063)""
This reverts commit e6db20eb6b.
2023-09-06 11:00:34 +08:00
Chao MENG
2e95175cf5 fix(TUP-40189): Remove plugin org.talend.libraries.hadoop.mapr.5.0.0 (#9080)
https://jira.talendforge.org/browse/TUP-40189
2023-09-06 10:31:50 +08:00
pyzhou
e6db20eb6b Revert "fix(TDI-50218): fix tFileInputExcel NPE (#9063)"
This reverts commit e7bf6903e0.
2023-09-06 08:45:18 +08:00
vyu-talend
3740aa7555 Revert "feat(TDI-46913):enable SSL in Oracle19c."
This reverts commit f60f9b8556.
2023-09-05 18:52:38 +08:00
vyu-talend
f60f9b8556 feat(TDI-46913):enable SSL in Oracle19c. 2023-09-05 18:47:30 +08:00
Jane Ding
b9284fb195 Add localized files (#9075) (#9082)
Co-authored-by: tsasada-talend <51699524+tsasada-talend@users.noreply.github.com>
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
2023-09-05 16:48:47 +08:00
Oleksandr Zhelezniak
2be2aca776 fix(TDI-50240): allow standalone to have connection (#9071)
* specieal treatment for Rollback and Commit standalone components
2023-09-05 11:34:50 +03:00
pyzhou
e7bf6903e0 fix(TDI-50218): fix tFileInputExcel NPE (#9063)
# Conflicts:
#	main/plugins/org.talend.libraries.excel/META-INF/MANIFEST.MF
2023-09-05 16:05:55 +08:00
pyzhou
217b2066a2 fix(TDI-50199): compile error tGSGet (#9047) 2023-09-05 09:51:23 +08:00
Chao MENG
7c08e6236b fix(TUP-40028): Update wording in Error and Warning tooltip (#9064)
* fix(TUP-40028): Update wording in Error and Warning tooltip
https://jira.talendforge.org/browse/TUP-40028

* fix(TUP-40028): Update wording in Error and Warning tooltip
https://jira.talendforge.org/browse/TUP-40028
2023-09-01 18:00:38 +08:00
Jane Ding
a140559eb0 Add localized files (#9066) (#9070)
Co-authored-by: Alexiane Yvonet <ayvonet@talend.com>
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
2023-09-01 17:09:53 +08:00
mhryb
5fd368e8da feat(TDI-50102): upgrade jdbc drivers for Postgresql, deprecate pre V9 (#9021) 2023-09-01 10:56:02 +03:00
mhryb
dd13213130 feat(TDI-48193): enable LOCAL_FILE by default in PostgreSQL bulk components (#9016) 2023-08-31 18:16:12 +03:00
mhryb
6def4544bc feat(TDI-50100): add use existing connections in tPostgresqlOutputBulkExec (#9022) 2023-08-31 18:07:05 +03:00
Dmytro Sylaiev
7a5d67f917 chore(TDI-49999): Update nimbus-jose in tdi-se (#8978)
* update talend-mscrm for crm in se
2023-08-31 10:27:43 +03:00
sbliu
cb5e3ee0f2 feat(TUP-39758) upgrade jdbc drivers for Postgresql, deprecate pre V9 (#9048) 2023-08-30 17:42:05 +08:00
Jane Ding
e3d4a2572b Add localized files (#9062)
* Add localized files (#9059)

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

* Add localized files (#9060)

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

---------

Co-authored-by: Alexiane Yvonet <ayvonet@talend.com>
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
2023-08-30 10:54:17 +08:00
Jill Yan
a4b963cea5 Jill/m80/appint-35837 (#9055)
* APPINT-35837 Correct dynamic settings

* APPINT-35837 Correct dynamic settings
2023-08-30 09:27:49 +08:00
Oleksandr Zhelezniak
c30e472013 fix(TDI-50094): remove commit from input (#8982) 2023-08-18 09:54:21 +03:00
Jill Yan
2c9f2f1588 APPINT-35834 add rhino in osgi-exclude (#9042) 2023-08-17 14:10:33 +08:00
Oleksandr Zhelezniak
0dd7f8768b fix(TDI-50099): add commons logging bridge S3 (#8986) 2023-08-14 13:40:37 +03:00
pyzhou
306a8f9acb fix(TDI-50002):CVE snappy-java (#8972)
* fix(TDI-50002):CVE snappy-java

* fix mvn url
2023-08-14 14:27:26 +08:00
hcyi
9d9ff25810 Hcyi/add localized files 2023 8 11 (#9034)
* Add localized files (#9033)

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

* Add localized files (#9032)

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

* Add localized files (#9031)

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

---------

Co-authored-by: Alexiane Yvonet <ayvonet@talend.com>
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
Co-authored-by: tsasada-talend <51699524+tsasada-talend@users.noreply.github.com>
2023-08-11 10:21:56 +08:00
zyuan-talend
dc411f2ae9 fix(TUP-39924): plexus-archiver:3.6.0/4.2.0/4.2.1/4.2.2 | (#9015)
CVE-2023-37460.
2023-08-10 16:36:29 +08:00
Jane Ding
1dca9cefa0 fix(TUP-39968):BigQuery components grouped with MDM components (#9024)
https://jira.talendforge.org/browse/TUP-39968
2023-08-10 14:51:20 +08:00
jiezhang-tlnd
4462619833 fix junit (#9029) 2023-08-10 14:23:12 +08:00
jiezhang-tlnd
98973f34fa feat(TUP-39961)Set visible to false for tDBCDC and tDBCDCOutput (#9019)
* feat(TUP-39961)Set visible to false for tDBCDC and tDBCDCOutput
component
https://jira.talendforge.org/browse/TUP-39961

* delete CDC

* fix junit
2023-08-10 10:31:18 +08:00
Laurent BOURGEOIS
7b8faa1f7f Disable jar overwrite (#8965) 2023-08-09 10:34:18 +02:00
wang wei
9a5f894828 fix(TDI-42055): tSetDynamicSchema to be reused in tFileInputDelimited (#8940) 2023-08-09 09:32:27 +08:00
Jane Ding
0f19086ebb feat(TUP-39065):Implement secured credential storage in Studio for Nexus (#8993)
credentials.
https://jira.talendforge.org/browse/TUP-39065
2023-08-09 09:23:20 +08:00
zyuan-talend
a36783bb22 feat(TUP-38945):upgrade oracle jdbc driver. (#9005) 2023-08-04 18:50:10 +08:00
AlixMetivier
ebf6d6e3ca fix(TBD-15413): Hive in DI for dataproc (#8987) 2023-08-04 09:34:26 +02:00
hcyi
6cbb55640a Add localized files (#9006) (#9010)
Co-authored-by: tsasada-talend <51699524+tsasada-talend@users.noreply.github.com>
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
2023-08-04 10:50:41 +08:00
vyu-talend
d1c74a13d3 feat(TDI-49788):upgrade oracle jdbc driver. (#8918)
* feat(TDI-49788):upgrade oracle jdbc driver.

* feat(TDI-49788):change the groupid.
2023-08-02 15:18:09 +08:00
wang wei
5797bc3dfc fix(TDI-45063): support bigquery metadata (#8934) 2023-08-02 09:53:17 +08:00
zyuan-talend
c1188cffe1 fix(TUP-39090):Generate SCD component editor info in the documentation. (#8994) 2023-08-01 17:17:23 +08:00
hcyi
c5ccff15d9 Add localized files (#8991) (#8998)
Co-authored-by: tsasada-talend <51699524+tsasada-talend@users.noreply.github.com>
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
2023-07-31 15:52:31 +08:00
jiezhang-tlnd
3899f4206f chore(TUP-39647)CVE-2017-1000487 (#8988) 2023-07-28 14:12:20 +08:00
pyzhou
46d08e8e65 Pyzhou/tdi 50071 t file input mail extra space 8.0 (#8990)
* fix(TDI-50071):tFileInputMail add extra space and \r\n

* fix NPE

* extra (
2023-07-27 08:43:39 +08:00
wang wei
56c859a5d5 fix(TDI-50086): Compilation error on tFTPFileProperties (#8966) 2023-07-25 15:29:39 +08:00
jiezhang-tlnd
f1d8fcaa83 Jzhang/80/tup 39352 (#8904)
* chore(TUP-39352)Improve / fix missing translations from product For
integration

* for documentation

* change to ja

* remove plugin_es.properties

* Improve / fix missing translations from product

* Improve / fix missing translations from product

* reset documentation

* rest documentation
2023-07-25 14:57:39 +08:00
pyzhou
da1471200b fix(TDI-49874): CVE xml reader simpleexcel (#8983)
# Conflicts:
#	main/plugins/org.talend.libraries.excel/META-INF/MANIFEST.MF
2023-07-25 10:04:23 +08:00
jiezhang-tlnd
a7f7d34526 chore(TUP-39647)CVE-2017-1000487,plexus-utils-3.0.8 (#8960) 2023-07-24 16:28:17 +08:00
sbliu
79f6698a50 fix(TUP-39276) deploying a specific .car component in studio 8 brings a lot of StackOverFlowError (#8923)
* fix(TUP-39276) deploying a specific .car component in studio 8 brings a lot of StackOverFlowError

* fix junit

* fix unit test
2023-07-24 15:42:04 +08:00
Xilai Dai
30542b9061 fix(APPINT-35333,APPINT-35638) update the pom_job_template.xml (#8808)
* fix(APPINT-35333,APPINT-35638) update the pom_job_template.xml

* feat(APPINT-35333) update the pom_job_template.xml
2023-07-24 15:08:56 +08:00
Jane Ding
3391079bac fix(TUP-39333):[8.0.1] random error The project '' is not found (#8937)
https://jira.talendforge.org/browse/TUP-39333
2023-07-24 09:38:57 +08:00
Zhiwei Xue
d64a264009 fix(TUP-39563):Issue while using DBBulk components for snowflake in (#8971)
Joblets
2023-07-21 09:42:19 +08:00
Jill Yan
0940df7b95 APPINT-35729 remove rhino for tRestRequest osgi build (#8968) 2023-07-21 09:19:13 +08:00
hcyi
330089b57c Hcyi/add localized files 2023 7 14 (#8961)
* Add localized files (#8956)

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

* Add localized files (#8957)

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

---------

Co-authored-by: Alexiane Yvonet <ayvonet@talend.com>
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
2023-07-14 15:23:33 +08:00
pyzhou
73e1c93be1 fix(TDI-44693):tSSH support new open ssh key algorithm (#8953)
* fix(TDI-44693):tSSH support new open ssh key algorithm

* fix also tscp components

* remove extra <%

* fix compile error

* fix password

* compaile error
2023-07-13 15:02:29 +08:00
Emmanuel GALLOIS
51e78cc5f0 feat(TCOMP-2443): allow component-server extensions for Studio (#8891) 2023-07-12 10:13:45 +02:00
vyu-talend
a423effeba feat(TDI-49790):upgrade mariadb jdbc driver. (#8897) (#8952) 2023-07-11 17:00:01 +08:00
zyuan-talend
051d4cc1c6 fix(TUP-39291): Remove Talend Exchange link from Studio. (#8941) 2023-07-10 18:33:13 +08:00
Jill Yan
148f902491 APPINT-35663 fix wrong comment value (#8936) 2023-07-10 15:09:30 +08:00
hcyi
08e1212283 Add localized files (#8944) (#8947)
Co-authored-by: tsasada-talend <51699524+tsasada-talend@users.noreply.github.com>
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
2023-07-07 19:18:22 +08:00
Dmytro Sylaiev
72df02d92e fix(TDI-49938): Check the ftpPut operation result (#8893)
* Die when die on error selected
2023-07-06 17:10:32 +03:00
Dmytro Sylaiev
f1d5b9698f fix(TDI-49934): Fix SFTP not die on error (#8882) 2023-07-06 16:46:11 +03:00
mhryb
b45719b105 fix(TDI-50005): fix suggestedValues (#8921) 2023-07-06 09:53:51 +03:00
jiezhang-tlnd
acf067be0a chore(TUP-39332)guava:30.0-jre | CVE-2020-8908 (#8925)
* chore(TUP-39332)guava:30.0-jre | CVE-2020-8908
https://jira.talendforge.org/browse/TUP-39332

* update guava
2023-07-06 10:43:15 +08:00
vyu-talend
e16f5c5f06 feat(TDI-49789):upgrade vertica jdbc driver to 12 (#8876)
* feat(TDI-49789):upgrade vertica jdbc driver to 12

* feat(TDI-49789):remove vertica 9 and relative codes.

* feat(TDI-49789):fix null UUID issue and remove useless codes.

* feat(TDI-49789):remove useless codes in outputmain.

* feat(TDI-49789):missed to remove useless codes in tcreatetable.
2023-07-05 15:56:58 +08:00
pyzhou
dc760e1e49 fix(TDI-49989):Compile error tScpFileList log port (#8913)
* fix(TDI-49989):Compile error when using the global value in the tSCPFileExists component

* fix log4j
2023-07-05 09:24:34 +08:00
vyu-talend
da971daa11 fix(TDI-49728):upgrade snowflake driver to 3.13.30. (#8932) (#8933) 2023-07-03 18:08:25 +08:00
ypiel
6ff39107ef fix(TDI-49710): bump to mscrm 3.16-20230612. (#8916) 2023-07-01 16:54:19 +02:00
mhryb
086c2a6fd8 fix(TDI-49936): fix tFileOutputProperties to respect the order (#8901) 2023-06-30 14:33:05 +03:00
sponomarova
0ce3135381 fix(TBD-15240): fix job run for Synapse (#8883) 2023-06-30 14:23:42 +03:00
Zhiwei Xue
661adbfc9f fix(TUP-39349):Unchecked the 'CDS View' checkbox when dragging a CDS (#8880)
view without parameters for tSAPTableInput
2023-06-30 18:18:52 +08:00
jzhao-talend
96af551434 fix(TDI-49728):Revert "feat(TDI-49728):upgrade snowflake driver to fix
cve.
(#8836) (#8906)"

This reverts commit 075af08737.
2023-06-30 16:12:35 +08:00
jzhao
0fd400f443 feat(TDI-49743):SQS components Adding profile credential provider (#8902)
* feat(TDI-49743):SQS components replace 'inherit credentials' checkbox
for drop down list

* feat(TDI-49743):SQS components Adding profile credential provider
2023-06-30 09:53:28 +08:00
jiezhang-tlnd
8000b084d7 fix(TUP-38993)dataset can't get some values from connection (#8820)
* fix(TUP-38993)dataset can't get some values from connection
https://jira.talendforge.org/browse/TUP-38993

* fix drag and drop

* code format

* code format
2023-06-28 16:43:21 +08:00
mhryb
1d14d70921 fix(TDI-46592): refactor AmazonAurora components (#8863) 2023-06-27 10:35:00 +03:00
sbliu
3b10bde107 feat(TUP-38946) add support vertica 12 (#8826)
* feat(TUP-38946) add support vertica 12

* remove VERTICA 9

* remove vertica9 driver class
2023-06-27 14:51:07 +08:00
hcyi
9fe706ca2f fix(TUP-35725):[JDBC TCK]: no need to generate "use an existing (#8819)
* fix(TUP-35725):[JDBC TCK]: no need to generate "use an existing
connection" checkbox for tjdbccommit/tjdbcrollback component.

* fix(TUP-36517):Hide cloud specific parameters for tck connectors.

* feat(TUP-39077):[TCK]: only generate "Guess schema" button when
necessary for processor component.

* feat(TUP-39077):[TCK]: only generate "Guess schema" button when
necessary for processor component.

* feat(TUP-39078):Make the TCK JDBC work with db unified system.

* feat(TUP-39078):Make the TCK JDBC work with db unified system.

* fix(TUP-36517):fix a bug to Hide connection specific parameters.

* feat(TUP-39078):move the change to other branch .
2023-06-27 10:50:07 +08:00
pyzhou
34024271a0 Revert "feat(TDI-49247): Deprecate AS400 v6 & v7r1 (#8898)" (#8914)
This reverts commit 2d62afbb5c.
2023-06-27 08:03:14 +08:00
pyzhou
e051c33e7d feat(TDI-49247): Deprecate AS400 v6 & v7r1 (#8898)
* feat(TDI-49247): Deprecate AS400 v6 & v7r1

* feat(TDI-49247): Deprecate AS400 v6 & v7r1
2023-06-26 14:32:24 +08:00
sbliu
38c7be47c2 Add localized files (#8912)
* Add localized files (#8908)

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

* Add localized files (#8909)

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

---------

Co-authored-by: Alexiane Yvonet <ayvonet@talend.com>
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
2023-06-26 10:29:13 +08:00
Jane Ding
b916cea21d fix(TUP-38646):Environment variables values are lost during the job (#8899)
* fix(TUP-38646):Environment variables values are lost during the job
export
https://jira.talendforge.org/browse/TUP-38646

* fix(TUP-38646):Environment variables values are lost during the job
export
https://jira.talendforge.org/browse/TUP-38646
2023-06-25 09:56:11 +08:00
dicarcab
f775feeb4e fix(TBD-15242): Compile error row1 cannot be resolved to a variable when tMap inner join with date or timestamp (#8905) 2023-06-23 10:41:51 +02:00
Oleksandr Zhelezniak
2989d8d301 fix(TDI-49872): bump json-smart & accessors-smart (#8822)
* 2.4.9 -> 2.4.11
2023-06-22 09:17:21 +03:00
vyu-talend
075af08737 feat(TDI-49728):upgrade snowflake driver to fix cve. (#8836) (#8906) 2023-06-21 18:35:48 +08:00
sbliu
b77044f47a fix(TUP-38296) Input connections order changes keeps in order (#8813)
* fix(TUP-38296) Input connections order changes keeps in order

* refactor

* add unit test
2023-06-21 16:10:46 +08:00
Zhiwei Xue
1d0fe8bafc fix(TUP-38235):Job in a project that references other projects load very (#8778)
slowly in Studio
2023-06-20 09:47:31 +08:00
jiezhang-tlnd
69c4f2882e fix(TUP-39233)Prompted to re-add unused context variables after deleting (#8846)
* fix(TUP-39233)Prompted to re-add unused context variables after deleting
from job
https://jira.talendforge.org/browse/TUP-39233

* only consider showed Parameter

* format
2023-06-20 09:42:02 +08:00
sbliu
182b7cc9b7 feat(TUP-38947) upgrade mariadb jdbc driver mariadb-java-client to 3.1.4 (#8881) 2023-06-16 17:21:44 +08:00
sbliu
66d03c74fd Add localized files (#8894)
* Add localized files (#8887)

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

* Add localized files (#8888)

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

* Add localized files (#8889)

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

---------

Co-authored-by: Alexiane Yvonet <ayvonet@talend.com>
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
Co-authored-by: tsasada-talend <51699524+tsasada-talend@users.noreply.github.com>
2023-06-16 17:15:08 +08:00
Oleksandr Zhelezniak
94308a883f fix(TDI-49890): fix MDC context coping (#8858)
* handle possible null MDC context map
2023-06-12 12:40:13 +03:00
Jill Yan
b4e91e7a1a Jill/m80/appint-35640 (#8864)
* APPINT-35640:Studio:Data Usage: remove old nb.route.osgi under process in Data Collector

* APPINT-35640:Studio:Data Usage: remove old nb.route.osgi under process in Data Collector

* APPINT-35640 Studio:Data Usage: remove old nb.route.osgi under process

* APPINT-35640 call this task before logon

---------

Co-authored-by: Abdulhamid Rashankar <arashankar@talend.com>
2023-06-12 09:49:18 +08:00
Zhiwei Xue
0b9ed535ae feat(TUP-38140):fix DND Parameters issues (#8871) 2023-06-11 23:48:40 +08:00
wwang
076fee23dc fix(TDI-49753): remove "beta" from label 2023-06-09 15:49:13 +08:00
sbliu
0749a5c667 Add localized files (#8867)
* Add localized files (#8860)

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

* Add localized files (#8861)

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

* Add localized files (#8862)

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

---------

Co-authored-by: tsasada-talend <51699524+tsasada-talend@users.noreply.github.com>
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
Co-authored-by: Alexiane Yvonet <ayvonet@talend.com>
2023-06-09 11:24:58 +08:00
Zhiwei Xue
f2f98b78b9 feat(TUP-38140):SAP CDS Views over Talend (#8845) 2023-06-08 15:17:22 +08:00
mhryb
c86650d6c9 fix(TDI-49878): fix dbVersion for tAmazonAuroraOutput (#8857) 2023-06-08 09:09:12 +03:00
hzhao
fd72bf972f fix(TUP-38886): samba can't be deployed (#8844) 2023-06-08 11:01:50 +08:00
hzhao
e1ebbaf25b fix(TUP-38590): CI/CD Pipeline generating different code compared to (#8766)
* fix(TUP-38590): CI/CD Pipeline generating different code compared to
Studio - missing distribution entry in .item

* fix(TUP-38590): change back to private

* fix(TUP-38590): CI/CD Pipeline generating different code

* fix(TUP-38590): add for testcase / modify order

* fix(TUP-38590): add junit
2023-06-08 09:38:51 +08:00
hcyi
89fda24c04 fix(TUP-35664):fix a bug when create tck connection on wizard (#8849) 2023-06-07 18:28:54 +08:00
wang wei
48b5e6899e fix(TDI-49753): improve tsetkeystore 2023-06-07 18:14:04 +08:00
Jane Ding
6da81b3d21 feat(TUP-38589):Managed updates improvements (#8783)
* feat(TUP-38589):Managed updates improvements
https://jira.talendforge.org/browse/TUP-38589

* fix(TUP-38847):connection error popup with every change of the update
url from Update settings
https://jira.talendforge.org/browse/TUP-38847

* feat(TUP-38589):Managed updates improvements
https://jira.talendforge.org/browse/TUP-38589

* feat(TUP-38589):Managed updates improvements
https://jira.talendforge.org/browse/TUP-38589

* feat(TUP-38589):Managed updates improvements
https://jira.talendforge.org/browse/TUP-38589
fix(TUP-39231):the overwriteWarnPanel lead to warning of empty URL can't
be fully displayed in default Talend preference
2023-06-07 16:41:37 +08:00
apoltavtsev
a4471dbfa7 TDI-49653: Avoid using javax.ws.rs dependencies within OSGi bundle (#8809) 2023-06-07 10:16:03 +02:00
Jill Yan
8f97c3a7bf APPINT-35605 set authentication value (#8848) 2023-06-07 15:26:48 +08:00
Svitlana Anulich
753ce13f81 feat(TBD-14993): add org.talend.designer.di plugin to the classpath (#8786) 2023-06-07 09:35:28 +03:00
hcyi
1bba8debfa Hcyi/tup 35664 8.0 (#8806)
* fix(TUP-35664):Tck component settings fields alignment

* fix(TUP-35664):Tck component settings fields alignment

* fix(TUP-35664):Tck component settings fields alignment

* fix(TUP-35664):improve for Tck component settings fields alignment

* fix(TUP-35664):improve for Tck component settings fields alignment.

* fix(TUP-35664):improve for Tck component settings fields alignment.
2023-06-06 16:17:50 +08:00
jiezhang-tlnd
183ce498b5 80r loc fr fr 2023 06 01 04 20 (#8842)
* Add localized files (#8834)

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

* Add localized files (#8835)

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

---------

Co-authored-by: Alexiane Yvonet <ayvonet@talend.com>
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
Co-authored-by: tsasada-talend <51699524+tsasada-talend@users.noreply.github.com>
2023-06-05 14:10:13 +08:00
jillyan
ab8d71050e Merge branch 'jill/m80/APPINT-35605' into maintenance/8.0 2023-06-02 15:42:05 +08:00
jillyan
6737e36814 APPINT-35605 set authentication value 2023-06-02 14:26:40 +08:00
Oleksandr Zhelezniak
e825eeaf67 fix(TDI-49856): snowflake create table fail (#8818)
* revert the changes of "fix(TDI-49305): dynamic schema length (#8651)"
2023-06-01 14:27:59 +03:00
sponomarova
cb27fc99d0 feat(TBD-15036): Beta - Universal Spark 3.1 for HDInsight 5.0 (#8791) 2023-06-01 08:26:10 +03:00
Jill Yan
40482fbc8e APPINT-35629 change comment in outflow colum (#8811) 2023-06-01 10:08:03 +08:00
vyu-talend
d1ed068488 feat(TDI-49791):upgrade salesfroce driver and support latest endpoint. (#8801)
* feat(TDI-49791):upgrade salesforce endpoint and driver.

* feat(TDI-49791):won't upgrade jackson this time.
2023-06-01 10:07:22 +08:00
mhryb
353d118cbf fix(TDI-49860): guid should manage empty string as null (#8804) 2023-05-30 15:08:47 +03:00
zyuan-talend
0123e8a395 fix(TUP-38972): tELTInput component schema switches to Built-in each time tELTMap editor is opened (#8789) 2023-05-29 11:26:14 +08:00
jiezhang-tlnd
12b6393a4e Jzhang/80/tup 38935 (#8759)
* feat(TUP-38935)Add support to AWS (Mysql) Aurora 3.X
https://jira.talendforge.org/browse/TUP-38935

* update mysql 8 driver to 8.0.33

* update mysql driver

* add migration for AmazonAurora db

* add migration for AmazonAurora db

* remove migration
2023-05-29 10:46:02 +08:00
vyu-talend
a8236fc392 feat(TDI-49786):upgrade mysql driver. (#8760)
* 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 09:59:27 +08:00
Abdulhamid Rashankar
834530f209 APPINT-35585:There is nb.route.osgi under process in Data Collector (#8796) 2023-05-25 10:20:06 +02:00
jiezhang-tlnd
5f1c85681a 80 loc fr fr 2023 05 18 04 22 (#8800)
* Add localized files (#8784)

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

* Add localized files (#8785)

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

---------

Co-authored-by: Alexiane Yvonet <ayvonet@talend.com>
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
2023-05-25 11:53:20 +08:00
hcyi
800f6fde3e fix(TUP-38581):[JDBC TCK]: check studio "Enable parallel execution" if works after migrate to tck one, should work (#8767)
* 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:39:20 +08:00
jiezhang-tlnd
c5241d7df9 chore(TUP-38346)CVE: org.apache.maven:maven-core:3.8.6 (#8612)
* chore(TUP-38346)CVE: org.apache.maven:maven-core:3.8.6

* for update time stamp
2023-05-24 09:38:18 +08:00
Samuel ANTOINE
f9dd069f0a fix(TBD-15218): sanitize the tmap component (#8780)
fix(TBD-15218): sanitize the tmap component (#8780)
2023-05-23 11:09:15 +02:00
kjwang
6e4c61cce7 Fix TUP-39092 Studio frozen at start (#8782)
Fix TUP-39092 Studio frozen at start
https://jira.talendforge.org/browse/TUP-39092
2023-05-23 14:50:15 +08:00
kjwang
bae1748a2d TUP-31305 Improve the code to avoid encrypt the password in job (#8692)
* TUP-31305 Improve the code to avoid encrypt the password in job
everytime
https://jira.talendforge.org/browse/TUP-31305
2023-05-22 17:34:42 +08:00
jzhao
ae59709071 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:53:52 +08:00
sbliu
19b007623d fix(TUP-38851) fix cannot show in job console if line content's length too large (#8764) 2023-05-17 17:21:42 +08:00
sbliu
b9b0a58adb chore(TUP-38415) upgrade xercesImpl to 2.12.2 (#8703) 2023-05-17 17:18:58 +08:00
sbliu
d3cd2390d4 fix(TUP-38912) fix mvn build cannot handle special name such as 'CVS' (#8749) 2023-05-16 17:48:55 +08:00
Oleksandr Zhelezniak
9b69110cfb fix(TDI-49771): Cell format is not date (#8741)
* column that we read may start not from the first excel column, need to take it into account
2023-05-16 10:40:27 +03:00
jiezhang-tlnd
9f849e5bfc chore(TUP-38624)Request for an API to determine if a joblet refactoring (#8746)
is ongoing
2023-05-15 18:52:29 +08:00
wang wei
1f1eb0aa09 fix(TDI-49752): tMap performance issue after migration to v8.0 (#8756) 2023-05-15 16:09:07 +08:00
jiezhang-tlnd
9501c8620a Add localized files (#8771) (#8773)
* Add localized files (#8771)

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

* Add localized files (#8772)

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

---------

Co-authored-by: tsasada-talend <51699524+tsasada-talend@users.noreply.github.com>
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
Co-authored-by: Alexiane Yvonet <ayvonet@talend.com>
2023-05-12 16:08:02 +08:00
Svitlana Anulich
93f8d76e5f fix(TBD-15112): remove HBASE-LIB-MAPR50X_LASTEST library group (#8689) 2023-05-11 07:58:04 +03:00
apoltavtsev
48305968e4 APPINT-34483: Update Logging feature to hide security sensitive parameters 2023-05-10 16:12:49 +02:00
Emmanuel GALLOIS
3805181288 fix(TCOMP-2389): correct staled reading on windows 2023-05-10 15:45:40 +02:00
Jill Yan
d4fac9802b APPINT-35584 add runtime feature in data collector (adds) (#8753)
* 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:38 +02:00
Dmytro Sylaiev
173fa611ae 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 13:01:19 +03:00
wang wei
2362bbb510 fix(TDI-49489): tFTPConnection code generation wrongly after switch authentication method(#8546) 2023-05-09 17:21:33 +08:00
wang wei
784925a94a fix(TDI-49546): CVE-2022-45688, org.json:json:(<=20220924) (#8588) 2023-05-09 16:52:17 +08:00
kjwang
23c414b7bb Fix TUP-38911 Can't resize input/output table in tmap dialog (#8735)
TUP-38911 Can't resize input/output table in tmap dialog
https://jira.talendforge.org/browse/TUP-38911
2023-05-08 18:04:02 +08:00
hzhao
72965d2144 fix(TUP-38452): Talend 6.3.1 to Talend 8.0.1 Migration Issues in tELT (#8614)
* 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 11:26:12 +08:00
sbliu
d33ac625fd fix(TUP-38462) make sure generate migration report only needed. (#8634)
* fix(TUP-38462) make sure generate migration report only needed.

* refactor for generate report
2023-05-08 09:32:15 +08:00
jiezhang-tlnd
146128e1ff fix(TUP-38456)Ordering of "Run If" Triggers (#8738)
* fix(TUP-38456)Ordering of "Run If" Triggers

* change to linkedhashset
2023-05-06 16:54:22 +08:00
Dmytro Sylaiev
10c54ba948 chore(TDI-49749): Update json-smart and related (#8748) 2023-05-05 14:51:06 +03:00
hzhao
422d47a482 fix(TUP-38108): Job changes lost on close+save job with dirty joblet (#8691)
* 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-05 17:33:14 +08:00
hcyi
7cf3b808b5 fix(TUP-38455):"Get folder by ID" can't work when create boxv2 dataset (#8704)
from metadata wizard.
2023-05-05 15:46:49 +08:00
jiezhang-tlnd
c818591781 80 loc ja jp 2023 05 04 07 39 (#8744)
* Add localized files (#8734)

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

* Add localized files (#8736)

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

---------

Co-authored-by: tsasada-talend <51699524+tsasada-talend@users.noreply.github.com>
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
Co-authored-by: jzhangbj <jzhang@talend.com>
2023-05-05 11:07:00 +08:00
Abdulhamid Rashankar
3bba089dcf APPINT-35490:App & API Integration - Studio Metrics gathering: build types & APIs usage (#8732) 2023-05-04 16:46:44 +02:00
Abdulhamid Rashankar
e3c9bef73b APPINT-35490:App & API Integration - Studio Metrics gathering: build types & APIs usage (#8713)
* 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

* 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:17:30 +02:00
sbliu
0b61014078 addlocalized 20230428 (#8727)
* Add localized files (#8719)

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

* Add localized files (#8720)

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

---------

Co-authored-by: Alexiane Yvonet <ayvonet@talend.com>
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
Co-authored-by: jzhangbj <jzhang@talend.com>
2023-04-28 15:00:11 +08:00
jzhao
bee20f5c38 feat(TDI-49349):Private Link support for Google Storage & BigQuery (#8497)
* 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 14:34:59 +08:00
Oleksandr Zhelezniak
6305b568af fix(TDI-49305): dynamic schema length (#8652)
* include length and precision for dynamic schema for tcompv0 components
2023-04-27 10:42:48 +03:00
jiezhang-tlnd
7e28680515 fix(TUP-38314)Guess schema fails with the warning (#8582)
* 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-04-27 15:06:10 +08:00
sbliu
9175afbca4 Add localized files (#8711) (#8717)
Co-authored-by: jzhangbj <jzhang@talend.com>
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
2023-04-26 10:06:44 +08:00
hcyi
9066543517 fix(TUP-38310):Import items : Got error when "Run Analysis" (#8585)
* fix(TUP-38310):Import items : Got error when "Run Analysis"

* fix(TUP-38310):Import items : Got error when "Run Analysis"
2023-04-25 15:29:03 +08:00
Oleksandr Zhelezniak
5b520754cb 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:14:45 +03:00
Jill Yan
16c312a867 Jill/m80/appint-35472 (#8688)
* APPINT-35470 gather pure DI jobs

* APPINT-35470 gather pure DI jobs

* APPINT-35470 count data services

* APPINT-35470 count soap services

* APPINT-35470 App & API Integration - Studio Metrics gathering

* APPINT-35470 App & API Integration - Studio Metrics gathering

* APPINT-3547 add runtime feature count in studio metrix

* APPINT-35472 add runtime feature count in studio metrix
2023-04-23 09:23:45 +08:00
Jill Yan
c4c8ee1743 Jill/m80/appint 35470 (#8635)
* APPINT-35470 gather pure DI jobs

* APPINT-35470 gather pure DI jobs

* APPINT-35470 count data services

* APPINT-35470 count soap services

* APPINT-35470 App & API Integration - Studio Metrics gathering

* APPINT-35470 App & API Integration - Studio Metrics gathering
2023-04-23 09:10:46 +08:00
hzhao
99ab8a4f0f fix(TUP-38334): job showing error when running from studio on remote (#8566)
jobserver
2023-04-22 16:53:55 +08:00
sbliu
e90c23bbbd add localized files (#8694)
* Add localized files (#8690)

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

* Add localized files (#8693)

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

---------

Co-authored-by: Alexiane Yvonet <ayvonet@talend.com>
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
Co-authored-by: tsasada-talend <51699524+tsasada-talend@users.noreply.github.com>
2023-04-20 17:47:58 +08:00
sbliu
c0bd68c94a chore(TUP-38741) add new blank line for build (#8687) 2023-04-18 18:51:13 +08:00
sbliu
c775d46f93 fix(TUP-38741) fix context value drop-down list in Run tab does not work (#8683) 2023-04-18 18:13:16 +08:00
kjwang
4ec13bb73b Kjwang/fix tup 38656 improve job designer in dark mode (#8665) (#8679)
* 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:10:54 +08:00
AlixMetivier
1966719ecb fix(TBD-14987): fix hadoop jar not found (#8643) 2023-04-14 10:19:31 +02:00
wang wei
354eb83830 fix(TDI-49483): Denial Of Service (DoS) in Talend/connectors-se (master)-FileUpload (#8611) 2023-04-14 11:04:45 +08:00
sbliu
174d6f52bb add localized files (#8663)
* Add localized files (#8656)

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

* Add localized files (#8659)

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

---------

Co-authored-by: tsasada-talend <51699524+tsasada-talend@users.noreply.github.com>
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
Co-authored-by: jzhangbj <jzhang@talend.com>
2023-04-14 10:41:50 +08:00
hcyi
43a61a4fbb fix(TUP-38629):Box: All configration is missing after reopen the Box (#8660)
connection
2023-04-13 17:46:44 +08:00
bhe-talendbj
25c44ef310 feat(TUP-36966): update messages (#8658)
feat(TUP-36966): update messages
2023-04-13 17:05:40 +08:00
bhe-talendbj
47a8c5bfd7 feat(TUP-36966): update message (#8657) 2023-04-13 16:15:25 +08:00
sbliu
afce6c3def fix(TUP-38637) fix context issue from TUP-38212 (#8647) 2023-04-13 10:58:43 +08:00
bhe-talendbj
669ea9a8ee fix(TUP-38617): Can still switch back to old mode (#8641) 2023-04-13 09:52:16 +08:00
Jane Ding
252b284be3 fix(TUP-37227):Issue building when items names too long (#8594) (#8624)
* 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 16:38:48 +08:00
kjwang
7502181860 TUP-37441 Improve mapper display in dark mode (#8369)
* TUP-37441 Improve mapper display in dark mode
2023-04-12 10:35:45 +08:00
Zhiwei Xue
5664d9f4d4 fix(TUP-38316):[801 CI/CD] Duplicate Parameter error in the artifact and (#8576)
creating the task
2023-04-11 09:23:45 +08:00
bhe-talendbj
3ef6c8852c feat(TUP-38297): Improve Update settings for user/password (#8602)
* 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-10 16:54:46 +08:00
sbliu
311cfc904f Add localized files (#8636) (#8638)
Co-authored-by: jzhangbj <jzhang@talend.com>
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
2023-04-10 16:41:25 +08:00
sponomarova
9664ffd1cf feat(TBD-12991): Azure Synapse with universal (#8597) 2023-04-10 11:40:34 +03:00
Wei Hua
10f63f1f9a APPINT-35059 Cleanup BUILD_TYPE update triggers in Studio (components part) (#8551) 2023-04-10 15:37:25 +08:00
Dmytro Sylaiev
2cadaf0e15 chore(TDI-49435): Bump talend-mscrm for studio crm (#8606) 2023-04-07 23:25:11 +03:00
sbliu
1c0462085b Add localized files (#8630) (#8633)
Co-authored-by: Alexiane Yvonet <ayvonet@talend.com>
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
2023-04-07 10:47:55 +08:00
sbliu
8c6a9f700a fix(TUP-38212) make 'Deselect all' button work. (#8598) 2023-04-06 15:59:50 +08:00
pyzhou
4f475101a4 fix(TDI-49646):Remove azure-util lib from tdi-studio-se 2023-04-06 10:19:40 +08:00
pyzhou
d5cde11cac fix(TDI-49580):fix mongodb Migration convert Bson NPE (#8628) 2023-04-04 17:55:46 +08:00
pyzhou
c47d110b31 fix(TDI-49580):fix mongodb Migration convert Bson (#8604) 2023-03-31 10:24:47 +08:00
jiezhang-tlnd
4ecee37752 Add localized files (#8619) (#8622)
Co-authored-by: jzhangbj <jzhang@talend.com>
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
2023-03-30 18:17:21 +08:00
jiezhang-tlnd
0a27a39189 80 loc fr fr 2023 03 30 04 22 (#8620)
* Add localized files (#8615)

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

* Add localized files (#8616)

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

---------

Co-authored-by: Alexiane Yvonet <ayvonet@talend.com>
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
Co-authored-by: tsasada-talend <51699524+tsasada-talend@users.noreply.github.com>
2023-03-30 17:43:23 +08:00
vyu-talend
81f748a127 fix(TDI-49458):bump talend_file_enhanced.jar (#8607) 2023-03-30 16:32:04 +08:00
vyu-talend
9f98e86b95 feat(TDI-47760):add nb_line to tMSSqlRow/tAzureSynapseRow/tRedshiftRow/tTeradataRow (#8563)
* feat(TDI-47760):add nb_line to mssqlrow.

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

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

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

* feat(TDI-47760):optimize codes.

* feat(TDI-47760):update i18n.

* feat(TDI-47760):optimize codes.

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

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

* feat(TDI-47760):optimize codes.

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

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

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

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

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

* Add localized files (#8595)

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

* Add localized files (#8600)

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

---------

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

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

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

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

* Add localized files (#8570)

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

---------

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

* Add localized files (#8555)

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

---------

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

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

* feat(TUP-38202): update UI

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

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

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

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

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

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

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

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

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

* remove 2 more non-exist library id

* revert the change on libraries.sqlbuilder

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

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

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

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

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

* feat(TUP-37298): move to EE

* feat(TUP-37298): move to EE

* feat(TUP-37298): move to EE

* feat(TUP-37298): change can connect

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

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

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

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

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

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

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

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

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

* Add localized files (#8502)

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

* Add localized files (#8504)

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

---------

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

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

* Add localized files (#8490)

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

* Add localized files (#8493)

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

---------

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

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

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

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

* chore(TDI-49107): Fix comment

---------

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

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

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

---------

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

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

* Add localized files (#8472)

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

---------

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

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

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

* upgrade driver

* add create table

* fix update wrong index

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

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

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

* Bump transitive deps

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

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

* fix NPE problem

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

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

This reverts commit a56fab7f5b.

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

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

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

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

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

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

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

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

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

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

* fomat code

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

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

* Add localized files (#8446)

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

---------

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

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

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

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

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

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

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

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

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

* tELTPostgresqlMap generates a different query after migration to v8

* add junits

* update juntis

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

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

* override getColumnName

* add junits

* junits

* junit

* fix junits

* fix junits

* fix junits

* import org.junit.Assert

* add junits

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

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

* Add localized files (#8426)

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

* Add localized files (#8427)

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

---------

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

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

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

* Add localized files (#8413)

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

* Add localized files (#8414)

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

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

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

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

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

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

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

* feat(TUP-37472): Oracle version cleanup

* feat(TUP-37472): Oracle version cleanup

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

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

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

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

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

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

* Add localized files (#8356)

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

* Add localized files (#8357)

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

* Add localized files (#8358)

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

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

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

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

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

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

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

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

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

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

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

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

* remove code

* migration task

* Revert "migration task"

This reverts commit 1b82b9143b.

* correct typo and logic

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

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

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

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

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

This reverts commit 4edcee27ac96fdf0d6fa7fbd027b48109271f6cf.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

* override getColumnName

* add junits

* junits

* junit

* fix junits

* fix junits

* fix junits

* import org.junit.Assert

* add junits

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

* feat(TUP-37162): delete eclipse project

* feat(TUP-37162): add ref project

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

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

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

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

* remove useless dependency

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

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

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

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

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

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

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

* Add localized files (#8244)

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

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

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

* Add localized files (#8220)

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

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

* correct

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

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

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

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

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

* fix some issue

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

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

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

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

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

* Add localized files (#8179)

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

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

* Add localized files (#8180)

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

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

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

* Upgrade jar

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

* upgrade simpleexcel 2.6-20220912

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

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

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

* fix(TDI-48779):align tFileInputJson

* add migration to plugin.xml

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

* add properties name

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

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

* feat(TUP-33031):add junits

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

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

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

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

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

* feat(TUP-33031):fix a bug

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

* fix(TUP-36712)null exception

* code format

* code format

* code format

* change to variable

* fix junits

* junits

* revert junit

* Schema lost when convert DeltaLake job to spark

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

* feat(TDI-48442):fix some issues

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

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

* Add localized files (#8112)

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

* Add localized files (#8135)

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

* Add localized files (#8134)

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

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

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

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

* Add localized files (#8092)

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

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

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

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

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

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

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

* Add localized files (#8061)

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

* Add localized files (#8063)

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

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

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

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

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

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

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

* fix wron /n

* fix tssh compile error

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

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

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

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

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

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

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

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

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

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

This reverts commit 18e23af73c.

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

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

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

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

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

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

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

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

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

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

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

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

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

* add dependency

* Add name

* fix wrong mvn path and name

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

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

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

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

* refacto

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

* feat(TBD-13647): contextualize DBR wizard

* fix isContext

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

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

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

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

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

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

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

* feat(TUP-36373): update messages

* feat(TUP-36373): fix UI

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

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

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

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

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

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

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

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

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

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

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

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

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

* format code

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

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

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

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

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

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

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

* fix migration

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

* rename

* fix show if

* tSendMile MVN path

* tPOP mvn path

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

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

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

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

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

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

* Add localized files (#7821)

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

* Add localized files (#7822)

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

* Add localized files (#7823)

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

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

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

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

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

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

* fix compaile error when log4jndisabled

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

* put jobinfo outside main method

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

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

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

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

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

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

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

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

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

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

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

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

* Delete .project

* feat(TDI-47761):improve code

* feat(TDI-44761):fix something

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

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

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

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

* feat(TDI-44761):improve code

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

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

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

* feat(TDI-44761):improve migration.

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

Revert "UI change"

This reverts commit b0d9c95d5a.

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

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

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

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

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

* fix(TDI-48107):gson CVE 2.8.9

* fix(TDI-48107):gson CVE

* fix(TDI-48107):gson CVE

* upgrade version

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

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

* Add localized files (#7734)

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

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

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

* Add localized files (#7707)

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

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

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

* fix(TUP-35599):SuggestionValues.Item support of user friendly UI label
different from it's id
https://jira.talendforge.org/browse/TUP-35599
2022-06-21 22:07:41 +08:00
wwang
e24bc3e0c6 Revert "fix(TDI-47694): [JDBC TCK]: Inject runtime context for tck connector runtime (#7567)"
This reverts commit 77e3b8bb8a.
2022-06-21 09:08:32 +08:00
wang wei
77e3b8bb8a fix(TDI-47694): [JDBC TCK]: Inject runtime context for tck connector runtime (#7567) 2022-06-21 09:03:53 +08:00
7268 changed files with 55153 additions and 325110 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)

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

@@ -139,12 +139,6 @@
version="0.0.0"
unpack="false"/>
<plugin
id="org.talend.designer.components.exchange"
download-size="0"
install-size="0"
version="0.0.0"/>
<plugin
id="org.talend.designer.components.localprovider"
download-size="0"
@@ -164,7 +158,7 @@
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="org.talend.designer.filemultischemas"
download-size="0"

View File

@@ -30,7 +30,6 @@
<plugin id="org.talend.libraries.excel" download-size="0" install-size="0" version="0.0.0"/>
<plugin id="org.talend.libraries.groovy" download-size="0" install-size="0" version="0.0.0"/>
<plugin id="org.talend.libraries.guava" download-size="0" install-size="0" version="0.0.0"/>
<plugin id="org.talend.libraries.hadoop.mapr.5.0.0" download-size="0" install-size="0" version="0.0.0"/>
<plugin id="org.talend.libraries.jackson" download-size="0" install-size="0" version="0.0.0"/>
<plugin download-size="0" install-size="0" version="0.0.0" unpack="false" id="org.talend.libraries.javacsv"/>
<plugin id="org.talend.libraries.jax" download-size="0" install-size="0" version="0.0.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

@@ -56,8 +56,9 @@
String jobClassPackageFolder = codeGenArgument.getCurrentProjectName().toLowerCase() + '/' + jobFolderName;
boolean isLog4jEnabled = ("true").equals(ElementParameterParser.getValue(process, "__LOG4J_ACTIVATE__"));//log4j enable
boolean isLog4j2Enabled = ("true").equals(ElementParameterParser.getValue(process, "__LOG4J2_ACTIVATE__"));//log4j2 enable
boolean isLog4j1Enabled = !isLog4j2Enabled;//log4j1 enable
boolean isLog4j2Enabled = ("true").equals(ElementParameterParser.getValue(process, "__LOG4J2_ACTIVATE__"));//log4j2 enable
boolean isLog4j1Enabled = !isLog4j2Enabled;//log4j1 enable
String MDC_CLASS = "org.slf4j.MDC";
boolean exist_tParallelize = false;
List<? extends INode> tParallelizeList = process.getNodesOfType("tParallelize");
@@ -321,6 +322,11 @@
globalMap.put(GLOBAL_CONNECTION_POOL_KEY, connectionPool);
}
<%}%>
private final static java.util.Properties jobInfo = new java.util.Properties();
private final static java.util.Map<String,String> mdcInfo = new java.util.HashMap<>();
private final static java.util.concurrent.atomic.AtomicLong subJobPidCounter = new java.util.concurrent.atomic.AtomicLong();
public static void main(String[] args){
final <%=className %> <%=className %>Class = new <%=className %>();
@@ -334,6 +340,42 @@
System.exit(exitCode);
}
private void getjobInfo() {
final String TEMPLATE_PATH = "src/main/templates/jobInfo_template.properties";
final String BUILD_PATH = "../jobInfo.properties";
final String path = this.getClass().getResource("").getPath();
if(path.lastIndexOf("target") > 0) {
final java.io.File templateFile = new java.io.File(
path.substring(0, path.lastIndexOf("target")).concat(TEMPLATE_PATH));
if (templateFile.exists()) {
readJobInfo(templateFile);
return;
}
}
readJobInfo(new java.io.File(BUILD_PATH));
}
private void readJobInfo(java.io.File jobInfoFile){
if(jobInfoFile.exists()) {
try (java.io.InputStream is = new java.io.FileInputStream(jobInfoFile)) {
jobInfo.load(is);
} catch (IOException e) {
<%if(isLog4jEnabled){%>
log.debug("Read jobInfo.properties file fail: " + e.getMessage());
<%}%>
}
}
<%if(isLog4jEnabled){%>
log.info(String.format("Project name: %s\tJob name: %s\tGIT Commit ID: %s\tTalend Version: %s",
projectName,jobName,jobInfo.getProperty("gitCommitId"), "<%=System.getProperties().getProperty("talend.studio.version")%>"));
<%}%>
}
<%
if (isTestContainer) {
@@ -515,8 +557,34 @@
org.apache.logging.log4j.core.config.Configurator.setLevel(org.apache.logging.log4j.LogManager.getRootLogger().getName(), log.getLevel());
<%}%>
}
getjobInfo();
log.info("TalendJob: '<%=codeGenArgument.getJobName()%>' - Start.");
<%}%>
<%if(isLog4jEnabled && isLog4j2Enabled) {%>
java.util.Set<Object> jobInfoKeys = jobInfo.keySet();
for(Object jobInfoKey: jobInfoKeys) {
<%=MDC_CLASS%>.put("_" + jobInfoKey.toString(), jobInfo.get(jobInfoKey).toString());
}
<%=MDC_CLASS%>.put("_pid", pid);
<%=MDC_CLASS%>.put("_rootPid", rootPid);
<%=MDC_CLASS%>.put("_fatherPid", fatherPid);
<%=MDC_CLASS%>.put("_projectName", projectName);
<%=MDC_CLASS%>.put("_startTimestamp",java.time.ZonedDateTime.now(java.time.ZoneOffset.UTC ).format( java.time.format.DateTimeFormatter.ISO_INSTANT ));
<%=MDC_CLASS%>.put("_jobRepositoryId","<%=process.getId() %>");
<%=MDC_CLASS%>.put("_compiledAtTimestamp","<%=java.time.ZonedDateTime.now(java.time.ZoneOffset.UTC ).format( java.time.format.DateTimeFormatter.ISO_INSTANT )%>");
java.lang.management.RuntimeMXBean mx = java.lang.management.ManagementFactory.getRuntimeMXBean();
String[] mxNameTable = mx.getName().split("@"); //$NON-NLS-1$
if (mxNameTable.length == 2) {
<%=MDC_CLASS%>.put("_systemPid", mxNameTable[0]);
} else {
<%=MDC_CLASS%>.put("_systemPid", String.valueOf(java.lang.Thread.currentThread().getId()));
}
<%
}%>
<%
INode jobCatcherNode = null;
@@ -642,14 +710,26 @@
pid = TalendString.getAsciiRandomString(6);
}
<%if(isLog4jEnabled && isLog4j2Enabled) {%>
<%=MDC_CLASS%>.put("_pid", pid);
<%}%>
if (rootPid==null) {
rootPid = pid;
}
<%if(isLog4jEnabled && isLog4j2Enabled) {%>
<%=MDC_CLASS%>.put("_rootPid", rootPid);
<%}%>
if (fatherPid==null) {
fatherPid = pid;
}else{
isChildJob = true;
}
<%if(isLog4jEnabled && isLog4j2Enabled) {%>
<%=MDC_CLASS%>.put("_fatherPid", fatherPid);
<%}%>
<%
if (stats) {
@@ -883,7 +963,13 @@
}
%>
//Resume: jobStart
resumeUtil.addLog("JOB_STARTED", "JOB:" + jobName, parent_part_launcher, Thread.currentThread().getId() + "", "","","","",resumeUtil.convertToJsonText(context,parametersToEncrypt));
resumeUtil.addLog("JOB_STARTED", "JOB:" + jobName, parent_part_launcher, Thread.currentThread().getId() + "", "","","","",resumeUtil.convertToJsonText(context,ContextProperties.class,parametersToEncrypt));
<%if(isLog4jEnabled && isLog4j2Enabled) {%>
<%=MDC_CLASS%>.put("_context", contextStr);
log.info("TalendJob: '<%=codeGenArgument.getJobName()%>' - Started.");
java.util.Optional.ofNullable(<%=MDC_CLASS%>.getCopyOfContextMap()).ifPresent(mdcInfo::putAll);
<%}%>
<%
if (stats) {
@@ -1094,6 +1180,10 @@ this.globalResumeTicket = false;//to run others jobs
runningThreadCount.add(1);
new Thread(){
public void run() {
<%if(isLog4jEnabled && isLog4j2Enabled) {%>
mdcInfo.forEach(<%=MDC_CLASS%>::put);
<% } %>
java.util.Map threadRunResultMap = new java.util.HashMap();
threadRunResultMap.put("errorCode", null);
threadRunResultMap.put("status", "");
@@ -1156,9 +1246,15 @@ this.globalResumeTicket = false;//to run others jobs
if (!componentName.equals("tJobStructureCatcher") && !componentName.equals("tLogCatcher") && !componentName.equals("tFlowMeterCatcher") && !componentName.equals("tAssertCatcher") && !componentName.equals("tStatCatcher") && !componentName.equals("tAsyncIn")) {
%>
<%=createCallProcess(rootNode, className, false) %>
<% }
}
}// end if(isRunInMultiThread)
<%
if (process.getNodesOfType("tStatCatcher").size() > 0) {
%>
<%=statsErrorHandlingAfterMainCall(rootNode, process.getNodesOfType("tStatCatcher"))%>
<%
}
}
}
}// end if(isRunInMultiThread)
%>
this.globalResumeTicket = true;//to run tPostJob
@@ -1292,6 +1388,15 @@ if (execStat) {
returnCode = errorCode.intValue();
}
resumeUtil.addLog("JOB_ENDED", "JOB:" + jobName, parent_part_launcher, Thread.currentThread().getId() + "", "","" + returnCode,"","","");
resumeUtil.flush();
<%if(isLog4jEnabled && isLog4j2Enabled) {%>
<%=MDC_CLASS%>.remove("_subJobName");
<%=MDC_CLASS%>.remove("_subJobPid");
<%=MDC_CLASS%>.remove("_systemPid");
log.info("TalendJob: '<%=codeGenArgument.getJobName()%>' - Finished - status: " + status + " returnCode: " + returnCode );
<%}%>
return returnCode;

View File

@@ -42,10 +42,10 @@ public class CLASS
//List< ? extends IConnection> onSubJobErrorConns = rootNode.getOutgoingConnections(EConnectionType.ON_SUBJOB_ERROR);
//if(onSubJobErrorConns!=null){
// for(IConnection conn : onSubJobErrorConns) {
// for(IConnection conn : onSubJobErrorConns) {
// toReturn += createCallProcess(conn.getTarget(), className, isMultiThread);
// }
//}
//}
if(isMultiThread){
toReturn += "\n}catch (java.lang.Error e_" + rootNode.getUniqueName() + ") {\n";
toReturn += "globalMap.put(\""+rootNode.getUniqueName()+ "_SUBPROCESS_STATE\", -1);\n";
@@ -55,7 +55,20 @@ public class CLASS
toReturn += "\n}";
return toReturn;
}
public String statsErrorHandlingAfterMainCall(INode rootNode, List<? extends INode> statsNodes) {
String catchErrorReturn = "catch (Error error_" + rootNode.getUniqueName() + " ) {\n";
catchErrorReturn+="end = System.currentTimeMillis();\n";
for (INode statCatcherNode : statsNodes) {
catchErrorReturn += statCatcherNode.getUniqueName() + ".addMessage(\"failure\", (end-startTime));\n";
catchErrorReturn += "try {\n " + statCatcherNode.getDesignSubjobStartNode().getUniqueName() + "Process(globalMap);\n";
catchErrorReturn += "} catch (Exception e_" + statCatcherNode.getUniqueName() + ") {\n";
catchErrorReturn += "e_" + statCatcherNode.getUniqueName() + ".printStackTrace();\n}\n";
}
catchErrorReturn+= "throw error_" + rootNode.getUniqueName() + ";\n}\n";
return catchErrorReturn;
}
public String generate(Object argument) {
return "";
}

View File

@@ -36,6 +36,15 @@
boolean stats = codeGenArgument.isStatistics();
boolean trace = codeGenArgument.isTrace();
boolean isRunInMultiThread = codeGenArgument.getIsRunInMultiThread();
boolean exportTypeSpringBoot = false;
if (process instanceof org.talend.core.model.process.IProcess2) {
org.talend.core.model.process.IProcess2 p2 = (org.talend.core.model.process.IProcess2) process;
if (p2.getProperty() != null && p2.getProperty().getAdditionalProperties() != null) {
exportTypeSpringBoot = "REST_MS".equals(p2.getProperty().getAdditionalProperties().get(org.talend.core.runtime.process.TalendProcessArgumentConstant.ARG_BUILD_TYPE));
}
}
List<IContextParameter> params = new ArrayList<IContextParameter>();
params=process.getContextManager().getDefaultContext().getContextParameterList();
String className = process.getName();
@@ -141,7 +150,8 @@ for (INode node : process.getNodesOfType("tRESTClient")) {
}
}
boolean talendEsbJobFactory = actAsProvider || !process.getNodesOfType("tRouteInput").isEmpty();
boolean isChildRouteJob = !process.getNodesOfType("tRouteInput").isEmpty();
boolean talendEsbJobFactory = actAsProvider || isChildRouteJob;
boolean talendEsbJob = talendEsbJobFactory || actAsConsumer || ProcessorUtilities.isEsbJob(process);
boolean isLog4jEnabled = ("true").equals(ElementParameterParser.getValue(process, "__LOG4J_ACTIVATE__"));//log4j enable
@@ -245,6 +255,11 @@ if(isRunInMultiThread){
<%//uft-8 is for temp file, for example: tSortRow, tMap. Because they need keep reversibility.%>
private final static String utf8Charset = "UTF-8";
<%
if(!exportTypeSpringBoot || isChildRouteJob){
%>
//contains type for every context property
public class PropertiesWithType extends java.util.Properties {
private static final long serialVersionUID = 1L;
@@ -265,9 +280,16 @@ if(isRunInMultiThread){
return propertyTypes.get(key);
}
}
<%
}
%>
// create and load default properties
private java.util.Properties defaultProps = new java.util.Properties();
<%
if(!exportTypeSpringBoot){
%>
// create application properties with default
public class ContextProperties extends PropertiesWithType {
@@ -333,6 +355,10 @@ public <%=JavaTypesManager.getTypeToGenerate(ctxParam.getType(),true)%> get<%=Ch
}
%>
}
<%
}
%>
protected ContextProperties context = new ContextProperties(); // will be instanciated by MS.
public ContextProperties getContext() {
return this.context;

View File

@@ -30,6 +30,10 @@ boolean containsTPartitioner = node.getProcess().getNodesOfType("tPartitioner").
boolean isRunJob = "tRunJob".equals(node.getComponent().getName());
IProcess process = node.getProcess();
final boolean isLog4jEnabled = ("true").equals(ElementParameterParser.getValue(process, "__LOG4J_ACTIVATE__"));
final boolean isLog4j2Enabled = ("true").equals(ElementParameterParser.getValue(process, "__LOG4J2_ACTIVATE__"));//log4j2 enable
final String MDC_CLASS = "org.slf4j.MDC";
boolean isTestContainer=ProcessUtils.isTestContainer(process);
String className = process.getName();
if (isTestContainer) {
@@ -191,8 +195,11 @@ for (IConnection iterateConn : iterateConnSet) { //1
}
public void run() {
public void run() {
<% if(isLog4jEnabled && isLog4j2Enabled) { %>
mdcInfo.forEach(<%=MDC_CLASS%>::put);
<% } %>
java.util.Map threadRunResultMap = new java.util.HashMap();
threadRunResultMap.put("errorCode", null);
threadRunResultMap.put("status", "");

View File

@@ -32,6 +32,8 @@
boolean stat = codeGenArgument.isStatistics();
boolean containsTPartitioner = subTree.getRootNode().getProcess().getNodesOfType("tPartitioner").size() > 0 ? true : false;
boolean isLog4jEnabled = ("true").equals(ElementParameterParser.getValue(subTree.getRootNode().getProcess(), "__LOG4J_ACTIVATE__"));
boolean isLog4j2Enabled = ("true").equals(ElementParameterParser.getValue(subTree.getRootNode().getProcess(), "__LOG4J2_ACTIVATE__"));//log4j2 enable
String MDC_CLASS = "org.slf4j.MDC";
%>
<%
@@ -1096,7 +1098,8 @@ public static class <%=conn.getName() %>Struct<%=templateOrigin %> implements ro
<%
} else if(javaType.isObjectBased() || typeToGenerate.equals("Geometry") || typeToGenerate.equals("Dynamic")) {
%>
dos.writeObject(this.<%=column.getLabel() %>);
dos.clearInstanceCache();
dos.writeObject(this.<%=column.getLabel() %>);
<%
} else {
typeToGenerate =JavaTypesManager.getTypeToGenerate(column.getTalendType(), false);
@@ -1428,7 +1431,8 @@ public static class <%=conn.getName() %>Struct<%=templateOrigin %> implements ro
<%
} else if(typeToGenerate.equals("Object") || typeToGenerate.equals("Geometry") || typeToGenerate.equals("BigDecimal") || typeToGenerate.equals("List") || typeToGenerate.equals("Dynamic") || typeToGenerate.equals("Document")) {
%>
objectOut.writeObject(this.<%=column.getLabel() %>);
objectOut.clearInstanceCache();
objectOut.writeObject(this.<%=column.getLabel() %>);
<%
} else {
typeToGenerate =JavaTypesManager.getTypeToGenerate(column.getTalendType(), false);
@@ -1593,6 +1597,7 @@ public static class <%=conn.getName() %>Struct<%=templateOrigin %> implements ro
}
}
%>
<% if (subTree.isMethodSizeNeeded()){ %>
/**
* Start of Function: <%=subTree.getName() %>Process.
@@ -1603,6 +1608,12 @@ public void <%=subTree.getName() %>Process(final java.util.Map<String, Object> g
globalMap.put("<%=subTree.getName() %>_SUBPROCESS_STATE", 0);
final boolean execStat = this.execStat;
<%if(isLog4jEnabled && isLog4j2Enabled) {%>
mdcInfo.forEach(<%=MDC_CLASS%>::put);
<%=MDC_CLASS%>.put("_subJobName", "<%=subTree.getName() %>");
<%=MDC_CLASS%>.put("_subJobPid", "<%=getAsciiRandomString(6)%>_" + subJobPidCounter.getAndIncrement());
<%}%>
<%
boolean isParallelize = false;
for (INode node : subTree.getNodes()) {

View File

@@ -93,7 +93,25 @@ public class CLASS
}
return toReturn;
}
// copy from routine TalendString
private static String getAsciiRandomString(int length) {
java.security.SecureRandom random = new java.security.SecureRandom();
int cnt = 0;
StringBuilder builder = new StringBuilder();
char ch;
int end = 'z' + 1;
int start = ' ';
while (cnt < length) {
ch = (char) (random.nextInt(end - start) + start);
if (Character.isLetterOrDigit(ch)) {
builder.append(ch);
cnt++;
}
}
return builder.toString();
}
public String generate(Object argument) {
return "";
}

View File

@@ -15,7 +15,7 @@ JavaRoutineSynchronizer.UnsupportedOperation.Exception1=\u30E1\u30BD\u30C3\u30C9
JavaRoutineSynchronizer.UnsupportedOperation.Exception2=\u30E1\u30BD\u30C3\u30C9\u304C\u5B9F\u88C5\u3055\u308C\u3066\u3044\u307E\u305B\u3093\\: org.talend.designer.codegen.JavaRoutineSynchronizer line\\:58
JetSkeletonManager.unableLoad=\u30B9\u30B1\u30EB\u30C8\u30F3\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u30AD\u30E3\u30C3\u30B7\u30E5\u30D5\u30A1\u30A4\u30EB\u3092\u30ED\u30FC\u30C9\u3067\u304D\u307E\u305B\u3093
JetSkeletonManager.unableSave=\u30B9\u30B1\u30EB\u30C8\u30F3\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u30AD\u30E3\u30C3\u30B7\u30E5\u30D5\u30A1\u30A4\u30EB\u3092\u4FDD\u5B58\u3067\u304D\u307E\u305B\u3093
JetSkeletonManager.updateProblem=\u30B9\u30B1\u30EB\u30C8\u30F3\u6C38\u7D9A\u30C7\u30FC\u30BF\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u6642\u306B\u30A8\u30E9\u30FC\u304C\u767A\u751F\u3057\u307E\u3057\u305F,
JetSkeletonManager.updateProblem=\u30B9\u30B1\u30EB\u30C8\u30F3\u6C38\u7D9A\u30C7\u30FC\u30BF\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u6642\u306B\u30A8\u30E9\u30FC\u304C\u767A\u751F\u3057\u307E\u3057\u305F
EmfEmittersPersistence.CodeGen.DataMissing=\u30B3\u30FC\u30C9\u751F\u6210\u306E\u30C7\u30FC\u30BF\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002\u5B8C\u5168\u306A\u30B3\u30FC\u30C9\u751F\u6210\u3092\u958B\u59CB\u3057\u3066\u3044\u307E\u3059\u3002
CodeGeneratorEmittersPoolFactory.PersitentData.Error=\u6301\u7D9A\u30C7\u30FC\u30BF\u3092\u4FDD\u5B58\u3067\u304D\u307E\u305B\u3093:
CodeGeneratorEmittersPoolFactory.JETEmitters.NoPresent=JETEmitter \u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u304C\u5B58\u5728\u3057\u307E\u305B\u3093\u3001\u5168\u4F53\u306E\u518D\u521D\u671F\u5316\u304C\u5FC5\u8981\u3067\u3059\u3002
@@ -36,7 +36,7 @@ CodeGenInit.addMarkers=\u30EF\u30FC\u30AF\u30B9\u30DA\u30FC\u30B9\u306B\u30DE\u3
CodeGenInit.createProject={0}\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u4F5C\u6210
CodeGenInit.deleteProject={0}\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u3092\u524A\u9664
CodeGenInit.initTemplate=\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u306E\u521D\u671F\u5316
CodeGenInit.removeLink=\u30EA\u30F3\u30AF\u3055\u308C\u305F\u30EA\u30BD\u30FC\u30B9\u306E\u524A\u9664
CodeGenInit.removeLink=\u30EA\u30F3\u30AF\u3055\u308C\u305F\u30EA\u30BD\u30FC\u30B9\u3092\u524A\u9664
CodeGenInit.saveWorkspace=\u30EF\u30FC\u30AF\u30B9\u30DA\u30FC\u30B9\u306E\u4FDD\u5B58\u4E2D
DocumentRootImpl.mixed= (\u4E21\u7528:
NodesSubTree.enableParallel=__ENABLE_PARALLEL__
@@ -45,7 +45,7 @@ TalendJetEmitter.compileFail= \u30B3\u30F3\u30D1\u30A4\u30EB\u5931\u6557: {0} :
TalendJetEmitter.exception=\u4F8B\u5916
JetFilesProviderManager.unableLoad={0}\u3092\u30ED\u30FC\u30C9\u3067\u304D\u307E\u305B\u3093
ComponentsFactory.afterSystemComponent=\u30B7\u30B9\u30C6\u30E0\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u5F8C
ComponentsFactory.componentNotFound=\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u30D5\u30A9\u30EB\u30C0\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093 \\:
ComponentsFactory.componentNotFound=\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u30D5\u30A9\u30EB\u30C0\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093:
ComponentsFactory.load.components=\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u3092\u30ED\u30FC\u30C9...
ComponentsFactory.parentNotRecompiled=\u8B66\u544A: *.inc.javajet\u306E\u89AA\u306F\u518D\u30B3\u30F3\u30D1\u30A4\u30EB\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002
ComponentsFactory.loadComponents.missingFolder=\u30D7\u30E9\u30B0\u30A4\u30F3"{1}"\u306B\u30D5\u30A9\u30EB\u30C0\u30FC"{0}"\u304C\u3042\u308A\u307E\u305B\u3093\u3002
@@ -58,8 +58,8 @@ ComponentsPreferencePage.configuration.LINK_STYLE=\u30C7\u30D5\u30A9\u30EB\u30C8
ComponentsPreferencePage.rowLimit=\u884C\u6570\u5236\u9650
ComponentsPreferencePage.WarningMsg=Talend Open Studio\u3092\u518D\u8D77\u52D5\u3057\u3066\u3001\u62E1\u5F35\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u3092\u30ED\u30FC\u30C9\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002
ComponentsPreferencePage.WarningTitle=\u8B66\u544A
ComponentsPreferencePage.directoryFieldLabel=\u30E6\u30FC\u30B6\u30FC\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u30D5\u30A9\u30EB\u30C0 \\:
ComponentsPreferencePage.notValidDirectory=\u3053\u308C\u3092\u9078\u629E\u3059\u308B\u3068\u30D5\u30A9\u30EB\u30C0\u30FC\u304C\u30CD\u30B9\u30C8\u3055\u308C\u307E\u3059\u3002\u3053\u308C\u306F\u63A8\u5968\u3055\u308C\u307E\u305B\u3093\u3002 \u7D9A\u884C\u3057\u307E\u3059\u304B?,
ComponentsPreferencePage.directoryFieldLabel=\u30E6\u30FC\u30B6\u30FC\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u30D5\u30A9\u30EB\u30C0:
ComponentsPreferencePage.notValidDirectory=\u3053\u308C\u3092\u9078\u629E\u3059\u308B\u3068\u30D5\u30A9\u30EB\u30C0\u30FC\u304C\u30CD\u30B9\u30C8\u3055\u308C\u307E\u3059\u3002\u3053\u308C\u306F\u63A8\u5968\u3055\u308C\u307E\u305B\u3093\u3002 \u7D9A\u884C\u3057\u307E\u3059\u304B?
ComponentsPreferencePage.installComponentsFailure=\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB\u306B\u5931\u6557\u3057\u307E\u3057\u305F
ComponentsProviderManager.unableLoad=\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u30D7\u30ED\u30D0\u30A4\u30C0\u306E\u30ED\u30FC\u30C9\u304C\u3067\u304D\u307E\u305B\u3093
ComponenttRunJobPreferencePage.label=tRunJob\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u30C0\u30D6\u30EB\u30AF\u30EA\u30C3\u30AF\u5F8C\u3001\u5BFE\u5FDC\u30B8\u30E7\u30D6\u3092\u8868\u793A\u3057\u306A\u3044\u3002
@@ -76,7 +76,7 @@ XsdValidationCacheManager.unableLoadxsd=XSD\u30D0\u30EA\u30C7\u30FC\u30B7\u30E7\
XsdValidationCacheManager.unableSavexsd=XSD\u30D0\u30EA\u30C7\u30FC\u30B7\u30E7\u30F3\u306E\u30AD\u30E3\u30C3\u30B7\u30E5\u30D5\u30A1\u30A4\u30EB\u3092\u4FDD\u5B58\u3067\u304D\u307E\u305B\u3093
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)
FAMILY.AS400=AS400
FAMILY.Access=\u30A2\u30AF\u30BB\u30B9
FAMILY.Alfresco=Alfresco
@@ -88,7 +88,7 @@ FAMILY.Connections=\u63A5\u7D9A
FAMILY.Custom_Code=\u30AB\u30B9\u30BF\u30E0\u30B3\u30FC\u30C9
FAMILY.DB2=DB2
FAMILY.DB_Generic=\u6C4E\u7528ODBC
FAMILY.DB_JDBC=\u6C4E\u7528JDBC
FAMILY.DB_JDBC=\u30B8\u30A7\u30CD\u30EA\u30C3\u30AFJDBC
FAMILY.DB_SCD=DB SCD
FAMILY.Data_Quality=\u30C7\u30FC\u30BF\u30AF\u30AA\u30EA\u30C6\u30A3
FAMILY.Data_Privacy=\u30C7\u30FC\u30BF\u30D7\u30E9\u30A4\u30D0\u30B7\u30FC

View File

@@ -152,7 +152,9 @@ public class CodeGeneratorService implements ICodeGeneratorService {
ComponentsFactoryProvider.getInstance().resetCache();
ILibraryManagerService librairesManagerService = (ILibraryManagerService) GlobalServiceRegister.getDefault().getService(
ILibraryManagerService.class);
librairesManagerService.clearCache();
//TUP-31721: The generated studio index will include every possible values with TP_ALL license .
//Studio 8 will not re-generate the index after applying patch and installing any component.
librairesManagerService.clearCache(false);
CorePlugin.getDefault().getLibrariesService().syncLibraries();
Job job = CodeGeneratorEmittersPoolFactory.initialize();
// achen modify to record ctrl+shift+f3 is pressed to fix bug 0006107

View File

@@ -46,6 +46,7 @@ import org.talend.commons.exception.BusinessException;
import org.talend.commons.exception.ExceptionHandler;
import org.talend.commons.utils.io.FilesUtils;
import org.talend.core.GlobalServiceRegister;
import org.talend.core.ILibraryManagerService;
import org.talend.core.language.LanguageManager;
import org.talend.core.model.component_cache.ComponentsCache;
import org.talend.core.model.components.AbstractComponentsProvider;
@@ -90,6 +91,8 @@ public class ComponentsFactory implements IComponentsFactory {
private static Set<IComponent> customComponentList = new HashSet<>(); // user/exchange/tck components
private static Map<IComponent, File> customComponentFolderMap = new HashMap<IComponent, File>();
private IProgressMonitor monitor;
private SubMonitor subMonitor;
@@ -132,6 +135,7 @@ public class ComponentsFactory implements IComponentsFactory {
componentList.clear();
skeletonList.clear();
customComponentList.clear();
customComponentFolderMap.clear();
boolean needRegenerate = false;
if (CodeGeneratorActivator.getDefault().getBundle().getBundleContext().getProperty("osgi.dev") != null) {
@@ -169,6 +173,8 @@ public class ComponentsFactory implements IComponentsFactory {
initComponentNameMap();
isInitializing.set(false);
// sync custom component libs after init
syncCustomComponentLibs();
// TimeMeasure.step("initComponents", "createCache");
log.info(componentList.size() + " components loaded in " + (System.currentTimeMillis() - startTime) + " ms"); //$NON-NLS-1$ //$NON-NLS-2$
@@ -368,6 +374,7 @@ public class ComponentsFactory implements IComponentsFactory {
} else {
componentList.add(currentComp);
customComponentList.add(currentComp);
customComponentFolderMap.put(currentComp, currentFolder);
}
} catch (MissingMainXMLComponentFileException e) {
log.trace(currentFolder.getName() + " is not a " + getCodeLanguageSuffix() + " component", e); //$NON-NLS-1$ //$NON-NLS-2$
@@ -387,6 +394,23 @@ public class ComponentsFactory implements IComponentsFactory {
}
}
private void syncCustomComponentLibs() {
try {
if (GlobalServiceRegister.getDefault().isServiceRegistered(ILibraryManagerService.class)) {
ILibraryManagerService libraryService = GlobalServiceRegister.getDefault()
.getService(ILibraryManagerService.class);
if (libraryService != null) {
customComponentFolderMap.forEach((component, componentFolder) -> libraryService
.deployLibsFromCustomComponents(componentFolder, component.getModulesNeeded()));
}
}
} catch (Exception e) {
ExceptionHandler.process(e);
} finally {
customComponentFolderMap.clear();
}
}
private void loadComponentsFromFolder(String pathSource, AbstractComponentsProvider provider) {
// Changed by Marvin Wang on Feb.22 for bug TDI-19166, caz the test ConnectionManagerTest maybe get the null
// context.

View File

@@ -13,6 +13,7 @@
package org.talend.designer.codegen.components.model;
import java.util.List;
import java.util.stream.Collectors;
import org.talend.core.model.components.IComponent;
import org.talend.core.ui.component.ComponentsFactoryProvider;
@@ -45,6 +46,7 @@ public class UserComponentsTokenCollector extends AbstractTokenCollector {
public JSONObject collect() throws Exception {
JSONObject object = new JSONObject();
List<IComponent> customComponents = ComponentsFactoryProvider.getInstance().getCustomComponents();
customComponents = filterOutComponents(customComponents);
JSONArray customComponentsArray = new JSONArray();
if (customComponents != null) {
for (int i = 0; i < customComponents.size(); i++) {
@@ -55,4 +57,9 @@ public class UserComponentsTokenCollector extends AbstractTokenCollector {
return object;
}
private List<IComponent> filterOutComponents(List<IComponent> customComponents) {
customComponents = customComponents.stream().filter(comp ->!"tTaCoKitGuessSchema".equals(comp.getName())).collect(Collectors.toList());
return customComponents;
}
}

View File

@@ -55,6 +55,9 @@ public enum EInternalTemplate {
CAMEL_RUNIF("camel_run_if", "0.0.1"), //$NON-NLS-1$ //$NON-NLS-2$
CAMEL_SPECIALLINKS("camel_speciallinks", "0.0.1"), //$NON-NLS-1$ //$NON-NLS-2$
MICROSERVICE_APP("microservice_app", "0.0.1"), //$NON-NLS-1$ //$NON-NLS-2$
MICROSERVICE_APP_MS_CONTEXT_PROPERTIES("microservice_app_ms_context_properties","0.0.1"), //$NON-NLS-1$ //$NON-NLS-2$
MICROSERVICE_APP_CONTEXT_PROPERTIES("microservice_app_context_properties","0.0.1"), //$NON-NLS-1$ //$NON-NLS-2$
MICROSERVICE_APP_PROPERTIES("microservice_app_properties","0.0.1"), //$NON-NLS-1$ //$NON-NLS-2$
HEADER_ADDITIONAL("header_additional", "0.0.1"), //$NON-NLS-1$ //$NON-NLS-2$

View File

@@ -418,6 +418,13 @@ public final class CodeGeneratorEmittersPoolFactory {
jetBean.setClassLoader(createDelegateClassLoader(jetBean.getClassLoader(), sparkUtilsPluginName,
"org.talend.designer.spark.SparkPlugin")); //$NON-NLS-1$
}
String bigdataDIUtilsPluginName = "org.talend.designer.bigdata.di"; //$NON-NLS-1$
if (PluginChecker.isPluginLoaded(bigdataDIUtilsPluginName)) {
jetBean.addClassPath("BIGDATA_DI_LIBRARIES", bigdataDIUtilsPluginName); //$NON-NLS-1$
jetBean.setClassLoader(createDelegateClassLoader(jetBean.getClassLoader(), bigdataDIUtilsPluginName,
"org.talend.designer.bigdata.di.BigdataDiPlugin")); //$NON-NLS-1$
}
return jetBean;
}
@@ -473,6 +480,7 @@ public final class CodeGeneratorEmittersPoolFactory {
// generate the code.
String sparkUtilsPluginName = "org.talend.designer.spark"; //$NON-NLS-1$
String bigDataUtilsPluginName = "org.talend.designer.bigdata"; //$NON-NLS-1$
String bigdataDIUtilsPluginName = "org.talend.designer.bigdata.di"; //$NON-NLS-1$
if (PluginChecker.isPluginLoaded(sparkUtilsPluginName) && ("SPARK".equals(component.getPaletteType()) //$NON-NLS-1$
|| "MR".equals(component.getPaletteType()) || "STORM".equals(component.getPaletteType()) //$NON-NLS-1$ //$NON-NLS-2$
|| "SPARKSTREAMING".equals(component.getPaletteType()))) { //$NON-NLS-1$
@@ -494,6 +502,22 @@ public final class CodeGeneratorEmittersPoolFactory {
jetBean.getClassLoader()));
}
} else if (PluginChecker.isPluginLoaded(bigdataDIUtilsPluginName)) { //$NON-NLS-1$
jetBean.addClassPath("BIGDATA_DI_LIBRARIES", bigdataDIUtilsPluginName); //$NON-NLS-1$
jetBean.setClassLoader(createDelegateClassLoader(new CodeGeneratorEmittersPoolFactory().getClass().getClassLoader(),
bigdataDIUtilsPluginName, "org.talend.designer.bigdata.di.BigdataDiPlugin")); //$NON-NLS-1$
// If Big Data DI AND with an external component, use the external component as the parent classloader and
// Big Data DI as a secondary, delegate classloader.
if (component.getPluginExtension() != null) {
jetBean.addClassPath(
"EXTERNAL_COMPONENT_" + component.getPluginExtension().toUpperCase().replaceAll("\\.", "_"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
component.getPluginExtension());
jetBean.setClassLoader(new DelegateClassLoader(
ExternalNodesFactory.getInstance(component.getPluginExtension()).getClass().getClassLoader(),
jetBean.getClassLoader()));
}
} else if (component.getPluginExtension() != null) {
jetBean.addClassPath("EXTERNAL_COMPONENT_" + component.getPluginExtension().toUpperCase().replaceAll("\\.", "_"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$

View File

@@ -1,7 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src/main/java"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="output" path="class"/>
</classpath>

View File

@@ -1,28 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.talend.designer.components.exchange</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.SchemaBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>

View File

@@ -1,3 +0,0 @@
#Wed Aug 31 14:34:59 CST 2011
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled

View File

@@ -1,41 +0,0 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Exchange Plug-in
Bundle-SymbolicName: org.talend.designer.components.exchange;singleton:=true
Bundle-Version: 8.0.1.qualifier
Bundle-Activator: org.talend.designer.components.exchange.ExchangePlugin
Require-Bundle: org.eclipse.core.runtime,
org.eclipse.ui,
org.apache.log4j,
org.apache.commons.collections,
org.apache.commons.discovery,
org.apache.commons.logging,
org.apache.commons.commons-beanutils,
org.apache.commons.io,
org.apache.commons.lang,
org.apache.commons.httpclient,
org.talend.commons.ui,
org.talend.core,
org.talend.core.ui,
org.talend.utils,
org.talend.librariesmanager,
org.talend.libraries.mozilla;resolution:=optional,
org.talend.libraries.uniserv;resolution:=optional,
org.talend.designer.core,
org.talend.model,
org.talend.repository,
org.talend.core.repository,
org.talend.updates.runtime,
org.eclipse.ui.intro,
org.eclipse.ui.forms,
org.eclipse.jface.text
Bundle-ActivationPolicy: lazy
Bundle-Vendor: .Talend SA.
Export-Package: org.talend.designer.components.exchange,
org.talend.designer.components.exchange.i18n,
org.talend.designer.components.exchange.ui,
org.talend.designer.components.exchange.ui.views
Eclipse-BundleShape: dir
Import-Package: org.codehaus.jackson,
org.codehaus.jackson.map,
org.talend.registration.wizards.register

View File

@@ -1,16 +0,0 @@
source.. = src/main/java/
output.. = class/
bin.includes = META-INF/,\
.,\
plugin.xml,\
icons/,\
plugin.properties,\
model/,\
content/,\
plugin_de.properties,\
plugin_fr.properties,\
plugin_it.properties,\
plugin_ja.properties,\
plugin_ru.properties,\
plugin_swtbot.properties,\
plugin_zh_CN.properties

View File

@@ -1,204 +0,0 @@
body, td, th {
font-size: 12px;
color: #404040;
line-height: 23px;
font-family: Verdana, Arial, Helvetica, sans-serif;
padding: 5px;
}
input, textarea {
border: 1px solid #9BB9F5;
}
body {
margin: 0px;
height: 100%;
background-color: #EBEBDB;
}
ul {
margin: 0px;
padding: 0px;
list-style-type: none;
}
a:link.xh {
color: #000000;
text-decoration: none;
}
a:hover.xh {
text-decoration: none;
}
a:visited.xh {
text-decoration: none;
color: #000000;
}
.hover {
background: rgb(167,207,223); /* Old browsers */
color: white
}
.leave {
background: none;
}
img {
border: 0px;
}
.style_1 {
font-size: 16px;
}
.style_2 {
color: #000000;
}
.style_3 {
font-weight: bold;
}
.style_4{
font-size: 16px;
font-weight: bold;
color: #000000;
}
div {
margin: 0;
padding: 0
}
#container {
position:relative;
left: 0;
top: 0;
width: 100%;
height: 100%;
}
#container .menu {
position: absolute;
left: 0;
top: 0;
width: 200px;
height: 100%;
float: left;
border: 1px solid #9BB9F5;
border-right: 0px;
}
#container .main1 {
position: absolute;
left: 200;
top: 0;
float: left;
background: #FFFFFF;
}
#menu li {
display: block;
cursor: pointer;
text-align: left;
padding: 0px 0px;
}
.ulhide {
display: none;
overflow: auto;
}
.ulblock {
display: block;
}
.left_1 {
width: 100px;
margin-top: 10px;
float: left;
padding-left: 0px;
vertical-align: top;
margin-right: 10px;
}
.compDesc {
height: 200px;
margin-top: 10px;
margin-bottom: 30px;
padding-left: 20px;
overflow: auto;
border: 1px solid #9BB9F5;
}
.compImg {
height: 200px;
margin-top: 10px;
margin-bottom: 30px;
padding-left: 10px;
border: 1px solid #9BB9F5;
}
.reviews {
width: 60%;
height: 350px;
margin-bottom: 10px;
padding-left: 10px;
word-break: break-all;
WORD-WRAP: break-word;
}
.userreview {
font-size: 13px;
color: #000000;
font-weight: bold;
padding-left: 10px;
}
.left_11 {
width: 100px;
margin-top: 10px;
float: left;
padding-left: 0px;
vertical-align: top;
margin-right: 10px;
}
.toolbar {
background-color: #EBEBDB;
border: 1px solid #9BB9F5;
border-bottom: 0px;
height: 40px;
padding: 5px;
}
.icon {
-moz-border-radius: 3px;
border: 1px solid #EBEBDB;
border-radius: 3px;
padding: 5px;
vertical-align: middle;
cursor: pointer;
}
a.icon:hover {
border: 1px solid #9BB9F5;
}
.toolbarButton {
-moz-border-radius: 3px;
border: 1px solid #EBEBDB;
border-radius: 3px;
cursor: pointer;
padding: 5px;
text-align: center;
width: 140px;
}
a.toolbarButton:hover {
border: 1px solid #9BB9F5;
}
table.tableStyle {
width: 600px;
}
.formStyle {
position: relative;
height: 100%;
border: 1px solid #9BB9F5;
border-top: 0px;
}
div.fileinputs {
position: relative;
}
div.fakefile {
position: absolute;
top: 0px;
left: 0px;
z-index: 1;
}
input.file {
position: relative;
text-align: right;
-moz-opacity:0 ;
filter:alpha(opacity: 0);
opacity: 0;
z-index: 2;
width: 260px;
cursor: pointer;
}

View File

@@ -1,620 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
<script type="text/javascript">
String.prototype.replaceAll = function(s1, s2) {
return this.replace(new RegExp(s1, "gm"), s2);
}
String.prototype.replaceAll2Excep = function(s1, s2) {
var temp = this;
while(temp.indexOf(s1) != -1) {
temp = temp.replace(s1, s2);
}
return temp;
}
function onResizeDocument () {
var navName = navigator.appName;
var newWidth = null;
var tabs;
var intWidth = null;
var newWidth = null;
if(navName == 'Microsoft Internet Explorer'){
intWidth = (document.body.clientWidth - 213);
}else{
intWidth = (document.width - 213);
}
newWidth = intWidth+"px";
tabs = document.getElementsByTagName("table");
tabs[0].style.width = newWidth;
tabs[1].style.width = newWidth;
tabs[2].style.width = (intWidth - 20)+"px";
tabs[4].style.width = newWidth;
tabs[5].style.width = newWidth;
tabs[6].style.width = newWidth;
tabs[9].style.width = newWidth;
tabs[12].style.width = newWidth;
}
function onchangeFileUpload(fileId,fakefileId){
var v = document.getElementById(fileId).value;
document.getElementById(fakefileId).value=v;
}
function filterReWriteUrl() {
var prefix = "http://org.eclipse.ui.intro/runAction?pluginId=org.talend.designer.components.exchange&amp;class=org.talend.designer.components.exchange.ui.actions.FilterExtensionAction&amp;id=org.talend.designer.components.exchange.ui.actions.FilterExtensionAction&amp;text="
var jsonObj = document.getElementById("avialable_filter_text").value;
var url = prefix + jsonObj;
document.getElementById('commit_filter').href = url;
}
function createNewExtensionWriteUrl() {
var prefix = "http://org.eclipse.ui.intro/runAction?pluginId=org.talend.designer.components.exchange&amp;class=org.talend.designer.components.exchange.ui.htmlcontent.MyExtensionAction&amp;id=org.talend.designer.components.exchange.ui.htmlcontent.MyExtensionAction&amp;type=UPLOAD_MY_EXTENSION"
var label = "label:" + "'" + document.getElementById("extension_label").value + "'";
var lastVersionAvailable = "lastVersionAvailable:" + "'" + document.getElementById("lastVersionAvailable").value + "'";
var description = "description:" + "'" + document.getElementById("extension_description").value + "'";
description = description.replaceAll2Excep("\r\n", "/n/r");
var checkedType = "";
var filtervalue = "";
var compatibilities = document.getElementsByName("compatibility");
if(compatibilities[0].checked == true) {
checkedType = "all"
filtervalue = null;
} else if(compatibilities[1].checked == true) {
checkedType = "older"
filtervalue = document.getElementById(checkedType).value;
} else if(compatibilities[2].checked == true) {
checkedType = "newer"
filtervalue = document.getElementById(checkedType).value;
} else if(compatibilities[3].checked == true) {
checkedType = "except"
filtervalue = document.getElementById(checkedType).value;
} else if(compatibilities[4].checked == true) {
checkedType = "only"
filtervalue = document.getElementById(checkedType).value;
}
<!-- validate the createNewExtension text start-->
var labelValidate = document.getElementById("extension_label").value;
var lastVersionAvailableValidate = document.getElementById("lastVersionAvailable").value;
var filename = document.getElementById("filename").value;
var isSkipPage = true;
if(labelValidate.replace(/\s/g,"")==""){
alert("Extension Title is empty");
isSkipPage = false;
}else if(labelValidate!=labelValidate.replace(/(^\s*)|(\s*$)/g,"")){
alert("Extension Title contains incorrect characters!");
isSkipPage = false;
}else if(labelValidate=="null"){
alert("Extension Title can not be null");
isSkipPage = false;
}else if(lastVersionAvailableValidate.replace(/\s/g,"")==""){
alert("Initial Version is empty");
isSkipPage = false;
}else if(lastVersionAvailableValidate!=lastVersionAvailableValidate.replace(/[^\w\.\/]/ig,'')){
alert("Initial Version contains incorrect characters!");
isSkipPage = false;
}else if(lastVersionAvailableValidate=="null"){
alert("Initial Version can not be null");
isSkipPage = false;
}else if(filename.replace(/\s/g,"")==""){
alert("Please input a vaild File path");
isSkipPage = false;
}
<!-- validate the createNewExtension text end-->
if (isSkipPage == true) {
var listVersionCompatibles = "listVersionCompatibles:" + "'" + checkedType + "'";
var filter = "filter:" + "'" + filtervalue + "'";
var filename = "filename:" + "'" + document.getElementById("filename").value + "'";
filename = filename.replaceAll2Excep("\\", "/");
var jsonObj = "{" + label + "," + lastVersionAvailable + "," + description + "," + listVersionCompatibles + "," + filter + "," + filename + "}"
var url = prefix + "&amp;extensionValues=" + jsonObj;
document.getElementById('commit').href = url;
window.location.href = document.getElementById('commit').href;
}
}
function updateReWriteUrl() {
var prefix = "http://org.eclipse.ui.intro/runAction?pluginId=org.talend.designer.components.exchange&amp;class=org.talend.designer.components.exchange.ui.htmlcontent.MyExtensionAction&amp;id=org.talend.designer.components.exchange.ui.htmlcontent.MyExtensionAction&amp;type=UPDATE_MY_EXTENSION"
var lastVersionAvailable = "lastVersionAvailable:" + "'" + document.getElementById("lastVersionAvailable_update").value + "'";
var checkedType = "";
var filtervalue = "";
var compatibilities = document.getElementsByName("compatibility_update");
if(compatibilities[0].checked == true) {
checkedType = "all"
filtervalue = null;
} else if(compatibilities[1].checked == true) {
checkedType = "older"
filtervalue = document.getElementById(checkedType + "_update").value;
} else if(compatibilities[2].checked == true) {
checkedType = "newer"
filtervalue = document.getElementById(checkedType + "_update").value;
} else if(compatibilities[3].checked == true) {
checkedType = "except"
filtervalue = document.getElementById(checkedType + "_update").value;
} else if(compatibilities[4].checked == true) {
checkedType = "only"
filtervalue = document.getElementById(checkedType + "_update").value;
}
<!-- validate the updateExtension text start-->
var lastVersionAvailable_updateValidate = document.getElementById("lastVersionAvailable_update").value;
var filename_update = document.getElementById("filename_update").value;
var isSkipPage = true;
if(lastVersionAvailable_updateValidate.replace(/\s/g,"")==""){
alert("New Version is empty");
isSkipPage = false;
}else if(lastVersionAvailable_updateValidate!=lastVersionAvailable_updateValidate.replace(/[^\w\.\/]/ig,'')){
alert("New Version contains incorrect characters!");
isSkipPage = false;
}else if(lastVersionAvailable_updateValidate=="null"){
alert("New Version can not be null");
isSkipPage = false;
}else if(filename_update.replace(/\s/g,"")==""){
alert("Please input a vaild File path");
isSkipPage = false;
}
<!-- validate the updateExtension text end-->
if (isSkipPage == true) {
var listVersionCompatibles = "listVersionCompatibles:" + "'" + checkedType + "'";
var filter = "filter:" + "'" + filtervalue + "'";
var filename = "filename:" + "'" + document.getElementById("filename_update").value + "'";
filename = filename.replaceAll2Excep("\\", "/");
var jsonObj = "{" + lastVersionAvailable + "," + listVersionCompatibles + "," + filter + "," + filename + "}"
var url = prefix + "&amp;extensionValues=" + jsonObj;
document.getElementById('commit_update').href = url;
window.location.href = document.getElementById('commit_update').href;
}
}
function modifyReWriteUrl() {
var prefix = "http://org.eclipse.ui.intro/runAction?pluginId=org.talend.designer.components.exchange&amp;class=org.talend.designer.components.exchange.ui.htmlcontent.MyExtensionAction&amp;id=org.talend.designer.components.exchange.ui.htmlcontent.MyExtensionAction&amp;type=MODIFY_MY_EXTENSION"
var leabel = "label:" + "'" + document.getElementById("extension_label_modify").value + "'"
var description = "description:" + "'" + document.getElementById("extension_description_modify").value + "'"
description = description.replaceAll2Excep("\r\n", "/n/r");
var checkedType = "";
var filtervalue = "";
var compatibilities = document.getElementsByName("compatibility_modify");
if(compatibilities[0].checked == true) {
checkedType = "all"
filtervalue = null;
} else if(compatibilities[1].checked == true) {
checkedType = "older"
filtervalue = document.getElementById(checkedType + "_modify").value;
} else if(compatibilities[2].checked == true) {
checkedType = "newer"
filtervalue = document.getElementById(checkedType + "_modify").value;
} else if(compatibilities[3].checked == true) {
checkedType = "except"
filtervalue = document.getElementById(checkedType + "_modify").value;
} else if(compatibilities[4].checked == true) {
checkedType = "only"
filtervalue = document.getElementById(checkedType + "_modify").value;
}
var listVersionCompatibles = "listVersionCompatibles:" + "'" + checkedType + "'";
var filter = "filter:" + "'" + filtervalue + "'";
var jsonObj = "{" + leabel + "," + description + "," + listVersionCompatibles + "," + filter + "}"
var url = prefix + "&amp;extensionValues=" + jsonObj;
document.getElementById('commit_modify').href = url;
}
//can't use for cycle in the javascript,each time call the length fuction ,get error in document parser
function setTab(tabIndex, pageId) {
var tli = document.getElementById("menu").getElementsByTagName("li");
var mli = document.getElementById("main1").getElementsByTagName("ul");
if(tabIndex == 0) {
tli[0].className = "hover"
tli[1].className = "leave"
tli[2].className = "leave"
} else if(tabIndex == 1) {
tli[0].className = "leave"
tli[1].className = "hover"
tli[2].className = "leave"
} else if(tabIndex == 2) {
tli[0].className = "leave"
tli[1].className = "leave"
tli[2].className = "hover"
}
if(pageId == mli[0].id) {
mli[0].className = "ulblock"
mli[1].className = "ulhide"
mli[2].className = "ulhide"
mli[3].className = "ulhide"
mli[4].className = "ulhide"
mli[5].className = "ulhide"
mli[6].className = "ulhide"
} else if(pageId == mli[1].id) {
mli[0].className = "ulhide"
mli[1].className = "ulblock"
mli[2].className = "ulhide"
mli[3].className = "ulhide"
mli[4].className = "ulhide"
mli[5].className = "ulhide"
mli[6].className = "ulhide"
} else if(pageId == mli[2].id) {
mli[0].className = "ulhide"
mli[1].className = "ulhide"
mli[2].className = "ulblock"
mli[3].className = "ulhide"
mli[4].className = "ulhide"
mli[5].className = "ulhide"
mli[6].className = "ulhide"
} else if(pageId == mli[3].id) {
mli[0].className = "ulhide"
mli[1].className = "ulhide"
mli[2].className = "ulhide"
mli[3].className = "ulblock"
mli[4].className = "ulhide"
mli[5].className = "ulhide"
mli[6].className = "ulhide"
} else if(pageId == mli[4].id) {
mli[0].className = "ulhide"
mli[1].className = "ulhide"
mli[2].className = "ulhide"
mli[3].className = "ulhide"
mli[4].className = "ulblock"
mli[5].className = "ulhide"
mli[6].className = "ulhide"
} else if(pageId == mli[5].id) {
mli[0].className = "ulhide"
mli[1].className = "ulhide"
mli[2].className = "ulhide"
mli[3].className = "ulhide"
mli[4].className = "ulhide"
mli[5].className = "ulblock"
mli[6].className = "ulhide"
} else if(pageId == mli[6].id) {
mli[0].className = "ulhide"
mli[1].className = "ulhide"
mli[2].className = "ulhide"
mli[3].className = "ulhide"
mli[4].className = "ulhide"
mli[5].className = "ulhide"
mli[6].className = "ulblock"
}
}
</script>
<link rel="stylesheet" href="css/exchange.css" type="text/css" media="screen" title="no title" charset="utf-8"/>
</head>
<body onresize="onResizeDocument()" onload="onResizeDocument()" >
<div id="container">
<div class="menu" id="menu">
<ul id="ul_menu">
<li class="hover" id="tab1" onclick="setTab(0,'list_available_extensions')">
Available Extensions
</li>
<li id="tab2" onclick="setTab(1,'downloaded_extensions')">
Downloaded Extensions
</li>
<li id="tab3" onclick="setTab(2,'list_my_extensions')">
My Extensions
</li>
</ul>
</div>
<div class="main1" id="main1">
<!-- available extension list -->
<ul class="ulhide" id="list_available_extensions">
<li>
<table align="center" cellpadding="0" cellspacing="0" class="tableStyle">
<tr align="right">
<td colspan="5" class="toolbar">
<input id="avialable_filter_text" name="avialable_filter_text" type="text" />
<a class="icon" href="http://org.eclipse.ui.intro/runAction?pluginId=org.talend.designer.components.exchange&amp;class=org.talend.designer.components.exchange.ui.actions.FilterExtensionAction&amp;id=org.talend.designer.components.exchange.ui.actions.FilterExtensionAction&amp;text=" id="commit_filter"><img onmouseover="filterReWriteUrl()" src="imgs/refresh.gif"/> </a></td>
</tr>
<div id="INSERT_EXTENSION_DATA" xmlns="">
<contentProvider id="INSERT_EXTENSION_DATA" class="org.talend.designer.components.exchange.ui.htmlcontent.AvailableCompositeProvider" pluginId="org.talend.designer.components.exchange"> </contentProvider>
</div>
</table>
</li>
</ul>
<!-- extension details -->
<ul class="ulblock" id="extension_details">
<li>
<table align="center" cellpadding="0" cellspacing="0" class="tableStyle" style="border: 1px solid #9BB9F5;" >
<tr align="left">
<td class="toolbar" colspan="5" style="border:0px;border-bottom:1px solid #9BB9F5;"><a class="icon"><img onclick="setTab(0,'list_available_extensions')" src="imgs/backward_nav.gif"/></a></td>
</tr>
<tr align="center">
<td>
<div id="div_name_part">
<div id="LEFT_NAME_PART" xmlns="">
<contentProvider id="LEFT_NAME_PART" class="org.talend.designer.components.exchange.ui.htmlcontent.ExchangeContentProvider" pluginId="org.talend.designer.components.exchange"> </contentProvider>
</div>
</div></td>
</tr>
<tr align="left" valign="top">
<td valign="top">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="75%">
<div class="compDesc" id="component_description_part">
<div id="COMPONENT_DESCRIPTION" xmlns="">
<contentProvider id="COMPONENT_DESCRIPTION" class="org.talend.designer.components.exchange.ui.htmlcontent.ExchangeContentProvider" pluginId="org.talend.designer.components.exchange"> </contentProvider>
</div>
</div>
</td>
<td width="25%">
<div class="compImg" id="component_Image_part">
<table align="center" border="0">
<tr>
<td>
<div id="GET_EXTENSION_IMAGE" xmlns="">
<contentProvider id="GET_EXTENSION_IMAGE" class="org.talend.designer.components.exchange.ui.htmlcontent.ExchangeContentProvider" pluginId="org.talend.designer.components.exchange"> </contentProvider>
</div>
</td>
</tr>
<tr>
<td>
<div id="RATE_IMANGE" xmlns="">
<contentProvider id="RATE_IMANGE" class="org.talend.designer.components.exchange.ui.htmlcontent.ExchangeContentProvider" pluginId="org.talend.designer.components.exchange"> </contentProvider>
</div>
</td>
</tr>
<tr>
<td>
<div id="INSTALL_COMPONENT" xmlns="">
<contentProvider id="INSTALL_COMPONENT" class="org.talend.designer.components.exchange.ui.htmlcontent.ExchangeContentProvider" pluginId="org.talend.designer.components.exchange"> </contentProvider>
</div>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td class="userreview">User Reviews </td>
<td>
<div id="WRITE_REVIEWS" xmlns="">
<contentProvider id="WRITE_REVIEWS" class="org.talend.designer.components.exchange.ui.htmlcontent.ExchangeContentProvider" pluginId="org.talend.designer.components.exchange"> </contentProvider>
</div>
</td>
</tr>
<tr>
<td colspan="2">
<div class="reviews" id="component_reviews_part">
<div id="EXTENSION_REVIEWS" xmlns=""/>
<contentProvider id="EXTENSION_REVIEWS" class="org.talend.designer.components.exchange.ui.htmlcontent.ExchangeContentProvider" pluginId="org.talend.designer.components.exchange"> </contentProvider>
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
</li>
</ul>
<!--downloaded extensions page -->
<ul class="ulhide" id="downloaded_extensions">
<li>
<table align="center" cellpadding="0" cellspacing="0" class="tableStyle">
<tr align="left">
<td class="toolbar" colspan="5" style="border-bottom:0px solid #9BB9F5;"><a class="icon"><img onclick="setTab(2,'list_my_extensions')" src="imgs/backward_nav.gif"/></a></td>
</tr>
<div id="DOWNLOADEXTENSION_DATA" xmlns="">
<contentProvider id="DOWNLOADEXTENSION_DATA" class="org.talend.designer.components.exchange.ui.htmlcontent.DownloadExtensionProvider" pluginId="org.talend.designer.components.exchange"> </contentProvider>
</div>
</table>
</li>
</ul>
<!-- my extension list -->
<ul class="ulhide" id="list_my_extensions">
<li>
<table align="center" cellpadding="0" cellspacing="0" id="table" class="tableStyle">
<tr align="right">
<td class="toolbar" colspan="5">
<a onclick="setTab(2,'creat_new_extension')" class="toolbarButton">
Add New Extension
</a></td>
</tr>
<div id="LIST_MY_EXTENSION" xmlns="">
<contentProvider id="LIST_MY_EXTENSION" class="org.talend.designer.components.exchange.ui.htmlcontent.MyExchangeContentProvider" pluginId="org.talend.designer.components.exchange"/>
</div>
</table>
</li>
</ul>
<!-- create new extension -->
<ul class="ulhide" id="creat_new_extension">
<li>
<table align="center" cellpadding="0" cellspacing="0" id="tab_creat_new_extension" class="tableStyle">
<tr align="left">
<td class="toolbar" colspan="5" style="border-bottom:1px solid #9BB9F5;"><a class="icon"><img onclick="setTab(2,'list_my_extensions')" src="imgs/backward_nav.gif"/></a></td>
</tr>
<tr>
<td style="padding: 0px">
<div class="formStyle">
<table>
<tr>
<td nowrap="nowrap"><span style="margin-left:10px;font-weight:bold;"> Add New Extension </span></td>
<td width="100%"></td>
</tr>
<tr>
<td nowrap="nowrap"><span style="margin-left:10px;"> Extension Title: </span></td>
<td width="100%"><input id="extension_label" name="extension_label" style="width:230px;margin-left:5px" type="text"/></td>
</tr>
<tr>
<td nowrap="nowrap"><span style="margin-left:10px"> Initial Version: </span></td>
<td><input id="lastVersionAvailable" name="lastVersionAvailable" style="width:100px;margin-left:5px" type="text"/></td>
</tr>
<tr>
<td nowrap="nowrap" valign="top"><span style="margin-left:10px;"> Compatibility: </span></td>
<td>
<table cellpadding="0" cellspacing="0">
<tr ><td><input checked="checked" name="compatibility" type="radio"/></td><td>All versions</td><td></td></tr>
<tr><td><input name="compatibility" type="radio"/></td><td nowrap="nowrap">Version and older:</td><td width="100%"><input id="older" style="width:100%;" type="text"/></td></tr>
<tr><td><input name="compatibility" type="radio"/></td><td nowrap="nowrap">Versions and newer:</td><td><input id="newer" style="width:100%;" type="text"/></td></tr>
<tr><td><input name="compatibility" type="radio"/></td><td nowrap="nowrap">All versions except:</td><td><input id="except" style="width:100%;" type="text"/></td></tr>
<tr><td><input name="compatibility" type="radio"/></td><td nowrap="nowrap">Only these versions:</td><td><input id="only" style="width:100%;" type="text"/></td></tr>
</table>
</td>
</tr>
<tr>
<td nowrap="nowrap" valign="top"><span style="margin-left:10px;"> Description: </span></td>
<td><textarea id="extension_description" name="extension_description" style="width:100%;height:100px;margin-left:5px" type="text"> </textarea></td>
</tr>
<tr>
<td nowrap="nowrap"><span style="margin-left:10px;"> File: </span></td>
<td>
<div class="fileinputs" style="margin-left:3px;">
<input id="filename" name="filename" type="file" class="file myFileUpload" onchange="onchangeFileUpload('filename','fake_filename')" style="cursor: pointer" />
<div class="fakefile" style="cursor: pointer; width: 260px">
<input id="fake_filename" style="cursor: pointer; width: 230px" class="myFileUpload"/>
<img src="imgs/upload.png" style="cursor: pointer"/>
</div>
</div>
</td>
</tr>
<tr>
<td ></td>
<td>
<a class="xh" href="" id="commit" style="margin-left:5px;">
<button onclick="createNewExtensionWriteUrl()" style="width: 176px">
Add Extension
</button>
</a>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- update extension -->
<ul class="ulblock" id="upload_extension_version">
<li>
<table align="center" cellpadding="0" cellspacing="0" class="tableStyle" id="tab_upload_extension_version">
<tr align="left">
<td class="toolbar" colspan="5" style="border-bottom:1px solid #9BB9F5;"><a class="icon"><img onclick="setTab(2,'list_my_extensions')" src="imgs/backward_nav.gif"/></a></td>
</tr>
<tr>
<td style="padding: 0px">
<div class="formStyle">
<table>
<tr>
<td nowrap="nowrap"><span style="margin-left:10px;font-weight:bold;"> Upload New Version </span></td>
<td width="100%"></td>
</tr>
<tr>
<td nowrap="nowrap"><span style="margin-left:10px"> New Version: </span></td>
<td><contentProvider id="LAST_AVAILABLE_VERSION" class="org.talend.designer.components.exchange.ui.htmlcontent.MyExchangeContentProvider" pluginId="org.talend.designer.components.exchange"/></td>
</tr>
<tr>
<td nowrap="nowrap" valign="top"><span style="margin-left:10px;"> Compatibility: </span></td>
<td>
<table cellpadding="0" cellspacing="0">
<tr ><td><input checked="checked" name="compatibility_update" type="radio"/></td><td>All versions</td><td></td></tr>
<tr><td><input name="compatibility_update" type="radio"/></td><td nowrap="nowrap">Version and older:</td><td width="100%"><input id="older_update" style="width:100%;" type="text"/></td></tr>
<tr><td><input name="compatibility_update" type="radio"/></td><td nowrap="nowrap">Versions and newer:</td><td><input id="newer_update" style="width:100%;" type="text"/></td></tr>
<tr><td><input name="compatibility_update" type="radio"/></td><td nowrap="nowrap">All versions except:</td><td><input id="except_update" style="width:100%;" type="text"/></td></tr>
<tr><td><input name="compatibility_update" type="radio"/></td><td nowrap="nowrap">Only these versions:</td><td><input id="only_update" style="width:100%;" type="text"/></td></tr>
</table>
</td>
</tr>
<tr>
<td nowrap="nowrap"><span style="margin-left:10px;"> File: </span></td>
<td>
<div class="fileinputs" style="margin-left:3px;">
<input id="filename_update" name="filename" type="file" class="file myFileUpload" onchange="onchangeFileUpload('filename_update','fake_filename_update')" style="cursor: pointer" /> <div class="fakefile" style="cursor: pointer; width: 260px">
<input id="fake_filename_update" style="cursor: pointer; width: 230px" class="myFileUpload"/>
<img src="imgs/upload.png" style="cursor: pointer"/>
</div>
</div>
</td>
</tr>
<tr>
<td ></td>
<td>
<a class="xh" href="" id="commit_update" style="margin-left:5px;">
<button onclick="updateReWriteUrl()" style="width: 176px">
Upload Extension
</button>
</a>
</td>
</tr>
</table>
</div></td>
</tr>
</table>
</li>
</ul>
<!-- modify myextension -->
<ul class="ulblock" id="modify_my_extension_page">
<li>
<table align="center" border="0" cellpadding="0" cellspacing="0" id="tab_modify_my_extension_page" class="tableStyle">
<tr align="left">
<td class="toolbar" colspan="5" style="border-bottom:1px solid #9BB9F5;"><a class="icon"><img onclick="setTab(2,'list_my_extensions')" src="imgs/backward_nav.gif" /></a></td>
</tr>
<tr>
<td style="padding: 0px">
<table style="border: 1px solid #9BB9F5; border-top: 0px">
<tr>
<td nowrap="nowrap"><span style="margin-left:10px;font-weight:bold;"> Modify Last Revision </span></td>
<td width="100%"></td>
</tr>
<tr>
<td nowrap="nowrap"><span style="margin-left:10px;"> Extension Title: </span></td>
<td width="100%"><contentProvider id="EXTENSION_LABEL" class="org.talend.designer.components.exchange.ui.htmlcontent.MyExchangeContentProvider" pluginId="org.talend.designer.components.exchange"/></td>
</tr>
<tr>
<td nowrap="nowrap" valign="top"><span style="margin-left:10px;"> Compatibility: </span></td>
<td>
<table cellpadding="0" cellspacing="0">
<tr ><td><input checked="checked" name="compatibility_modify" type="radio"/></td><td>All versions</td><td></td></tr>
<tr><td><input name="compatibility_modify" type="radio"/></td><td nowrap="nowrap">Version and older:</td><td width="100%"><input id="older_modify" style="width:100%;" type="text"/></td></tr>
<tr><td><input name="compatibility_modify" type="radio"/></td><td nowrap="nowrap">Versions and newer:</td><td><input id="newer_modify" style="width:100%;" type="text"/></td></tr>
<tr><td><input name="compatibility_modify" type="radio"/></td><td nowrap="nowrap">All versions except:</td><td><input id="except_modify" style="width:100%;" type="text"/></td></tr>
<tr><td><input name="compatibility_modify" type="radio"/></td><td nowrap="nowrap">Only these versions:</td><td><input id="only_modify" style="width:100%;" type="text"/></td></tr>
</table>
</td>
</tr>
<tr>
<td nowrap="nowrap" valign="top"><span style="margin-left:10px;"> Description: </span></td>
<td><textarea id="extension_description_modify" name="extension_description" style="width:100%;height:100px;margin-left:5px" type="text"> </textarea></td>
</tr>
<tr>
<td></td>
<td>
<a class="xh" href="" id="commit_modify" style="margin-left:5px;">
<button onclick="window.location.href=document.getElementById('commit_modify').href" onmouseover="modifyReWriteUrl()" style="width: 176px">
Modify Last Revision
</button>
</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</li>
</ul>
</div>
</div>
</body>
</html>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 327 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 360 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 225 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 330 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 139 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 746 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 350 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 952 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 210 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 330 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 128 B

View File

@@ -1,66 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<ecore:EPackage xmi:version="2.0"
xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="model"
nsURI="exchange" nsPrefix="exchange">
<eClassifiers xsi:type="ecore:EEnum" name="Language">
<eLiterals name="PERL" value="1"/>
<eLiterals name="JAVA" value="2"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Category">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="categoryId" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="categoryName" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="VersionRevision">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="versionId" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="versionName" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ComponentExtension">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="idExtension" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="label" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="typeExtension" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="versionExtension" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="lastVersionAvailable" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="publicationDate" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDate"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="description" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="rate" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="author" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="language" lowerBound="1"
eType="#//Language" defaultValueLiteral=""/>
<eStructuralFeatures xsi:type="ecore:EReference" name="reviews" lowerBound="1"
upperBound="-1" eType="#//AvailableExtensionViewDetail" containment="true"
eOpposite="#//AvailableExtensionViewDetail/extension"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="downloadedVersion" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="dateDownload" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDate"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="listVersionCompatibles"
lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="filename" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="linkDownload" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="AvailableExtensionViewDetail">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="author" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="title" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="comment" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="reviewrate" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="extension" lowerBound="1"
eType="#//ComponentExtension" eOpposite="#//ComponentExtension/reviews"/>
</eClassifiers>
</ecore:EPackage>

View File

@@ -1,51 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<genmodel:GenModel xmi:version="2.0"
xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" copyrightText="// ============================================================================&#xD;&#xA;//&#xD;&#xA;// Copyright (C) 2006-2019 Talend Inc. - www.talend.com&#xD;&#xA;//&#xD;&#xA;// This source code is available under agreement available at&#xD;&#xA;// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt&#xD;&#xA;//&#xD;&#xA;// You should have received a copy of the agreement&#xD;&#xA;// along with this program; if not, write to Talend SA&#xD;&#xA;// 9 rue Pages 92150 Suresnes, France&#xD;&#xA;//&#xD;&#xA;// ============================================================================"
modelDirectory="/org.talend.designer.components.exchange/src/main/java" editDirectory="/org.talend.designer.components.exchange.edit/src"
editorDirectory="/org.talend.designer.components.exchange.editor/src" modelPluginID="org.talend.designer.components.exchange"
modelName="Exchange" importerID="org.eclipse.emf.importer.ecore" complianceLevel="5.0"
copyrightFields="false" editPluginID="org.talend.designer.components.exchange.edit"
editorPluginID="org.talend.designer.components.exchange.editor">
<foreignModel>exchange.ecore</foreignModel>
<genPackages prefix="Exchange" basePackage="org.talend.designer.components.exchange"
disposableProviderFactory="true" ecorePackage="exchange.ecore#/">
<genEnums typeSafeEnumCompatible="false" ecoreEnum="exchange.ecore#//Language">
<genEnumLiterals ecoreEnumLiteral="exchange.ecore#//Language/PERL"/>
<genEnumLiterals ecoreEnumLiteral="exchange.ecore#//Language/JAVA"/>
</genEnums>
<genClasses ecoreClass="exchange.ecore#//Category">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute exchange.ecore#//Category/categoryId"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute exchange.ecore#//Category/categoryName"/>
</genClasses>
<genClasses ecoreClass="exchange.ecore#//VersionRevision">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute exchange.ecore#//VersionRevision/versionId"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute exchange.ecore#//VersionRevision/versionName"/>
</genClasses>
<genClasses ecoreClass="exchange.ecore#//ComponentExtension">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute exchange.ecore#//ComponentExtension/idExtension"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute exchange.ecore#//ComponentExtension/label"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute exchange.ecore#//ComponentExtension/typeExtension"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute exchange.ecore#//ComponentExtension/versionExtension"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute exchange.ecore#//ComponentExtension/lastVersionAvailable"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute exchange.ecore#//ComponentExtension/publicationDate"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute exchange.ecore#//ComponentExtension/description"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute exchange.ecore#//ComponentExtension/rate"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute exchange.ecore#//ComponentExtension/author"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute exchange.ecore#//ComponentExtension/language"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference exchange.ecore#//ComponentExtension/reviews"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute exchange.ecore#//ComponentExtension/downloadedVersion"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute exchange.ecore#//ComponentExtension/dateDownload"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute exchange.ecore#//ComponentExtension/listVersionCompatibles"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute exchange.ecore#//ComponentExtension/filename"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute exchange.ecore#//ComponentExtension/linkDownload"/>
</genClasses>
<genClasses ecoreClass="exchange.ecore#//AvailableExtensionViewDetail">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute exchange.ecore#//AvailableExtensionViewDetail/author"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute exchange.ecore#//AvailableExtensionViewDetail/title"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute exchange.ecore#//AvailableExtensionViewDetail/comment"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute exchange.ecore#//AvailableExtensionViewDetail/reviewrate"/>
<genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference exchange.ecore#//AvailableExtensionViewDetail/extension"/>
</genClasses>
</genPackages>
</genmodel:GenModel>

View File

@@ -1,5 +0,0 @@
Exchange=Exchange
DownloadComponenentsAction.Label=Download Selected Components
RefreshComponenentsAction.Label=Refresh Components List
providerName=www.example.org
pluginName=Exchange Model

View File

@@ -1,38 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension
point="org.talend.core.components_provider">
<ComponentsProvider
class="org.talend.designer.components.exchange.ExchangeComponentsProvider"
folderName="exchange"
id="org.talend.designer.components.exchange.ExchangeComponentsProvider">
</ComponentsProvider>
</extension>
<extension
point="org.talend.core.components_provider">
<ComponentsProvider
class="org.talend.designer.components.exchange.SharedStudioExchangeComponentsProvider"
folderName="exchange"
id="org.talend.designer.components.exchange.SharedStudioExchangeComponentsProvider">
</ComponentsProvider>
</extension>
<extension
point="org.talend.core.runtime.service">
<Service
class="org.talend.designer.components.exchange.ui.dialog.ExchangeService"
serviceId="IExchangeService">
</Service>
</extension>
<extension
point="org.eclipse.ui.editors">
<editor
class="org.talend.designer.components.exchange.ui.views.ExchangeView"
default="false"
icon="icons/exchange_view.png"
id="org.talend.designer.components.exchange.ui.views.ExchangeView"
name="Exchange">
</editor>
</extension>
</plugin>

View File

@@ -1,3 +0,0 @@
DownloadComponenentsAction.Label=Lade ausgew\u00E4hlte Komponente
RefreshComponenentsAction.Label=Komponentenliste aktualisieren
providerName=www.beispiel.de

View File

@@ -1 +0,0 @@
providerName=www.example.org

View File

@@ -1,5 +0,0 @@
Exchange=Exchange
DownloadComponenentsAction.Label=\u9078\u629E\u3057\u305F\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u3092\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9
RefreshComponenentsAction.Label=\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u30EA\u30B9\u30C8\u3092\u66F4\u65B0
providerName=www.example.org
pluginName=Exchange\u30E2\u30C7\u30EB

View File

@@ -1,3 +0,0 @@
DownloadComponenentsAction.Label=\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0435 \u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u044B
RefreshComponenentsAction.Label=\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u0441\u043F\u0438\u0441\u043E\u043A \u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u043E\u0432
providerName=www.example.org

View File

@@ -1,5 +0,0 @@
Exchange=Exchange
DownloadComponenentsAction.Label=Download Selected Components
RefreshComponenentsAction.Label=Refresh Componenents List
providerName=www.example.org
pluginName = Exchange Model

View File

@@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tdi-studio-se</artifactId>
<version>8.0.1-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.designer.components.exchange</artifactId>
<packaging>eclipse-plugin</packaging>
</project>

View File

@@ -1,101 +0,0 @@
ExchangeView.Exchange=Exchange
AvailableExtensionsComposite.ExtensionName=Extension Name
AvailableExtensionsComposite.Version=Version
AvailableExtensionsComposite.Rating=Rating
AvailableExtensionsComposite.Author=Author
AvailableExtensionsComposite.FilterTitle=Filter
AvailableExtensionsComposite.ViewDetail.installOperateStatus=Install
AvailableExtensionsComposite.ViewDetail.WriteReview=Write a review
AvailableExtensionsComposite.ViewDetail.InsertionReviewFailure=Insertion Review failure.
AvailableExtensionsComposite.ViewDetail.InsertionReviewFailureTip=You should check it.
DownloadedExtensionsComposite.ExtensionName=Extension Name
DownloadedExtensionsComposite.DownloadedVersion=Downloaded Version
DownloadedExtensionsComposite.DownloadDate=Download Date
DownloadedExtensionsComposite.OperateStatus=Operate Status
DownloadedExtensionsComposite.installOperateStatus=Install
DownloadedExtensionsComposite.installedOperateStatus=Installed
DownloadedExtensionsComposite.updateOperateStatus=Update
MyExtensionsComposite.ExtensionName=Extension Name
MyExtensionsComposite.Version=Version
MyExtensionsComposite.UploadDate=Upload Date
MyExtensionsComposite.AddNewExtensionTitle=Add New Extension
MyExtensionsComposite.UpLoadNewVersionOperateStatus=Upload New Version
MyExtensionsComposite.UpdateOperateStatus=Update
MyExtensionsComposite.ModifyOperateStatus=Modify
MyExtensionsComposite.DeleteOperateStatus=Delete
MyExtensionsComposite.Form.Return=Return
MyExtensionsComposite.Form.ExtensionTitle=Extension Title
MyExtensionsComposite.Form.InitialVersion=Initial Version
MyExtensionsComposite.Form.Compatibility=Compatibility
MyExtensionsComposite.Form.Compatibility.AllVersions=All versions
MyExtensionsComposite.Form.Compatibility.Version=Version
MyExtensionsComposite.Form.Compatibility.AndOlder=and older
MyExtensionsComposite.Form.Compatibility.AndNewer=and newer
MyExtensionsComposite.Form.Compatibility.AllVersionsExcept=All versions except:
MyExtensionsComposite.Form.Compatibility.OnlyTheseVersions=Only these versions:
MyExtensionsComposite.Form.Description=Description
MyExtensionsComposite.Form.Visibility=Visibility
MyExtensionsComposite.Form.Visibility.Public=Public(visible by all)
MyExtensionsComposite.Form.Visibility.Private=Private(visible by me)
MyExtensionsComposite.Form.Upload=Upload
MyExtensionsComposite.Form.Upload.SelectAnItem=Select an item from the currently open project
MyExtensionsComposite.Form.Upload.File=File:
MyExtensionsComposite.Form.Upload.Browse=Browse...
MyExtensionsComposite.Form.Upload.Browse.SelectFile=Select a File of the extension to upload
MyExtensionsComposite.Form.DeleteExtensionTile=Delete Extension
MyExtensionsComposite.Form.DeleteExtensionMessage=Are you sure you want to delete this Extension?
MyExtensionsComposite.Form.UploadExtension=Upload Extension
MyExtensionsComposite.Form.UpdateExtension=Update Extension
MyExtensionsComposite.Form.ModifyExtension=Modify Extension
Exchange.logon.error=Exchange user have not been registered, please register using the preferences .
RefreshJob.FindExtensions.Title=Finding available extensions
RefreshJob.FindExtensions.Message=Finding extensions from exchange...
ShowContributedExtensionsJob.ShowContributedExtensions.Title=Finding contributed extensions
ShowContributedExtensionsJob.ShowContributedExtensions.Message=Finding contributed extensions from exchange...
ShowInstalledExtensionsJob.ShowInstalledExtensions.Title=Finding installed extensions
ShowInstalledExtensionsJob.ShowInstalledExtensions.Message=Finding installed extensions from exchange...
DeleteExtensionJob.DeleteExtensionJob.Title=Delete an extension...
DeleteExtensionJob.DeleteExtensionJob.Message=Delete an extension...
DeleteExtensionJob.DeleteFailure=Delete failure.
DeleteExtensionJob.DeleteFailureTip=You should check it.
ModifyExtensionJob.Title=Modify an extension...
ModifyExtensionJob.Message=Modify an extension...
ModifyExtensionJob.ModifyFailure=Modify failure.
ModifyExtensionJob.ModifyFailureTip=You should check it.
InstalledExtensionJob.Title=Installed an extension...
InstalledExtensionJob.Message=Installed an extension...
InsertionExtensionAction.InstalledFailure=Installed failure.
InsertionExtensionAction.InstalledFailureTip=You should check it.
UploadRevisionJob.Title=Upload Revision...
UploadRevisionJob.Message=Upload Revision...
UploadRevisionAction.InstalledFailure=Upload Revision failure.
UploadRevisionAction.InstalledFailureTip=You should check it.
DownloadComponenentsAction_restartMessage=Install the new component successfully, but need to restart studio to load it, do you want to restart now?
DownloadComponenentsAction_restartTitle=Need restart
DownloadComponenentsAction_failureTitle=Failure
DownloadComponenentsAction_failureMessage=Fail to install the component {0}, need check the component is valid or not.
DownloadComponenentsAction.installExchange=Install Exchange Components
DownloadComponenentsAction.DownloadTaskTitle=Downloading files from Exchange
DownloadComponenentsAction.DownloadTaskName=Downloading file from url:
DownloadComponenentsAction.ReloadPalette=Reloading palette...
DownloadComponenentsAction.DownloadFailure=Download failure.
DownloadComponenentsAction.DownloadFailureTip=You must change the Download Settings.
DownloadComponenentsAction.installComponentsTitle=Install components
ExchangeWebService.insertionExtensionSuccessful=Insertion Extension successful.
ExchangeWebService.downloadingExtensionSuccessful=Downloaded Extension successful.
ExchangeWebService.deleteExtensionSuccessful=Deleted Extension successful.
ExchangeWebService.insertReviewSuccessful=Insertion Review successful.
ExchangeWebService.updateRevisionSuccessful=Update Revision successful.
ExchangeWebService.insertionRevisionSuccessful=Insertion Revision successful.
ImportExchangeDialog.dialogTitle=Select an item from Talend Exchange
ImportExchangeDialog.WARNING=WARNING
ImportExchangeDialog.NOTSELECTWARNING=Please select one item from table.
ImportExchangeDialog.downloadProgressBar=Download Item,Please Wait\!
ImportExchangeDialog.EXTENSION_NAME=Extension Name
ImportExchangeDialog.AUTHOR_NAME=Author Name
ImportExchangeDialog.LATEST_REVISION=Latest Revision
ImportExchangeDialog.EXTENSION_DESCRIPTION=Extension Description
ImportExchangeDialog.download.extensions=Download extensions\! Please Wait\!
ImportExchangeDialog.REFRESH_BUTTON=Refresh
ImportExchangeDialog.REFRESHING_PROGRESSBAR=Refreshing\! Please Wait.....
ImportExchangeDialog.OPERATION_CANCELLED=Operation was cancelled

View File

@@ -1,19 +0,0 @@
AvailableExtensionsComposite.Author=Autor
AvailableExtensionsComposite.FilterTitle=Filter
AvailableExtensionsComposite.ViewDetail.installOperateStatus=Installieren
AvailableExtensionsComposite.ViewDetail.WriteReview=Bericht schreiben
AvailableExtensionsComposite.ViewDetail.InsertionReviewFailureTip=Sie sollten es pr\u00FCfen.
DownloadedExtensionsComposite.installedOperateStatus=Installiert
DownloadedExtensionsComposite.updateOperateStatus=Update
MyExtensionsComposite.UpdateOperateStatus=Update
MyExtensionsComposite.ModifyOperateStatus=Modifiziere
MyExtensionsComposite.DeleteOperateStatus=L\u00F6schen
MyExtensionsComposite.Form.Description=Beschreibung
MyExtensionsComposite.Form.Upload.Browse=Durchsuchen...
DeleteExtensionJob.DeleteFailure=L\u00F6schung fehlgeschlagen
DeleteExtensionJob.DeleteFailureTip=Sie sollten es pr\u00FCfen.
DownloadComponenentsAction.DownloadTaskName=Lade Datei von URL:
ImportExchangeDialog.WARNING=Warnung
ImportExchangeDialog.AUTHOR_NAME=Name des Autors
ImportExchangeDialog.LATEST_REVISION=Aktuellste Revision
ImportExchangeDialog.OPERATION_CANCELLED=Operation wurde abgebrochen

View File

@@ -1,8 +0,0 @@
AvailableExtensionsComposite.ViewDetail.installOperateStatus=Instalar
AvailableExtensionsComposite.ViewDetail.WriteReview=Escribir un comentario
DownloadedExtensionsComposite.installOperateStatus=Instalar
MyExtensionsComposite.ModifyOperateStatus=Modificar
MyExtensionsComposite.DeleteOperateStatus=Borrar
MyExtensionsComposite.Form.Description=Descripci\u00F3n
ImportExchangeDialog.WARNING=Advertencia
ImportExchangeDialog.REFRESH_BUTTON=Actualizar

View File

@@ -1,17 +0,0 @@
AvailableExtensionsComposite.Version=Versione
AvailableExtensionsComposite.Author=Autore
AvailableExtensionsComposite.FilterTitle=Filtro
DownloadedExtensionsComposite.installedOperateStatus=Installato
DownloadedExtensionsComposite.updateOperateStatus=Aggiornato
MyExtensionsComposite.Version=Versione
MyExtensionsComposite.UpdateOperateStatus=Aggiornato
MyExtensionsComposite.DeleteOperateStatus=Cancellare
MyExtensionsComposite.Form.Compatibility.Version=Versione
MyExtensionsComposite.Form.Description=Descrizione
MyExtensionsComposite.Form.Upload=Carica
MyExtensionsComposite.Form.Upload.Browse=Naviga...
ImportExchangeDialog.dialogTitle=Seleziona oggetto da Talend Exchange
ImportExchangeDialog.WARNING=Avvertimento
ImportExchangeDialog.LATEST_REVISION=Ultima Revisione
ImportExchangeDialog.EXTENSION_DESCRIPTION=Descrizione estensione
ImportExchangeDialog.REFRESH_BUTTON=Aggiorna

View File

@@ -1,101 +0,0 @@
ExchangeView.Exchange=Exchange
AvailableExtensionsComposite.ExtensionName=Extension\u540D
AvailableExtensionsComposite.Version=\u30D0\u30FC\u30B8\u30E7\u30F3
AvailableExtensionsComposite.Rating=\u8A55\u4FA1
AvailableExtensionsComposite.Author=\u4F5C\u6210\u8005
AvailableExtensionsComposite.FilterTitle=\u30D5\u30A3\u30EB\u30BF\u30FC
AvailableExtensionsComposite.ViewDetail.installOperateStatus=\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB
AvailableExtensionsComposite.ViewDetail.WriteReview=\u518D\u8ABF\u67FB\u306E\u66F8\u304D\u8FBC\u307F
AvailableExtensionsComposite.ViewDetail.InsertionReviewFailure=Review\u633F\u5165\u5931\u6557\u3002
AvailableExtensionsComposite.ViewDetail.InsertionReviewFailureTip=\u30C1\u30A7\u30C3\u30AF\u3092\u3057\u3066\u304F\u3060\u3055\u3044\u3002
DownloadedExtensionsComposite.ExtensionName=Extension\u540D
DownloadedExtensionsComposite.DownloadedVersion=\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9\u30D0\u30FC\u30B8\u30E7\u30F3
DownloadedExtensionsComposite.DownloadDate=\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9\u65E5\u4ED8
DownloadedExtensionsComposite.OperateStatus=\u30B9\u30C6\u30FC\u30BF\u30B9\u64CD\u4F5C
DownloadedExtensionsComposite.installOperateStatus=\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB
DownloadedExtensionsComposite.installedOperateStatus=\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB\u6E08\u307F
DownloadedExtensionsComposite.updateOperateStatus=\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8
MyExtensionsComposite.ExtensionName=Extension\u540D
MyExtensionsComposite.Version=\u30D0\u30FC\u30B8\u30E7\u30F3
MyExtensionsComposite.UploadDate=\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u65E5\u4ED8
MyExtensionsComposite.AddNewExtensionTitle=\u65B0\u898FExtension\u8FFD\u52A0
MyExtensionsComposite.UpLoadNewVersionOperateStatus=\u65B0\u30D0\u30FC\u30B8\u30E7\u30F3\u3092\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9
MyExtensionsComposite.UpdateOperateStatus=\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8
MyExtensionsComposite.ModifyOperateStatus=\u5909\u66F4
MyExtensionsComposite.DeleteOperateStatus=\u524A\u9664
MyExtensionsComposite.Form.Return=\u623B\u308A\u5024
MyExtensionsComposite.Form.ExtensionTitle=Extension\u30BF\u30A4\u30C8\u30EB
MyExtensionsComposite.Form.InitialVersion=\u521D\u671F\u30D0\u30FC\u30B8\u30E7\u30F3
MyExtensionsComposite.Form.Compatibility=\u4E92\u63DB\u6027
MyExtensionsComposite.Form.Compatibility.AllVersions=\u3059\u3079\u3066\u306E\u30D0\u30FC\u30B8\u30E7\u30F3
MyExtensionsComposite.Form.Compatibility.Version=\u30D0\u30FC\u30B8\u30E7\u30F3
MyExtensionsComposite.Form.Compatibility.AndOlder=\u3088\u308A\u53E4\u3044
MyExtensionsComposite.Form.Compatibility.AndNewer=\u3088\u308A\u65B0\u3057\u3044
MyExtensionsComposite.Form.Compatibility.AllVersionsExcept=\u3059\u3079\u3066\u306E\u30D0\u30FC\u30B8\u30E7\u30F3\u4EE5\u5916
MyExtensionsComposite.Form.Compatibility.OnlyTheseVersions=\u3053\u308C\u3089\u306E\u30D0\u30FC\u30B8\u30E7\u30F3\u3060\u3051:
MyExtensionsComposite.Form.Description=\u8AAC\u660E
MyExtensionsComposite.Form.Visibility=\u53EF\u8996\u6027
MyExtensionsComposite.Form.Visibility.Public=\u5171\u6709(\u5168\u54E1\u304C\u53EF\u8996)
MyExtensionsComposite.Form.Visibility.Private=\u500B\u4EBA(\u81EA\u5206\u306E\u307F\u53EF\u8996)
MyExtensionsComposite.Form.Upload=\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9
MyExtensionsComposite.Form.Upload.SelectAnItem=\u73FE\u5728\u958B\u3044\u3066\u3044\u308B\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u304B\u3089\u30A2\u30A4\u30C6\u30E0\u3092\u9078\u629E
MyExtensionsComposite.Form.Upload.File=\u30D5\u30A1\u30A4\u30EB:
MyExtensionsComposite.Form.Upload.Browse=\u53C2\u7167...
MyExtensionsComposite.Form.Upload.Browse.SelectFile=\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3059\u308Bextension\u306E\u30D5\u30A1\u30A4\u30EB\u3092\u9078\u629E
MyExtensionsComposite.Form.DeleteExtensionTile=Extension\u524A\u9664
MyExtensionsComposite.Form.DeleteExtensionMessage=\u3053\u306E\u62E1\u5F35\u5B50\u3092\u524A\u9664\u3057\u307E\u3059\u304B?
MyExtensionsComposite.Form.UploadExtension=Extension\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9
MyExtensionsComposite.Form.UpdateExtension=Extension\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8
MyExtensionsComposite.Form.ModifyExtension=Extension\u4FEE\u6B63
Exchange.logon.error=Exchange\u30E6\u30FC\u30B6\u30FC\u304C\u767B\u9332\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002\u521D\u671F\u8A2D\u5B9A\u3092\u4F7F\u7528\u3057\u3066\u767B\u9332\u3057\u3066\u304F\u3060\u3055\u3044\u3002
RefreshJob.FindExtensions.Title=\u53D6\u5F97\u53EF\u80FD\u306Aextensions
RefreshJob.FindExtensions.Message=Exchange\u304B\u3089\u62E1\u5F35\u6A5F\u80FD\u3092\u691C\u7D22...
ShowContributedExtensionsJob.ShowContributedExtensions.Title=extensions\u3092\u53D6\u5F97
ShowContributedExtensionsJob.ShowContributedExtensions.Message=exchange\u304B\u3089extensions\u3092\u53D6\u5F97\u2026
ShowInstalledExtensionsJob.ShowInstalledExtensions.Title=extensions\u3092\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB
ShowInstalledExtensionsJob.ShowInstalledExtensions.Message=exchange\u304B\u3089extensions\u3092\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB\u2026
DeleteExtensionJob.DeleteExtensionJob.Title=Extension\u3092\u524A\u9664\u3057\u307E\u3059\u2026
DeleteExtensionJob.DeleteExtensionJob.Message=Extension\u3092\u524A\u9664\u3057\u307E\u3059\u2026
DeleteExtensionJob.DeleteFailure=\u524A\u9664\u3067\u304D\u307E\u305B\u3093
DeleteExtensionJob.DeleteFailureTip=\u30C1\u30A7\u30C3\u30AF\u3092\u3057\u3066\u304F\u3060\u3055\u3044\u3002
ModifyExtensionJob.Title=Extension\u3092\u4FEE\u6B63\u2026
ModifyExtensionJob.Message=Extension\u3092\u4FEE\u6B63\u2026
ModifyExtensionJob.ModifyFailure=\u4FEE\u6B63\u5931\u6557\u3002
ModifyExtensionJob.ModifyFailureTip=\u30C1\u30A7\u30C3\u30AF\u3092\u3057\u3066\u304F\u3060\u3055\u3044\u3002
InstalledExtensionJob.Title=Extension\u3092\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB...
InstalledExtensionJob.Message=Extension\u3092\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB...
InsertionExtensionAction.InstalledFailure=\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB\u306B\u5931\u6557\u3057\u307E\u3057\u305F
InsertionExtensionAction.InstalledFailureTip=\u30C1\u30A7\u30C3\u30AF\u3092\u3057\u3066\u304F\u3060\u3055\u3044\u3002
UploadRevisionJob.Title=\u30EA\u30D3\u30B8\u30E7\u30F3\u3092\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9
UploadRevisionJob.Message=\u30EA\u30D3\u30B8\u30E7\u30F3\u3092\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9
UploadRevisionAction.InstalledFailure=\u30EA\u30D3\u30B8\u30E7\u30F3\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u306B\u5931\u6557\u3002
UploadRevisionAction.InstalledFailureTip=\u30C1\u30A7\u30C3\u30AF\u3092\u3057\u3066\u304F\u3060\u3055\u3044\u3002
DownloadComponenentsAction_restartMessage=\u65B0\u898F\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB\u304C\u6210\u529F\u3057\u307E\u3057\u305F\u3002Studio\u306E\u518D\u8D77\u52D5\u304C\u5FC5\u8981\u3067\u3059\u3002\u518D\u8D77\u52D5\u3057\u307E\u3059\u304B?
DownloadComponenentsAction_restartTitle=\u518D\u8D77\u52D5\u8981
DownloadComponenentsAction_failureTitle=\u5931\u6557
DownloadComponenentsAction_failureMessage=\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8{0}\u306E\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB\u304C\u5931\u6557\u3057\u307E\u3057\u305F\u3002\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u304C\u59A5\u5F53\u304B\u3054\u78BA\u8A8D\u304F\u3060\u3055\u3044\u3002
DownloadComponenentsAction.installExchange=Exchange\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u3092\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB
DownloadComponenentsAction.DownloadTaskTitle=Exchange\u304B\u3089\u30D5\u30A1\u30A4\u30EB\u3092\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9
DownloadComponenentsAction.DownloadTaskName=\u30D5\u30A1\u30A4\u30EB\u306E\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9\u4E2D URL \\:
DownloadComponenentsAction.ReloadPalette=\u30D1\u30EC\u30C3\u30C8\u306E\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8...
DownloadComponenentsAction.DownloadFailure=\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9\u5931\u6557\u3002
DownloadComponenentsAction.DownloadFailureTip=\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9\u8A2D\u5B9A\u3092\u5909\u66F4\u3057\u3066\u304F\u3060\u3055\u3044\u3002
DownloadComponenentsAction.installComponentsTitle=\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB
ExchangeWebService.insertionExtensionSuccessful=Extension\u306E\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB\u304C\u6210\u529F\u3057\u307E\u3057\u305F
ExchangeWebService.downloadingExtensionSuccessful=Extension\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9\u6210\u529F\u3002
ExchangeWebService.deleteExtensionSuccessful=Extension\u524A\u9664\u6210\u529F\u3002
ExchangeWebService.insertReviewSuccessful=Review\u633F\u5165\u6210\u529F\u3002
ExchangeWebService.updateRevisionSuccessful=\u30EA\u30D3\u30B8\u30E7\u30F3\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u6210\u529F\u3002
ExchangeWebService.insertionRevisionSuccessful=\u30EA\u30D3\u30B8\u30E7\u30F3\u633F\u5165\u6210\u529F\u3002
ImportExchangeDialog.dialogTitle=Talend Exchange \u304B\u3089\u9805\u76EE\u306E\u9078\u629E
ImportExchangeDialog.WARNING=\u8B66\u544A
ImportExchangeDialog.NOTSELECTWARNING=\u30C6\u30FC\u30D6\u30EB\u304B\u3089\u30A2\u30A4\u30C6\u30E0\u3092\uFF11\u3064\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044...
ImportExchangeDialog.downloadProgressBar=\u30A2\u30A4\u30C6\u30E0\u3092\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9\u4E2D\u3067\u3059\u3002\u66AB\u304F\u304A\u5F85\u3061\u304F\u3060\u3055\u3044!
ImportExchangeDialog.EXTENSION_NAME=Extension\u540D
ImportExchangeDialog.AUTHOR_NAME=\u4F5C\u6210\u8005\u540D
ImportExchangeDialog.LATEST_REVISION=\u6700\u65B0\u30EA\u30D3\u30B8\u30E7\u30F3
ImportExchangeDialog.EXTENSION_DESCRIPTION=\u62E1\u5F35\u306E\u8AAC\u660E
ImportExchangeDialog.download.extensions=\u62E1\u5F35\u6A5F\u80FD\u3092\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9\u4E2D\u3067\u3059\u3002\u66AB\u304F\u304A\u5F85\u3061\u304F\u3060\u3055\u3044\u3002
ImportExchangeDialog.REFRESH_BUTTON=\u66F4\u65B0
ImportExchangeDialog.REFRESHING_PROGRESSBAR=\u66F4\u65B0\u4E2D\u3067\u3059\u3002\u66AB\u304F\u304A\u5F85\u3061\u304F\u3060\u3055\u3044\u3002
ImportExchangeDialog.OPERATION_CANCELLED=\u64CD\u4F5C\u306F\u30AD\u30E3\u30F3\u30BB\u30EB\u3055\u308C\u307E\u3057\u305F

View File

@@ -1,13 +0,0 @@
AvailableExtensionsComposite.Version=\u0412\u0435\u0440\u0441\u0438\u044F
AvailableExtensionsComposite.Author=\u0410\u0432\u0442\u043E\u0440
AvailableExtensionsComposite.FilterTitle=\u0444\u0438\u043B\u044C\u0442\u0440
DownloadedExtensionsComposite.installedOperateStatus=\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D
MyExtensionsComposite.Version=\u0412\u0435\u0440\u0441\u0438\u044F
MyExtensionsComposite.ModifyOperateStatus=\u041C\u043E\u0434\u0438\u0444\u0438\u0446\u0438\u0440\u043E\u0432\u0430\u0442\u044C
MyExtensionsComposite.DeleteOperateStatus=\u0423\u0434\u0430\u043B\u0438\u0442\u044C
MyExtensionsComposite.Form.Compatibility.Version=\u0412\u0435\u0440\u0441\u0438\u044F
MyExtensionsComposite.Form.Description=\u041E\u043F\u0438\u0441\u0430\u043D\u0438\u0435
MyExtensionsComposite.Form.Upload.Browse=\u041E\u0431\u0437\u043E\u0440...
DownloadComponenentsAction.DownloadTaskName=\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0444\u0430\u0439\u043B \u043F\u043E \u0441\u0441\u044B\u043B\u043A\u0435:
ImportExchangeDialog.WARNING=\u041F\u0440\u0435\u0434\u0443\u043F\u0440\u0435\u0436\u0434\u0435\u043D\u0438\u0435
ImportExchangeDialog.REFRESH_BUTTON=\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C

View File

@@ -1,18 +0,0 @@
AvailableExtensionsComposite.Version=Verzia
AvailableExtensionsComposite.Author=Autor
AvailableExtensionsComposite.FilterTitle=Filter
AvailableExtensionsComposite.ViewDetail.installOperateStatus=In\u0161talova\u0165
DownloadedExtensionsComposite.installOperateStatus=In\u0161talova\u0165
DownloadedExtensionsComposite.updateOperateStatus=Obnovi\u0165
MyExtensionsComposite.Version=Verzia
MyExtensionsComposite.UpdateOperateStatus=Obnovi\u0165
MyExtensionsComposite.ModifyOperateStatus=Modifikova\u0165
MyExtensionsComposite.DeleteOperateStatus=Zmaza\u0165
MyExtensionsComposite.Form.Compatibility=Kompatibilita
MyExtensionsComposite.Form.Compatibility.Version=Verzia
MyExtensionsComposite.Form.Description=Popis
MyExtensionsComposite.Form.Visibility=Vidite\u013Enos\u0165
MyExtensionsComposite.Form.Upload=Nahra\u0165
ImportExchangeDialog.WARNING=Varovanie
ImportExchangeDialog.AUTHOR_NAME=Meno autora
ImportExchangeDialog.REFRESH_BUTTON=Obnovi\u0165

View File

@@ -1,18 +0,0 @@
AvailableExtensionsComposite.Version=Verzia
AvailableExtensionsComposite.Author=Autor
AvailableExtensionsComposite.FilterTitle=Filter
AvailableExtensionsComposite.ViewDetail.installOperateStatus=In\u0161talova\u0165
DownloadedExtensionsComposite.installOperateStatus=In\u0161talova\u0165
DownloadedExtensionsComposite.updateOperateStatus=Obnovi\u0165
MyExtensionsComposite.Version=Verzia
MyExtensionsComposite.UpdateOperateStatus=Obnovi\u0165
MyExtensionsComposite.ModifyOperateStatus=Modifikova\u0165
MyExtensionsComposite.DeleteOperateStatus=Zmaza\u0165
MyExtensionsComposite.Form.Compatibility=Kompatibilita
MyExtensionsComposite.Form.Compatibility.Version=Verzia
MyExtensionsComposite.Form.Description=Popis
MyExtensionsComposite.Form.Visibility=Vidite\u013Enos\u0165
MyExtensionsComposite.Form.Upload=Nahra\u0165
ImportExchangeDialog.WARNING=Varovanie
ImportExchangeDialog.AUTHOR_NAME=Meno autora
ImportExchangeDialog.REFRESH_BUTTON=Obnovi\u0165

View File

@@ -1,103 +0,0 @@
ExchangeView.Exchange=Exchange
AvailableExtensionsComposite.ExtensionName=Extension Name
AvailableExtensionsComposite.Version=Version
AvailableExtensionsComposite.Rating=Rating
AvailableExtensionsComposite.Author=Author
AvailableExtensionsComposite.FilterTitle=Filter
AvailableExtensionsComposite.ViewDetail.installOperateStatus=Install
AvailableExtensionsComposite.ViewDetail.WriteReview=Write a review
AvailableExtensionsComposite.ViewDetail.InsertionReviewFailure=Insertion Review failure.
AvailableExtensionsComposite.ViewDetail.InsertionReviewFailureTip=You should check it.
DownloadedExtensionsComposite.ExtensionName=Extension Name
DownloadedExtensionsComposite.DownloadedVersion=Downloaded Version
DownloadedExtensionsComposite.DownloadDate=Download Date
DownloadedExtensionsComposite.OperateStatus=Operate Status
DownloadedExtensionsComposite.installOperateStatus=Install
DownloadedExtensionsComposite.installedOperateStatus=Installed
DownloadedExtensionsComposite.updateOperateStatus=Update
MyExtensionsComposite.ExtensionName=Extension Name
MyExtensionsComposite.Version=Version
MyExtensionsComposite.UploadDate=Upload Date
MyExtensionsComposite.AddNewExtensionTitle=Add New Extension
MyExtensionsComposite.UpLoadNewVersionOperateStatus=UpLoad New Version
MyExtensionsComposite.UpdateOperateStatus=Update
MyExtensionsComposite.ModifyOperateStatus=Modify
MyExtensionsComposite.DeleteOperateStatus=Delete
MyExtensionsComposite.Form.Return=Return
MyExtensionsComposite.Form.ExtensionTitle=Extension Title
MyExtensionsComposite.Form.InitialVersion=Initial Version
MyExtensionsComposite.Form.Compatibility=Compatibility
MyExtensionsComposite.Form.Compatibility.AllVersions=All versions
MyExtensionsComposite.Form.Compatibility.Version=Version
MyExtensionsComposite.Form.Compatibility.AndOlder=and older
MyExtensionsComposite.Form.Compatibility.AndNewer=and newer
MyExtensionsComposite.Form.Compatibility.AllVersionsExcept=All versions except:
MyExtensionsComposite.Form.Compatibility.OnlyTheseVersions=Only these versions:
MyExtensionsComposite.Form.Description=Description
MyExtensionsComposite.Form.Visibility=Visibility
MyExtensionsComposite.Form.Visibility.Public=Public(visible by all)
MyExtensionsComposite.Form.Visibility.Private=Private(visible by me)
MyExtensionsComposite.Form.Upload=Upload
MyExtensionsComposite.Form.Upload.SelectAnItem=Select an item from the currently open project
MyExtensionsComposite.Form.Upload.File=File:
MyExtensionsComposite.Form.Upload.Browse=Browse
MyExtensionsComposite.Form.Upload.Browse.SelectFile=Select a File of the extension to upload
MyExtensionsComposite.Form.DeleteExtensionTile=Delete Extension
MyExtensionsComposite.Form.DeleteExtensionMessage=You sure delete this Extension
MyExtensionsComposite.Form.UploadExtension=Upload Extension
MyExtensionsComposite.Form.UpdateExtension=Update Extension
MyExtensionsComposite.Form.ModifyExtension=Modify Extension
Exchange.logon.error=Exchange user have not been registered, please register using the preferences .
RefreshJob.FindExtensions.Title=Finding available extensions
RefreshJob.FindExtensions.Message=Finding extensions from exchange...
ShowContributedExtensionsJob.ShowContributedExtensions.Title=Finding contributed extensions
ShowContributedExtensionsJob.ShowContributedExtensions.Message=Finding contributed extensions from exchange...
ShowInstalledExtensionsJob.ShowInstalledExtensions.Title=Finding installed extensions
ShowInstalledExtensionsJob.ShowInstalledExtensions.Message=Finding installed extensions from exchange...
DeleteExtensionJob.DeleteExtensionJob.Title=Delete an extension...
DeleteExtensionJob.DeleteExtensionJob.Message=Delete an extension...
DeleteExtensionJob.DeleteFailure=Delete failure.
DeleteExtensionJob.DeleteFailureTip=You should check it.
ModifyExtensionJob.Title=Modify an extension...
ModifyExtensionJob.Message=Modify an extension...
ModifyExtensionJob.ModifyFailure=Modify failure.
ModifyExtensionJob.ModifyFailureTip=You should check it.
InstalledExtensionJob.Title=Installed an extension...
InstalledExtensionJob.Message=Installed an extension...
InsertionExtensionAction.InstalledFailure=Installed failure.
InsertionExtensionAction.InstalledFailureTip=You should check it.
UploadRevisionJob.Title=Upload Revision...
UploadRevisionJob.Message=Upload Revision...
UploadRevisionAction.InstalledFailure=Upload Revision failure.
UploadRevisionAction.InstalledFailureTip=You should check it.
DownloadComponenentsAction.installExchange=Installed Exchange Components
DownloadComponenentsAction.DownloadTaskTitle=Downloading files from Exchange
DownloadComponenentsAction.DownloadTaskName=Downloading file from url:
DownloadComponenentsAction.ReloadPalette=Reloading palette...
DownloadComponenentsAction.DownloadFailure=Download failure.
DownloadComponenentsAction.DownloadFailureTip=You must change the Download Settings.
ExchangeWebService.insertionExtensionSuccessful=Insertion Extension successful.
ExchangeWebService.downloadingExtensionSuccessful=Downloaded Extension successful.
ExchangeWebService.deleteExtensionSuccessful=Deleted Extension successful.
ExchangeWebService.insertReviewSuccessful=Insertion Review successful.
ExchangeWebService.updateRevisionSuccessful=Update Revision successful.
ExchangeWebService.insertionRevisionSuccessful=Insertion Revision successful.
ImportExchangeDialog.dialogTitle=Select an item from Talend Exchange
ImportExchangeDialog.WARNING=WARNING
ImportExchangeDialog.NOTSELECTWARNING=Please select one item from table.....
ImportExchangeDialog.downloadProgressBar=Download Item,Please Wait\!
ImportExchangeDialog.EXTENSION_NAME=Extension Name
ImportExchangeDialog.AUTHOR_NAME=Author Name
ImportExchangeDialog.LATEST_REVISION=Latest Revision
ImportExchangeDialog.EXTENSION_DESCRIPTION=Extension Description
ImportExchangeDialog.download.components=Download Components Please Wait\!
ImportExchangeDialog.JOB_BUTTON=Job Designs
ImportExchangeDialog.DOWNLOAD_JOB=Download Some Job Designs...
ImportExchangeDialog.ROUTINES_BUTTON=Routines
ImportExchangeDialog.ROUTINES_PROGRESSBAR=Download Some Routines...
ImportExchangeDialog.TEMPLATES_BUTTON=SQL Templates
ImportExchangeDialog.TEMPLATES_PROGRESSBAR=Download Some SQL Templates...
ImportExchangeDialog.REFRESH_BUTTON=Refresh
ImportExchangeDialog.REFRESHING_PROGRESSBAR=Refreshing\! Please Wait.....
ImportExchangeDialog.NOT_SELECT_BUTTON=Please select a choice first
ImportExchangeDialog.OPERATION_CANCELLED=Operation was cancelled

View File

@@ -1,195 +0,0 @@
// ============================================================================
//
// Copyright (C) 2006-2021 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt
//
// You should have received a copy of the agreement
// along with this program; if not, write to Talend SA
// 9 rue Pages 92150 Suresnes, France
//
// ============================================================================
package org.talend.designer.components.exchange;
import java.io.File;
import java.io.FileFilter;
import java.io.IOException;
import java.net.URL;
import org.eclipse.core.runtime.FileLocator;
import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.Path;
import org.eclipse.core.runtime.Platform;
import org.osgi.framework.Bundle;
import org.talend.commons.ui.runtime.exception.ExceptionHandler;
import org.talend.commons.utils.io.FilesUtils;
import org.talend.core.GlobalServiceRegister;
import org.talend.core.model.components.AbstractComponentsProvider;
import org.talend.core.model.components.ComponentUtilities;
import org.talend.core.model.components.IComponentsFactory;
import org.talend.core.runtime.util.SharedStudioInfoProvider;
import org.talend.core.runtime.util.SharedStudioUtils;
import org.talend.core.ui.branding.IBrandingService;
import org.talend.designer.components.exchange.util.ExchangeUtils;
/**
* DOC hcyi class global comment. Detailled comment
*/
public class ExchangeComponentsProvider extends AbstractComponentsProvider implements SharedStudioInfoProvider{
/**
* ExchangeComponentsProvider constructor.
*/
public ExchangeComponentsProvider() {
}
@Override
public void preComponentsLoad() throws IOException {
File installFolder = getInstallationFolder();
// clean folder
if (installFolder.exists()) {
FilesUtils.removeFolder(installFolder, true);
}
FilesUtils.createFoldersIfNotExists(installFolder.getAbsolutePath(), false);
File externalComponentsLocation = getExternalComponentsLocation();
if (externalComponentsLocation != null) {
if (externalComponentsLocation.exists()) {
try {
copyFolder(externalComponentsLocation, installFolder);
} catch (Throwable e) {
ExceptionHandler.process(e);
}
}
}
}
/**
*
* DOC hcyi Comment method "copyFolder".
*
* @param externalComponentsLocation
* @param installFolder
* @throws IOException
*/
private void copyFolder(File externalComponentsLocation, File installFolder) throws IOException {
FileFilter folderFilter = new FileFilter() {
@Override
public boolean accept(File file) {
return file.isDirectory();
}
};
FileFilter ff = new FileFilter() {
@Override
public boolean accept(File pathname) {
if (FilesUtils.isSVNFolder(pathname)) {
return false;
}
return true;
}
};
for (File folder : externalComponentsLocation.listFiles(folderFilter)) {
/*
* Some components have: <componentName>/<files> . some other have: <folder>/<componentName>/<files> .
*/
File componentFolder = searchComponentFolder(folder);
// if we cannot find the component folder, just ignore it
if (componentFolder != null) {
File target = new File(installFolder, componentFolder.getName());
// FileUtils.copyDirectory(componentFolder, target);
FilesUtils.copyFolder(componentFolder, target, true, ff, null, true, false);
}
}
}
/**
*
* DOC hcyi Comment method "searchComponentFolder".
*
* @param folder
* @return
*/
public static File searchComponentFolder(File folder) {
File componentFolder = null;
File[] files = folder.listFiles();
if (files != null) {
for (File file : files) {
if (file.isDirectory()) {
componentFolder = searchComponentFolder(file);
if (componentFolder != null) {
break;
}
} else {
// assumes that if the folder contains properties file, it is the root folder of component
if (file.getName().endsWith(".properties")) { //$NON-NLS-1$
componentFolder = folder;
break;
}
}
}
}
return componentFolder;
}
@Override
protected File getExternalComponentsLocation() {
return ExchangeUtils.getComponentFolder();
}
@Override
public String getComponentsLocation() {
return new Path(IComponentsFactory.COMPONENTS_INNER_FOLDER).append(IComponentsFactory.EXTERNAL_COMPONENTS_INNER_FOLDER)
.append(ComponentUtilities.getExtFolder(getFolderName())).toString();
}
@Override
public File getInstallationFolder() throws IOException {
String componentsPath = IComponentsFactory.COMPONENTS_LOCATION;
IBrandingService breaningService = (IBrandingService) GlobalServiceRegister.getDefault().getService(
IBrandingService.class);
if (breaningService.isPoweredOnlyCamel()) {
componentsPath = IComponentsFactory.CAMEL_COMPONENTS_LOCATION;
}
Bundle b = Platform.getBundle(componentsPath);
File installationFolder = null;
IPath nullPath = new Path(""); //$NON-NLS-1$
URL url = FileLocator.find(b, nullPath, null);
URL fileUrl = FileLocator.toFileURL(url);
File bundleFolder = new File(fileUrl.getPath());
IPath path = new Path(IComponentsFactory.COMPONENTS_INNER_FOLDER)
.append(IComponentsFactory.EXTERNAL_COMPONENTS_INNER_FOLDER);
path = path.append(ComponentUtilities.getExtFolder(getFolderName()));
installationFolder = new File(bundleFolder, path.toOSString());
return installationFolder;
}
@Override
public boolean isUseLocalProvider() {
return true;
}
public boolean isCustom() {
return true;
}
public String getComponentsBundle() {
return IComponentsFactory.COMPONENTS_LOCATION;
}
public boolean isSupportCurrentMode() {
if (SharedStudioUtils.isSharedStudioMode()) {
return false;
}
return true;
}
}

View File

@@ -1,40 +0,0 @@
// ============================================================================
//
// Copyright (C) 2006-2021 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt
//
// You should have received a copy of the agreement
// along with this program; if not, write to Talend SA
// 9 rue Pages 92150 Suresnes, France
//
// ============================================================================
package org.talend.designer.components.exchange;
import org.talend.designer.components.exchange.i18n.Messages;
/**
*
* DOC hcyi class global comment. Detailled comment
*/
public class ExchangeConstants {
/**
* File that store information about the components we have downloaded.
*/
public static final String COMPONENT_MODEL_FILE = "component_extensions.xmi"; //$NON-NLS-1$
public static String getReloadPaletteLable() {
return Messages.getString("DownloadComponenentsAction.ReloadPalette"); //$NON-NLS-1$
}
public static String getDownloadTaskTitleLable() {
return Messages.getString("DownloadComponenentsAction.DownloadTaskTitle"); //$NON-NLS-1$
}
public static String getDownloadTaskNameLable() {
return Messages.getString("DownloadComponenentsAction.DownloadTaskName"); //$NON-NLS-1$
}
}

View File

@@ -1,90 +0,0 @@
package org.talend.designer.components.exchange;
import java.io.File;
import java.util.StringTokenizer;
import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.ui.plugin.AbstractUIPlugin;
import org.osgi.framework.BundleContext;
import org.talend.commons.utils.VersionUtils;
import org.talend.designer.components.exchange.util.ExchangeUtils;
/**
* The activator class controls the plug-in life cycle
*/
public class ExchangePlugin extends AbstractUIPlugin {
// The plug-in ID
public static final String PLUGIN_ID = "org.talend.designer.components.exchange"; //$NON-NLS-1$
// The shared instance
private static ExchangePlugin plugin;
private static final String LEVEL_SEPARATOR = "."; //$NON-NLS-1$
/**
* The constructor
*/
public ExchangePlugin() {
}
/*
* (non-Javadoc)
*
* @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
*/
public void start(BundleContext context) throws Exception {
super.start(context);
plugin = this;
createNecessaryFolders();
}
private void createNecessaryFolders() {
File file = ExchangeUtils.getComponentFolder("/"); //$NON-NLS-1$
if (file != null) {
File dowloadedFoder = new File(file, ExchangeUtils.FOLDER_DOWNLOADED);
if (!dowloadedFoder.exists()) {
dowloadedFoder.mkdir();
}
}
}
/*
* (non-Javadoc)
*
* @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
*/
public void stop(BundleContext context) throws Exception {
plugin = null;
super.stop(context);
}
/**
* Returns the shared instance
*
* @return the shared instance
*/
public static ExchangePlugin getDefault() {
return plugin;
}
public static String getStudioVersion() {
StringBuffer sb = new StringBuffer();
StringTokenizer stringTokenizer = new StringTokenizer(VersionUtils.getVersion(), LEVEL_SEPARATOR);
try {
sb.append(stringTokenizer.nextToken());
sb.append(LEVEL_SEPARATOR);
sb.append(stringTokenizer.nextToken());
sb.append(LEVEL_SEPARATOR);
sb.append(stringTokenizer.nextToken());
} catch (NumberFormatException e) {
}
return sb.toString();
}
public static ImageDescriptor getImageDescriptor(String path) {
return imageDescriptorFromPlugin(PLUGIN_ID, path);
}
}

View File

@@ -1,59 +0,0 @@
package org.talend.designer.components.exchange;
//============================================================================
//
//Copyright (C) 2006-2021 Talend Inc. - www.talend.com
//
//This source code is available under agreement available at
//%InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt
//
//You should have received a copy of the agreement
//along with this program; if not, write to Talend SA
//9 rue Pages 92150 Suresnes, France
//
//============================================================================
import java.io.File;
import java.io.IOException;
import java.net.URL;
import java.net.URLClassLoader;
import java.util.ResourceBundle;
import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.Path;
import org.eclipse.core.runtime.Platform;
import org.talend.core.model.components.ComponentUtilities;
import org.talend.core.model.components.IComponentsFactory;
import org.talend.core.runtime.util.ComponentsLocationProvider;
import org.talend.core.runtime.util.SharedStudioUtils;
import org.talend.designer.core.model.components.ComponentBundleToPath;
public class SharedStudioExchangeComponentsProvider extends ExchangeComponentsProvider implements ComponentsLocationProvider{
@Override
public File getInstallationFolder() throws IOException {
File componentFolder = SharedStudioUtils.getSharedStudioComponentsParentFolder();
IPath path = new Path(IComponentsFactory.COMPONENTS_INNER_FOLDER);
path = path.append(IComponentsFactory.EXTERNAL_COMPONENTS_INNER_FOLDER).append(ComponentUtilities.getExtFolder(getFolderName()));
File installationFolder = new File (componentFolder, path.toOSString());
return installationFolder;
}
public String getComponentsBundle() {
return ComponentBundleToPath.SHARED_STUDIO_CUSTOM_COMPONENT_BUNDLE;
}
public boolean isSupportCurrentMode() {
if (SharedStudioUtils.isSharedStudioMode()) {
return true;
}
return false;
}
@Override
public ResourceBundle getResourceBundle(String label) {
URL configFolderUrl = Platform.getConfigurationLocation().getURL();
URLClassLoader urlLoader = new URLClassLoader(new java.net.URL[]{configFolderUrl});
java.util.ResourceBundle bundle = java.util.ResourceBundle.getBundle( label ,
java.util.Locale.getDefault(), urlLoader );
return bundle;
}
}

View File

@@ -1,136 +0,0 @@
// ============================================================================
//
// Copyright (C) 2006-2021 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt
//
// You should have received a copy of the agreement
// along with this program; if not, write to Talend SA
// 9 rue Pages 92150 Suresnes, France
//
// ============================================================================
package org.talend.designer.components.exchange.jobs;
import java.io.File;
import java.util.Enumeration;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import java.util.zip.ZipEntry;
import java.util.zip.ZipFile;
import org.apache.commons.io.FileUtils;
import org.talend.commons.utils.io.FilesUtils;
import org.talend.core.GlobalServiceRegister;
import org.talend.core.language.LanguageManager;
import org.talend.core.ui.services.IComponentsLocalProviderService;
/**
*
* DOC hcyi class global comment. Detailled comment
*/
public class ComponentInstaller {
/**
* Unzip the component file to user folder.
*
* @param zipFile The component zip file
* @param targetFolder The user folder
* @return
* @throws Exception
*/
@SuppressWarnings("unchecked")
public static File unzip(String zipFile, String targetFolder) throws Exception {
ZipFile zip = new ZipFile(zipFile);
// folder that contains all the unzipped files
File rootFolder = getRootFolder(zip, targetFolder);
if (rootFolder == null) {
// the zip does not have any directory, fix it
String fileName = new File(zip.getName()).getName();
fileName = fileName.substring(0, fileName.lastIndexOf('.')); // remove extension
Pattern pattern = Pattern.compile("^([\\w]*)");
Matcher matcher = pattern.matcher(fileName);
if (matcher.find()) {
fileName = matcher.group(1);
}
rootFolder = new File(targetFolder, fileName);
targetFolder = targetFolder + File.separatorChar + fileName;
}
if (rootFolder.exists()) {
// we have installed older revision, delete it
FileUtils.deleteDirectory(rootFolder);
}
rootFolder.mkdir();
// move some common use codes for unzipping file to FilesUtils
FilesUtils.unzip(zipFile, targetFolder);
boolean valid = false;
if (GlobalServiceRegister.getDefault().isServiceRegistered(IComponentsLocalProviderService.class)) {
IComponentsLocalProviderService service = (IComponentsLocalProviderService) GlobalServiceRegister.getDefault()
.getService(IComponentsLocalProviderService.class);
if (service != null) {
valid = service.validateComponent(rootFolder.getAbsolutePath(), LanguageManager.getCurrentLanguage());
}
}
if (!valid) {
if (rootFolder.exists() && rootFolder.isDirectory()) {
for (File f : rootFolder.listFiles()) {
f.delete();
}
rootFolder.delete();
}
return null;
}
return rootFolder;
}
/**
* Get the root folder that contains all the unzipped files
*
* @param zip The component zip file
* @param targetFolder The user folder
* @return
*/
@SuppressWarnings("unchecked")
private static File getRootFolder(ZipFile zip, String targetFolder) {
File rootFolder = null;
Enumeration<ZipEntry> enumeration = (Enumeration<ZipEntry>) zip.entries();
String directory = null;
while (enumeration.hasMoreElements()) {
ZipEntry entry = enumeration.nextElement();
String entryName = entry.getName();
File file = new File(targetFolder, entryName);
if (entry.isDirectory()) {
// assumes that the first folder is root folder
if (rootFolder == null) {
rootFolder = file;
break;
}
}
// some zip file does not have a directory entry, see bug 0005472: [exchange view] cannot install
// tFileDelimitedSplit from exchange
if (directory == null) {
int pos = entryName.indexOf("/"); //$NON-NLS-1$
if (pos > -1) {
directory = entryName.substring(0, pos);
} else {
pos = entryName.indexOf("\\"); //$NON-NLS-1$
if (pos > -1) {
directory = entryName.substring(0, pos);
}
}
}
}
if (rootFolder == null && directory != null) {
rootFolder = new File(targetFolder, directory);
}
return rootFolder;
}
}

View File

@@ -1,320 +0,0 @@
// ============================================================================
//
// Copyright (C) 2006-2021 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt
//
// You should have received a copy of the agreement
// along with this program; if not, write to Talend SA
// 9 rue Pages 92150 Suresnes, France
//
// ============================================================================
package org.talend.designer.components.exchange.jobs;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.talend.commons.ui.runtime.exception.ExceptionHandler;
import org.talend.core.language.ECodeLanguage;
import org.talend.designer.components.exchange.model.AvailableExtensionViewDetail;
import org.talend.designer.components.exchange.model.ComponentExtension;
import org.talend.designer.components.exchange.model.ExchangeFactory;
import org.talend.designer.components.exchange.model.Language;
import org.talend.designer.components.exchange.model.RevisionInfo;
import org.talend.designer.components.exchange.util.ExchangeUtils;
import org.talend.designer.components.exchange.util.ExchangeWebService;
import us.monoid.json.JSONArray;
import us.monoid.json.JSONObject;
/**
*
* DOC hcyi class global comment. Detailled comment
*/
public class ComponentSearcher {
private static final String RELEASE_DATE_FORMAT = "yyyy-MM-dd"; //$NON-NLS-1$
private static DateFormat formatter = new SimpleDateFormat(RELEASE_DATE_FORMAT);
/**
* Find available components.
*
* @param version The tos version.
* @param language The project language.
* @return
*/
public static List<ComponentExtension> getAvailableComponentExtensions(String typeExtensionTemp, String versionStudioTemp,
ECodeLanguage language, String category) {
List<ComponentExtension> extensions = new ArrayList<ComponentExtension>();
try {
JSONArray extensionsJSONArray = ExchangeWebService.searchExtensionJSONArray(typeExtensionTemp, versionStudioTemp,
category);
if (extensionsJSONArray != null) {
int size = extensionsJSONArray.length();
for (int i = 0; i < size; i++) {
JSONObject extensionObj = extensionsJSONArray.getJSONObject(i);
Map<String, ComponentExtension> extensionsMap = new HashMap<String, ComponentExtension>();
ComponentExtension extension = extensionsMap.get(extensionObj.getString("label"));
if (extension == null) {
extension = ExchangeFactory.eINSTANCE.createComponentExtension();
//
JSONObject extensionsViewDetailObj = ExchangeWebService.searchExtensionViewDetail(
extensionObj.getString("idExtension"), "tos");
extension.setIdExtension(extensionObj.getString("idExtension"));
extension.setLabel(extensionObj.getString("label"));
extension.setAuthor(extensionObj.getString("author"));
extension.setRate(extensionObj.getString("rate"));
extension.setTypeExtension(extensionObj.getString("typeExtension"));
extension.setVersionExtension(extensionObj.getString("versionExtension"));
if (extensionsViewDetailObj.length() > 0) {
extension.setLastVersionAvailable(extensionsViewDetailObj.getString("lastVersionAvailable"));
extension.setPublicationDate(formatter.parse(extensionsViewDetailObj.getString("publicationDate")));
extension.setDescription(extensionsViewDetailObj.getString("description"));
//
List<AvailableExtensionViewDetail> reviews = new ArrayList<AvailableExtensionViewDetail>();
if ((extensionsViewDetailObj.get("reviews")) != null
&& (extensionsViewDetailObj.get("reviews") instanceof JSONArray)) {
JSONArray o = extensionsViewDetailObj.getJSONArray("reviews");
int sumRate = 0;
int sizeDetail = o.length();
for (int j = 0; j < sizeDetail; j++) {
JSONObject review = o.getJSONObject(j);
AvailableExtensionViewDetail extensionViewDetail = ExchangeFactory.eINSTANCE
.createAvailableExtensionViewDetail();
extensionViewDetail.setAuthor(review.getString("author"));
extensionViewDetail.setTitle(review.getString("title"));
extensionViewDetail.setComment(review.getString("comment"));
extensionViewDetail.setReviewrate(review.getString("rate"));
reviews.add(extensionViewDetail);
sumRate = sumRate + Integer.parseInt(review.getString("rate"));
}
//
if (sizeDetail > 0 && sumRate > 0) {
int im = sumRate / sizeDetail;
extension.setRate(im + "");
}
}
extension.getReviews().addAll((Collection<? extends AvailableExtensionViewDetail>) reviews);
}
extensionsMap.put(extension.getIdExtension(), extension);
extensions.add(extension);
}
}
}
} catch (Exception e) {
ExceptionHandler.process(e);
}
return extensions;
}
public static ComponentExtension getAvailableExtensionViewDetail(String idExtension, String typeExtension) {
ComponentExtension extension = null;
try {
JSONObject extensionJSONObject = ExchangeWebService.searchExtensionViewDetail(idExtension, typeExtension);
Map<String, ComponentExtension> extensionsMap = new HashMap<String, ComponentExtension>();
extension = extensionsMap.get(extensionJSONObject.getString("label"));
if (extension == null) {
extension = ExchangeFactory.eINSTANCE.createComponentExtension();
extension.setIdExtension(extensionJSONObject.getString("idExtension"));
extension.setLabel(extensionJSONObject.getString("label"));
extension.setLastVersionAvailable(extensionJSONObject.getString("lastVersionAvailable"));
extension.setPublicationDate(formatter.parse(extensionJSONObject.getString("publicationDate")));
extension.setDescription(extensionJSONObject.getString("description"));
extension.setRate(extensionJSONObject.getString("rate"));
extension.setAuthor(extensionJSONObject.getString("author"));
//
List<AvailableExtensionViewDetail> reviews = new ArrayList<AvailableExtensionViewDetail>();
JSONArray o = extensionJSONObject.getJSONArray("Reviews");
int size = o.length();
for (int i = 0; i < size; i++) {
JSONObject review = o.getJSONObject(i);
AvailableExtensionViewDetail extensionViewDetail = ExchangeFactory.eINSTANCE
.createAvailableExtensionViewDetail();
extensionViewDetail.setAuthor(review.getString("author"));
extensionViewDetail.setTitle(review.getString("title"));
extensionViewDetail.setComment(review.getString("comment"));
extensionViewDetail.setReviewrate(review.getString("rate"));
reviews.add(extensionViewDetail);
}
extensionsMap.put(extension.getIdExtension(), extension);
}
} catch (Exception e) {
ExceptionHandler.process(e);
}
return extension;
}
public static List<ComponentExtension> getImportComponentExtensions(String version, ECodeLanguage language, String type) {
List<ComponentExtension> extensions = new ArrayList<ComponentExtension>();
try {
List<RevisionInfo> revisions = ExchangeUtils.getRevisionList(version, getLanguageId(language), type);
Map<String, ComponentExtension> extensionsMap = new HashMap<String, ComponentExtension>();
for (RevisionInfo revision : revisions) {
ComponentExtension extension = extensionsMap.get(revision.getExtension_id());
if (extension == null) {
extension = ExchangeFactory.eINSTANCE.createComponentExtension();
extension.setIdExtension(revision.getExtension_id() + "");
extension.setLabel(revision.getExtension_name());
extension.setAuthor(revision.getAuthor_name());
extension.setLanguage(Language.get(getLanguageId(language)));
extension.setDescription(revision.getExtension_description());
extension.setLinkDownload(revision.getDownload_url());
extension.setFilename(revision.getFilename());
extension.setVersionExtension(revision.getRevision_name());
extensionsMap.put(revision.getExtension_id() + "", extension);
extensions.add(extension);
}
}
} catch (Exception e) {
ExceptionHandler.process(e);
}
return extensions;
}
/**
* Find Contributed components.
*
* @param version The tos version.
* @param language The project language.
* @return
*/
public static List<ComponentExtension> getContributedExtensions(String version, ECodeLanguage language, String username,
String passwordHash) {
List<ComponentExtension> extensions = new ArrayList<ComponentExtension>();
try {
JSONArray extensionsJSONArray = ExchangeWebService.searchContributedExtensionJSONArray(username, passwordHash);
if (extensionsJSONArray != null) {
int size = extensionsJSONArray.length();
for (int i = 0; i < size; i++) {
JSONObject extensionObj = extensionsJSONArray.getJSONObject(i);
Map<String, ComponentExtension> extensionsMap = new HashMap<String, ComponentExtension>();
ComponentExtension extension = extensionsMap.get(extensionObj.getString("name"));
if (extension == null) {
extension = ExchangeFactory.eINSTANCE.createComponentExtension();
//
extension.setIdExtension(extensionObj.getString("idExtension"));
extension.setTypeExtension(extensionObj.getString("typeExtension"));
extension.setLabel(extensionObj.getString("name"));
if (extensionObj.getString("dateExtension") != null
&& !"".equals(extensionObj.getString("dateExtension"))) {
extension.setPublicationDate(formatter.parse(extensionObj.getString("dateExtension")));
} else {
extension.setPublicationDate(formatter.parse(formatter.format(new Date())));
}
extension.setLastVersionAvailable(extensionObj.getString("lastVersion"));
extensionsMap.put(extension.getIdExtension(), extension);
extensions.add(extension);
}
}
}
} catch (Exception e) {
ExceptionHandler.process(e);
}
return extensions;
}
/**
* Find Installed components.
*
* @param version The tos version.
* @param language The project language.
* @return
*/
public static List<ComponentExtension> getInstalledExtensions(String version, ECodeLanguage language, String username,
String passwordHash) {
List<ComponentExtension> extensions = new ArrayList<ComponentExtension>();
try {
JSONArray extensionsJSONArray = ExchangeWebService.searchInstalledExtensionJSONArray(username, passwordHash);
if (extensionsJSONArray != null) {
int size = extensionsJSONArray.length();
for (int i = 0; i < size; i++) {
JSONObject extensionObj = extensionsJSONArray.getJSONObject(i);
Map<String, ComponentExtension> extensionsMap = new HashMap<String, ComponentExtension>();
ComponentExtension extension = extensionsMap.get(extensionObj.getString("name"));
if (extension == null) {
extension = ExchangeFactory.eINSTANCE.createComponentExtension();
//
extension.setIdExtension(extensionObj.getString("idExtension"));
extension.setTypeExtension(extensionObj.getString("typeExtension"));
extension.setLabel(extensionObj.getString("name"));
extension.setDateDownload(formatter.parse(extensionObj.getString("dateDownload")));
extension.setDownloadedVersion(extensionObj.getString("downloadedVersion"));
extension.setVersionExtension(extensionObj.getString("lastVersion"));
extensionsMap.put(extension.getIdExtension(), extension);
extensions.add(extension);
}
}
}
} catch (Exception e) {
ExceptionHandler.process(e);
}
return extensions;
}
/**
* Search components according to user input.
*
* @param components All available components.
* @param query The user input.
* @param featureIds The field to search, e.g. name or description.
* @return
* @throws Exception
*/
public static List<ComponentExtension> filterComponentExtensions(List<ComponentExtension> components, String query,
int[] featureIds) throws Exception {
return components;
}
/**
* Find the components that have been installed.
*
* @param components
* @return
*/
public static List<ComponentExtension> getInstalledExtensions(List<ComponentExtension> components) {
List<ComponentExtension> installed = new ArrayList<ComponentExtension>();
for (ComponentExtension component : components) {
}
return installed;
}
/**
* Convert the project language to id.
*
* @param language
* @return
*/
private static int getLanguageId(ECodeLanguage language) {
switch (language) {
case JAVA:
return Language.JAVA_VALUE;
case PERL:
return Language.PERL_VALUE;
}
// unknow language
return -1;
}
}

View File

@@ -1,103 +0,0 @@
// ============================================================================
//
// Copyright (C) 2006-2021 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt
//
// You should have received a copy of the agreement
// along with this program; if not, write to Talend SA
// 9 rue Pages 92150 Suresnes, France
//
// ============================================================================
package org.talend.designer.components.exchange.jobs;
import java.util.concurrent.Callable;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Future;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Status;
import org.eclipse.core.runtime.jobs.Job;
import org.talend.commons.ui.runtime.exception.ExceptionHandler;
import org.talend.designer.components.exchange.i18n.Messages;
import org.talend.designer.components.exchange.model.ComponentExtension;
import org.talend.designer.components.exchange.util.ExchangeUtils;
import org.talend.designer.components.exchange.util.ExchangeWebService;
import org.talend.designer.components.exchange.util.WebserviceStatus;
/**
* DOC hcyi class global comment. Detailled comment
*/
public class DeleteExtensionJob extends Job {
private String deleteExtensionId;
private WebserviceStatus ws = null;
public DeleteExtensionJob(ComponentExtension extension) {
super(Messages.getString("DeleteExtensionJob.DeleteExtensionJob.Title")); //$NON-NLS-1$
this.deleteExtensionId = extension.getIdExtension();
}
/*
* (non-Javadoc)
*
* @see org.eclipse.core.runtime.jobs.Job#run(org.eclipse.core.runtime.IProgressMonitor)
*/
@Override
protected IStatus run(IProgressMonitor monitor) {
monitor.beginTask(Messages.getString("DeleteExtensionJob.DeleteExtensionJob.Message"), IProgressMonitor.UNKNOWN);
// run in another thread, make it possible to stop the remote procedure call when user press cancel
// button
ExecutorService executor = Executors.newSingleThreadExecutor();
Future<WebserviceStatus> task = executor.submit(new Callable<WebserviceStatus>() {
public WebserviceStatus call() throws Exception {
WebserviceStatus webserviceStatus;
if (ExchangeUtils.checkUserAndPassword()) {
webserviceStatus = ExchangeWebService.deleteExtensionService(deleteExtensionId, ExchangeUtils.TYPEEXTENSION,
ExchangeUtils.getUserName(), ExchangeUtils.getPasswordHash());
} else {
webserviceStatus = new WebserviceStatus();
webserviceStatus.setMessageException(Messages.getString("Exchange.logon.error"));
}
return webserviceStatus;
}
});
while (true) {
try {
if (monitor.isCanceled()) {
// stop the web service call
task.cancel(true);
return Status.CANCEL_STATUS;
} else if (task.isDone()) {
// web service call complete
ws = task.get();
break;
}
} catch (Exception e) {
ExceptionHandler.process(e);
return Status.CANCEL_STATUS;
} finally {
executor.shutdown();
}
}
monitor.done();
return Status.OK_STATUS;
}
/**
* Getter for ws.
*
* @return the ws
*/
public WebserviceStatus getWs() {
return this.ws;
}
}

View File

@@ -1,116 +0,0 @@
// ============================================================================
//
// Copyright (C) 2006-2021 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt
//
// You should have received a copy of the agreement
// along with this program; if not, write to Talend SA
// 9 rue Pages 92150 Suresnes, France
//
// ============================================================================
package org.talend.designer.components.exchange.jobs;
import java.util.concurrent.Callable;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Future;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Status;
import org.eclipse.core.runtime.jobs.Job;
import org.talend.commons.ui.runtime.exception.ExceptionHandler;
import org.talend.designer.components.exchange.i18n.Messages;
import org.talend.designer.components.exchange.model.ComponentExtension;
import org.talend.designer.components.exchange.util.ExchangeUtils;
import org.talend.designer.components.exchange.util.ExchangeWebService;
import org.talend.designer.components.exchange.util.WebserviceStatus;
/**
* DOC hcyi class global comment. Detailled comment
*/
public class InsertionExtensionJob extends Job {
private ComponentExtension fe;
private WebserviceStatus ws = null;
public InsertionExtensionJob(ComponentExtension extension) {
super(Messages.getString("InstalledExtensionJob.Title")); //$NON-NLS-1$
this.fe = extension;
}
/*
* (non-Javadoc)
*
* @see org.eclipse.core.runtime.jobs.Job#run(org.eclipse.core.runtime.IProgressMonitor)
*/
@Override
protected IStatus run(IProgressMonitor monitor) {
monitor.beginTask(Messages.getString("InstalledExtensionJob.Message"), IProgressMonitor.UNKNOWN);
// run in another thread, make it possible to stop the remote procedure call when user press cancel
// button
ExecutorService executor = Executors.newSingleThreadExecutor();
Future<WebserviceStatus> task = executor.submit(new Callable<WebserviceStatus>() {
public WebserviceStatus call() throws Exception {
WebserviceStatus webserviceStatus;
if (ExchangeUtils.checkUserAndPassword()) {
webserviceStatus = ExchangeWebService.insertionExtensionService(ExchangeUtils.TYPEEXTENSION,
ExchangeUtils.getUserName(), ExchangeUtils.getPasswordHash(), ExchangeUtils.CATEGORY, fe.getLabel(),
fe.getDescription());
//
if (webserviceStatus.isResult()) {
String idExtension = webserviceStatus.getValue();
WebserviceStatus uploadReWbs = ExchangeWebService.insertionRevisionService(idExtension,
ExchangeUtils.TYPEEXTENSION, ExchangeUtils.getUserName(), ExchangeUtils.getPasswordHash(),
fe.getLastVersionAvailable(), fe.getListVersionCompatibles(), fe.getFilename(),
"application/multipart-formdata", fe.getDescription(), "true");
uploadReWbs.setMessageException(webserviceStatus.getMessageException() + " "
+ uploadReWbs.getMessageException());
return uploadReWbs;
}
} else {
webserviceStatus = new WebserviceStatus();
webserviceStatus.setMessageException(Messages.getString("Exchange.logon.error"));
}
return webserviceStatus;
}
});
while (true) {
try {
if (monitor.isCanceled()) {
// stop the web service call
task.cancel(true);
return Status.CANCEL_STATUS;
} else if (task.isDone()) {
// web service call complete
ws = task.get();
break;
}
} catch (Exception e) {
ExceptionHandler.process(e);
return Status.CANCEL_STATUS;
} finally {
executor.shutdown();
}
}
monitor.done();
return Status.OK_STATUS;
}
/**
* Getter for ws.
*
* @return the ws
*/
public WebserviceStatus getWs() {
return this.ws;
}
}

View File

@@ -1,110 +0,0 @@
// ============================================================================
//
// Copyright (C) 2006-2021 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt
//
// You should have received a copy of the agreement
// along with this program; if not, write to Talend SA
// 9 rue Pages 92150 Suresnes, France
//
// ============================================================================
package org.talend.designer.components.exchange.jobs;
import java.util.concurrent.Callable;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Future;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Status;
import org.eclipse.core.runtime.jobs.Job;
import org.talend.commons.ui.runtime.exception.ExceptionHandler;
import org.talend.designer.components.exchange.i18n.Messages;
import org.talend.designer.components.exchange.model.ComponentExtension;
import org.talend.designer.components.exchange.util.ExchangeUtils;
import org.talend.designer.components.exchange.util.ExchangeWebService;
import org.talend.designer.components.exchange.util.WebserviceStatus;
/**
* DOC hcyi class global comment. Detailled comment
*/
public class ModifyExtensionJob extends Job {
private ComponentExtension fExtension;
private WebserviceStatus ws = null;
public ModifyExtensionJob(ComponentExtension extension) {
super(Messages.getString("ModifyExtensionJob.Title")); //$NON-NLS-1$
this.fExtension = extension;
}
/*
* (non-Javadoc)
*
* @see org.eclipse.core.runtime.jobs.Job#run(org.eclipse.core.runtime.IProgressMonitor)
*/
@Override
protected IStatus run(IProgressMonitor monitor) {
monitor.beginTask(Messages.getString("ModifyExtensionJob.Message"), IProgressMonitor.UNKNOWN);
// run in another thread, make it possible to stop the remote procedure call when user press cancel
// button
ExecutorService executor = Executors.newSingleThreadExecutor();
Future<WebserviceStatus> task = executor.submit(new Callable<WebserviceStatus>() {
public WebserviceStatus call() throws Exception {
WebserviceStatus webserviceStatus;
if (ExchangeUtils.checkUserAndPassword()) {
webserviceStatus = ExchangeWebService.searchLastRevisionForExtensionService(fExtension.getIdExtension(),
ExchangeUtils.getUserName(), ExchangeUtils.getPasswordHash());
if (webserviceStatus.isResult()) {
String lastVersionIdRevision = webserviceStatus.getValue();
webserviceStatus = ExchangeWebService.updateRevisionService(lastVersionIdRevision,
ExchangeUtils.TYPEEXTENSION, ExchangeUtils.getUserName(), ExchangeUtils.getPasswordHash(),
fExtension.getLastVersionAvailable(), fExtension.getListVersionCompatibles(),
fExtension.getDescription(), "false");
}
} else {
webserviceStatus = new WebserviceStatus();
webserviceStatus.setMessageException(Messages.getString("Exchange.logon.error"));
}
return webserviceStatus;
}
});
while (true) {
try {
if (monitor.isCanceled()) {
// stop the web service call
task.cancel(true);
return Status.CANCEL_STATUS;
} else if (task.isDone()) {
// web service call complete
ws = task.get();
break;
}
} catch (Exception e) {
ExceptionHandler.process(e);
return Status.CANCEL_STATUS;
} finally {
executor.shutdown();
}
}
monitor.done();
return Status.OK_STATUS;
}
/**
* Getter for ws.
*
* @return the ws
*/
public WebserviceStatus getWs() {
return this.ws;
}
}

View File

@@ -1,94 +0,0 @@
// ============================================================================
//
// Copyright (C) 2006-2021 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt
//
// You should have received a copy of the agreement
// along with this program; if not, write to Talend SA
// 9 rue Pages 92150 Suresnes, France
//
// ============================================================================
package org.talend.designer.components.exchange.jobs;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.Callable;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Future;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Status;
import org.eclipse.core.runtime.jobs.Job;
import org.talend.commons.ui.runtime.exception.ExceptionHandler;
import org.talend.designer.components.exchange.ExchangePlugin;
import org.talend.designer.components.exchange.i18n.Messages;
import org.talend.designer.components.exchange.model.ComponentExtension;
import org.talend.designer.components.exchange.util.ExchangeUtils;
/**
*
* DOC hcyi class global comment. Detailled comment
*/
public class RefreshJob extends Job {
public RefreshJob() {
super(Messages.getString("RefreshJob.FindExtensions.Title")); //$NON-NLS-1$
}
private List<ComponentExtension> fAvailableExtensions;
@Override
public IStatus run(IProgressMonitor monitor) {
monitor.beginTask(Messages.getString("RefreshJob.FindExtensions.Message"), IProgressMonitor.UNKNOWN);
// run in another thread, make it possible to stop the remote procedure call when user press cancel
// button
ExecutorService executor = Executors.newSingleThreadExecutor();
Future<List<ComponentExtension>> task = executor.submit(new Callable<List<ComponentExtension>>() {
@Override
public List<ComponentExtension> call() throws Exception {
List<ComponentExtension> extensions = new ArrayList<ComponentExtension>();
extensions = ComponentSearcher.getAvailableComponentExtensions(ExchangeUtils.TYPEEXTENSION,
ExchangePlugin.getStudioVersion(), ExchangeUtils.getCurrentLanguage(), "");//$NON-NLS-1$
if (extensions == null || extensions.isEmpty() || extensions.size() == 0) {
extensions = ComponentSearcher.getAvailableComponentExtensions(ExchangeUtils.TYPEEXTENSION, "5.6.1",//$NON-NLS-1$
ExchangeUtils.getCurrentLanguage(), "");//$NON-NLS-1$
}
return extensions;
}
});
while (true) {
try {
if (monitor.isCanceled()) {
// stop the web service call
task.cancel(true);
return Status.CANCEL_STATUS;
} else if (task.isDone()) {
// web service call complete
fAvailableExtensions = task.get();
break;
}
} catch (Exception e) {
ExceptionHandler.process(e);
return Status.CANCEL_STATUS;
} finally {
executor.shutdown();
}
}
monitor.done();
return Status.OK_STATUS;
}
public List<ComponentExtension> getAvailableExtensions() {
return fAvailableExtensions;
}
}

View File

@@ -1,95 +0,0 @@
// ============================================================================
//
// Copyright (C) 2006-2021 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt
//
// You should have received a copy of the agreement
// along with this program; if not, write to Talend SA
// 9 rue Pages 92150 Suresnes, France
//
// ============================================================================
package org.talend.designer.components.exchange.jobs;
import java.util.List;
import java.util.concurrent.Callable;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Future;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Status;
import org.eclipse.core.runtime.jobs.Job;
import org.talend.commons.ui.runtime.exception.ExceptionHandler;
import org.talend.designer.components.exchange.i18n.Messages;
import org.talend.designer.components.exchange.model.ComponentExtension;
import org.talend.designer.components.exchange.util.ExchangeUtils;
/**
* DOC hcyi class global comment. Detailled comment
*/
public class ShowContributedExtensionsJob extends Job {
private List<ComponentExtension> fContributedExtensions;
public ShowContributedExtensionsJob() {
super(Messages.getString("ShowContributedExtensionsJob.ShowContributedExtensions.Title")); //$NON-NLS-1$
}
/*
* (non-Javadoc)
*
* @see org.eclipse.core.runtime.jobs.Job#run(org.eclipse.core.runtime.IProgressMonitor)
*/
@Override
protected IStatus run(IProgressMonitor monitor) {
monitor.beginTask(Messages.getString("ShowContributedExtensionsJob.ShowContributedExtensions.Message"),
IProgressMonitor.UNKNOWN);
// run in another thread, make it possible to stop the remote procedure call when user press cancel
// button
ExecutorService executor = Executors.newSingleThreadExecutor();
Future<List<ComponentExtension>> task = executor.submit(new Callable<List<ComponentExtension>>() {
public List<ComponentExtension> call() throws Exception {
if (ExchangeUtils.checkUserAndPassword()) {
return ComponentSearcher.getContributedExtensions("4.2", ExchangeUtils.getCurrentLanguage(),
ExchangeUtils.getUserName(), ExchangeUtils.getPasswordHash());
}
return null;
}
});
while (true) {
try {
if (monitor.isCanceled()) {
// stop the web service call
task.cancel(true);
return Status.CANCEL_STATUS;
} else if (task.isDone()) {
// web service call complete
fContributedExtensions = task.get();
break;
}
} catch (Exception e) {
ExceptionHandler.process(e);
return Status.CANCEL_STATUS;
} finally {
executor.shutdown();
}
}
monitor.done();
return Status.OK_STATUS;
}
/**
* Getter for fContributedExtensions.
*
* @return the fContributedExtensions
*/
public List<ComponentExtension> getfContributedExtensions() {
return this.fContributedExtensions;
}
}

View File

@@ -1,101 +0,0 @@
// ============================================================================
//
// Copyright (C) 2006-2021 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt
//
// You should have received a copy of the agreement
// along with this program; if not, write to Talend SA
// 9 rue Pages 92150 Suresnes, France
//
// ============================================================================
package org.talend.designer.components.exchange.jobs;
import java.util.List;
import java.util.concurrent.Callable;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Future;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Status;
import org.eclipse.core.runtime.jobs.Job;
import org.talend.commons.ui.runtime.exception.ExceptionHandler;
import org.talend.designer.components.exchange.i18n.Messages;
import org.talend.designer.components.exchange.model.ComponentExtension;
import org.talend.designer.components.exchange.util.ExchangeUtils;
/**
* DOC hcyi class global comment. Detailled comment
*/
public class ShowInstalledExtensionsJob extends Job {
private List<ComponentExtension> fInstalledExtensions;
/**
* DOC hcyi ShowInstalledExtensionsJob constructor comment.
*
* @param name
*/
public ShowInstalledExtensionsJob() {
super(Messages.getString("ShowInstalledExtensionsJob.ShowInstalledExtensions.Title")); //$NON-NLS-1$
}
/*
* (non-Javadoc)
*
* @see org.eclipse.core.runtime.jobs.Job#run(org.eclipse.core.runtime.IProgressMonitor)
*/
@Override
protected IStatus run(IProgressMonitor monitor) {
monitor.beginTask(Messages.getString("ShowInstalledExtensionsJob.ShowInstalledExtensions.Message"),
IProgressMonitor.UNKNOWN);
// run in another thread, make it possible to stop the remote procedure call when user press cancel
// button
ExecutorService executor = Executors.newSingleThreadExecutor();
Future<List<ComponentExtension>> task = executor.submit(new Callable<List<ComponentExtension>>() {
public List<ComponentExtension> call() throws Exception {
if (ExchangeUtils.checkUserAndPassword()) {
return ComponentSearcher.getInstalledExtensions(ExchangeUtils.VERSIONSTUDIO,
ExchangeUtils.getCurrentLanguage(), ExchangeUtils.getUserName(), ExchangeUtils.getPasswordHash());
}
return null;
}
});
while (true) {
try {
if (monitor.isCanceled()) {
// stop the web service call
task.cancel(true);
return Status.CANCEL_STATUS;
} else if (task.isDone()) {
// web service call complete
fInstalledExtensions = task.get();
break;
}
} catch (Exception e) {
ExceptionHandler.process(e);
return Status.CANCEL_STATUS;
} finally {
executor.shutdown();
}
}
monitor.done();
return Status.OK_STATUS;
}
/**
* Getter for fInstalledExtensions.
*
* @return the fInstalledExtensions
*/
public List<ComponentExtension> getfInstalledExtensions() {
return this.fInstalledExtensions;
}
}

View File

@@ -1,105 +0,0 @@
// ============================================================================
//
// Copyright (C) 2006-2021 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt
//
// You should have received a copy of the agreement
// along with this program; if not, write to Talend SA
// 9 rue Pages 92150 Suresnes, France
//
// ============================================================================
package org.talend.designer.components.exchange.jobs;
import java.util.concurrent.Callable;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Future;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Status;
import org.eclipse.core.runtime.jobs.Job;
import org.talend.commons.ui.runtime.exception.ExceptionHandler;
import org.talend.designer.components.exchange.i18n.Messages;
import org.talend.designer.components.exchange.model.ComponentExtension;
import org.talend.designer.components.exchange.util.ExchangeUtils;
import org.talend.designer.components.exchange.util.ExchangeWebService;
import org.talend.designer.components.exchange.util.WebserviceStatus;
/**
* DOC hcyi class global comment. Detailled comment
*/
public class UploadRevisionJob extends Job {
private ComponentExtension fe;
private WebserviceStatus ws = null;
public UploadRevisionJob(ComponentExtension extension) {
super(Messages.getString("UploadRevisionJob.Title")); //$NON-NLS-1$
this.fe = extension;
}
/*
* (non-Javadoc)
*
* @see org.eclipse.core.runtime.jobs.Job#run(org.eclipse.core.runtime.IProgressMonitor)
*/
@Override
protected IStatus run(IProgressMonitor monitor) {
monitor.beginTask(Messages.getString("UploadRevisionJob.Message"), IProgressMonitor.UNKNOWN);
// run in another thread, make it possible to stop the remote procedure call when user press cancel
// button
ExecutorService executor = Executors.newSingleThreadExecutor();
Future<WebserviceStatus> task = executor.submit(new Callable<WebserviceStatus>() {
public WebserviceStatus call() throws Exception {
WebserviceStatus webserviceStatus;
if (ExchangeUtils.checkUserAndPassword()) {
webserviceStatus = ExchangeWebService.insertionRevisionService(fe.getIdExtension(),
ExchangeUtils.TYPEEXTENSION, ExchangeUtils.getUserName(), ExchangeUtils.getPasswordHash(),
fe.getLastVersionAvailable(), fe.getListVersionCompatibles(), fe.getFilename(),
"application/multipart-formdata", fe.getDescription(), "true");
} else {
webserviceStatus = new WebserviceStatus();
webserviceStatus.setMessageException(Messages.getString("Exchange.logon.error"));
}
return webserviceStatus;
}
});
while (true) {
try {
if (monitor.isCanceled()) {
// stop the web service call
task.cancel(true);
return Status.CANCEL_STATUS;
} else if (task.isDone()) {
// web service call complete
ws = task.get();
break;
}
} catch (Exception e) {
ExceptionHandler.process(e);
return Status.CANCEL_STATUS;
} finally {
executor.shutdown();
}
}
monitor.done();
return Status.OK_STATUS;
}
/**
* Getter for ws.
*
* @return the ws
*/
public WebserviceStatus getWs() {
return this.ws;
}
}

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