Compare commits

..

219 Commits

Author SHA1 Message Date
wang wei
255e6d6c9c fix(TDI-50584): job failed to generate code after installing R2023-11 (#9321) 2023-11-27 17:55:53 +08:00
wang wei
ba0902b8f7 fix(TDI-50538): [JDBC TCK]: close db connection for osgi env safely (#9285) 2023-11-16 16:56:29 +08:00
hcyi
0bf9432753 fix(TUP-40885):Workday metadata found metadata UI show issue whcih (#9279)
related to UIScope function
2023-11-15 20:28:50 +08:00
kjwang
a64f3a269a Fix TDQ-21560 import an existing project of R2023-10 or older, open (#9267)
* Fix TDQ-21560 import an existing project of R2023-10 or older, open
analysis lost its JDBC connection
https://jira.talendforge.org/browse/TDQ-21560

* Add more fix

* Add more fix
2023-11-14 19:03:23 +08:00
kjwang
206b82f8c9 TUP-40862 NPE show when select connection from component list for (#9266)
* TUP-40862 NPE show when select connection from component list for
migrated jdbc context jobs
https://jira.talendforge.org/browse/TUP-40862
2023-11-14 17:28:07 +08:00
mhryb
7adfc08eec fix(TDI-50516): fix include header (#9261) 2023-11-13 15:32:09 +02:00
kjwang
fbd03b27ff Kjwang/fix tup 40710 tck jdbc dynamic setting view prepare r11 (#9262) (#9263)
* Fix TUP-40710 TCK-JDBC Dynamic setting view
https://jira.talendforge.org/browse/TUP-40710

* Fix TUP-40710 TCK-JDBC Dynamic setting view
https://jira.talendforge.org/browse/TUP-40710

* Fix jdbc connection/close component id error

* TUP-40710 TCK-JDBC Dynamic setting view
https://jira.talendforge.org/browse/TUP-40710

* more fix

* fix the NPE as the strange tcompv0 model response for empty table

* Fix die on error for jdbc row

* TUP-40792 migration issue for tCompv0 to tck jdbc with Dynamic setting
(Fix update invalid value from repository)

* kjwang/Fix_TUP-40710_TCK-JDBC_Dynamic_setting_view

* more fix

* more fix

* improve performance

* Fix one convert error

* Correct Component Name

---------

Co-authored-by: wwang <wwang@talend.com>
2023-11-13 17:17:06 +08:00
wang wei
1ddca53d50 fix(TDI-50467): [JDBC TCK]: migrate label view (#9218) 2023-11-09 17:13:44 +08:00
sbliu
76dbc39e66 fix(TUP-40478) encode file path for classloader url (#9202)
* fix(TUP-40478) encode file path for classloader url

* fix problem that cannot run job when path contains special character
2023-11-09 11:47:35 +08:00
Chao MENG
01e79e7a7e fix(TUP-40317): Metadata based Hadoop cluster Repository type is showing (#9146)
inconsistent grey out UI for Runtime mode.
https://jira.talendforge.org/browse/TUP-40317
2023-11-09 11:07:58 +08:00
Dmytro Sylaiev
02fb11dcd4 fix(TDI-50296): Add checkbox to bring old behavior (#9156)
* fix(TDI-50296): Add checkbox to bring old behavior

* fix(TDI-50296): Fix component breaking bcs of case
2023-11-08 12:17:25 +02:00
kjwang
f45cc4154d Fix TUP-40766 NPE show in error log when close Choose context wizard (#9242)
Fix TUP-40766 NPE show in error log when close Choose context wizard
https://jira.talendforge.org/browse/TUP-40766
2023-11-08 17:37:48 +08:00
wang wei
fdaea4bbf0 fix(TCOMP-2552): support custom connection/close component icon for tck connector in studio(#9245) 2023-11-08 16:05:23 +08:00
hzhao
791fba4e55 feat(TUP-36963):Display Row Number is zero when import (#9232) 2023-11-08 15:51:07 +08:00
mhryb
7fb59d7f0e fix(TDI-50483): fix tPostgresPlusOutputBulk component migration (#9235) 2023-11-08 09:46:41 +02:00
kjwang
d37214d277 Fix:TUP-40760 SingleStore: Mapping file Field is yellow and read-only on (#9237)
Fix:TUP-40760 SingleStore: Mapping file Field is yellow and read-only on DB wizard after migration
https://jira.talendforge.org/browse/TUP-40760
2023-11-08 11:38:56 +08:00
sbliu
a58d7c9d1c fix(TUP-39867) Studio 8.0.1 with R2023-05 version in Guess option (#9221) 2023-11-08 11:31:20 +08:00
Jane Ding
e05a70073e Add localized files (#9231) (#9233)
Co-authored-by: Toshi Sasada <51699524+tsasada-talend@users.noreply.github.com>
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
2023-11-07 09:52:11 +08:00
Jill Yan
bebe81ef37 APPINT-35964 remove usless migration task (#9226) 2023-11-06 19:27:41 +08:00
jiezhang-tlnd
24ddd70b72 Jzhang/80/tup 40311 (#9167)
* feat(TUP-40311)[Refactor] Unify tPostgresPlus component to reuse
tPostgres

* remove posgresplus

* add migration

* code format

* migration for JobSettings

* code format

* Update ChangeToPostgresInJobSettingsMigrationTask.java

update date

* Update ReplacePostgresPlusConnectionByPostgresConnectionMigrationTask.java

update migration date

* update migration

* dd migration for project setting

* update migratin for project setting

* update migration for project setting
2023-11-06 10:40:35 +08:00
mhryb
a0ba4fa179 feat(TDI-49775): add support application default credentials (#9220)
* feat(TDI-49775): add support application default credentials
2023-11-03 12:20:17 +02:00
mhryb
8878b983c4 feat(TDI-50282): unify tPostgresPlus component to reuse tPostgres (#9169)
* feat(TDI-50282): unify tPostgresPlus component to reuse tPostgres
2023-11-03 11:11:56 +02:00
Jane Ding
1b6e82c73d Add localized files (#9215)
* Add localized files (#9209)

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

* Add localized files (#9210)

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-11-02 20:25:46 +08:00
mhryb
8a35240fc1 Mhryb/tdi 49775 add support application default credentials 8.0 (#9211)
* feat(TDI-49775): add support application default credentials
2023-11-02 14:25:19 +02:00
Oleksandr Zhelezniak
238bf1c36f fix(TDI-50348): NB_LINE 0 for empty sheet (#9171)
*  tFileInputExcel for empty sheet will be zero instead of 0
2023-11-02 13:08:52 +02:00
kjwang
81267113c4 Kjwang/feat tup 39096 new tck jdbc integrate (#8917)
* Use local component file

* Add new jdbc plugin

* Fix build issue

* Fix build issue

* Improve the code

* Improve the code

* Add i18n

* Improve the code

* TUP-39075 Handle the d&d of metadata tables/queries to DI/BD/APPINT jobs
after JDBC TCK integration

* Fix table name parameter issue

* Fix dnd query node issues

* Improve the code

* Fix spark job dnd issue

* Fix tck jdbc dnd issue

* feat(TUP-38956):Change the repository Db Connections display to prepare
for TCK JDBC integration

* Fix new jdbc node context menu issue

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

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

* TUP-39525 Save and Load TCK connection items from metadata/connections
instead of tacokit folder in project

* TUP-39525 Save and Load TCK connection items from metadata/connections
instead of tacokit folder in project

* TUP-39525 Save and Load TCK connection items from metadata/connections
instead of tacokit folder in project

* Improve context menu

* Support edit new jdbc schema

* fix(TUP-39575):Implement new jdbc mapping file field list in new jdbc
wizard.

* feat(TUP-38956):integrate tck jdbc and snowflake to db connections

* fix(TUP-35088):Stats&logs with TCK JDBC.

* feat(TUP-38956):fix repository connection select and import dialog for
tck jdbc and snowflake

* TUP-35524 JDBC repository metadata migration
https://jira.talendforge.org/browse/TUP-35524

* TUP-39577 Make data view function can work with new jdbc connection and
input component
https://jira.talendforge.org/browse/TUP-39577

* fix(TUP-35088):Stats&logs with TCK JDBC.

* fix(TUP-39460):Hide specific parameters for tck connectors on wizard.

* feat(TUP-39073):[JDBC TCK]: reuse SQL builder when click button beside on "Query" field (#8959)

* feat(TUP-39073):[JDBC TCK]: reuse SQL builder when click button beside
on "Query" field
https://jira.talendforge.org/browse/TUP-39073

* fix(TUP-39460):Hide specific parameters for tck connectors on wizard.

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

* Improve migration task

* Fix a error

* feat(TUP-39073):[JDBC TCK]: reuse SQL builder when click button beside (#8964)

on "Query" field
https://jira.talendforge.org/browse/TUP-39073

* Fix data viewer issues

* fix(TUP-35088):Stats&logs with TCK JDBC.

* Improve context menu

* Fix a error

* feat(TUP-39074):Implicit context load with TCK JDBC

* Improve the code fix possible issues

* feat(TUP-39074):improve for Implicit context load with TCK JDBC

* feat(TUP-39074):improve for Implicit context load with TCK JDBC

* feat(TUP-39074):improve for Implicit context load with TCK JDBC

* Fix a error when crete tck jdbc connection

* Fix tck jdbc error

* feat(TUP-39080):Delta lake/Single store move from tcompv0 JDBC to TCK

* feat(TUP-39080):remove quotes

* Kjwang/feat tup 39096 new tck jdbc integrate with tup 25445 (#9012)

* feat(TUP-25445)acokit support context in repository metadata
https://jira.talendforge.org/browse/TUP-25445

* Fix jdbc driver issue on context mode

* feat(TUP-39080):fix connection and remove quotes

* feat(TUP-39076):[JDBC TCK]: support schema based table field

* Fix TUP-39910 duplicate "Read Queries" under saved queries' node
https://jira.talendforge.org/browse/TUP-39910

* fix(TUP-39096): rename jdbc (#9018)

* rename family name from JDBCNew to JDBC

* rename family name from JDBCNew to JDBC

* Test jdbc migration rename -- KK

* Test jdbc migration rename -- KK

---------

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

* Remove used code

* feat(TUP-39076):improve for Support PREV_COLUMN_LIST / NEXT_COLUMN_LIST
and BaseOnSchema

* Fix TUP-40043 Tacokit (#9044)

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

* fix(TDI-50002):CVE snappy-java (#8972)

* fix(TDI-50002):CVE snappy-java

* fix mvn url

* fix(TDI-50099): add commons logging bridge S3 (#8986)

* Fix TUP-40043 Tacokit widget restore to editable if revert context
https://jira.talendforge.org/browse/TUP-40043

* Fix TUP-40043 Tacokit widget restore to editable if revert context
https://jira.talendforge.org/browse/TUP-40043

---------

Co-authored-by: hcyi <hcyi@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: pyzhou <pyzhou@talend.com>
Co-authored-by: Oleksandr Zhelezniak <66320870+ozhelezniak-talend@users.noreply.github.com>

* fix(TUP-39914):Database is empty when d&d Delta Lake and SingleStore as
tDBInput into job

* Fix table controller can't restore to editable if revert context
Improve query guess command

* fix(TUP-35088):fix a bug since rename jdbc components.

* TUP-40043 Tacokit widget can't restore to editable if revert context

* fix javajet after db uniform change which make component cid to tdbxxx

* TUP-40043 Tacokit widget can't restore to editable if revert context

* Fix can't retrieve table issue for the button beside Table field

* fix(TUP-40141):Snowflake node is not shown after importing

* Fix workday context issue

* feat(TUP-39967):"Query Type" and "Guess Query" for TCK JDBC

* TUP-40142 Tacokit JDBC - can not list connection parameters when export
as context using existed context
https://jira.talendforge.org/browse/TUP-40142

* feat(TUP-39073):[JDBC TCK]: reuse SQL builder when click button beside (#9068)

on "Query" field
https://jira.talendforge.org/browse/TUP-39073

* fix(TUP-40112):Add File/Directory widget for TCK components.

* fix(TUP-40144):new jdbc node is not shown in import wizard

* fix(TUP-40065):clean up all entrance of tcompv0 jdbc connector

* Fix TUP-39995 [bug] Guess schema fail for single store when use context
https://jira.talendforge.org/browse/TUP-39995

* Fix TUP-40124 TCK JDBC : list table do not work if use existing
connection
https://jira.talendforge.org/browse/TUP-40124

* Fix TUP-39944 [bug] Context can't load the correct driver class
https://jira.talendforge.org/browse/TUP-39944

* Fix TUP-39944 [bug] Context can't load the correct driver class
https://jira.talendforge.org/browse/TUP-39944

* Fix TUP-40197 [bug] select "Record type" failed after export to context
https://jira.talendforge.org/browse/TUP-40197

* Fix TUP-40197 [bug] select "Record type" failed after export to contexte

* Fix TUP-40124 TCK JDBC : list table do not work if use existing
connection

* TUP-40199 [bug] d&d netsuite from repository to job, can't load Version
and context not added also
https://jira.talendforge.org/browse/TUP-40199

* Fix TUP-40209 [bug] need remove Export to context for all tck dataset
https://jira.talendforge.org/browse/TUP-40209

* Update version for test

* support mapping file change apply

* Update for test

* fix(TUP-40230):[bug] isShow api return wrong result, that make code
generated wrong.

* add missing plugins

* fix(TUP-40060):[bug] Components list not correct when d&d SingleStore
connection/table into job

* fix(TUP-40212):[Bug] When drag jdbc metadata to job, there should be no
"tCreateTable" in component list.

* Fix TUP-39989 [bug] missing jar "mariadb-java-client" pop up when click
edit query button in job for singleStore context
https://jira.talendforge.org/browse/TUP-39989

* fix(TUP-40193):[Bug] Imported jdbc zip do not upgrade to the new tck
jdbc ok.

* Fix NPE error

* Fix TUP-40255 TCK JDBC connection when getName() is null
https://jira.talendforge.org/browse/TUP-40255

* TUP-40199 [bug] d&d netsuite from repository to job, can't load Version
and context not added also
https://jira.talendforge.org/browse/TUP-40199

* Fix TUP-40221 [bug] context not add into job when d&d dataset into job
https://jira.talendforge.org/browse/TUP-40221

* fix(TUP-39989):[bug] missing jar "mariadb-java-client" pop up when click (#9094)

fix(TUP-39989):[bug] missing jar "mariadb-java-client" pop up when click edit query button in job for singleStore context
null jar issue when not using context
https://jira.talendforge.org/browse/TUP-39989

* fix(TUP-40089):[bug] migration issue for stats&logs and Implicit
context.

* fix(TUP-40256):[bug] can not use unified tDBconnection and tDBClose for
Delta Lake and SingleSotre

* Fix TUP-40271
[JDBC TCK] tJDBCInput Guess query not escape for some DBs so job cannot
run
https://jira.talendforge.org/browse/TUP-40271

* Fix TUP-40224 [Bug]JDBC connection from 611 studio can not check pass
after import in lasted patch studio.

* schema guess issue fix

* allow set \r, \n and \r\n as parameter for tacokit

* fix(TUP-40282):tck jdbc components init failed in tuj

* fix(TUP-40287):should not show the cloud ui in studio.

* TUP-40296 The prompt function of JDBC connection not work
https://jira.talendforge.org/browse/TUP-40296

* fix(TUP-40256):[bug] can not use unified tDBconnection and tDBClose for
Delta Lake and SingleSotre

* fix(TUP-35447):[JDBC TCK]: Proxy not working when use guess schema.

* Fix junit error

* fix(TUP-40086):[bug] redundant page in jdbc creation wizard.

* Fix junit error

* build dist jar output

* Fix TUP-40306

[bug] after migrate, tjdbccomponent “auto commit” choice changed and run
job failed.

* fix(TUP-40192):[Bug] tJDBCinput>save the property to metadata can not
work.

* fix(TUP-40192):[Bug] tJDBCinput>save the property to metadata can not
work.

* fix(TUP-40316):[bug] schema of snowflake will not display under
snowflake node unless we do a refresh.

* Fix TUP-40372 [bug] ApacheKudu can't edit the parameter after revert
context

* Fix TUP-40371 [bug] ApacheKudu not change to context mode after the
metadata export to context in repository

* add dist jar

* Fix TUP-40383 [bug] context can't add for new created dataset after
export to context

* fix(TUP-40375):Additional jdbc components shouldn't be in the DND list
for JDBC metadata

* migration fix for tdeltalake and tsinglestore except tsinglestorebulk
components

* migration fix for tsinglestore bulk components

* fix(TUP-40410):[bug] Delta Lake and SingleStore can't select connection
when check "Use an existing connection"

* fix(TDI-50321): [JDBC TCK] tJDBCOutput Guess schema fail when there is
other subjob before output component and linked

* bug(TUP-40448):tJDBCConnection can't show 'Share DB connection name'
after checking 'Use or register a shared DB Connection'.

* fix(TDI-50384): The code generation of Table widget is wrong in the TCK
connectors

* fix(TDI-50289): schema change to build-in after migration

* fix(TDI-50394): [JDBC TCK] tSingleStoreInput cannot read data which just
load to server when running the whole job

* fix(TDI-50321): [JDBC TCK] tJDBCOutput Guess schema fail when there is
other subjob before output component and linked

* fix(TUP-40532):[JDBC TCK] Waring shown Schema`s DB type not correct
after importing old tujs

* more fix

* fix(TUP-40485):[JDBC TCK] No default parameter values for singlestore
and deltalake

* TUP-40566 TCK JDBC driver issue in context mode
https://jira.talendforge.org/browse/TUP-40566

* fix(TUP-40530):[JDBC TCK] Missing "Enable parallel execution" for
tDeltalakeOutput and tSingleStoreOutput.

* fix(TUP-40376):[JDBC TCK] Connection is missing when D&D SP to workspace

* Fix TUP-40293 [bug] Can't select table for some db after "import an
existing project"
https://jira.talendforge.org/browse/TUP-40293

* TUP-40566 TCK JDBC driver issue in context mode (Fix sql builder issue
with context) https://jira.talendforge.org/browse/TUP-40566

* fix(TUP-40485):[JDBC TCK] No default parameter values for singlestore
and deltalake

* Fix migration issue that resource was released

* Improve the code fix possible issue

* Fix TUP-40560 Only export simple fields with text controller to context
mode on TCK metadata
https://jira.talendforge.org/browse/TUP-40560

* fix(TCOMP-2552): support custom connection/close component icon for tck
connector in studio

* fix(TDI-50432): [JDBC TCK] The code generation of DB column is wrong for
JDBC TCK Connecotrs

* fix(TUP-40277):[Bug] tjdbcinput>component view: guess query type and
schema display issue.

* fix(TUP-40277):[Bug] tjdbcinput>component view: guess query type and
schema display issue.

* fix(TUP-40307):[bug] when export job, sap node and FakeGenericNode
display at the top of the repository list.

* fix(TDI-50433): [801 temp]Fail to send request to REST serivce with
tDBouput component

* Fix junit error part 1 (#9192)

* Fix junit error part 1

* feat(TUP-39073):[JDBC TCK]: reuse SQL builder when click button beside
on "Query" field
https://jira.talendforge.org/browse/TUP-39073

Co-authored-by: jding-tlnd <jding@talend.com>

* Fix a error

* fix(TUP-40657):Unable to import
BugTDI29716_tJDBCOutput_statusCatcherHung well.

* fix(TDI-50439): The code generation of the TCK connector's end part is
wrong if the TCK connector follows other Subjob with OnComponent* line

* fix(TDI-50432): [JDBC TCK] The code generation of DB column is wrong for
JDBC TCK Connecotrs

* Fix  TUP-40662 [Bug] NPE when click Edit queries for snowflake
connection
https://jira.talendforge.org/browse/TUP-40662

* fix(TUP-40396):[JDBC][TCK] If the JDBC component is dragged and dropped
from Metadata, the UI setting will be readonly after the first running

* fix(TUP-40616):[bug] "Update from repository connection" shows empty
filled parameters

* Fix TUP-40699 [bug] icon on import items pages not update
https://jira.talendforge.org/browse/TUP-40699

* fix(TUP-40616):[bug] "Update from repository connection" shows empty
filled parameters

* fix(TDI-50433): [801 temp]Fail to send request to REST serivce with
tDBouput component

* Revert "fix(TDI-50433): [801 temp]Fail to send request to REST serivce with tDBouput component"

This reverts commit e51f948146.

* fix(TDI-50459): [JDBC TCK]: Iterate line can't link to
tjdbcrow/tjdbcsp/tjdbccommit/tjdbcrollback/tjdbcclose components

* fix(TDI-50433): [801 temp]Fail to send request to REST serivce with
tDBouput component

---------

Co-authored-by: Zhiwei Xue <zwxue@talend.com>
Co-authored-by: Hongchun Yi <hcyi@talend.com>
Co-authored-by: Jane Ding <jding@talend.com>
Co-authored-by: wang wei <wwang@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: pyzhou <pyzhou@talend.com>
Co-authored-by: Oleksandr Zhelezniak <66320870+ozhelezniak-talend@users.noreply.github.com>
Co-authored-by: msjian <msjian@talend.com>
2023-11-02 17:58:08 +08:00
Jane Ding
3f1f9495a3 fix(TUP-36082):DetectCVE in Studio (#9170)
* fix(TUP-36082):DetectCVE in Studio
https://jira.talendforge.org/browse/TUP-36082

* fix(TUP-36082):DetectCVE in Studio
https://jira.talendforge.org/browse/TUP-36082

* fix(TUP-36082):DetectCVE in Studio
https://jira.talendforge.org/browse/TUP-36082

* fix(TUP-36082):DetectCVE in Studio
https://jira.talendforge.org/browse/TUP-36082

* fix(TUP-36082):DetectCVE in Studio
https://jira.talendforge.org/browse/TUP-36082

* fix(TUP-36082):DetectCVE in Studio
https://jira.talendforge.org/browse/TUP-36082

* fix(TUP-36082):DetectCVE in Studio
https://jira.talendforge.org/browse/TUP-36082
2023-11-02 17:54:01 +08:00
pyzhou
06c87d8edf feat(TDI-49973):tSchemaCompliance check string by byte length (#9140)
* feat(TDI-49973):tSchemaCompliance check string by byte length

* remove useless code
2023-10-30 16:37:06 +08:00
jzhao
f3f79aea29 fix(TDI-50291):tCyberarkInput output line optional (#9157) 2023-10-30 09:15:18 +08:00
Jane Ding
8640719bd5 Add localized files (#9198)
* Add localized files (#9197)

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

* Add localized files (#9196)

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-10-26 17:02:21 +08:00
Oleksandr Zhelezniak
2c1e96eca2 fix(TDI-50379): VerifyError with GoogleCredentials (#9159) 2023-10-26 10:55:47 +03:00
Oleksandr Zhelezniak
0013730512 fix(TDI-50347): tPop perf improvement (#9135)
* use bufferedOutputStream before writing into the file
2023-10-26 10:48:45 +03:00
zshen-talend
735e374149 fix(TBD-15665): make sure tHadoopConfManager support with java 11 (#9180) 2023-10-25 10:34:22 +08:00
Jane Ding
8415bd7cc9 fix(TUP-40295):Testcases with resource contexts fail when building job (#9145)
* fix(TUP-40295):Testcases with resource contexts fail when building job
in Studio
https://jira.talendforge.org/browse/TUP-40295

* fix(TUP-40295):Testcases with resource contexts fail when building job
in Studio
https://jira.talendforge.org/browse/TUP-40295
2023-10-24 19:29:36 +08:00
Jane Ding
5afb158f40 Add localized files (#9179)
* Add localized files (#9175)

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

* Add localized files (#9176)

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

* Add localized files (#9178)

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-10-20 14:53:45 +08:00
Oleksandr Zhelezniak
d19115a92e fix(TDI-50358): tGSPut can escape chars in filename (#9152)
* tGSPut can escape chars in filename
* change field label
2023-10-19 09:43:32 +03:00
Jane Ding
0fac5f128f Add localized files (#9162) (#9174)
Co-authored-by: Toshi Sasada <51699524+tsasada-talend@users.noreply.github.com>
Co-authored-by: build-talend-doc <build-talend-doc@talend.com>
2023-10-17 22:12:46 +08:00
Jane Ding
cd2debb8fe feat(TUP-39889):tJira and tSplunk migration to TCK (#9126)
* feat(TUP-39889):tJira and tSplunk migration to TCK
https://jira.talendforge.org/browse/TUP-39889

* feat(TUP-39889):tJira and tSplunk migration to TCK
https://jira.talendforge.org/browse/TUP-39889

* feat(TUP-39889):tJira and tSplunk migration to TCK
https://jira.talendforge.org/browse/TUP-39889

* feat(TUP-39889):tJira and tSplunk migration to TCK
https://jira.talendforge.org/browse/TUP-39889

* feat(TUP-39889):tJira and tSplunk migration to TCK
https://jira.talendforge.org/browse/TUP-39889

* feat(TUP-39889):tJira and tSplunk migration to TCK
https://jira.talendforge.org/browse/TUP-39889
2023-10-12 16:49:20 +08:00
Dmytro Sylaiev
cce55fd50c feat(TDI-49883): Add splunk migration (#8976)
* feat(TDI-50082): Add tcompv0 tck migration jira

* feat(TDI-50082): Add abstraction for tcompv0 migration

* feat(TDI-50082): Improve migration for bool and numbers

* feat(TDI-50082): Additional improvements

* Remove PROPERTIES node

* Remove useless code

* feat(TDI-49883): Add splunk migration

* feat(TDI-50082): Fix missing jql after migration

* feat(TDI-50082): Improve the migration to sanitize jql

* Migrate deleteSubtask checkbox

* feat(TDI-49883): Add new checkbox to migration

* feat(TDI-49883): Fix the migration

* after removing explicit batch properties we need to change a migration

* feat(TDI-49883): Remove checkbox from migration
2023-10-12 11:45:35 +03:00
Dmytro Sylaiev
15d5cb8534 feat(TDI-50082): Add tcompv0 tck migration jira (#8973)
* feat(TDI-50082): Add tcompv0 tck migration jira

* feat(TDI-50082): Add abstraction for tcompv0 migration

* feat(TDI-50082): Improve migration for bool and numbers

* feat(TDI-50082): Additional improvements

* Remove PROPERTIES node

* Remove useless code

* feat(TDI-50082): Fix missing jql after migration

* feat(TDI-50082): Improve the migration to sanitize jql

* Migrate deleteSubtask checkbox
2023-10-12 11:44:38 +03:00
vyu-talend
6fd3096f1e feat(TDI-46913):enable SSL in Oracle19c. (#9083)
* feat(TDI-46913):enable SSL in Oracle19c.

* feat(TDI-46913):fix mvn path error.
2023-10-12 02:38:33 -05:00
hzhao
6c4fb6eeb4 feat(TUP-40373): Update license agreement with the Qlik one (#9154)
* feat(TUP-40373): Update license agreement with the Qlik one

* feat(TUP-40373): dispose image and font / change url

* feat(TUP-40373): adjust for windows and linux
2023-10-12 14:49:05 +08:00
sbliu
d8e56c0821 fix(TUP-40042) fix problem 'sync validation action (TCK) doesn't work properly' (#9142) 2023-10-12 10:30:44 +08:00
Zhiwei Xue
58308e99f9 feat(TUP-40401):Enable Java 17 support (#9144) 2023-10-11 16:28:10 +08:00
apoltavtsev
290f738f89 APPINT-35122: Sync projects timestamp with patch build (#9149) 2023-10-09 19:47:43 +02:00
hcyi
f974cb0dc2 fix(TUP-40299):update message (#9124) 2023-10-09 10:06:15 +08:00
jzhao
b0a3cbc10b fix( TDI-49427):ServiceNow connector ignores proxy set globally in the job(#9110) 2023-10-08 11:21:14 +08:00
Jane Ding
466b3b9168 Add localized files (#9138)
* Add localized files (#9128)

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

* Add localized files (#9129)

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

* Add localized files (#9130)

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

* Add localized files (#9136)

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-10-07 11:38:54 +08:00
Jane Ding
80b698e8d1 feat(TUP-38803):[tELTPostgresMap7.3.1]The fields are not separated by (#9108)
* feat(TUP-38803):[tELTPostgresMap7.3.1]The fields are not separated by
comma when adding a group clause by in component tELTPostgresMap
https://jira.talendforge.org/browse/TUP-38803

* feat(TUP-38803):[tELTPostgresMap7.3.1]The fields are not separated by
comma when adding a group clause by in component tELTPostgresMap
https://jira.talendforge.org/browse/TUP-38803

* feat(TUP-38803):[tELTPostgresMap7.3.1]The fields are not separated by
comma when adding a group clause by in component tELTPostgresMap
https://jira.talendforge.org/browse/TUP-38803
2023-10-07 11:31:00 +08:00
sponomarova
79d60a2a8c Fix/tbd 15544 (#9077) 2023-10-05 18:44:40 +03:00
bhe-talendbj
a2ca6d172f fix(TUP-35626): Cannot retrieve module or table when password include "\" (#9097)
* fix(TUP-35626): return the password as it is, do not unescape password

* fix(TUP-35626): return the password as it is, do not unescape password

* fix(TUP-35626): minize impact

* fix(TUP-35626): minize impact

* fix(TUP-35626): escape special characters

* fix(TUP-35626): escape double quotes only
2023-09-28 21:31:30 +08:00
Jill Yan
28e78735b3 Jill/m80/appint-35870 (#9115)
* APPINT-35870 isEmpty can not filter a empty collection

* APPINT-35870 not collect datasource for deactived node

* Revert "APPINT-35870 isEmpty can not filter a empty collection"

This reverts commit 81a34e866a.

* APPINT-35870 not collect datasource for deactived node
2023-09-28 16:39:08 +08:00
Abdulhamid Rashankar
6744f0bb9e APPINT-35812: publishing a service as a release try to create twice the release (#9050) 2023-09-28 07:42:43 +02:00
apoltavtsev
0a422f524d APPINT-18113: Sync parameters of cKafka component (#9045)
* Update EmfComponent.java

* Update ElementParameter.java

* Update TextController.java

* Update TableController.java

* Update TableController.java

* Update TextController.java

* Update AbstractElementPropertySectionController.java

* Update TableController.java

* Update ColumnListController.java

* Update ComboController.java
2023-09-27 09:51:17 +02:00
pyzhou
d919f0ca6c fix(TDI-49606):tRunJob change label (#9125) 2023-09-27 14:54:03 +08:00
zyuan-talend
1f3a7ecde8 fix(TUP-40251): remove not used studio only org.talend.libraries. (#9111) 2023-09-26 16:53:29 +08:00
sbliu
07d3021d7a fix(TUP-38273) recovery the change for tcompv0 plugin (#9122) 2023-09-25 19:50:00 +08:00
sbliu
6aa673aff4 fix(TUP-38273) upgrade avro, replace org.apache.servicemix.bundles.avro with higer version 1.11.2 of avro bundle (#9004)
* fix(TUP-38273) upgrade avro, replace org.apache.servicemix.bundles.avro with higer version 1.11.2 of avro bundle (#8951)

* replace org.apache.servicemix.bundles.avro with avro bundle with higher version 1.11.2

* replace org.apache.servicemix.bundles.avro with avro for jetbean classpath

* set validate defaults to false to compatible with previous avro

* adapt for avro upgrade in case defaultvalue issue

* setValidateDefaults false to disable check default value

* update talend-codegen-utils 0.34.0 to 0.35.0
# Conflicts:
#	main/plugins/org.talend.designer.core.generic/META-INF/MANIFEST.MF
#	main/plugins/org.talend.designer.core/META-INF/MANIFEST.MF
#	main/plugins/org.talend.repository.generic/META-INF/MANIFEST.MF

* fix(TDI-49492): disable default value check (#8975)

* fix(TDI-49492): upgrade jackson to 2.14.3 (#8995)

* fix(TUP-38273) fix unit test failure caused by crypto-utils version not match (#9000)

* upgrade jackson for bigquery metadata

---------

Co-authored-by: wang wei <wwang@talend.com>
2023-09-25 14:50:33 +08:00
Jane Ding
64a73f19e7 Add localized files (#9116) (#9118)
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-21 18:58:09 +08:00
jiezhang-tlnd
af2df9217f chore(TUP-38631)CVE-2022-1471, snakeyaml:1.32-1.33 (#9074) 2023-09-21 17:15:10 +08:00
Jane Ding
13e54313da Add localized files (#9114)
* Add localized files (#9103)

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

* Add localized files (#9104)

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

* Add localized files (#9105)

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-20 16:33:31 +08:00
pyzhou
47c46997e4 feat(TDI-49606): tRunjob load context from file (#9069)
* feat(TDI-49606):tRunjob load context through tmp file

* encrypt pass

* remove test code

* add error message

* change logic

* delete tmp file

* compile error
2023-09-19 09:20:34 +08:00
mhryb
fc4d3dced3 fix(TDI-50060): add support of id_Date type in tFileInputPositional (#9039) 2023-09-15 17:39:57 +03:00
Oleksandr Zhelezniak
2ecfd9721a fix(TDI-49941): bump guava 32.1.2-jre (#9067) 2023-09-14 11:31:47 +08:00
apoltavtsev
87e2f6d579 APPINT-35898: Resolved ClassNotFound during Routelet deployment (#9101) 2023-09-13 21:01:07 +02:00
apoltavtsev
f7fafdfafe APPINT-35807: Compilation level for dependencies calculation is corre… (#9102) 2023-09-13 21:00:42 +02:00
Jill Yan
1a7d627354 Jill m80/APPINT-35837 (#9099)
* APPINT-35837 Correct dynamic settings

* APPINT-35837 Correct dynamic settings
2023-09-13 15:24:16 +08:00
Oleksandr Zhelezniak
f8a0cdcb02 chore(TDI-49822): change trove name (#9053) 2023-09-07 15:21:08 +03: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
1333 changed files with 25927 additions and 34820 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

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.talend.studio.components.tcompv0.jira.feature</name>
<name>org.talend.studio.components.tck.jdbc.feature</name>
<comment></comment>
<projects>
</projects>

View File

@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="UTF-8"?>
<feature
id="org.talend.studio.components.tck.jdbc.feature"
label="JDBC"
version="8.0.1.qualifier">
<description url="http://www.example.com/description">
JDBC
</description>
<copyright url="http://www.example.com/copyright">
[Enter Copyright Description here.]
</copyright>
<license url="http://www.example.com/license">
JDBC
Copyright (c) 2006-2021 Talend Inc. - www.talend.com
All rights reserved.
This product includes software developed at
GlassFish Community (https://glassfish.dev.java.net)
Licensed under the CDDL,GPL-2.0-only license.
This product includes software developed at
The Apache Software Foundation (http://jakarta.apache.org/)
Licensed under the Apache-2.0 license.
This product includes software developed at
FasterXML
Licensed under the Apache-2.0 license.
</license>
<requires>
<import plugin="org.talend.designer.maven.repo.tck"/>
<import plugin="org.talend.studio.components.tck.jdbc"/>
</requires>
</feature>

View File

@@ -7,6 +7,6 @@
<version>8.0.1-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.studio.components.tcompv0.jira.feature</artifactId>
<artifactId>org.talend.studio.components.tck.jdbc.feature</artifactId>
<packaging>eclipse-feature</packaging>
</project>

View File

@@ -1,23 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.talend.studio.components.tcompv0.splunk.feature</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.pde.FeatureBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
<nature>org.eclipse.pde.FeatureNature</nature>
</natures>
</projectDescription>
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.talend.studio.components.tck.jira.feature</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.pde.FeatureBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.pde.FeatureNature</nature>
</natures>
</projectDescription>

View File

@@ -0,0 +1,2 @@
bin.includes = feature.xml,\
p2.inf

View File

@@ -1,102 +1,91 @@
<?xml version="1.0" encoding="UTF-8"?>
<feature
id="org.talend.studio.components.tcompv0.jira.feature"
label="Jira"
version="8.0.1.qualifier">
<description url="http://www.example.com/description">
Jira component
</description>
<copyright url="http://www.example.com/copyright">
[Enter Copyright Description here.]
</copyright>
<license url="http://www.example.com/license">
Jira component
Copyright (c) 2006-2021 Talend Inc. - www.talend.com
All rights reserved.
This product includes software developed at
OPS4J - Open Participation Software for Java
Licensed under the Apache-2.0 license.
This product includes software developed at
GlassFish Community (https://glassfish.dev.java.net)
Licensed under the CDDL,GPL-2.0-only license.
This product includes software developed at
The Apache Software Foundation (http://jakarta.apache.org/)
Licensed under the Apache-2.0 license.
This product includes software developed at
FasterXML
Licensed under the Apache-2.0 license.
This product includes software developed at
OSGi Alliance (http://www.osgi.org/)
Licensed under the Apache-2.0 license.
This product includes software developed at
Joda.org (http://www.joda.org)
Licensed under the Apache-2.0 license.
This product includes software developed at
FasterXML (http://fasterxml.com)
Licensed under the JSON license.
This product includes software developed at
Google, Inc.
Licensed under the Apache-2.0 license.
This product includes software developed at
AddThis
Licensed under the Apache-2.0 license.
This product includes software developed at
SLF4J.ORG
Licensed under the MIT license.
This product includes software developed at
SLF4J.ORG
Licensed under the X11 license.
This product includes software developed at
JUnit
Licensed under the EPL-1.0 license.
This product includes software developed at
Seam Framework
Licensed under the Apache-2.0 license.
</license>
<requires>
<import plugin="org.talend.designer.maven.repo.tcompv0" version="0.0.0" match="greaterOrEqual"/>
</requires>
<plugin
id="org.talend.studio.components.tcompv0.jira"
download-size="0"
install-size="0"
version="0.0.0"/>
<plugin
id="org.talend.components.jira"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
</feature>
<?xml version="1.0" encoding="UTF-8"?>
<feature
id="org.talend.studio.components.tck.jira.feature"
label="Jira"
version="8.0.1.qualifier">
<description url="http://www.example.com/description">
Jira component
</description>
<copyright url="http://www.example.com/copyright">
[Enter Copyright Description here.]
</copyright>
<license url="http://www.example.com/license">
Jira component
Copyright (c) 2006-2021 Talend Inc. - www.talend.com
All rights reserved.
This product includes software developed at
OPS4J - Open Participation Software for Java
Licensed under the Apache-2.0 license.
This product includes software developed at
GlassFish Community (https://glassfish.dev.java.net)
Licensed under the CDDL,GPL-2.0-only license.
This product includes software developed at
The Apache Software Foundation (http://jakarta.apache.org/)
Licensed under the Apache-2.0 license.
This product includes software developed at
FasterXML
Licensed under the Apache-2.0 license.
This product includes software developed at
OSGi Alliance (http://www.osgi.org/)
Licensed under the Apache-2.0 license.
This product includes software developed at
Joda.org (http://www.joda.org)
Licensed under the Apache-2.0 license.
This product includes software developed at
FasterXML (http://fasterxml.com)
Licensed under the JSON license.
This product includes software developed at
Google, Inc.
Licensed under the Apache-2.0 license.
This product includes software developed at
AddThis
Licensed under the Apache-2.0 license.
This product includes software developed at
SLF4J.ORG
Licensed under the MIT license.
This product includes software developed at
SLF4J.ORG
Licensed under the X11 license.
This product includes software developed at
JUnit
Licensed under the EPL-1.0 license.
This product includes software developed at
Seam Framework
Licensed under the Apache-2.0 license.
</license>
<requires>
<import plugin="org.talend.designer.maven.repo.tck" version="0.0.0" match="greaterOrEqual"/>
<import plugin="org.talend.designer.maven.repo.tcksdk" version="0.0.0" match="greaterOrEqual"/>
<import plugin="org.talend.studio.components.tck.jira"/>
</requires>
</feature>

View File

@@ -0,0 +1,4 @@
properties.0.name=TALEND_COMPONENT_tJIRAInput
properties.0.value=
properties.1.name=TALEND_COMPONENT_tJIRAOutput
properties.1.value=

View File

@@ -7,6 +7,6 @@
<version>8.0.1-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.studio.components.tcompv0.splunk.feature</artifactId>
<artifactId>org.talend.studio.components.tck.jira.feature</artifactId>
<packaging>eclipse-feature</packaging>
</project>

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.talend.studio.components.tck.splunk.feature</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.pde.FeatureBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.pde.FeatureNature</nature>
</natures>
</projectDescription>

View File

@@ -0,0 +1,2 @@
bin.includes = feature.xml,\
p2.inf

View File

@@ -1,102 +1,91 @@
<?xml version="1.0" encoding="UTF-8"?>
<feature
id="org.talend.studio.components.tcompv0.splunk.feature"
label="Splunk"
version="8.0.1.qualifier">
<description url="http://www.example.com/description">
Splunk component
</description>
<copyright url="http://www.example.com/copyright">
[Enter Copyright Description here.]
</copyright>
<license url="http://www.example.com/license">
Splunk component
Copyright (c) 2006-2021 Talend Inc. - www.talend.com
All rights reserved.
This product includes software developed at
OPS4J - Open Participation Software for Java
Licensed under the Apache-2.0 license.
This product includes software developed at
GlassFish Community (https://glassfish.dev.java.net)
Licensed under the CDDL,GPL-2.0-only license.
This product includes software developed at
The Apache Software Foundation (http://jakarta.apache.org/)
Licensed under the Apache-2.0 license.
This product includes software developed at
FasterXML
Licensed under the Apache-2.0 license.
This product includes software developed at
OSGi Alliance (http://www.osgi.org/)
Licensed under the Apache-2.0 license.
This product includes software developed at
Joda.org (http://www.joda.org)
Licensed under the Apache-2.0 license.
This product includes software developed at
FasterXML (http://fasterxml.com)
Licensed under the JSON license.
This product includes software developed at
Google, Inc.
Licensed under the Apache-2.0 license.
This product includes software developed at
AddThis
Licensed under the Apache-2.0 license.
This product includes software developed at
SLF4J.ORG
Licensed under the MIT license.
This product includes software developed at
SLF4J.ORG
Licensed under the X11 license.
This product includes software developed at
JUnit
Licensed under the EPL-1.0 license.
This product includes software developed at
Seam Framework
Licensed under the Apache-2.0 license.
</license>
<requires>
<import plugin="org.talend.designer.maven.repo.tcompv0" version="0.0.0" match="greaterOrEqual"/>
</requires>
<plugin
id="org.talend.studio.components.tcompv0.splunk"
download-size="0"
install-size="0"
version="0.0.0"/>
<plugin
id="org.talend.components.splunk"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
</feature>
<?xml version="1.0" encoding="UTF-8"?>
<feature
id="org.talend.studio.components.tck.splunk.feature"
label="Splunk"
version="8.0.1.qualifier">
<description url="http://www.example.com/description">
Splunk component
</description>
<copyright url="http://www.example.com/copyright">
[Enter Copyright Description here.]
</copyright>
<license url="http://www.example.com/license">
Splunk component
Copyright (c) 2006-2021 Talend Inc. - www.talend.com
All rights reserved.
This product includes software developed at
OPS4J - Open Participation Software for Java
Licensed under the Apache-2.0 license.
This product includes software developed at
GlassFish Community (https://glassfish.dev.java.net)
Licensed under the CDDL,GPL-2.0-only license.
This product includes software developed at
The Apache Software Foundation (http://jakarta.apache.org/)
Licensed under the Apache-2.0 license.
This product includes software developed at
FasterXML
Licensed under the Apache-2.0 license.
This product includes software developed at
OSGi Alliance (http://www.osgi.org/)
Licensed under the Apache-2.0 license.
This product includes software developed at
Joda.org (http://www.joda.org)
Licensed under the Apache-2.0 license.
This product includes software developed at
FasterXML (http://fasterxml.com)
Licensed under the JSON license.
This product includes software developed at
Google, Inc.
Licensed under the Apache-2.0 license.
This product includes software developed at
AddThis
Licensed under the Apache-2.0 license.
This product includes software developed at
SLF4J.ORG
Licensed under the MIT license.
This product includes software developed at
SLF4J.ORG
Licensed under the X11 license.
This product includes software developed at
JUnit
Licensed under the EPL-1.0 license.
This product includes software developed at
Seam Framework
Licensed under the Apache-2.0 license.
</license>
<requires>
<import plugin="org.talend.designer.maven.repo.tck" version="0.0.0" match="greaterOrEqual"/>
<import plugin="org.talend.designer.maven.repo.tcksdk" version="0.0.0" match="greaterOrEqual"/>
<import plugin="org.talend.studio.components.tck.splunk"/>
</requires>
</feature>

View File

@@ -0,0 +1,2 @@
properties.0.name=TALEND_COMPONENT_tSplunkEventCollector
properties.0.value=

View File

@@ -7,6 +7,6 @@
<version>8.0.1-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.designer.components.exchange</artifactId>
<packaging>eclipse-plugin</packaging>
<artifactId>org.talend.studio.components.tck.splunk.feature</artifactId>
<packaging>eclipse-feature</packaging>
</project>

View File

@@ -1 +0,0 @@
bin.includes = feature.xml

View File

@@ -17,14 +17,14 @@
</license>
<requires>
<import feature="org.talend.studio.components.tck.jira.feature" version="0.0.0" match="greaterOrEqual"/>
<import feature="org.talend.studio.components.tck.splunk.feature" version="0.0.0" match="greaterOrEqual"/>
<import feature="org.talend.studio.components.tcompv0.jdbc.feature" version="0.0.0" match="greaterOrEqual"/>
<import feature="org.talend.studio.components.tcompv0.netsuite.feature" version="0.0.0" match="greaterOrEqual"/>
<import feature="org.talend.studio.components.tcompv0.googledrive.feature" version="0.0.0" match="greaterOrEqual"/>
<import feature="org.talend.studio.components.tcompv0.marketo.feature" version="0.0.0" match="greaterOrEqual"/>
<import feature="org.talend.studio.components.tcompv0.azurestorage.feature" version="0.0.0" match="greaterOrEqual"/>
<import feature="org.talend.studio.components.tcompv0.snowflake.feature" version="0.0.0" match="greaterOrEqual"/>
<import feature="org.talend.studio.components.tcompv0.jira.feature" version="0.0.0" match="greaterOrEqual"/>
<import feature="org.talend.studio.components.tcompv0.splunk.feature" version="0.0.0" match="greaterOrEqual"/>
<import feature="org.talend.studio.components.tcompv0.salesforce.feature" version="0.0.0" match="greaterOrEqual"/>
<import feature="org.talend.esb.tooling.ws.consumer.feature" version="0.0.0" match="greaterOrEqual"/>
<import plugin="biz.aQute.bnd.annotation" version="0.0.0" match="greaterOrEqual"/>
@@ -84,7 +84,7 @@
unpack="false"/>
<plugin
id="org.talend.components.jira"
id="org.talend.studio.components.tck.jira"
download-size="0"
install-size="0"
version="0.0.0"
@@ -119,7 +119,7 @@
unpack="false"/>
<plugin
id="org.talend.components.splunk"
id="org.talend.studio.components.tck.splunk"
download-size="0"
install-size="0"
version="0.0.0"
@@ -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"
@@ -248,12 +242,18 @@
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
<plugin
id="org.talend.designer.esb.components.rs.consumer"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="org.talend.studio.components.tck.jdbc"
download-size="0"
install-size="0"
version="0.0.0"/>
</feature>

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

@@ -87,12 +87,12 @@
"tIngresConnection",
"tInterbaseConnection",
"tJDBCConnection",
"JDBCConnection",
"tMSSqlConnection",
"tMysqlConnection",
"tNetezzaConnection",
"tOracleConnection",
"tParAccelConnection",
"tPostgresPlusConnection",
"tPostgresqlConnection",
"tRedshiftConnection",
"tSQLiteConnection",
@@ -786,7 +786,7 @@
//print info and job continue to run, for case: context_param is not empty.
System.err.println("Could not find the context " + contextStr);
}
if(!context_param.isEmpty()) {
context.putAll(context_param);
//set types for params from parentJobs
@@ -968,7 +968,7 @@
<%if(isLog4jEnabled && isLog4j2Enabled) {%>
<%=MDC_CLASS%>.put("_context", contextStr);
log.info("TalendJob: '<%=codeGenArgument.getJobName()%>' - Started.");
mdcInfo.putAll(<%=MDC_CLASS%>.getCopyOfContextMap());
java.util.Optional.ofNullable(<%=MDC_CLASS%>.getCopyOfContextMap()).ifPresent(mdcInfo::putAll);
<%}%>
<%
@@ -1870,6 +1870,31 @@ if (execStat) {
context_param.put(keyValue.substring(0, index), keyValue.substring(index + 1) );
}
}
} else if (arg.startsWith("--context_file")) {
String keyValue = arg.substring(15);
String filePath = new String(java.util.Base64.getDecoder().decode(keyValue));
java.nio.file.Path contextFile = java.nio.file.Paths.get(filePath);
try (java.io.BufferedReader reader = java.nio.file.Files.newBufferedReader(contextFile)) {
String line;
while ((line = reader.readLine()) != null) {
int index = -1;
if ( (index = line.indexOf('=')) > -1) {
if (line.startsWith("--context_param")) {
if ("id_Password".equals(context_param.getContextType(line.substring(16, index)))) {
context_param.put(line.substring(16, index), routines.system.PasswordEncryptUtil.decryptPassword(
line.substring(index + 1)));
} else {
context_param.put(line.substring(16, index), line.substring(index + 1));
}
}else {//--context_type
context_param.setContextType(line.substring(15, index), line.substring(index + 1));
}
}
}
} catch (java.io.IOException e) {
System.err.println("Could not load the context file: " + filePath);
e.printStackTrace();
}
} else if (arg.startsWith("--log4jLevel=")) {
log4jLevel = arg.substring(13);
} else if (arg.startsWith("--audit.enabled") && arg.contains("=")) {//for trunjob call

View File

@@ -121,9 +121,7 @@ if(hasInput){
dm_<%=cid%>.getFormat(),
dm_<%=cid%>.getDescription(),
dm_<%=cid%>.isNullable(),
dm_<%=cid%>.isKey(),
dm_<%=cid%>.getLength(),
dm_<%=cid%>.getPrecision());
dm_<%=cid%>.isKey());
}
incomingEnforcer_<%=cid%>.createRuntimeSchema();
}

View File

@@ -138,7 +138,7 @@
SchemaSettingTool_<%=cid%>_<%=schemaIndex%>_<%=classNameTail%> sst_<%=cid%>_<%=schemaIndex%>_<%=classNameTail%> = new SchemaSettingTool_<%=cid%>_<%=schemaIndex%>_<%=classNameTail%>();
props_<%=cid %><%=propInfo.fieldName%>.setValue("<%=property.getName()%>",
new org.apache.avro.Schema.Parser().parse(sst_<%=cid%>_<%=schemaIndex%>_<%=classNameTail%>.getSchemaValue()));
new org.apache.avro.Schema.Parser().setValidateDefaults(false).parse(sst_<%=cid%>_<%=schemaIndex%>_<%=classNameTail%>.getSchemaValue()));
<%
} else if (!(value instanceof String) || !((String)value).equals("")) {
%>

View File

@@ -224,7 +224,7 @@ public static class <%=conn.getName() %>Struct<%=templateOrigin %> implements ro
<% if (column.getOriginalDbColumnName() == null) { %>
return null;
<% } else { %>
return "<%=TalendTextUtils.escapeJavaText(TalendTextUtils.removeQuotes(column.getOriginalDbColumnName()))%>";
return "<%=TalendTextUtils.escapeJavaText(column.getOriginalDbColumnName())%>";
<% } %>
}
@@ -1098,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);
@@ -1430,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);

View File

@@ -599,6 +599,13 @@ public class CodeGenerator implements ICodeGenerator {
} else {
// if (!isIterate) {
if (isTacokitProcessor(node)) {
codeComponent.append(generateComponentCode(subProcess, node, ECodePart.PROCESS_RECORDS_END, incomingName, typeGen));
codeComponent.append(generateComponentCode(subProcess, node, ECodePart.PROCESS_DATA_BEGIN, incomingName, typeGen));
codeComponent.append(generatesTreeCode(subProcess, node, ECodePart.MAIN, typeGen));
codeComponent.append(generateComponentCode(subProcess, node, ECodePart.PROCESS_DATA_END, incomingName, typeGen));
}
codeComponent.append(generateComponentCode(subProcess, node, ECodePart.END, incomingName, typeGen));
// }
if (node.getComponent() instanceof Component) {
@@ -629,12 +636,6 @@ public class CodeGenerator implements ICodeGenerator {
}
}
if (isTacokitProcessor(node)) {
codeComponent.append(generateComponentCode(subProcess, node, ECodePart.PROCESS_RECORDS_END, incomingName, typeGen));
codeComponent.append(generateComponentCode(subProcess, node, ECodePart.PROCESS_DATA_BEGIN, incomingName, typeGen));
codeComponent.append(generatesTreeCode(subProcess, node, ECodePart.MAIN, typeGen));
codeComponent.append(generateComponentCode(subProcess, node, ECodePart.PROCESS_DATA_END, incomingName, typeGen));
}
codeComponent.append(generatesTreeCode(subProcess, node, part, typeGen));
// if (isIterate) {
// codeComponent.append(generateComponentCode(node,
@@ -655,11 +656,14 @@ public class CodeGenerator implements ICodeGenerator {
return codeComponent;
}
private static final String TACOKIT_PROCESSOR_CODE_DIR = "tacokit/jet_stub/generic/processor";
private boolean isTacokitProcessor(final INode node) {
return "org.talend.sdk.component.studio.ComponentModel".equals(node.getComponent().getClass().getName())
&& !NodeUtil.getIncomingConnections(node, IConnectionCategory.DATA).isEmpty(); //has input data
final String componentModelClass = node.getComponent().getClass().getName();
return ("org.talend.sdk.component.studio.ComponentModel".equals(componentModelClass) || "org.talend.sdk.component.studio.AdditionalJDBCComponentModel".equals(componentModelClass))
&& (!NodeUtil.getIncomingConnections(node, IConnectionCategory.DATA).isEmpty() || TACOKIT_PROCESSOR_CODE_DIR.equals(node.getComponent().getTemplateFolder()));
}
private StringBuffer generateSeperateEndCode(NodesSubTree subProcess, INode node, String incomingName, ETypeGen typeGen)
throws CodeGeneratorException {
StringBuffer codeComponent = new StringBuffer();

View File

@@ -59,7 +59,9 @@ import org.talend.core.model.components.IComponentsFactory;
import org.talend.core.model.components.IComponentsHandler;
import org.talend.core.model.components.filters.ComponentsFactoryProviderManager;
import org.talend.core.model.components.filters.IComponentFactoryFilter;
import org.talend.core.runtime.services.IGenericService;
import org.talend.core.runtime.util.ComponentsLocationProvider;
import org.talend.core.service.ITCKUIService;
import org.talend.core.ui.IJobletProviderService;
import org.talend.core.ui.ISparkJobletProviderService;
import org.talend.core.ui.ISparkStreamingJobletProviderService;
@@ -73,6 +75,7 @@ import org.talend.designer.core.model.components.EmfComponent;
import org.talend.designer.core.model.process.AbstractProcessProvider;
import org.talend.designer.core.model.process.GenericProcessProvider;
import org.talend.designer.core.ui.editor.jobletcontainer.JobletUtil;
import org.talend.designer.core.utils.UnifiedComponentUtil;
/**
* Component factory that look for each component and load their information. <br/>
@@ -231,7 +234,15 @@ public class ComponentsFactory implements IComponentsFactory {
if (StringUtils.isEmpty(componentName)) {
continue;
}
if (IGenericService.getService().isTcompv0(component)
&& (UnifiedComponentUtil.isAdditionalJDBCComponent(component.getName())
|| component.getName().contains(ITCKUIService.get().getTCKJDBCType().getLabel()))) {
continue;
}
String componentNameLowerCase = componentName.toLowerCase();
if (componentNameLowerCase.startsWith(ITCKUIService.get().getTCKJDBCType().getLabel().toLowerCase())) {
componentNameLowerCase = "t" + componentNameLowerCase;
}
Map<String, Set<IComponent>> map = componentNameMap.get(componentNameLowerCase);
if (map == null) {
map = new HashMap<String, Set<IComponent>>();

View File

@@ -378,7 +378,7 @@ public class TalendJetEmitter extends JETEmitter {
// Construct a proper URL for relative lookup.
//
URL url = new File(project.getLocation() + "/" + "runtime" + "/") //$NON-NLS-1$ //$NON-NLS-2$
.toURL();
.toURI().toURL();
URLClassLoader theClassLoader = new URLClassLoader(new URL[] { url }, jetEmitter.classLoader);
Class theClass = theClassLoader.loadClass((packageName.length() == 0 ? "" : packageName + ".") //$NON-NLS-1$ //$NON-NLS-2$
+ jetCompiler.getSkeleton().getClassName());
@@ -633,7 +633,7 @@ public class TalendJetEmitter extends JETEmitter {
final IWorkspace workspace = ResourcesPlugin.getWorkspace();
IProject project = workspace.getRoot().getProject(projectName);
URL url = new File(project.getLocation() + "/runtime").toURL(); //$NON-NLS-1$
URL url = new File(project.getLocation() + "/runtime").toURI().toURL(); //$NON-NLS-1$
currentClassLoader = jetbean.getClassLoader();
theClassLoader = new URLClassLoader(new URL[] { url }, jetbean.getClassLoader());
}

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$
@@ -540,7 +564,7 @@ public final class CodeGeneratorEmittersPoolFactory {
JetBean jetBean = new JetBean(componentsPath, templateURI, "component", component.getVersion(), //$NON-NLS-1$
"", codePart.getName());//$NON-NLS-1$
addCommonLibs(jetBean);
jetBean.addClassPath("AVRO", "org.apache.servicemix.bundles.avro"); //$NON-NLS-1$ //$NON-NLS-2$
jetBean.addClassPath("AVRO", "avro"); //$NON-NLS-1$ //$NON-NLS-2$
for (String pluginDependency : component.getPluginDependencies()) {
jetBean.addClassPath(pluginDependency.toUpperCase().replaceAll("\\.", "_") + "_LIBRARIES", pluginDependency); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$

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,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\u9805\u76EE\u3092\uFF11\u3064\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044...
ImportExchangeDialog.downloadProgressBar=\u9805\u76EE\u3092\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9\u4E2D\u3067\u3059\u3002\u3057\u3070\u3089\u304F\u304A\u5F85\u3061\u304F\u3060\u3055\u3044!
ImportExchangeDialog.EXTENSION_NAME=\u62E1\u5F35\u5B50\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;
}
}

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