Compare commits

...

473 Commits

Author SHA1 Message Date
wang wei
4a6355c1d6 TDI-36765: Datasource in DI jobs is always a singleton and violates the
DataSource approach
https://jira.talendforge.org/browse/TDI-36765
2016-08-01 16:25:38 +08:00
wchen-talend
7cbaa20bcc Merge pull request #588 from Talend/bugfix/6.3/TBD-3869_Column_family_missing_when_dragging_hbase
TBD-3869:Column family is missing when dragging hbase retrived table to a job.
2016-07-29 17:24:04 +08:00
GGu
e192c99df5 Merge pull request #589 from joclaude/master
TDM-5232 tHMap: replace separate zip files under __tdm by resources i…
2016-07-28 15:14:41 +08:00
jclaude
bee5670d43 TDM-5232 tHMap: replace separate zip files under __tdm by resources in the jar archive 2016-07-27 11:05:05 +02:00
hcyi
20a011789c TBD-3869:Column family is missing when dragging hbase retrived table to
a job.
2016-07-27 16:59:04 +08:00
Pierre Teyssier
eade2f545b Merge pull request #583 from Talend/bugfix/6.3/TDI-35990_tFileInputJSON_no_getter_for_field_scale
TDI-35990: updated accessors-smart library version.
2016-07-27 12:34:16 +08:00
wchen-talend
1dbe20acd0 TUP-4474:"Export items" can not show when right click on Recycle bin 2016-07-27 11:45:33 +08:00
zwxue
363701da2a Merge pull request #585 from Talend/bugfix/master/TDI-36487
TDI-36487:joblet in a test case does not update context
2016-07-27 09:51:26 +08:00
Chao Meng
936e8d6779 Merge pull request #584 from Talend/bugFix/6.2/TDI-36791-ELT_Map_queries_compilation_error_with_quotes
Bug fix/6.2/tdi 36791 elt map queries compilation error with quotes
2016-07-26 11:00:39 +08:00
nrousseau
a8af0b3967 fix junit setup 2016-07-26 10:37:53 +08:00
hwang
1d6e4b89c7 TDI-36487:joblet in a test case does not update context 2016-07-25 16:26:18 +08:00
GL
c3a34fa06b TDI-36791 fix add Junit: ELT Map queries : compilation error with quotes
https://jira.talendforge.org/browse/TDI-36791
2016-07-25 11:09:21 +08:00
GL
a204e266e8 TDI-36791 fix: ELT Map queries : compilation error with quotes
https://jira.talendforge.org/browse/TDI-36791
2016-07-25 11:08:59 +08:00
hcyi
1583ef21f4 Merge pull request #580 from Talend/bugfix/6.3.0/TDI-36897_teradata_query
TDI-36897:Auto Generated Query isn't correct after Drag teradata schema
2016-07-25 10:11:18 +08:00
Dmytro Chmyga
d44b86af81 TDI-35990: updated accessors-smart library version. 2016-07-22 14:00:43 +03:00
ycbai
cf9e90ac86 Revert "TUP-5071: add a migration task to revise the existing wrong migration tasks of project."
This reverts commit 2932bb3374.
2016-07-22 17:32:18 +08:00
nrousseau
ba7917f9be Merge pull request #582 from Talend/bugfix/6.2/TUP-5071_addMigTaskToReviseWrongMigTasks
TUP-5071: add a migration task to revise the existing wrong migration tasks of project.
2016-07-22 16:14:28 +08:00
ycbai
2932bb3374 TUP-5071: add a migration task to revise the existing wrong migration
tasks of project.
2016-07-22 15:57:21 +08:00
wdliu
8754ee78a3 Merge pull request #581 from Talend/bugFix/6.3.0/TUP-3675_Components_search
Bug fix/6.3.0/tup 3675 components search
2016-07-22 15:38:16 +08:00
cmeng-talend
40369afa01 TUP-3675 fix: Editor auto-completion does not list all matching results
when it founds one complete match
https://jira.talendforge.org/browse/TUP-3675
2016-07-22 15:14:55 +08:00
cmeng-talend
6147cd4fd5 TUP-3675 fix: Editor auto-completion does not list all matching results
when it founds one complete match
https://jira.talendforge.org/browse/TUP-3675

Add junit
2016-07-22 14:58:37 +08:00
cmeng-talend
30ce0fe8f0 TUP-3675 fix: Editor auto-completion does not list all matching results
when it founds one complete match
https://jira.talendforge.org/browse/TUP-3675
2016-07-22 14:58:26 +08:00
cmeng-talend
63da480fd5 TUP-3675 fix: Editor auto-completion does not list all matching results
when it founds one complete match
https://jira.talendforge.org/browse/TUP-3675
2016-07-22 14:57:52 +08:00
nrousseau
3b6c082f10 add missing tests plugins to junit product 2016-07-22 12:28:15 +08:00
cmeng-talend
74e872e53e TUP-3675 fix: Editor auto-completion does not list all matching results
when it founds one complete match
https://jira.talendforge.org/browse/TUP-3675
2016-07-21 17:46:54 +08:00
wchen-talend
b4d50a9f71 TDI-36897:Auto Generated Query isn't correct after Drag teradata schema
to job as tTeradataInput
2016-07-21 17:36:38 +08:00
zwxue
d57539c4a5 Merge pull request #560 from Talend/bugfix/master/TDI-36618
TDI-36618:Sunfire-reports contain testcase which is already deleted.
2016-07-21 14:32:26 +08:00
nrousseau
ed28e46cd0 fix wrong setup of manifest 2016-07-21 11:13:46 +08:00
Pierre Teyssier
74673515fe Merge pull request #543 from Talend/bugfix/TUP-2594_set_globalMap_before_doZip
TUP-2594: Populate tFileArchive_1_ARCHIVE_FILEPATH before attempting doZip
2016-07-21 01:57:37 +08:00
Pierre Teyssier
9b1da023ae Merge pull request #576 from Talend/bugfix/6.3/TDI-36579_tSoap_Need_authentication_uneffective
TDI-36579: tSoap need authentication uneffective
2016-07-19 18:50:08 +08:00
Dmytro Chmyga
c7e727e9ac TDI-36579: added automated talend-soap lib build. 2016-07-19 11:29:38 +03:00
Haiting Yin
adf11989f4 TMDM-9703 tMDMInput with one filter return different records size by different batch size (#559) 2016-07-19 15:48:22 +08:00
nrousseau
e27178ff14 Merge pull request #570 from Talend/bugfix/6.2/TDI-36865_fixDateTypeContextProblem
TDI-36865: Start Date and End Date of components tSalesforceGetUpdate and tSalesforceGetDelete NOT support context
2016-07-18 16:03:02 +08:00
ycbai
2f2f7db107 TDI-36865: Start Date and End Date of components tSalesforceGetUpdate
and tSalesforceGetDelete NOT support context
2016-07-18 14:59:57 +08:00
zwxue
1a9ff8a9c2 Merge pull request #566 from Talend/bugfix/master/TUP-4175
TUP-4175:Export with dependencies fails to select (and export)
2016-07-18 14:57:53 +08:00
nrousseau
2a98f6d67f Merge pull request #569 from Talend/bugfix/6.3/TUP-4922
TUP-4922: CI-Builder to support Talend Reference Projects
2016-07-18 11:53:33 +08:00
Chao Meng
afd09b3dd0 Merge pull request #562 from Talend/bugFix/6.2.2/TUP-5010-Password_field_show_asterisk_when_using_context_password_context_token
TUP-5010 fix: Password field show *** when using
2016-07-18 11:01:34 +08:00
GGu
ecb4e8bfef TUP-4922: If resources folder is not existed, will create it 2016-07-18 10:40:28 +08:00
Pierre Teyssier
96b15fb3bb Merge pull request #564 from Talend/bugfix/6.3/TDI-35990_tFileInputJSON_no_getter_for_field_scale
TDI-35990: changed version of json-smart lib to 2.2.1.
2016-07-15 17:51:55 +08:00
Chao Meng
a7d84fb98a Merge pull request #565 from Talend/bugfix/6.2/TUP-4565_passwordFieldDisplayProblem
TUP-4565: Component Framework :Salesforce:"password" and "security key" do not show in context mode after export to context.
2016-07-15 15:04:07 +08:00
hwang
32ae8025c0 TUP-4175:Export with dependencies fails to select (and export)
dependencies
2016-07-14 17:11:22 +08:00
ycbai
28a808ea8b TUP-4565: Component Framework :Salesforce:"password" and "security key"
do not show in context mode after export to context.
2016-07-14 15:32:26 +08:00
Dmytro Chmyga
2b883bc0a4 TDI-35990: changed version of json-smart lib to 2.2.1. 2016-07-13 12:01:06 +03:00
Pierre Teyssier
74f6b0e7ab Merge pull request #553 from Talend/bugfix/6.2.2/TDI-36790
bugfix/6.2.2/TDI-36790 : tPOP rise ArrayIndexOutOfBoundsException when
2016-07-12 16:57:56 +08:00
Pierre Teyssier
f7bdc87616 Merge pull request #540 from Talend/bugfix/6.2.2/TUP-4925
bugfix/6.2.2/TUP-4925 : The code of method
2016-07-12 16:43:47 +08:00
Pierre Teyssier
57e6abae9a Merge pull request #554 from Talend/bugfix/6.3/TUP-4979_file_not_deleted
TUP-4979: added closing of FileInputStream to release it.
2016-07-12 08:39:39 +08:00
Dmytro Chmyga
bb8ba7a5c4 TDI-36579: added authorization header to soap request. 2016-07-11 16:12:40 +03:00
Chao Meng
90705e3a3f Merge pull request #563 from Talend/bugfix/6.3/TUP-5009_fixHadoopPropertiesContextProblem
TUP-5009: [6.1.1] Export Context on Metadata Hadoop Connection erroneous
2016-07-11 18:31:45 +08:00
wchen-talend
6662be5286 Merge pull request #557 from Talend/bugfix/6.2/TBD-3224_Hive_guess_schema_fail
TBD-3224:[6.1.1] Hive Guess schema button not returning back error
2016-07-11 18:01:05 +08:00
Dmytro Chmyga
5bab6e461d TUP-4979: added logging for exceptions during streams closing. 2016-07-11 12:36:22 +03:00
ycbai
56c6d3fa65 TUP-5009: [6.1.1] Export Context on Metadata Hadoop Connection erroneous
behavior when HA properties
2016-07-11 16:12:01 +08:00
GL
5f282bdaf7 TUP-5010 fix: Password field show *** when using
context.password+context.token
https://jira.talendforge.org/browse/TUP-5010
2016-07-11 14:53:42 +08:00
hcyi
ad73126ecb Merge pull request #561 from Talend/bugfix/6.3.0/TDI-36560_used_column_order
TDI-36560:The order of schema changed when ticked "used column" again
2016-07-11 10:24:26 +08:00
wdliu
d075e13a9e Merge pull request #555 from Talend/bugFix/6.2.2/TDI-35811-Delete_job_in_ref_project
TDI-35811 fix: Studio throw NPE error if you delete a job in referrence project and try to open the job by trunjob in main project.
2016-07-11 10:11:17 +08:00
nrousseau
ae97a93f1e update tests 2016-07-09 16:00:49 +08:00
pxmiao
ac276e57a5 bugfix/6.2.2/TUP-4925 : The code of method
tMSSqlInput_3Process(Map<String,Object>) is exceeding the 65535 bytes
limit
https://jira.talendforge.org/browse/TUP-4925
2016-07-08 18:25:20 +08:00
wchen-talend
390f0a4b56 TDI-36560:The order of schema changed when ticked "used column" again 2016-07-08 17:08:52 +08:00
hcyi
c679559586 Merge pull request #556 from Talend/bugfix/6.2.2/TDI-36497_missing_jar_when_build_webservice
TDI-36497:Jar Missing when build Job as :Axis WebService(ZIP)
2016-07-08 15:15:23 +08:00
hwang
48e289c85b TDI-36618:Sunfire-reports contain testcase which is already deleted. 2016-07-08 14:30:34 +08:00
hcyi
0d769c7dfa Merge pull request #558 from Talend/bugfix/6.2.2/TUP-4474_export_action
TUP-4474:"Export items" can not show when right click on Recycle bin
2016-07-07 18:29:50 +08:00
wchen-talend
25abe3668a TUP-4474:"Export items" can not show when right click on Recycle bin 2016-07-07 16:13:41 +08:00
hcyi
b7510b3761 TBD-3224:[6.1.1] Hive Guess schema button not returning back error 2016-07-07 16:01:15 +08:00
wang wei
ea86412e78 Revert "TDI-36822: NPE in tDatasetOutput when performing a full run on a live dataset https://jira.talendforge.org/browse/TDI-36822"
This reverts commit ffc901f022.
2016-07-06 17:18:34 +08:00
hcyi
f5dedb6ef6 Merge pull request #548 from Talend/bugfix/6.2.2/TDI-35713_tWebService_cannot_parse_wsdl
TDI-35713:tWebService component can't parse WSDL
2016-07-06 15:52:11 +08:00
Irene Wang
fa67dc5b6c Update versions to 6.3.0-SNAPSHOT 2016-07-05 20:02:58 +02:00
Irene Wang
e924ba55cd Update versions to 6.2.2-SNAPSHOT 2016-07-05 14:26:13 +02:00
Irene Wang
c06b83211a DEVOPS-667 Update NOTICE file 2016-07-05 12:04:42 +02:00
cmeng-talend
da403615df TDI-35811 fix: Studio throw NPE error if you delete a job in referrence
project and try to open the job by trunjob in main project.
https://jira.talendforge.org/browse/TDI-35811
2016-07-05 17:08:06 +08:00
wchen-talend
4b3aab3ff5 TDI-36497:Jar Missing when build Job as :Axis WebService(ZIP) 2016-07-05 16:52:17 +08:00
zwxue
7b0c15ec43 Merge pull request #531 from Talend/bugfix/master/TDI-36720
TDI-36720:"Edit Routine Libraries" can't import the external jar
2016-07-05 11:46:53 +08:00
hwang-talend
1a9f2638fb Merge pull request #544 from Talend/bugfix/master/TDI-36621
TDI-36621: Always ask propagate enven sync the schema on tELTHiveMap.
2016-07-05 10:16:14 +08:00
Dmytro Chmyga
bf52e9f09d TUP-4979: added closing of FileInputStream to release it. 2016-07-04 14:31:32 +03:00
Chao Meng
84576414db Merge pull request #551 from Talend/bugs/6.2.1/TUP-4998_Git_There_is_error_when
TUP-4998:Git:There is error when logon branch
2016-07-04 19:05:39 +08:00
nrousseau
6a21ac8e96 TDI-36770: fix dirty on routines 2016-07-04 18:40:09 +08:00
Pierre Teyssier
af181f0d03 Merge pull request #552 from Talend/bug/6.2/TDI-36822
TDI-36822: NPE in tDatasetOutput when performing a full run on a live
2016-07-04 18:20:30 +08:00
wang wei
ffc901f022 TDI-36822: NPE in tDatasetOutput when performing a full run on a live
dataset
https://jira.talendforge.org/browse/TDI-36822
2016-07-04 18:15:17 +08:00
wdliu
6a95895317 TUP-4998:Git:There is error when logon branch 2016-07-04 18:04:24 +08:00
pxmiao
c1f5d46f42 bugfix/6.2.2/TDI-36790 : tPOP rise ArrayIndexOutOfBoundsException when
'Newer email first' selected and 'Number of emails to retrieve' equals
the total mail number.
https://jira.talendforge.org/browse/TDI-36790
2016-07-04 17:50:14 +08:00
wdliu
0a2fa45556 TUP-4998:Git:There is error when logon branch 2016-07-04 17:33:04 +08:00
hcyi
6b1a4f302d Merge pull request #550 from Talend/bugfix/6.2.2/TDI-36773_publish_selected_version
TDI-36773:Studio always publish latest job version even if you select a
2016-07-04 16:07:53 +08:00
wchen-talend
b3fce3ac6f TDI-36773:Studio always publish latest job version even if you select a
previous version
2016-07-04 11:21:18 +08:00
Remy Dubois
045ddf76a2 TUP-4994 - compile the job and the routines with JDT in order to make the maven package work with a JRE 2016-07-03 17:46:10 +02:00
wchen-talend
4f2fef955c TDI-35713:tWebService component can't parse WSDL 2016-07-01 14:36:49 +08:00
Pierre Teyssier
ee8a72a765 Merge pull request #542 from Talend/bugfix/6.2/TUP-4964_dynamic_long_to_date
TUP-4964: New framework dynamic long to date convert issue
2016-07-01 14:29:46 +08:00
Chao Meng
7b9f883d00 Merge pull request #547 from Talend/bugFix/6.2.1/TDI-36731_sometimes_can't_retrieve
TDI-36731: sometimes can't retrieve remote project on login page
2016-07-01 14:03:47 +08:00
wdliu
75aee9ec8a TDI-36731: sometimes can't retrieve remote project on login page 2016-07-01 13:12:36 +08:00
dlin-talend
6d8e079de2 Merge pull request #546 from Talend/bugfix/6.2.2/TDI-36772-Studio_restart_problem
TDI-36772 fix: No response when click restart button when I start studio with cutom workspace
2016-06-30 20:36:51 +08:00
GGu
22a6e28638 Merge pull request #541 from Talend/bugfix/6.2.1/TDI-36717_ChildrenJob
TDI-36717: When generete codes, need check children job
2016-06-30 19:29:13 +08:00
nrousseau
981298ab96 Merge pull request #545 from Talend/bugfix/6.2/TDI-36776_fixNameContextProblemOfSF
TDI-36776: Component Framework :Salesforce: when export to context, the name of the context will change to context mode too.
2016-06-30 19:07:24 +08:00
ycbai
9de90cfa87 TDI-36776: Component Framework :Salesforce: when export to context, the
name of the context will change to context mode too.
2016-06-30 18:56:17 +08:00
zwxue
46c2227ea7 TDI-36621: Always ask propagate enven sync the schema on tELTHiveMap. 2016-06-30 18:44:27 +08:00
cmeng-talend
c5ca011882 TDI-36772 fix: No response when click restart button when I start studio
with cutom workspace
https://jira.talendforge.org/browse/TDI-36772
2016-06-30 17:43:17 +08:00
Maksym Stavytskyi
8745e58c58 TUP-2594: Set globalMap before doZip() 2016-06-29 16:19:39 +03:00
jzhao
d8b0d0c74a TUP-4964: New framework dynamic long to date convert issue
https://jira.talendforge.org/browse/TUP-4964
2016-06-29 16:11:51 +08:00
GGu
626adc89b6 TDI-36717: When generete codes, need check children job 2016-06-29 15:39:48 +08:00
pxmiao
ce3b28ecaf bugfix/6.2.2/TUP-4925 : The code of method
tMSSqlInput_3Process(Map<String,Object>) is exceeding the 65535 bytes
limit
https://jira.talendforge.org/browse/TUP-4925
2016-06-29 15:08:09 +08:00
hwang
48a93f9a7c TDI-36720:"Edit Routine Libraries" can't import the external jar 2016-06-28 16:50:43 +08:00
RyanSkraba
ef0be06149 Merge pull request #534 from pradasouvanlasy/bugfixes/6.2/tbd-3774
[TBD-3774] Rename HDP 2.3 assembly to fix path length on Windows
2016-06-27 13:13:23 +02:00
Haiting Yin
68084711fe TMDM-9703 (#522)
* TMDM-9703 tMDMInput with one filter return different records size by different batch size

* TMDM-9703 tMDMInput with one filter return different records size by different batch size.
2016-06-27 19:13:02 +08:00
Prada Souvanlasy
45809b724c [TBD-3774] Rename HDP 2.3 assembly to fix path length on Windows 2016-06-27 13:09:17 +02:00
hwang
5d0b0263ae TDI-36720:"Edit Routine Libraries" can't import the external jar 2016-06-27 18:21:26 +08:00
nrousseau
395d65cd91 Merge pull request #527 from Talend/bugfix/6.2/TDI-36738_fixBuildJobNPE
TDI-36738: Build job out throw npe error when select "latest".
2016-06-27 18:06:45 +08:00
jzhao
002620af1a TUP-4530: partnerBulk34 jar is missing for tSalesforceWave
https://jira.talendforge.org/browse/TUP-4530
2016-06-27 17:29:41 +08:00
nrousseau
d39c7965c7 TDI-36682: fix update of repository from connection only 2016-06-27 17:28:19 +08:00
nrousseau
af4d720232 TUP-4951: fix the problem of schema of salesforce 2016-06-27 17:28:17 +08:00
Pierre Teyssier
52ecbfc03b Merge pull request #528 from Talend/bugfix/6.2/TDI-35931
bugfix/6.2/TDI-35931 : Number format with toracleoutputbulkexec
2016-06-27 17:11:44 +08:00
pxmiao
d3da44fd8d bugfix/6.2/TDI-35931 : Number format with toracleoutputbulkexec
component
https://jira.talendforge.org/browse/TDI-35931
2016-06-27 16:59:29 +08:00
ycbai
f1516c6af5 TDI-36738: Build job out throw npe error when select "latest". 2016-06-27 16:35:05 +08:00
pxmiao
e78f603516 bugfix/6.2/TDI-35931 : Number format with toracleoutputbulkexec
component
https://jira.talendforge.org/browse/TDI-35931
2016-06-27 16:12:46 +08:00
CHEN Bin
bb124fb50f Merge pull request #518 from amarouni/bug/TBD-3745
[TBD-3745] Update missing jars for secure Hbase
2016-06-27 02:24:50 -05:00
nrousseau
f66d008093 TDI-36729: improve repository performance 2016-06-27 14:20:48 +08:00
Pierre Teyssier
c1edf8739e Merge pull request #526 from Talend/bugfix/6.2/TDI-35425_parametersToEncrypt_name_dont_have_cid
TDI-35425: fixed compilation error by adding CID to parametersToEncry…
2016-06-27 13:25:34 +08:00
Dmytro Chmyga
8036d3a70b TDI-35425: fixed compilation error by adding CID to parametersToEncrypt field name for tRunJob. 2016-06-27 08:18:17 +03:00
jzhao
88ff899a5c Merge pull request #524 from Talend/bugfix/6.2/TUP-4943_salesforceoutput_issue
TUP-4943: tsalesforceOutput:output is not correct when Extend Insert is
2016-06-27 11:16:37 +08:00
nrousseau
1f87036a23 Merge pull request #525 from Talend/bugfix/6.2/TDI-36717
TDI-36717: fix one problem for get parameter
2016-06-27 11:12:48 +08:00
GGu
57a21a4c68 TDI-36717: fix one problem for get parameter 2016-06-27 11:09:35 +08:00
nrousseau
5559431e2b TDI-36410: fix problem of renaming of generic connection 2016-06-26 11:18:49 +08:00
nrousseau
e1424db784 TDI-36652: update for the selection of dataset 2016-06-26 11:18:49 +08:00
jzhao
5fb5083d4a TUP-4943: tsalesforceOutput:output is not correct when Extend Insert is
checked depends on the commit level
https://jira.talendforge.org/browse/TUP-4943
2016-06-24 19:53:19 +08:00
nrousseau
1329d04052 Merge pull request #523 from Talend/bugfix/6.2/TDI-36717_UseDynamicJob
TDI-36717: use dynamic job
2016-06-24 19:05:28 +08:00
GGu
f90503a13d TDI-36717: Add one simple test, but need add more later. 2016-06-24 17:49:05 +08:00
GGu
1cc7c3ced0 TDI-36717: when use dynamic job, if children job is not indepenent or
dynamic, should add the children modules always.
2016-06-24 17:49:03 +08:00
nrousseau
4af78c5774 TUP-4901: fix the problem when the enumeration contains a wrong value 2016-06-24 15:50:23 +08:00
nrousseau
4e6a6e9355 TUP-4938: avoid popup for text field validation 2016-06-24 15:50:23 +08:00
dlin-talend
e60f9e2e29 Merge pull request #520 from Talend/bugfix/master/TDI-35297
TDI-35297: tELTPostgressqlMap not functioning on other schemas apart
2016-06-24 15:12:44 +08:00
Pierre Teyssier
d699564c93 Revert "Merge pull request #489 from Talend/bugfix/6.2/TDI-35717"
TDI-35717 : tOracleBulkExec's action on table still used when invisible
This reverts commit a7324a0373, reversing
changes made to 3c46d1011f.
2016-06-24 14:17:39 +08:00
wang wei
6d61bcec7f TDI-34582: The wrong originalType of function "buildOverflowMessage"
when tAggregateRow uses the byte type
https://jira.talendforge.org/browse/TDI-34582
2016-06-24 12:31:09 +08:00
jzhao
81ab388b69 TUP-3960: Marketo REST API UnknownHostException display the password
https://jira.talendforge.org/browse/TUP-3960
2016-06-24 10:11:14 +08:00
nrousseau
1fd71ddb1d TDI-36716: fix the problem of schema not modified 2016-06-23 19:09:43 +08:00
wang wei
e9ee1e82d6 Merge pull request #521 from Talend/bug/6.2/TUP-4570-studio-var
TUP-4570: fix the new return property.
2016-06-23 18:54:06 +08:00
wang wei
56527e24d7 TUP-4570: fix the new return property.
https://jira.talendforge.org/browse/TUP-4570
2016-06-23 18:48:47 +08:00
zwxue
2dc066ed8b TDI-35297: tELTPostgressqlMap not functioning on other schemas apart
from public schema.
2016-06-23 18:44:46 +08:00
nrousseau
be257bb28c TDI-36430: avoid popup for schema update on tSalesforceOutput 2016-06-23 18:44:04 +08:00
wchen-talend
a347427ca7 Merge pull request #516 from Talend/feature/6.2.1/TDI-36652_add_select_control_for_dataset
TDI-36652:Add control to select dataset ID from component
2016-06-23 18:41:23 +08:00
Abbass MAROUNI
73e2dad70e [TBD-3745] Update missing jars for secure Hbase 2016-06-23 10:57:39 +02:00
nrousseau
eaad307550 TDI-35812: avoid popup, force to use the same properties as the node on
element parameter
2016-06-23 16:08:18 +08:00
nrousseau
6770adb4f9 TDI-36682: fix the problem of update of repository for proxy 2016-06-23 16:08:16 +08:00
Pierre Teyssier
32e94c9217 Merge pull request #490 from Talend/bugfix/6.2.1/TDI-35672_tDB2_JDK8_support
TDI-35672 Upgraded DB2 JDBC driver to JDBC 4.0. Changed import from d…
2016-06-23 15:51:46 +08:00
wang wei
78f2702a29 Merge pull request #517 from Talend/bug/6.2/TUP-4570-i18
TUP-4570: fix some i18 issue for the return property
2016-06-23 14:10:38 +08:00
wang wei
67f1e3cc1d TUP-4570: fix some i18 issue for the return property
https://jira.talendforge.org/browse/TUP-4570
2016-06-23 14:05:41 +08:00
Pingwen Lin
6cf871d4f3 TMDM-9111 : To be compatible with 1.6 compile level (#515) 2016-06-23 12:10:52 +08:00
wchen-talend
8755b5e6a3 TDI-36652:Add control to select dataset ID from component 2016-06-23 11:00:45 +08:00
Pierre Teyssier
7c792f39fa TDI-36257 : amazon EMR component description is wrong 2016-06-22 23:38:22 +08:00
Pierre Teyssier
1fcf4e7c0f TDI-36676 : Cannot run Jobs in 6.1.1 tJdbcOutput component gives remove rejects row error 2016-06-22 20:22:08 +08:00
Pierre Teyssier
3e72b82a88 TDI-36657 : Calculating md5 in tFTPFileProperties 2016-06-22 19:00:04 +08:00
nrousseau
b6fd567eff TDI-36521: fix issue on recursive build, and refactor to have only one
common piece of code
2016-06-22 18:10:47 +08:00
nrousseau
a85f4ad0c8 TDI-36686: set as readonly if repository is used 2016-06-22 18:10:44 +08:00
nrousseau
1801f8b275 TDI-36521: set hierarchy to expand lvl 3 by default 2016-06-22 18:10:42 +08:00
Dmytro Chmyga
8470530b95 Revert "Merge pull request #435 from Talend/bugfix/6.2/TDI-29308_twritexmlfield_default_values_support"
This reverts commit 66ebc2faa9, reversing
changes made to 2dfafdcb01.
2016-06-22 10:38:02 +03:00
Pierre Teyssier
4b4f3c56f9 Merge pull request #486 from Talend/bugfix/6.2.1/TUP-3977_Aggregate_output_order
TUP-3977 Reverted LinkedHashMap to HashMap in tAggregateOut_begin.jav…
2016-06-22 15:00:49 +08:00
Pierre Teyssier
4400c1b718 Merge pull request #512 from Talend/bugfix/6.2/TDI-36251
bugfix/6.2/TDI-36251 : [6.1.1] Vertica components with Vertica 7.1
2016-06-22 14:50:51 +08:00
pxmiao
f75ac43984 bugfix/6.2/TDI-36251 : [6.1.1] Vertica components with Vertica 7.1
https://jira.talendforge.org/browse/TDI-36251
2016-06-22 14:42:23 +08:00
Pierre Teyssier
145675f4f7 Merge pull request #508 from Talend/bugfix/6.2/TDI-35360
bugfix/6.2/TDI-35360 : tFileOutputPositional + "Don't generate empty
2016-06-22 14:26:57 +08:00
nrousseau
24013fc53d Merge pull request #511 from Talend/bugfix/6.2/TDI-35251
TDI-35251: won't select the first one by default
2016-06-22 12:14:41 +08:00
GGu
e671f595d7 TDI-35251: Won't set the first context as default for Context Param List
field.
2016-06-22 11:58:17 +08:00
nrousseau
4b66e8fae9 TDI-36356: null string values will always be set as empty string to the
component
2016-06-22 11:56:04 +08:00
nrousseau
5d87878b66 Merge pull request #503 from Talend/bugfix/6.2.1/TDI-35608_publish_job
TDI-35608:Publish standalone job with compilation error finished
2016-06-22 11:30:11 +08:00
wang wei
ebd70bdaff Merge pull request #509 from Talend/bug/6.2/TCOMP-219
TCOMP-219: add the finally part for generic components.
2016-06-22 09:19:30 +08:00
wang wei
47df7e8bf5 TCOMP-219: New components runtime Writers and Readers should be closed
in finally block
https://jira.talendforge.org/browse/TCOMP-219
2016-06-22 08:59:09 +08:00
wang wei
c24622ef49 Merge remote-tracking branch 'origin/master' into bug/6.2/TCOMP-219 2016-06-22 08:23:06 +08:00
RyanSkraba
26961ffb49 Merge pull request #488 from Talend/feature/6.2/TBD-3688-spark2-preview
TBD-3688 Add SPARK_VERSION[] as an expression.
2016-06-21 19:02:52 +02:00
Ryan Skraba
d98ebcc964 Merge remote-tracking branch 'origin/master' into feature/6.2/TBD-3688-spark2-preview 2016-06-21 18:41:56 +02:00
RyanSkraba
22656589b9 Merge pull request #510 from pbailly/master
[TBD-3699] Add mapr ticket to custom distribution.
2016-06-21 18:30:07 +02:00
pbailly
efd636fa34 [TBD-3699] Add mapr ticket to customo distribution. 2016-06-21 18:26:29 +02:00
amarkevich
c529cbdab2 TESB-17498 Error Calling a Web service 2016-06-21 16:04:45 +03:00
jzhao
1f31bca9ec Merge pull request #507 from Talend/bugfix/6.2/TUP-4910_salesforceoutput_extendInsert_data_flow
TUP-4910: Fixed salesforce extendInsert missing output data
2016-06-21 19:43:05 +08:00
nrousseau
27cf32436a Merge pull request #506 from Talend/bugfix/master/TUP-4908
TUP-4908: Update license agreement of 2016 for TOS_DI/BD/DQ/ESB.
2016-06-21 18:26:09 +08:00
nrousseau
955447b0b2 TUP-4915: update variable name 2016-06-21 18:21:31 +08:00
wang wei
bd7dad3fbd TCOMP-219: add the finally part for generic components.
https://jira.talendforge.org/browse/TCOMP-219
2016-06-21 18:07:23 +08:00
pxmiao
51e3094fa3 bugfix/6.2/TDI-35360 : tFileOutputPositional + "Don't generate empty
file" not working with tMap
https://jira.talendforge.org/browse/TDI-35360
2016-06-21 17:36:33 +08:00
jzhao
c5a1a7ec58 TUP-4910: Fixed salesforce extendInsert missing output data
https://jira.talendforge.org/browse/TUP-4910
2016-06-21 17:11:03 +08:00
Ryan Skraba
9ea98cacfd Merge remote-tracking branch 'origin/master' into feature/6.2/TBD-3688-spark2-preview 2016-06-21 10:35:43 +02:00
GGu
6232da600d TDI-35251: if component is not active/existed, shouldn't select the
first one by default for Component List field.
2016-06-21 16:05:45 +08:00
Pierre Teyssier
f20981b75b Merge pull request #500 from csuntalendbj/master
TESB-17553:Sync with Component team on tMOM upgrade and upload of activemq--all-5.13.3.jar
2016-06-21 16:05:00 +08:00
wang wei
2e6c826705 TUP-4570: fix the issue : no any data reject information when no any
output connector line and the data is rejected.
https://jira.talendforge.org/browse/TUP-4570
2016-06-21 15:05:53 +08:00
hcyi
402743bff0 Merge pull request #502 from Talend/bugfix/6.2.1/TDI-36561_import_jobs_with_wrong_context
TDI-36561:Import Job:Error msg at error log list when import jobs
2016-06-21 14:45:34 +08:00
Pierre Teyssier
5a38b7f9e3 Merge pull request #474 from Talend/bugfix/6.2/TDI-35719_tTeradataTPTExec_Script
TDI-35719: Fixed logic for Load operator.
2016-06-21 14:18:15 +08:00
Pierre Teyssier
1dae012ad6 Merge pull request #499 from Talend/bugfix/6.2/TDI-36251
bugfix/6.2/TDI-36251 : [6.1.1] Vertica components with Vertica 7.1
2016-06-21 14:10:00 +08:00
zwxue
8763be17f3 TUP-4908: Update license agreement of 2016 for TOS_DI/BD/DQ/ESB. 2016-06-21 11:56:00 +08:00
wang wei
25d81bb398 Merge pull request #501 from Talend/bug/6.2/TDI-36651
TDI-36651: fix the runtime part for the return property
2016-06-21 11:38:17 +08:00
wchen-talend
f856c937be TDI-35608:Publish standalone job with compilation error finished
successfuly
2016-06-21 10:39:51 +08:00
jzhao
974577280b Merge pull request #494 from Talend/bugfix/6.2/TUP-4585_upsert_lookup_field_null
TUP-4585: upsert lookup field null
2016-06-21 10:02:49 +08:00
wchen-talend
a297932aca TDI-36561:Import Job:Error msg at error log list when import jobs 2016-06-21 09:36:56 +08:00
nrousseau
29d1cc333d TDI-36636: fix wrong thread for ask propagation since the component
change
2016-06-20 23:54:15 +08:00
Pierre Teyssier
63144a3daa TDI-36624 : Moving tAzureStorage* and tBigQuery* from BD to DI 2016-06-20 20:00:26 +08:00
wang wei
957e82943f TDI-36651: use container instead of globalMap directly
https://jira.talendforge.org/browse/TDI-36651
2016-06-20 18:15:52 +08:00
wang wei
ddb297178f TDI-36651: fix the runtime part for the return property
https://jira.talendforge.org/browse/TDI-36651
2016-06-20 17:37:00 +08:00
pxmiao
a7324a0373 Merge pull request #489 from Talend/bugfix/6.2/TDI-35717
bugfix/6.2/TDI-35717 : tOracleBulkExec's action on table still used when
2016-06-20 16:22:30 +08:00
SunChaoqun
8a52205cc5 TESB-17553:Sync with Component team on tMOM upgrade and upload of
activemq--all-5.13.3.jar
2016-06-20 16:13:06 +08:00
nrousseau
3c46d1011f TDI-36408: improve schema update 2016-06-20 15:28:39 +08:00
wang wei
f59cc5662c Merge pull request #498 from Talend/bug/6.2/TUP-4570
TUP-4570: use the DiIncomingSchemaEnforcer instead of
2016-06-20 15:11:08 +08:00
wang wei
d013602f2e TUP-4570: use the DiIncomingSchemaEnforcer instead of
Talend6IncomingSchemaEnforcer in javajet part
https://jira.talendforge.org/browse/TUP-4570
2016-06-20 14:55:46 +08:00
CHEN Bin
bffe4647af [TBD-3691] Support ElasticSearch 2.3 on spark tElasticsearch components
and update tElasticSearchLookupInput from 1.7.2 to 1.7.5
add migration task for tElasticSearchLookupInput
2016-06-20 14:09:12 +08:00
Yucheng Bai
8c20d1fd5f Merge pull request #497 from Talend/bugfix/6.2.0/TDI-36408_avoidDetection
Bugfix/6.2.0/tdi 36408 avoid detection
2016-06-20 13:54:59 +08:00
nrousseau
4d2e7bea13 TDI-36408: avoid update on schema reference for property detection 2016-06-20 13:28:35 +08:00
CHEN Bin
f1eeaaf8e0 [TBD-3691] Support ElasticSearch 2.3 on spark tElasticsearch components
and update tElasticSearchLookupInput from 1.7.2 to 1.7.5
2016-06-20 13:27:43 +08:00
nrousseau
714d687c91 TDI-36408: don't handle the reload on the new framework. Schema will be
simply updated / propagated
2016-06-20 13:22:03 +08:00
nrousseau
104b3f27a0 TUP-4896: add Dynamic support by default for new components framework 2016-06-19 14:05:29 +08:00
nrousseau
0fd2f1c04e Improve code to reuse the same deserialize function 2016-06-19 13:42:05 +08:00
nrousseau
fd37760e54 TUP-4484: Improve the selection of module to allow context mode 2016-06-19 12:32:16 +08:00
nrousseau
74ba043e56 TUP-4875: update from components/daikon 2016-06-18 20:49:39 +08:00
nrousseau
c0f1838b4b TDI-36342: fix revert of context due to component refactor 2016-06-18 20:13:26 +08:00
nrousseau
9e9cb68513 Merge pull request #495 from Talend/bugfix/6.2.0/TUP-4851_upgradeComponentDaikon
Bugfix/6.2.0/tup 4851 upgrade component daikon
2016-06-18 16:55:49 +08:00
pxmiao
63d4ce6cac bugfix/6.2/TDI-36251 : [6.1.1] Vertica components with Vertica 7.1
https://jira.talendforge.org/browse/TDI-36251
2016-06-17 18:39:31 +08:00
Pingwen Lin
7bcc5ba272 TMDM-9111 : Fix tMDMOutput compiling issue(log part) (#493)
* TMDM-9111 : Fix tMDMOutput compiling issue(log part)

* TMDM-9111 : Fix compiling issue of LOG
2016-06-17 01:38:15 -05:00
jzhao
badf5b3330 Merge branch 'master' into bugfix/6.2/TUP-4585_upsert_lookup_field_null 2016-06-17 12:43:33 +08:00
amarkevich
5789c0469b fix duplicated attribute 2016-06-16 18:22:12 +03:00
Ivan Honchar
5d5449c099 TDI-35672 Upgraded DB2 JDBC driver to JDBC 4.0. Changed import from db2jcc.jar to db2jcc4.jar 2016-06-16 16:34:01 +03:00
Ryan Skraba
68b5d2f8c3 Merge remote-tracking branch 'origin/master' into
feature/6.2/TBD-3688-spark2-preview git fetch
2016-06-16 15:29:55 +02:00
amarkevich
07e1063751 TESB-17498 Error Calling a Web service 2016-06-16 16:20:23 +03:00
nrousseau
0dbb57e2c7 TUP-4875: update junit 2016-06-16 19:28:49 +08:00
nrousseau
424ee3afb6 Merge branch 'master' into bugfix/6.2.0/TUP-4851_upgradeComponentDaikon 2016-06-16 19:03:50 +08:00
nrousseau
378c668520 TUP-4875: update from components/daikon 2016-06-16 18:59:41 +08:00
pxmiao
483126adc7 bugfix/6.2/TDI-35717 : tOracleBulkExec's action on table still used when
invisible
https://jira.talendforge.org/browse/TDI-35717
2016-06-16 18:25:11 +08:00
GGu
01dc03f92b Merge pull request #487 from Talend/bugfix/6.2.0/TDI-36521_fixRecursiveBuild
TDI-36521: fix recursive build
2016-06-16 18:17:31 +08:00
Ryan Skraba
cd80b5b991 TBD-2688 Simplify SPARK_VERSION[] expression. 2016-06-16 12:12:22 +02:00
Ryan Skraba
20abea7433 TBD-3688 Add SPARK_VERSION[] as an expression. 2016-06-16 12:12:22 +02:00
Pingwen Lin
64b8ee81f7 TMDM-9111 : MDM transaction handling is wrong in multithreaded environment (#482) 2016-06-16 05:11:47 -05:00
Ivan Honchar
50d3b0a43f TUP-3977 Reverted LinkedHashMap to HashMap in tAggregateOut_begin.javajet 2016-06-16 11:36:05 +03:00
Pierre Teyssier
90b2085778 TDI-35730 : Review Palette Category of Amazon 2016-06-16 16:22:20 +08:00
Pierre Teyssier
b70c8d179d Merge pull request #483 from Talend/bugfix/6.2/TDI-35425_password_display_not_encrypted
TDI-35425: Added new List to log context parameters.
2016-06-15 19:15:37 +08:00
nrousseau
9c9afe787f Merge branch 'master' into bugfix/6.2.0/TUP-4851_upgradeComponentDaikon 2016-06-15 15:21:40 +08:00
nrousseau
72f4ea804c TDI-36521: fix recursive build 2016-06-15 15:17:33 +08:00
Dmytro Chmyga
4ee049b3c6 TDI-35425: Added new List to log context parameters. 2016-06-14 14:43:19 +03:00
nrousseau
e6b32b1dc3 Merge pull request #481 from Talend/bug/6.2/NPE
fix the NPE issue when talend git plugin is not loaded.
2016-06-14 16:14:26 +08:00
nrousseau
c420c9da45 Merge pull request #479 from Talend/bugfix/master/TDI-35078
TDI-35078:Need to save job with full screenshot in studio
2016-06-14 16:07:33 +08:00
wang wei
c4ce9d593d fix the NPE issue when talend git plugin is not loaded. 2016-06-14 15:56:32 +08:00
nrousseau
33a186897d TBD-3708: add setup of routine dependencies on bigdata streaming 2016-06-14 15:39:33 +08:00
hwang
b308182535 TDI-35078:Need to save job with full screenshot in studio 2016-06-14 14:06:06 +08:00
hwang-talend
596b2fdfe7 Merge pull request #472 from Talend/bugfix/master/TDI-36473
TDI-36473: Drag SAP InfoObject to a job as a component
2016-06-13 17:22:22 +08:00
Yucheng Bai
75927a3f01 Merge pull request #348 from Talend/TUP-4450-Two-Reference-Widget
[TUP-4450] fixed the problem when the component has one more
2016-06-13 16:54:16 +08:00
CHEN Bin
f85d0a9799 [TUP-4450] fixed the problem when the component has one more
Widget.WidgetType.NAME_SELECTION_REFERENCE
2016-06-13 16:51:47 +08:00
CHEN Bin
5b94dda8f0 [TUP-4450] fixed the problem when the component has one more
Widget.WidgetType.NAME_SELECTION_REFERENCE
2016-06-13 16:51:43 +08:00
Chao Meng
dfa72f06e7 Merge pull request #478 from Talend/bugfix/6.2.1/TUP-4345_can't_focus_on
TUP-4345: can't focus on what you click, and will do refresh
2016-06-13 14:29:56 +08:00
wdliu
c1f9c56d97 TUP-4345: can't focus on what you click, and will do refresh 2016-06-13 13:01:15 +08:00
nrousseau
0698f9676b Merge pull request #477 from Talend/bugfix/6.2/TDI-36429_fixMoveMutiObjectBug
[TDI-36429] Component Framework :Salesforce:drag more than one salesforce connection out of a folder will occur error.
2016-06-13 10:56:01 +08:00
ycbai
7f51d9a89d [TDI-36429] Component Framework :Salesforce:drag more than one
salesforce connection out of a folder will occur error.
2016-06-13 10:54:45 +08:00
nrousseau
8a018c4de5 TUP-4853: update dynamically the maven repository in the studio 2016-06-13 10:30:02 +08:00
zwxue
580a3c2585 Merge pull request #475 from Talend/bugfix/master/TDI-35007
TDI-35007:positioning of drag and drop objects on designer space in
2016-06-13 10:20:29 +08:00
wang wei
e93de01116 TUP-4854: salesforceBulkExec upsert key column issue when migration
https://jira.talendforge.org/browse/TUP-4854
2016-06-12 14:36:49 +08:00
wchen-talend
9ea7b124c1 Merge pull request #467 from Talend/bugfix/6.2/TDI-35971_Errorlog_clicking_Set_parameter_and_continue_action
TDI-35971:Errorlog shows after clicking OK on "Set parameter and continue" dialog
2016-06-12 10:15:46 +08:00
nrousseau
56f6ede947 TUP-4851: upgrade to latest version of component/daikon 2016-06-12 09:24:28 +08:00
nrousseau
d3f63eb6cc TUP-4820: limit the number of creation of instance of FunctionManager,
to avoid java bug
2016-06-11 12:07:29 +08:00
nrousseau
abf7c6fd34 TDI-34745: Force to clear elements from the toolbar not released by e4 2016-06-11 12:07:25 +08:00
Ilya Melnik
8686213954 TIPAAS-8660 Fix marketo actions 2016-06-10 15:43:07 +03:00
amarkevich
75eb22af8d TIPAAS-8992 create list of deps 2016-06-09 13:21:44 +03:00
Remy Dubois
fe5ec5e632 TBD-3646 - spawn the ticket renewal thread in the hive connection component 2016-06-09 10:14:57 +02:00
nrousseau
5db7bfe057 TUP-4845: don't add to dependencies if LIBPATH/HOTLIB don't have any jar
/ context
2016-06-08 23:48:46 +08:00
Sizhao Liu
e7ecf5f96a remove a package version restriction 2016-06-08 14:31:53 +02:00
nrousseau
13688d8364 remove the use of triggers on studio 2016-06-08 19:21:43 +08:00
hwang
d995e62ea8 TDI-35007:positioning of drag and drop objects on designer space in
Studio
2016-06-08 18:12:47 +08:00
Dmytro Chmyga
d54bca4d5b TDI-35719: Fixed logic for Load operator. 2016-06-08 12:09:05 +03:00
nrousseau
99ec399a4e Merge pull request #473 from Talend/bugfix/6.2/TDI-36408_fixRepositoryUpdateProblems
Bugfix/6.2/tdi 36408 fix repository update problems
2016-06-08 16:06:59 +08:00
ycbai
632515a341 TDI-36408: modify junit comments. 2016-06-08 15:01:39 +08:00
ycbai
e78d477c2b TDI-36408: add junits. 2016-06-08 14:32:47 +08:00
zwxue
547b51ee9b Merge pull request #471 from Talend/bugfix/master/TDI-36468
TDI-36468:Joblet: when drag joblet to job, don't have expand button
2016-06-08 14:14:45 +08:00
zwxue
0786bb1c9a TDI-36473: Drag SAP InfoObject to a job as a component
tSAPInfoObjectOutput can't get schema from repository.
2016-06-08 14:05:33 +08:00
hwang
b48575f0a7 TDI-36468:Joblet: when drag joblet to job, don't have expand button 2016-06-08 11:19:48 +08:00
ycbai
c30d7e884c TDI-36408: fix the repository update problems. 2016-06-08 10:59:17 +08:00
wang wei
9e57125f65 TDI-36360: tAmazonEMRManage component fails to start a cluster
https://jira.talendforge.org/browse/TDI-36360
2016-06-08 10:08:39 +08:00
wang wei
a2e491b760 TUP-4727: Unable to get schema for tSalesforceBulkExec
https://jira.talendforge.org/browse/TUP-4727
2016-06-08 06:54:05 +08:00
Pierre Teyssier
9ada6eca9f Merge pull request #469 from Talend/bugfix/6.2.1/TUP-3977_Aggregate_output_order
TUP-3977 Changed type of map from HashMap to LinkedHashMap
2016-06-08 00:56:35 +08:00
Pierre Teyssier
23fe073b09 Merge pull request #470 from Talend/bugfix/6.2/TDI-34776_process_java_errors
TDI-34776: added failure status setting for multithread execution
2016-06-07 22:10:07 +08:00
Dmytro Chmyga
8e5aa9a583 TDI-34776: added failure status setting for multithread execution 2016-06-07 17:05:04 +03:00
Ivan Honchar
10f9026e79 TUP-3977 Changed type of map from HashMap to LinkedHashMap 2016-06-07 14:30:25 +03:00
RyanSkraba
2ae64f2eaa Merge pull request #463 from Talend/feature/6.2/TCOMP-190-main-and-reject-flow
TCOMP-190 javajet changes to work with change and reject flow.
2016-06-07 11:23:31 +02:00
Ryan Skraba
c0541b5553 TCOMP-190 Remove unused code and use correct daikon API. 2016-06-07 11:06:38 +02:00
nrousseau
b3a12d7a89 TUP-4727: update component to setup the dynamic list of connectors 2016-06-07 15:46:03 +08:00
GGu
48d30b7f6e Merge pull request #466 from Talend/bugfix/master/TUP-4056
TUP-4056: Support LDAP login from studio side.
2016-06-07 14:34:35 +08:00
zwxue
710dbd3279 TUP-4056: Support LDAP login from studio side. 2016-06-07 14:24:26 +08:00
hcyi
e6683168ff TDI-35971:Errorlog shows after clicking OK on "Set parameter and
continue" dialog
2016-06-07 12:04:02 +08:00
nrousseau
33f3b6f279 fix compilation error with the latest changes of components 2016-06-07 10:42:23 +08:00
Sebastien Gandon
e95b4c5901 TCOMP-50 : added bnd annotation to avoid too many inner jars. 2016-06-06 22:37:47 +02:00
Sebastien Gandon
fc14057d99 TCOMP_50 : uses package depenencies to handle components api module split. 2016-06-06 17:22:48 +02:00
Ryan Skraba
a75b22adb5 TCOMP-190 Correctly initialize row structures using the IndexedRecordToRowStruct generator. 2016-06-06 13:50:46 +02:00
GGu
edb37e3492 Merge pull request #465 from Talend/bugfix/master/TUP-4056
TUP-4056: Support LDAP login from studio side.
2016-06-06 18:20:40 +08:00
nrousseau
a98775285d Merge pull request #464 from Talend/bugfix/6.2/TDI-36408_fixEmptyValuesProblemOfDND
TDI-36408: fix the empty values problem of DND.
2016-06-06 18:15:38 +08:00
zwxue
b7bc2f2614 TUP-4056: Support LDAP login from studio side. 2016-06-06 18:08:07 +08:00
ycbai
c421a4b58b TDI-36408: fix the empty values problem of DND. 2016-06-06 17:24:27 +08:00
nrousseau
6bb42b0e1f Merge pull request #449 from Talend/bugfix/6.2/TDI-36343_schemasCanBeEditedInRecyclebin
[TDI-36343] Salesforce/files: schemas can be edited in recycle bin.
2016-06-06 16:24:51 +08:00
Ryan Skraba
9ce006fc11 TCOMP-190 javajet changes to work with change and reject flow. 2016-06-06 09:37:04 +02:00
nrousseau
0e2b492764 TDI-35956: fix classcast after api update 2016-06-06 14:14:08 +08:00
nrousseau
6d089d14e6 TUP-4396: add message if the connection name is not set 2016-06-06 13:49:09 +08:00
nrousseau
a77fbb89e7 TUP-4223: remove the label since it's not even translated now 2016-06-03 18:57:26 +08:00
nrousseau
ce573587ce TUP-4804: update to latest version of components/daikon 2016-06-03 18:57:24 +08:00
Pierre Teyssier
95b6907af4 TDI-36426 : GUID (Type byte[]) as SourceKey is not working for tOracle_SCD Components 2016-06-03 18:49:28 +08:00
Pierre Teyssier
93dcd8caee Merge pull request #459 from Talend/bugfix/6.2/TDI-35603_tFilterRow_parseTo_compile_error
TDI-35603: fixed creation os String passed to ParserUtils
2016-06-03 17:56:39 +08:00
nrousseau
c70c97427a Merge pull request #462 from Talend/bugfix/6.2.1/TUP-4797_NoBean_DuplicateJobScript
TUP-4797: Add test fragement to test feature
2016-06-03 11:52:59 +02:00
nrousseau
48b638d4f5 Merge pull request #461 from Talend/bugfix/6.2/TUP-4199_fixProblemCausedByTDKN-35
TUP-4199: fix the problems which caused by TDKN-35.
2016-06-03 11:40:17 +02:00
GGu
0e2d06a2f7 TUP-4797: Add test fragement to test feature 2016-06-03 17:30:34 +08:00
zwxue
db6a22e1aa Merge pull request #460 from Talend/bugfix/master/TDI-35823
TDI-35823:tETLOracleMap does not generate correct Inner Join SQL
2016-06-03 17:22:06 +08:00
ycbai
f3269cb33e TUP-4199: fix the problems which caused by TDKN-35. 2016-06-03 17:08:29 +08:00
hwang
0e0c17abeb TDI-35823:tETLOracleMap does not generate correct Inner Join SQL 2016-06-03 15:45:25 +08:00
hcyi
0b45b1f1d6 Merge pull request #427 from Talend/bugfix/6.2.1/TDI-35985_studio_crash_when_losing_tac
TDI-35985:Studio crashes after losing TAC connection
2016-06-03 14:41:48 +08:00
Pierre Teyssier
66ebc2faa9 Merge pull request #435 from Talend/bugfix/6.2/TDI-29308_twritexmlfield_default_values_support
TDI-29308: added formatting for default values.
2016-06-03 13:49:20 +08:00
Pierre Teyssier
2dfafdcb01 Merge pull request #451 from Talend/bugfix/6.2/TDI-35719_tTeradataTPT_script
TDI-35719: fixed code for table names; replaced code for update and load operators.
2016-06-03 13:19:28 +08:00
Pierre Teyssier
7839575a31 Merge pull request #445 from Talend/bugfix/6.2/TDI-36251
TDI-36251 : [6.1.1] Vertica components with Vertica 7.1
2016-06-03 13:18:23 +08:00
zwxue
17e61c9484 Merge pull request #457 from Talend/bugfix/master/TBD-3495
TBD-3495:The context menu for Test Case in Recycle Bin is wrong
2016-06-03 11:09:05 +08:00
hcyi
bef7b8e2b8 Merge pull request #452 from Talend/bugfix/6.2.1/TDI-35608_publish_job_with_error
TDI-35608:Publish standalone job with compilation error finished
2016-06-03 10:25:08 +08:00
GGu
63ce87d85f Merge pull request #458 from Talend/bugfix/master/TDI-36044
TDI-36044: 'Enable parallel execution' shouldn't been enabled when
2016-06-03 09:52:01 +08:00
wang wei
59f73e66d4 TDI-36017: Syntax error for tRedshiftBulkExec loading a file in the AVRO
format
https://jira.talendforge.org/browse/TDI-36017
2016-06-03 09:47:32 +08:00
GGu
395b545e56 Merge pull request #454 from Talend/bugfix/master/TDI-35820
TDI-35820: job using joblet displays wrong contexts.
2016-06-03 09:43:21 +08:00
GGu
8a6236c215 Merge pull request #453 from Talend/bugfix/master/TDI-36371
TDI-36371:can't focus on component when select it
2016-06-03 09:41:24 +08:00
GGu
6522f144bf Merge pull request #456 from lpw82gf/bugfix/6.2/TMDM-9573
TMDM-9573 : tMDMRestInput & Query Text : context variable or globalmap variable not allowed.
2016-06-03 09:39:00 +08:00
nrousseau
0b9fa5788d TDI-36409: fix password and metadata detection 2016-06-03 00:51:07 +08:00
nrousseau
b53d96487f TDI-36356: fix problem of clientId that can't be modified 2016-06-02 23:15:38 +08:00
nrousseau
56193ceef1 TUP-4800: use the getPossibleConnector method 2016-06-02 23:04:02 +08:00
nrousseau
616a8a08ee TDI-36409: fix problem of migration of connections for 6.2.0 to 6.2.1 2016-06-02 23:04:00 +08:00
Dmytro Chmyga
ddb54d9e88 TDI-35603: fixed creation os String passed to ParserUtils 2016-06-02 15:20:54 +03:00
amarkevich
f0dc886010 rename file 2016-06-02 15:13:23 +03:00
amarkevich
3f08b9c0bf use Properties to load excludes 2016-06-02 14:50:35 +03:00
amarkevich
c8dc613a5b update description 2016-06-02 14:42:51 +03:00
amarkevich
f1b57dccaf use '#' as comment separator 2016-06-02 14:42:01 +03:00
amarkevich
aed4149fa5 TIPAAS-8713 post-demo improvements 2016-06-02 14:25:37 +03:00
zwxue
c435d31d00 TDI-36044: 'Enable parallel execution' shouldn't been enabled when
switch property type between built-in and repository.
2016-06-02 18:40:25 +08:00
hwang
d351cd979d TBD-3495:The context menu for Test Case in Recycle Bin is wrong 2016-06-02 18:16:29 +08:00
Pingwen Lin
2459ebd82d TMDM-9573 : tMDMRestInput & Query Text : context variable or globalmap variable not allowed. 2016-06-02 18:14:45 +08:00
wang wei
58a91a2af4 TDI-36261: Add streaming in tDataprepRun (intput & output)
https://jira.talendforge.org/browse/TDI-36261
2016-06-02 16:54:33 +08:00
zwxue
8fea13e673 TDI-35820: job using joblet displays wrong contexts. 2016-06-02 11:47:26 +08:00
Pierre Teyssier
a1d5013321 TDI-36402 : Dataset component are EE 2016-06-02 11:29:09 +08:00
jzhao
bfb44cbe7a TDI-36231: tS3Copy mandatory configuration
https://jira.talendforge.org/browse/TDI-36231
2016-06-02 10:50:57 +08:00
nrousseau
32ff9f8410 TUP-4481: add slf4j dependency for components from new framework 2016-06-01 22:51:18 +08:00
nrousseau
2fec6339ea TDI-36243: fix save to generic schema 2016-06-01 22:35:15 +08:00
nrousseau
85678ef5ec TDI-36372: fix component from new framework with lookup, and fix
migration tasks
2016-06-01 22:17:49 +08:00
Dmytro Chmyga
359beea468 TDI-35719: fixed possible performance issues in migration task. 2016-06-01 13:12:24 +03:00
rdubois
6357bedb62 TBD-3651 fixed - Do not use the auto-build feature during the job build time 2016-06-01 12:08:19 +02:00
nrousseau
35d20a06d3 TUP-4680: update for the error message, and avoid every popup with OK
without any message
2016-06-01 17:51:40 +08:00
nrousseau
d16af89f8c TUP-4573: update and propagate schema when drag&drop component 2016-06-01 17:51:37 +08:00
wchen-talend
9b635e906d TDI-35608:Publish standalone job with compilation error finished
successfuly
2016-06-01 17:42:05 +08:00
pxmiao
6808b97d72 TDI-36251 : [6.1.1] Vertica components with Vertica 7.1
https://jira.talendforge.org/browse/TDI-36251
2016-06-01 17:27:03 +08:00
Dmytro Chmyga
cff08b9e57 TDI-35719: fixed code for table names; replaced code for update and load operators. 2016-06-01 11:21:16 +03:00
hwang
8c2adec8fd TDI-36371:can't focus on component when select it 2016-06-01 15:31:31 +08:00
CHEN Bin
59c9d7327e [TBD-3064] [spark] tTeradataOutput doesn't support time type 2016-06-01 14:51:27 +08:00
nrousseau
20b7a606e2 TUP-4680: Add the callback result for before/after methods 2016-06-01 13:46:37 +08:00
nrousseau
42011f5866 TUP-4789:add missing options in new components 2016-06-01 12:45:28 +08:00
nrousseau
d1ccd64219 TDI-36374: fix problem of NPE when refactor joblet 2016-06-01 12:13:44 +08:00
GGu
db66cd0c89 Fixed the compile error for the classpath and remove the .settings too 2016-06-01 10:30:02 +08:00
nrousseau
06defca510 Merge pull request #446 from Talend/bugfix/6.2/TUP-4639_UseJobServerCache
TUP-4639: Enable to use jobserver cache
2016-06-01 03:56:58 +02:00
amarkevich
642db035e2 added osgi exclude list 2016-05-31 14:06:26 +03:00
amarkevich
017282f1a8 TIPAAS-8713 [Studio] Do not use BundleID to define if deps should be
embedded or not
2016-05-31 14:03:47 +03:00
Pierre Teyssier
1e45a16ff8 Revert the revert of "Adding Dataprep" (and removed duplicate salesforce) 2016-05-31 17:43:11 +08:00
ycbai
fa9eb13f4a [TDI-36343] Salesforce/files: schemas can be edited in recycle bin. 2016-05-31 17:08:02 +08:00
nrousseau
3ec3ff8d37 Merge pull request #447 from Talend/bugfix/6.2/TUP-4568_cannotCreateSFIntoFolders
[TUP-4568] Component Framework :Salesforce:can not create salesforce connection under folders.
2016-05-31 07:28:31 +02:00
ycbai
18e34e3fdb [TUP-4568] Component Framework :Salesforce:can not create salesforce
connection under folders.
2016-05-31 11:20:59 +08:00
GGu
ea17453d7f TUP-4639: Enhance the export for tmp folder 2016-05-31 11:18:42 +08:00
nrousseau
404aef757e TDI-36344: fix 6.2.0 migration for salesforce wizards 2016-05-31 00:45:23 +08:00
nrousseau
b35815806b TDI-36249: fix empty value compilation error for the token when test the
job attached
2016-05-31 00:14:38 +08:00
nrousseau
419af2a82b TDI-36285: fix issue with context mode 2016-05-30 23:48:04 +08:00
nrousseau
3d8ff0bef5 TUP-4532: fix oauth url during migration 2016-05-30 23:37:41 +08:00
nrousseau
0d9161a925 TUP-4766: add additional fixes for the changes of TDKN-42, and other 2016-05-30 22:30:50 +08:00
nrousseau
1f34e0691f TUP-4766: add additional fixes for the changes of TDKN-42, and other 2016-05-30 22:26:32 +08:00
pxmiao
7a3c1e196b TDI-36251 : [6.1.1] Vertica components with Vertica 7.1
https://jira.talendforge.org/browse/TDI-36251
2016-05-30 15:11:42 +08:00
nrousseau
0754c4509a Merge pull request #444 from Talend/bugfix/6.2/TDI-36285_removeQuotesFromProperty
[TDI-36285] Double quotes isn't removed from input fields in the studio
2016-05-30 09:08:51 +02:00
ycbai
8cf49a36cf [TDI-36285] Modify copyright annotation 2016-05-30 15:05:56 +08:00
GGu
e559fdb538 Merge pull request #441 from Talend/bugfix/master/TUP-4056
TUP-4056: When using LDAP: TAC accepts login or email to login in,Studio only email.
2016-05-30 14:58:03 +08:00
zwxue
9450405223 TUP-4056: When using LDAP: TAC accepts login or email to login in,Studio
only email.
2016-05-30 14:56:24 +08:00
ycbai
4fff8428fa [TDI-36285] Double quotes isn't removed from input fields in the studio 2016-05-30 14:55:22 +08:00
ycbai
fae4dc7a2e [TDI-36285] Double quotes isn't removed from input fields in the studio 2016-05-30 14:51:13 +08:00
Dmytro Chmyga
9a87360c69 TDI-35719: added migration task. 2016-05-30 13:28:15 +08:00
rdubois
268bd31a7e TUP-4639 - Improve the Big Data jobs build time for local executions. 2016-05-27 17:29:07 +02:00
nrousseau
dbf8444e4f Merge pull request #437 from Talend/bugfix/6.2/TUP-4578_fixQuotesProblemOfField
[TUP-4578] Automatic double-quote added in input text field (except for context)
2016-05-27 17:12:57 +02:00
nrousseau
af8e5f8563 Merge branch 'master' into bugfix/6.2/TUP-4578_fixQuotesProblemOfField
Conflicts:
	test/plugins/org.talend.designer.core.generic.test/src/main/java/org/talend/designer/core/generic/utils/ComponentsUtilsTest.java
2016-05-27 17:12:07 +02:00
nrousseau
958b27e55a Merge branch 'master' into bugfix/6.2/TUP-4578_fixQuotesProblemOfField
Conflicts:
	test/plugins/org.talend.designer.core.generic.test/src/main/java/org/talend/designer/core/generic/utils/ComponentsUtilsTest.java
2016-05-27 16:23:50 +02:00
sgandon
0183322188 Merge pull request #440 from Talend/bugfix/6.2/TUP-4766_adaptForTDKN-42
[TUP-4766] Adapt studio to the changes of TDKN-42
2016-05-27 13:49:34 +02:00
nrousseau
28ca0e9b5a TDI-36342: fix revert context on wizard 2016-05-27 13:27:41 +02:00
zwxue
5027be723d Merge pull request #439 from Talend/bugfix/master/TUP-4563
TUP-4563:[TestCase][Di][Spark][SparkStreaming] You cannot open a test
2016-05-27 18:23:27 +08:00
zwxue
e76938428c Merge pull request #436 from Talend/bugfix/master/TUP-4738
TUP-4738:Two same version
2016-05-27 18:21:33 +08:00
ycbai
55ff950374 [TUP-4766] Adapt studio to the changes of TDKN-42 2016-05-27 17:31:27 +08:00
hwang
e8a42e54c7 TUP-4563:[TestCase][Di][Spark][SparkStreaming] You cannot open a test
case with a tUnite inside
2016-05-27 16:39:27 +08:00
jzhao
f30be694f2 TDI-34400: [5.6.2] tSoap component does not allow you to choose
character encoding
https://jira.talendforge.org/browse/TDI-34400
2016-05-27 15:42:17 +08:00
Pierre Teyssier
e0e699b9b4 Merge pull request #421 from jlolling/TDI-36277_Change_log_level_for_technical_info
TDI-36277 change log level for technical info
2016-05-27 14:45:39 +08:00
GGu
543362b962 Merge pull request #432 from csuntalendbj/master
TESB-17310:SoapAction is set to empty in Runtime when tEsbConsumer is invoked from a Joblet
2016-05-27 14:11:23 +08:00
jzhao
56a515ea92 TDI-36308: Redshift Components not working since upgrade to 6.1.1
https://jira.talendforge.org/browse/TDI-36308
Note:Enable fill "Schema" in "Table" param
2016-05-27 12:02:53 +08:00
nrousseau
1a7ef8291c TUP-4759: junit update 2016-05-26 16:28:21 +02:00
nrousseau
22dafd6364 TUP-4759: junit update 2016-05-26 16:19:08 +02:00
nrousseau
f7c2f8571b TUP-4759: update powermock version 2016-05-26 15:52:02 +02:00
rdubois
75875c446c TBD-3518 fixed - Enable the connection share for all the distributions but HD Insight 2016-05-26 12:47:19 +02:00
wang wei
7853472374 TDI-36255: tAmazonEMRManage -distribution EMR 4.6 doesn't appear in the
distribution list
https://jira.talendforge.org/browse/TDI-36255
2016-05-26 18:28:05 +08:00
wang wei
06588b2548 TUP-4582: support the property setting instead of only for emrfs
encryption
https://jira.talendforge.org/browse/TUP-4582
2016-05-26 17:06:37 +08:00
ycbai
375e623de4 [TUP-4578] improve some codes. 2016-05-26 15:23:26 +08:00
ycbai
a6718a322e [TUP-4578] add junits. 2016-05-26 15:23:20 +08:00
ycbai
5a8199ed6c [TUP-4578] Automatic double-quote added in input text field (except for
context)
2016-05-26 15:23:15 +08:00
wang wei
69f2fa7a8c TUP-4582: add the --emrfs Encryption=ServerSide support
https://jira.talendforge.org/browse/TUP-4582
2016-05-26 14:36:13 +08:00
nrousseau
aa84751114 Merge pull request #407 from Talend/bugfix/6.2/TDI-35884_schemaUnselectedWhenResizeWizardPage
[TDI-35884] Component Framework :Salesforce: the schema selected will be unselected if you change the framework width/height.
2016-05-26 08:30:18 +02:00
nrousseau
f6806640d9 Merge pull request #397 from Talend/bugfix/6.2/TDI-35812_fixProblemOfSalesforceSchemaPropagation
Fix TDI-35812 and TDI-36010
2016-05-26 08:24:23 +02:00
ycbai
07030966c2 [TDI-35884] Component Framework :Salesforce: the schema selected will be
unselected if you change the framework width/height.
2016-05-26 14:21:37 +08:00
ycbai
02a143bd69 Fix:
[TDI-35812] Component Framework :Salesforce:Update schema under
repository, cannot propagate to job
and
[TDI-36010] Component Framework :Salesforce:The column "Used Column"
isn't checked after retrieve schema again
2016-05-26 14:04:24 +08:00
zwxue
27f6ef8699 Merge pull request #425 from Talend/bugfix/master/TDI-36227
TDI-36227:Primary key change is not saved
2016-05-26 11:55:04 +08:00
hcyi
829e3b9298 Merge pull request #419 from Talend/bugfix/6.2.1/TDI-34538
TDI-34538:trunjob's "context param" parameter can't be set when use "use
2016-05-26 11:46:10 +08:00
hwang
133ccd71ed TUP-4738:Two same version 2016-05-26 10:19:02 +08:00
nrousseau
56b0d19eb6 TDI-35078: save full image of the job in the screenshot 2016-05-25 20:49:23 +02:00
nrousseau
4a94242cc3 TUP-4733: adapt studio to the changes of TDKN-35 2016-05-25 18:29:39 +02:00
nrousseau
6d84be7236 TUP-4733: adapt studio to the changes of TDKN-35 2016-05-25 18:15:44 +02:00
nrousseau
ba4fcd1115 TUP-4733: adapt studio to the changes of TDKN-35 2016-05-25 17:22:11 +02:00
jzhao
a6d12fbc3f TUP-4585: Change upsert realation table migration mapping
https://jira.talendforge.org/browse/TUP-4585
2016-05-25 19:27:06 +08:00
Dmytro Chmyga
a691453a34 TDI-29308: use date format for default date values. 2016-05-25 11:30:03 +03:00
Pierre Teyssier
4e91d38480 Merge pull request #431 from Talend/bugfix/6.2/TDI-35892
TDI-35892 : globalMap.get("tMysqlOutput_1_ERROR_MESSAGE") return null
2016-05-25 14:17:48 +08:00
Dmytro Chmyga
2805adaf91 TDI-29308: added formatting for default values. 2016-05-25 08:52:38 +03:00
SunChaoqun
3d9ec958e0 TESB-17310:SoapAction is set to empty in Runtime when tEsbConsumer is
invoked from a Joblet
2016-05-25 11:32:42 +08:00
wchen-talend
4ab51b0eda Merge pull request #424 from Talend/bugfix/6.2/TDI-35875_batch_job_show_information_not_work
TDI-35875:'Show information' does not work as expected for 6.1.1 for certain job types.
2016-05-25 10:30:11 +08:00
wchen-talend
0ab728ccb8 Merge pull request #428 from Talend/bugfix/6.2/TUP-4687_Convert_job_types_no_need_for_route/routelet/joblet
TUP-4687:Joblet/Route/Routelet have freely editable Job Type and Framework
2016-05-25 10:28:44 +08:00
pxmiao
159093fbcd TDI-35892 : globalMap.get("tMysqlOutput_1_ERROR_MESSAGE") return null
without 'die on error' on the component
https://jira.talendforge.org/browse/TDI-35892
2016-05-25 10:20:50 +08:00
wang wei
86e2a89382 TUP-4582: tAmazonEMRManage: add subnet and bootstrap actions
https://jira.talendforge.org/browse/TUP-4582
2016-05-25 08:44:32 +08:00
nrousseau
47b216aec9 Merge pull request #426 from Talend/bugfix/6.2/TUP-4562_fixReferProjectProblemOfSF
[TUP-4562] Component Framework :Salesforce: user log in main project can edit salesforce connection/schemas in refer project.
2016-05-24 12:14:05 +02:00
Pierre Teyssier
3162471a52 Merge pull request #429 from Talend/bugfix/6.2/TDI-35976
TDI-35976 : tpop retrieves emails from the oldest time stamp first
2016-05-24 17:59:27 +08:00
pxmiao
049d94accc TDI-35976 : tpop retrieves emails from the oldest time stamp first 2016-05-24 17:54:25 +08:00
Yucheng Bai
693a7f1f89 Merge pull request #423 from Talend/feature/6.2.1/TBD-3475-NewParameters4HiveWizard
Feature/6.2.1/tbd 3475 new parameters4 hive wizard
2016-05-24 15:50:05 +08:00
hcyi
9e5c52e72f TUP-4687:Joblet/Route/Routelet have freely editable Job Type and
Framework
2016-05-24 15:26:52 +08:00
wang wei
c91dc66ee6 TDI-36272: fix the 65535 issue
https://jira.talendforge.org/browse/TDI-36272
2016-05-24 11:06:53 +08:00
wchen-talend
4476278158 TDI-35985:Studio crashes after losing TAC connection 2016-05-24 10:47:23 +08:00
ycbai
9ce076dc9e [TUP-4562] Component Framework :Salesforce: user log in main project can
edit salesforce connection/schemas in refer project.
2016-05-23 18:23:28 +08:00
hwang-talend
9d840a68ad Merge pull request #415 from Talend/bugfix/master/TDI-35820
TDI-35820: job using joblet displays wrong contexts.
2016-05-23 15:44:13 +08:00
nrousseau
8842daa71b Merge pull request #422 from Talend/bugfix/6.2/TUP-4511_fixDuplicateNodeProblem
[TUP-4511] duplicate salesforce node display on reference project
2016-05-23 09:21:55 +02:00
hwang
33b9e5e2e3 TDI-36227:Primary key change is not saved 2016-05-23 14:36:27 +08:00
hcyi
12303e5520 TDI-35875:'Show information' does not work as expected for 6.1.1 for
certain job types.
2016-05-23 11:27:14 +08:00
Jan Lolling
5642e09175 log component start and end point with debug level 2016-05-21 15:44:49 +02:00
Jan Lolling
daca925f07 Changes to use the DEBUG level instead of INFO level. 2016-05-21 14:04:35 +02:00
nrousseau
0601b7e677 Merge pull request #420 from yanbasic/master
TESB-17150: Fixed to deploy snapshot version artifact to repository
2016-05-20 14:09:36 +02:00
Mike Yan
8bf4198a7a TESB-17150: Fixed to deploy snapshot version artifact to repository 2016-05-20 19:08:35 +08:00
ycbai
c101b2668f [TUP-4511] duplicate salesforce node display on reference project 2016-05-20 17:20:21 +08:00
cmeng-talend
29dc6980c9 TBD-3475 feature: Support SSL & Additional JDBC parameters in Hive
wizard
https://jira.talendforge.org/browse/TBD-3475
2016-05-20 15:47:18 +08:00
wchen-talend
12a95c3b63 TDI-34538:trunjob's "context param" parameter can't be set when use "use
dynamic job"
2016-05-20 11:35:28 +08:00
nrousseau
142adf9a06 Merge pull request #417 from Talend/bugfix/6.2/TUP-4199_supportDynamicSettings
[TUP-4199] Add support of Dynamic Settings
2016-05-19 15:56:30 +02:00
hcyi
4f5911c24f Merge pull request #411 from Talend/feature/6.2.1/TUP-3990_remove_snapshot
TUP-3990:Remove -SNAPSHOT from libraries artifacts
2016-05-19 19:03:02 +08:00
ycbai
7880e29299 [TUP-4199] Add support of Dynamic Settings 2016-05-19 18:39:54 +08:00
RyanSkraba
484ca73edd Merge pull request #416 from pbailly/master
[TBD-3507] Update checkbox label in MapR ticket configuration
2016-05-19 10:53:40 +02:00
pbailly
78e1766834 [TBD-3507] Update checkbox label in MapR ticket configuration 2016-05-19 10:52:28 +02:00
nrousseau
f56970922b Merge pull request #413 from Talend/bugfix/6.2/TDI-36029_fixContextUIProblem
[TDI-36029] Component Framework :Salesforce:After do export to context, the parameters do not change to readonly.
2016-05-19 09:39:59 +02:00
cmeng-talend
adb3537870 TBD-3475 feature: Support SSL & Additional JDBC parameters in Hive
wizard
https://jira.talendforge.org/browse/TBD-3475
2016-05-18 18:37:36 +08:00
wchen-talend
e4174cc11f Merge pull request #414 from Talend/bugfix/6.2/TDI-35853_View/Update_documentation_will_generate_all_versions
TDI-35853:view/Update documentation generate/updates all versions of a job documentation.
2016-05-18 12:00:56 +08:00
mswei
cb779f0433 TDI-36129: Not checking the cluster status of tAmazonRedshiftManage after triggering resize operation
https://jira.talendforge.org/browse/TDI-36129
2016-05-18 11:56:48 +08:00
mswei
6af723755e TDI-36129: Not checking the cluster status of tAmazonRedshiftManage after triggering resize operation
https://jira.talendforge.org/browse/TDI-36129
2016-05-18 11:24:41 +08:00
wang wei
b4c943dc44 TDI-36142: remove redshift jar
https://jira.talendforge.org/browse/TDI-36142
2016-05-18 08:44:52 +08:00
zwxue
88ccfddb2e TDI-35820: job using joblet displays wrong contexts. 2016-05-17 18:53:00 +08:00
hcyi
54adf48975 TDI-35853:view/Update documentation generate/updates all versions of a
job documentation.
2016-05-17 16:30:46 +08:00
ycbai
3435b45067 [TDI-36029] Component Framework :Salesforce:After do export to context,
the parameters do not change to readonly.
2016-05-17 14:10:30 +08:00
mswei
a557754720 TUP-4200:tOracleBulkExec returning wrong NB_LINE_* value with DIRECT path mode
https://jira.talendforge.org/browse/TUP-4200
2016-05-16 19:45:03 +08:00
mswei
4636b0a14f TUP-4200: tOracleBulkExec returning wrong NB_LINE_* value with DIRECT
path mode
https://jira.talendforge.org/browse/TUP-4200
Note: Add some new logic to deal with existing control file.
2016-05-16 19:45:02 +08:00
wchen-talend
2f49d01c64 TUP-3990:Remove -SNAPSHOT from libraries artifacts 2016-05-16 17:44:14 +08:00
CHEN Bin
a90ec3667c [TBD-3372] Poor Job Performance with Datastax Cassandra
https://jira.talendforge.org/browse/TBD-3372
default value of Async for old job is false, else it will break the
order of output operation
2016-05-16 14:31:42 +08:00
wchen-talend
20de2f35b0 Merge pull request #400 from Talend/bugfix/6.2/TBD-3224_Hive_Guess_schema
TBD-3224:[6.1.1] Hive Guess schema button not returning back error
2016-05-16 10:03:07 +08:00
Irene Wang
028e48a52b Set version to 6.2.1-SNAPSHOT 2016-05-13 20:54:04 +02:00
GGu
aec6a87247 Merge pull request #409 from Talend/feature/master/TUP-4557
TUP-4557:Append version after tos dynamic additional packages, URL
2016-05-13 15:46:34 +08:00
hwang
a89d76208e TUP-4557:Append version after tos dynamic additional packages, URL 2016-05-13 13:07:35 +08:00
hwang-talend
738779fccd Merge pull request #406 from Talend/bugfix/master/TDI-30861
TDI-30861: Duplicate context in jobs when context added to repository.
2016-05-13 10:32:25 +08:00
zwxue
817b74f276 TDI-30861: Duplicate context in jobs when context added to repository. 2016-05-13 10:13:20 +08:00
nrousseau
9ad034e398 TDI-29976: fix problems of junits 2016-05-12 20:44:11 +02:00
nrousseau
a080a66ff7 TDI-35460: Fix problem of preview for validation rules 2016-05-12 15:09:43 +02:00
nrousseau
2d50e1a714 TDI-35460: fix problem of dataviewer for external nodes 2016-05-12 14:01:18 +02:00
nrousseau
e9f908c241 Merge pull request #408 from Talend/bugfix/master/TDI-35569
Bugfix/master/tdi 35569
2016-05-12 13:57:20 +02:00
hwang
2047f27dbe TDI-35569:zoom out within job designer does not work as expected in
Studio
2016-05-12 19:26:50 +08:00
hwang
3e4173d9a5 TDI-35569:zoom out within job designer does not work as expected in
Studio
2016-05-12 18:39:34 +08:00
wang wei
780861bb9c TDI-35565: fix the type mapping when teradata output and fastload works
with dynamic 
https://jira.talendforge.org/browse/TDI-35565
2016-05-12 17:05:58 +08:00
hwang
347ae567b7 TDI-35569:zoom out within job designer does not work as expected in
Studio
2016-05-12 15:53:28 +08:00
Chao Meng
2493e89da5 Merge pull request #405 from Talend/feature/TUP-3998
Feature/tup 3998
2016-05-12 11:02:25 +08:00
wdliu
834d1c2000 Merge remote-tracking branch 'origin/master' into feature/TUP-3998 2016-05-12 10:58:56 +08:00
wdliu
4196667f9f Fix a NPE issue for create new project 2016-05-12 10:46:05 +08:00
nrousseau
78aa7462e1 TUP-4453: fix problem of generation
Generated process should not be calculated during the loading of the job
2016-05-11 20:39:45 +02:00
Pierre Teyssier
0b02bdf1ed TDI-35995 : tREST component can not retrieve body when return code not null
- add the body content if an http error is returned
2016-05-12 02:36:10 +08:00
RyanSkraba
56fe00fedb Merge pull request #404 from pbailly/master
[TBD-3184] Add hive library on pig components for mapr 4.0.1.
2016-05-11 19:27:55 +02:00
pbailly
b8d37ba764 [TBD-3184] Add hive library on pig components for mapr 4.0.1. 2016-05-11 18:37:13 +02:00
wdliu
f859c9e71c Merge pull request #401 from Talend/feature/TUP-3998
Feature/tup 3998
2016-05-11 18:35:20 +08:00
nrousseau
9482a2009e Merge pull request #402 from Talend/bugfix/6.2/TDI-36024_fixExportContextProblem
[TDI-36024] Component Framework :Salesforce:can not create salesforce connection if I do export to context before retrieve schema.
2016-05-11 12:31:50 +02:00
ycbai
2cb4c4ef83 [TDI-36024] Component Framework :Salesforce:can not create salesforce
connection if I do export to context before retrieve schema.
2016-05-11 18:17:01 +08:00
cmeng-talend
fbc0c51e12 Merge remote-tracking branch 'origin/master' into feature/TUP-3998 2016-05-11 17:30:14 +08:00
hcyi
a54aa9aa64 TBD-3224:[6.1.1] Hive Guess schema button not returning back error 2016-05-11 17:15:00 +08:00
wdliu
8a1c5b8d41 TUP-4551:Conflict detected when logon project, when click cancel, studio
hang
2016-05-11 13:07:10 +08:00
wang wei
96ba5273c2 TUP-4547: fix the different schema issue,especially for dynamic
https://jira.talendforge.org/browse/TUP-4547
2016-05-11 13:02:23 +08:00
cmeng-talend
591f6c1a98 TDI-36019 fix: Export Dependencies:Cann't check used connection when I
export job that use repository schema
https://jira.talendforge.org/browse/TDI-36019
2016-05-11 10:58:07 +08:00
wang wei
b48639ec61 TUP-4547: fix the wrong usage for getting main and reject line
https://jira.talendforge.org/browse/TUP-4547
2016-05-11 09:59:29 +08:00
wchen-talend
873cf84e29 TDI-35506:[6.0.1] Studio distant run missing trace information with
patch TPS-1168
2016-05-11 09:54:47 +08:00
nrousseau
949a7bd5ab Revert "Adding Dataprep"
This reverts commit b414e9b7c2.
2016-05-10 18:07:30 +02:00
cmeng-talend
6c0b913b01 TDI-36019 fix: Export Dependencies:Cann't check used connection when I
export job that use repository schema
https://jira.talendforge.org/browse/TDI-36019
2016-05-10 14:09:40 +08:00
844 changed files with 19426 additions and 8451 deletions

View File

@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Designer Plug-in Nl Fragment
Bundle-SymbolicName: org.talend.componentdesigner.nl
Bundle-Version: 6.2.0.qualifier
Bundle-Version: 6.3.0.qualifier
Fragment-Host: org.talend.componentdesigner
Bundle-Localization: plugin
Bundle-Vendor: .Talend SA.

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tdi-studio-se</artifactId>
<version>6.2.0-SNAPSHOT</version>
<version>6.3.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.componentdesigner.nl</artifactId>

View File

@@ -2,5 +2,5 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Nl Fragment
Bundle-SymbolicName: org.talend.componentdesigner.rcp.nl
Bundle-Version: 6.2.0.qualifier
Bundle-Version: 6.3.0.qualifier
Fragment-Host: org.talend.componentdesigner.rcp

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tdi-studio-se</artifactId>
<version>6.2.0-SNAPSHOT</version>
<version>6.3.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.componentdesigner.rcp.nl</artifactId>

View File

@@ -2,5 +2,5 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Nl Fragment
Bundle-SymbolicName: org.talend.designer.abstractmap.nl
Bundle-Version: 6.2.0.qualifier
Bundle-Version: 6.3.0.qualifier
Fragment-Host: org.talend.designer.abstractmap

View File

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

View File

@@ -2,5 +2,5 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Nl Fragment
Bundle-SymbolicName: org.talend.designer.alfrescooutput.nl
Bundle-Version: 6.2.0.qualifier
Bundle-Version: 6.3.0.qualifier
Fragment-Host: org.talend.designer.alfrescooutput

View File

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

View File

@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Nl Fragment
Bundle-SymbolicName: org.talend.designer.business.diagram.nl
Bundle-Version: 6.2.0.qualifier
Bundle-Version: 6.3.0.qualifier
Bundle-Vendor: .Talend SA.
Fragment-Host: org.talend.designer.business.diagram
Bundle-Localization: plugin

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tdi-studio-se</artifactId>
<version>6.2.0-SNAPSHOT</version>
<version>6.3.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.designer.business.diagram.nl</artifactId>

View File

@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: org.talend.designer.codegen Nl Fragment
Bundle-SymbolicName: org.talend.designer.codegen.nl
Bundle-Version: 6.2.0.qualifier
Bundle-Version: 6.3.0.qualifier
Fragment-Host: org.talend.designer.codegen
Bundle-Localization: plugin
Bundle-Vendor: .Talend SA.

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tdi-studio-se</artifactId>
<version>6.2.0-SNAPSHOT</version>
<version>6.3.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.designer.codegen.nl</artifactId>

View File

@@ -2,5 +2,5 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Nl
Bundle-SymbolicName: org.talend.designer.components.exchange.nl
Bundle-Version: 6.2.0.qualifier
Bundle-Version: 6.3.0.qualifier
Fragment-Host: org.talend.designer.components.exchange

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tdi-studio-se</artifactId>
<version>6.2.0-SNAPSHOT</version>
<version>6.3.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.designer.components.exchange.nl</artifactId>

View File

@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Designer Plug-in Nl Fragment
Bundle-SymbolicName: org.talend.designer.core.nl
Bundle-Version: 6.2.0.qualifier
Bundle-Version: 6.3.0.qualifier
Fragment-Host: org.talend.designer.core
Bundle-Localization: plugin
Bundle-Vendor: .Talend SA.

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tdi-studio-se</artifactId>
<version>6.2.0-SNAPSHOT</version>
<version>6.3.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.designer.core.nl</artifactId>

View File

@@ -2,5 +2,5 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Nl Fragment
Bundle-SymbolicName: org.talend.designer.dbmap.nl
Bundle-Version: 6.2.0.qualifier
Bundle-Version: 6.3.0.qualifier
Fragment-Host: org.talend.designer.dbmap

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tdi-studio-se</artifactId>
<version>6.2.0-SNAPSHOT</version>
<version>6.3.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.designer.dbmap.nl</artifactId>

View File

@@ -2,5 +2,5 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Nl
Bundle-SymbolicName: org.talend.designer.documentation.nl
Bundle-Version: 6.2.0.qualifier
Bundle-Version: 6.3.0.qualifier
Fragment-Host: org.talend.designer.documentation

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tdi-studio-se</artifactId>
<version>6.2.0-SNAPSHOT</version>
<version>6.3.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.designer.documentation.nl</artifactId>

View File

@@ -2,5 +2,5 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Nl Fragment
Bundle-SymbolicName: org.talend.designer.fileoutputxml.nl
Bundle-Version: 6.2.0.qualifier
Bundle-Version: 6.3.0.qualifier
Fragment-Host: org.talend.designer.fileoutputxml

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tdi-studio-se</artifactId>
<version>6.2.0-SNAPSHOT</version>
<version>6.3.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.designer.fileoutputxml.nl</artifactId>

View File

@@ -2,5 +2,5 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Nl Fragment
Bundle-SymbolicName: org.talend.designer.gefabstractmap.nl
Bundle-Version: 6.2.0.qualifier
Bundle-Version: 6.3.0.qualifier
Fragment-Host: org.talend.designer.gefabstractmap

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tdi-studio-se</artifactId>
<version>6.2.0-SNAPSHOT</version>
<version>6.3.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.designer.gefabstractmap.nl</artifactId>

View File

@@ -2,5 +2,5 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Nl
Bundle-SymbolicName: org.talend.designer.hl7.nl
Bundle-Version: 6.2.0.qualifier
Bundle-Version: 6.3.0.qualifier
Fragment-Host: org.talend.designer.hl7

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tdi-studio-se</artifactId>
<version>6.2.0-SNAPSHOT</version>
<version>6.3.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.designer.hl7.nl</artifactId>

View File

@@ -2,6 +2,6 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Mapper component Plug-in Nl Fragment
Bundle-SymbolicName: org.talend.designer.mapper.nl
Bundle-Version: 6.2.0.qualifier
Bundle-Version: 6.3.0.qualifier
Fragment-Host: org.talend.designer.mapper
Bundle-Vendor: .Talend SA.

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tdi-studio-se</artifactId>
<version>6.2.0-SNAPSHOT</version>
<version>6.3.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.designer.mapper.nl</artifactId>

View File

@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Maven Job NL
Bundle-SymbolicName: org.talend.designer.maven.job.nl
Bundle-Version: 6.2.0.qualifier
Bundle-Version: 6.3.0.qualifier
Bundle-Vendor: .Talend SA.
Fragment-Host: org.talend.designer.maven.job
Bundle-RequiredExecutionEnvironment: JavaSE-1.7

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tdi-studio-se</artifactId>
<version>6.2.0-SNAPSHOT</version>
<version>6.3.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.designer.maven.job.nl</artifactId>

View File

@@ -2,6 +2,6 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Rowgenerator Nl Fragment
Bundle-SymbolicName: org.talend.designer.rowgenerator.nl
Bundle-Version: 6.2.0.qualifier
Bundle-Version: 6.3.0.qualifier
Fragment-Host: org.talend.designer.rowgenerator
Bundle-Vendor: .Talend SA.

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tdi-studio-se</artifactId>
<version>6.2.0-SNAPSHOT</version>
<version>6.3.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.designer.rowgenerator.nl</artifactId>

View File

@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: org.talend.designer.runprocess.nl fragment
Bundle-SymbolicName: org.talend.designer.runprocess.nl
Bundle-Version: 6.2.0.qualifier
Bundle-Version: 6.3.0.qualifier
Bundle-Vendor: .Talend SA.
Fragment-Host: org.talend.designer.runprocess
Bundle-Localization: plugin

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tdi-studio-se</artifactId>
<version>6.2.0-SNAPSHOT</version>
<version>6.3.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.designer.runprocess.nl</artifactId>

View File

@@ -2,5 +2,5 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Nl Fragment
Bundle-SymbolicName: org.talend.designer.scd.nl
Bundle-Version: 6.2.0.qualifier
Bundle-Version: 6.3.0.qualifier
Fragment-Host: org.talend.designer.scd

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tdi-studio-se</artifactId>
<version>6.2.0-SNAPSHOT</version>
<version>6.3.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.designer.scd.nl</artifactId>

View File

@@ -2,5 +2,5 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Nl Fragment
Bundle-SymbolicName: org.talend.designer.webservice.nl
Bundle-Version: 6.2.0.qualifier
Bundle-Version: 6.3.0.qualifier
Fragment-Host: org.talend.designer.webservice

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tdi-studio-se</artifactId>
<version>6.2.0-SNAPSHOT</version>
<version>6.3.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.designer.webservice.nl</artifactId>

View File

@@ -2,5 +2,5 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Nl
Bundle-SymbolicName: org.talend.designer.xmlmap.nl
Bundle-Version: 6.2.0.qualifier
Bundle-Version: 6.3.0.qualifier
Fragment-Host: org.talend.designer.xmlmap

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tdi-studio-se</artifactId>
<version>6.2.0-SNAPSHOT</version>
<version>6.3.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.designer.xmlmap.nl</artifactId>

View File

@@ -2,6 +2,6 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Expression Builder Nl Fragment
Bundle-SymbolicName: org.talend.expressionbuilder.nl
Bundle-Version: 6.2.0.qualifier
Bundle-Version: 6.3.0.qualifier
Fragment-Host: org.talend.expressionbuilder
Bundle-Vendor: .Talend SA.

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tdi-studio-se</artifactId>
<version>6.2.0-SNAPSHOT</version>
<version>6.3.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.expressionbuilder.nl</artifactId>

View File

@@ -2,6 +2,6 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: NL
Bundle-SymbolicName: org.talend.presentation.onboarding.resource.nl
Bundle-Version: 6.2.0.qualifier
Bundle-Version: 6.3.0.qualifier
Fragment-Host: org.talend.presentation.onboarding.resource
Bundle-Vendor: .Talend SA.

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tdi-studio-se</artifactId>
<version>6.2.0-SNAPSHOT</version>
<version>6.3.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.presentation.onboarding.resource.nl</artifactId>

View File

@@ -2,6 +2,6 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: NL
Bundle-SymbolicName: org.talend.presentation.onboarding.resource.tos.nl
Bundle-Version: 6.2.0.qualifier
Bundle-Version: 6.3.0.qualifier
Fragment-Host: org.talend.presentation.onboarding.resource.tos
Bundle-Vendor: .Talend SA.

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tdi-studio-se</artifactId>
<version>6.2.0-SNAPSHOT</version>
<version>6.3.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.presentation.onboarding.resource.tos.nl</artifactId>

View File

@@ -2,5 +2,5 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Nl
Bundle-SymbolicName: org.talend.repository.ftp.nl
Bundle-Version: 6.2.0.qualifier
Bundle-Version: 6.3.0.qualifier
Fragment-Host: org.talend.repository.ftp

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tdi-studio-se</artifactId>
<version>6.2.0-SNAPSHOT</version>
<version>6.3.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.repository.ftp.nl</artifactId>

View File

@@ -2,6 +2,6 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Nl Fragment
Bundle-SymbolicName: org.talend.repository.json.nl
Bundle-Version: 6.2.0.qualifier
Bundle-Version: 6.3.0.qualifier
Fragment-Host: org.talend.repository.json
Bundle-Vendor: .Talend SA.

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tdi-studio-se</artifactId>
<version>6.2.0-SNAPSHOT</version>
<version>6.3.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.repository.json.nl</artifactId>

View File

@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Nl Fragment
Bundle-SymbolicName: org.talend.repository.nl
Bundle-Version: 6.2.0.qualifier
Bundle-Version: 6.3.0.qualifier
Fragment-Host: org.talend.repository
Bundle-Localization: plugin
Bundle-Vendor: .Talend SA.

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tdi-studio-se</artifactId>
<version>6.2.0-SNAPSHOT</version>
<version>6.3.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.repository.nl</artifactId>

View File

@@ -477,7 +477,7 @@ SecurityProjectSettingPage.hidePass=Hide password for document generation
SelectDeleteProjectDialog.deleteWarning=Do not delete projects physically
SelectorTableForm.enterType=Enter type name prefix or pattern (*,?).
SelectorTableForm.nameFilter=Name Filter\:
connections.form.field.usernameNoMail=User name
connections.form.field.usernameNoMail=User Name
ImportProjectSettings.Error=Project settings file is invalid !
ExportTreeViewer.hideJobTree=Hide job tree
ExportTreeViewer.selectItems=Select the items to Export:

View File

@@ -2,5 +2,5 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Nl
Bundle-SymbolicName: org.talend.repository.view.di.nl
Bundle-Version: 6.2.0.qualifier
Bundle-Version: 6.3.0.qualifier
Fragment-Host: org.talend.repository.view.di

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tdi-studio-se</artifactId>
<version>6.2.0-SNAPSHOT</version>
<version>6.3.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.repository.view.di.nl</artifactId>

View File

@@ -2,5 +2,5 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Nl Fragment
Bundle-SymbolicName: org.talend.sbi.engines.client.nl
Bundle-Version: 6.2.0.qualifier
Bundle-Version: 6.3.0.qualifier
Fragment-Host: org.talend.sbi.engines.client

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tdi-studio-se</artifactId>
<version>6.2.0-SNAPSHOT</version>
<version>6.3.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.sbi.engines.client.nl</artifactId>

View File

@@ -2,5 +2,5 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Nl Fragment
Bundle-SymbolicName: org.talend.spagic.engines.client.nl
Bundle-Version: 6.2.0.qualifier
Bundle-Version: 6.3.0.qualifier
Fragment-Host: org.talend.spagic.engines.client

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tdi-studio-se</artifactId>
<version>6.2.0-SNAPSHOT</version>
<version>6.3.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.spagic.engines.client.nl</artifactId>

View File

@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: org.talend.sqlbuilder Nl Fragment
Bundle-SymbolicName: org.talend.sqlbuilder.nl
Bundle-Version: 6.2.0.qualifier
Bundle-Version: 6.3.0.qualifier
Bundle-Vendor: .Talend SA.
Fragment-Host: org.talend.sqlbuilder
Bundle-Localization: plugin

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tdi-studio-se</artifactId>
<version>6.2.0-SNAPSHOT</version>
<version>6.3.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.sqlbuilder.nl</artifactId>

View File

@@ -2,7 +2,7 @@
<feature
id="org.talend.componentdesigner.feature"
label="Componentdesigner_feature Feature"
version="6.2.0.qualifier"
version="6.3.0.qualifier"
provider-name=".Talend SA.">
<description url="http://www.example.com/description">

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tdi-studio-se</artifactId>
<version>6.2.0-SNAPSHOT</version>
<version>6.3.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.componentdesigner.feature</artifactId>

View File

@@ -2,7 +2,7 @@
<feature
id="org.talend.designer.business.feature"
label="Business Feature"
version="6.2.0.qualifier"
version="6.3.0.qualifier"
provider-name=".Talend SA.">
<description url="http://www.talend.com/online/featuresdescription.html#business-feature">

View File

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

View File

@@ -2,7 +2,7 @@
<feature
id="org.talend.designer.feature"
label="Designer Feature"
version="6.2.0.qualifier"
version="6.3.0.qualifier"
provider-name=".Talend SA.">
<description url="http://www.talend.com/online/featuresdescription.html#designer-feature">

View File

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

View File

@@ -2,7 +2,7 @@
<feature
id="org.talend.rcp.branding.tos.feature"
label="Tos branding feature"
version="6.2.0.qualifier"
version="6.3.0.qualifier"
provider-name=".Talend SA."
plugin="org.talend.rcp.branding.tos">
@@ -51,4 +51,12 @@
install-size="0"
version="0.0.0"
fragment="true"/>
<plugin
id="org.talend.designer.maven.tos"
download-size="0"
install-size="0"
version="0.0.0"
fragment="true"/>
</feature>

View File

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

View File

@@ -2,7 +2,7 @@
<feature
id="org.talend.rcp.branding.tos.test.feature"
label="Test feature for TOS"
version="6.2.0.qualifier">
version="6.3.0.qualifier">
<description url="http://www.example.com/description">
[Enter Feature Description here.]
@@ -337,11 +337,52 @@
fragment="true"
unpack="false"/>
<plugin
<plugin
id="org.talend.designer.webservice.test"
download-size="0"
install-size="0"
version="0.0.0"
fragment="true"
unpack="false"/>
<plugin
id="org.talend.updates.runtime.test"
download-size="0"
install-size="0"
version="0.0.0"
fragment="true"
unpack="false"/>
<plugin
id="org.talend.repository.view.test"
download-size="0"
install-size="0"
version="0.0.0"
fragment="true"
unpack="false"/>
<plugin
id="org.talend.migrationTool.test"
download-size="0"
install-size="0"
version="0.0.0"
fragment="true"
unpack="false"/>
<plugin
id="org.talend.metadata.managment.ui.test"
download-size="0"
install-size="0"
version="0.0.0"
fragment="true"
unpack="false"/>
<plugin
id="org.talend.model.test"
download-size="0"
install-size="0"
version="0.0.0"
fragment="true"
unpack="false"/>
</feature>

View File

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

View File

@@ -2,7 +2,7 @@
<feature
id="org.talend.repository.feature"
label="Repository Feature"
version="6.2.0.qualifier"
version="6.3.0.qualifier"
provider-name=".Talend SA.">
<description url="http://www.talend.com/online/featuresdescription.html#repository-feature">

View File

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

View File

@@ -2,7 +2,7 @@
<feature
id="org.talend.sbi.feature"
label="SBI Feature"
version="6.2.0.qualifier"
version="6.3.0.qualifier"
provider-name=".Talend SA.">
<description url="http://www.talend.com/online/featuresdescription.html#sbi-feature">

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tdi-studio-se</artifactId>
<version>6.2.0-SNAPSHOT</version>
<version>6.3.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.sbi.feature</artifactId>

View File

@@ -2,7 +2,7 @@
<feature
id="org.talend.spagic.feature"
label="SPAGIC Feature"
version="6.2.0.qualifier"
version="6.3.0.qualifier"
provider-name=".Talend SA.">
<description url="http://www.talend.com/online/featuresdescription.html#spagic-feature">

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tdi-studio-se</artifactId>
<version>6.2.0-SNAPSHOT</version>
<version>6.3.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.spagic.feature</artifactId>

View File

@@ -2,7 +2,7 @@
<feature
id="org.talend.tos.components.feature"
label="Components-feature"
version="6.2.0.qualifier">
version="6.3.0.qualifier">
<description url="http://www.example.com/description">
[Enter Feature Description here.]
@@ -254,6 +254,14 @@
fragment="true"
unpack="false"/>
<plugin
id="biz.aQute.bnd.annotation"
download-size="0"
install-size="0"
version="0.0.0"
fragment="true"
unpack="false"/>
<plugin
id="org.talend.components.api"
download-size="0"
@@ -262,6 +270,14 @@
fragment="true"
unpack="false"/>
<plugin
id="org.talend.components.api.service"
download-size="0"
install-size="0"
version="0.0.0"
fragment="true"
unpack="false"/>
<plugin
id="org.talend.components.common"
download-size="0"
@@ -292,12 +308,6 @@
version="0.0.0"
unpack="false"/>
<plugin
id="org.talend.components.salesforce"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="org.talend.components.salesforce"
download-size="0"
@@ -319,10 +329,4 @@
version="0.0.0"
unpack="false"/>
<plugin
id="org.talend.components.dataprep"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
</feature>

View File

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

View File

@@ -2,7 +2,7 @@
<feature
id="org.talend.tos.feature"
label="Tos feature"
version="6.2.0.qualifier"
version="6.3.0.qualifier"
provider-name=".Talend SA.">
<description url="http://www.example.com/description">

View File

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

View File

@@ -2,7 +2,7 @@
<feature
id="org.talend.tos.libraries.feature"
label="Libraries_feature"
version="6.2.0.qualifier">
version="6.3.0.qualifier">
<description url="http://www.example.com/description">
[Enter Feature Description here.]
@@ -295,11 +295,5 @@
install-size="0"
version="1.0.4.v201101211617"
unpack="false"/>
<plugin
id="org.talend.libraries.redshift"
download-size="0"
install-size="0"
version="0.0.0"/>
</feature>

View File

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

View File

@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Rcp Plug-in
Bundle-SymbolicName: org.talend.componentdesigner.rcp; singleton:=true
Bundle-Version: 6.2.0.qualifier
Bundle-Version: 6.3.0.qualifier
Bundle-Activator: org.talend.componentdesigner.rcp.Activator
Require-Bundle: org.eclipse.ui,
org.eclipse.core.runtime,

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tdi-studio-se</artifactId>
<version>6.2.0-SNAPSHOT</version>
<version>6.3.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.componentdesigner.rcp</artifactId>

View File

@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Componentdesigner Plug-in
Bundle-SymbolicName: org.talend.componentdesigner; singleton:=true
Bundle-Version: 6.2.0.qualifier
Bundle-Version: 6.3.0.qualifier
Bundle-Activator: org.talend.componentdesigner.ComponentDesigenerPlugin
Require-Bundle: org.talend.model,
org.eclipse.ui,

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tdi-studio-se</artifactId>
<version>6.2.0-SNAPSHOT</version>
<version>6.3.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.componentdesigner</artifactId>

View File

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

View File

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

View File

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

View File

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

View File

@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: org.talend.designer.business.diagram; singleton:=true
Bundle-Version: 6.2.0.qualifier
Bundle-Version: 6.3.0.qualifier
Bundle-ClassPath: .
Bundle-Activator: org.talend.designer.business.model.business.diagram.part.BusinessDiagramEditorPlugin
Bundle-Vendor: %providerName

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tdi-studio-se</artifactId>
<version>6.2.0-SNAPSHOT</version>
<version>6.3.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.designer.business.diagram</artifactId>

View File

@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: CodeGen Plug-in
Bundle-SymbolicName: org.talend.designer.codegen;singleton:=true
Bundle-Version: 6.2.0.qualifier
Bundle-Version: 6.3.0.qualifier
Bundle-Localization: plugin
Require-Bundle: org.talend.core.repository,
org.eclipse.emf.codegen,

View File

@@ -49,7 +49,8 @@ public class CLASS
if(isMultiThread){
toReturn += "\n}catch (java.lang.Error e_" + rootNode.getUniqueName() + ") {\n";
toReturn += "globalMap.put(\""+rootNode.getUniqueName()+ "_SUBPROCESS_STATE\", -1);\n";
toReturn += "\ne_" + rootNode.getUniqueName() + ".printStackTrace();\n";
toReturn += failure_multiThread;
toReturn += "throw e_" + rootNode.getUniqueName() + ";\n";
}
toReturn += "\n}";
return toReturn;

View File

@@ -1,36 +1,37 @@
<%@ jet
imports="
java.util.List
org.talend.designer.core.generic.model.Component
java.util.ArrayList
java.util.HashMap
java.util.HashSet
java.util.List
java.util.Map
java.util.Set
java.util.HashSet
java.util.HashMap
java.util.Stack
org.talend.components.api.component.ComponentDefinition
org.talend.components.api.component.EndpointComponentDefinition
org.talend.components.api.component.InputComponentDefinition
org.talend.components.api.component.OutputComponentDefinition
org.talend.components.api.properties.ComponentProperties
org.talend.components.api.container.RuntimeContainer
org.talend.daikon.properties.Property
org.talend.daikon.NamedThing
org.talend.designer.core.generic.model.Component
org.talend.components.api.properties.ComponentProperties
org.talend.core.model.metadata.IMetadataColumn
org.talend.core.model.metadata.IMetadataTable
org.talend.core.model.metadata.types.JavaType
org.talend.core.model.metadata.types.JavaTypesManager
org.talend.core.model.process.EConnectionType
org.talend.core.model.process.ElementParameterParser
org.talend.core.model.process.IElementParameter
org.talend.core.model.process.EParameterFieldType
org.talend.core.model.process.IConnection
org.talend.core.model.process.IConnectionCategory
org.talend.core.model.process.EConnectionType
org.talend.core.model.process.IElementParameter
org.talend.core.model.process.INode
org.talend.core.model.utils.TalendTextUtils
org.talend.daikon.NamedThing
org.talend.daikon.properties.property.Property
org.talend.designer.codegen.config.CodeGeneratorArgument
org.talend.core.model.process.EParameterFieldType
"
%>
<%@include file="@{org.talend.designer.codegen}/jet_stub/generic/component_util_indexedrecord_to_rowstruct.javajet"%>
<%
CodeGeneratorArgument codeGenArgument = (CodeGeneratorArgument) argument;
INode node = (INode)codeGenArgument.getArgument();
@@ -42,93 +43,92 @@ ComponentDefinition def = component.getComponentDefinition();
List<IMetadataTable> metadatas = node.getMetadataList();
IMetadataTable metadata = null;
List<IMetadataColumn> columnList = null;
boolean hasDynamic = false;
String dynamicColName = null;
int dynamicPos = -1;
if ((metadatas != null) && (metadatas.size() > 0)) { // metadata
metadata = metadatas.get(0);
if(metadata != null){
columnList = metadata.getListColumns();
int nbSchemaColumns = columnList.size();
hasDynamic = false;
int pos = 0;
for (IMetadataColumn column : columnList) {
if (column.getTalendType().equals("id_Dynamic")) {
hasDynamic = true;
dynamicPos = pos;
dynamicColName = column.getLabel();
break;
}
pos++;
}
}
metadata = metadatas.get(0);
if(metadata != null){
columnList = metadata.getListColumns();
}
}
// Set up the component definition, and the properties for all types of
// components.
%>
org.talend.components.api.component.ComponentDefinition def_<%=cid %> =
new <%= def.getClass().getName()%>();
new <%= def.getClass().getName()%>();
<%
List<Component.CodegenPropInfo> propsToProcess = component.getCodegenPropInfos(componentProps);
%>
<%= componentProps.getClass().getName()%> props_<%=cid %> = (<%= componentProps.getClass().getName()%>) def_<%=cid %>.createRuntimeProperties();
<%= componentProps.getClass().getName()%> props_<%=cid %> =
(<%= componentProps.getClass().getName()%>) def_<%=cid %>.createRuntimeProperties();
<%
for (Component.CodegenPropInfo propInfo : propsToProcess) { // propInfo
List<NamedThing> properties = propInfo.props.getProperties();
for (NamedThing prop : properties) { // property
List<NamedThing> properties = propInfo.props.getProperties();
for (NamedThing prop : properties) { // property
if (prop instanceof Property) { // if, only deal with valued Properties
Property property = (Property)prop;
if (property.getFlags() != null && (property.getFlags().contains(Property.Flags.DESIGN_TIME_ONLY) || property.getFlags().contains(Property.Flags.HIDDEN)))
continue;
Object value = property.getValue();
if (value != null && (value instanceof List)) { // if
continue;
Object value = property.getStoredValue();
if (value != null) {
if (value instanceof List) { // if
// added for the support of tables
String tmpVarName = cid+propInfo.fieldName.replace('.','_')+"_"+property.getName();
%>
java.util.List<String> <%=tmpVarName %> = new java.util.ArrayList<String>();
<%
for (String subPropertyValue : (java.util.List<String>)property.getValue()) {
if ((property.getType() == Property.Type.BOOLEAN) || (property.getType() == Property.Type.ENUM)) {
%>
<%=tmpVarName %>.add("<%=subPropertyValue %>");
<%
} else {
if(!"".equals(subPropertyValue)) {
%>
<%=tmpVarName %>.add(<%=subPropertyValue %>);
<%
} else {
%>
<%=tmpVarName %>.add("");
<%
}
}
}
%>
((org.talend.daikon.properties.Properties)props_<%=cid %><%=propInfo.fieldName%>).setValue("<%=property.getName()%>",<%=tmpVarName %>);
String tmpVarName = cid+propInfo.fieldName.replace('.','_')+"_"+property.getName();
%>
java.util.List<Object> <%=tmpVarName %> = new java.util.ArrayList<Object>();
<%
} else if (property.isFlag(Property.Flags.ENCRYPT) && ElementParameterParser.canEncryptValue(property.getStringValue())) {
for (Object subPropertyValue : (java.util.List<Object>)property.getValue()) {
if (property.getPossibleValues() != null && property.getPossibleValues().size() > 0) {
%>
<%=tmpVarName %>.add("<%=subPropertyValue %>");
<%
} else if(!"".equals(subPropertyValue)) {
%>
<%=tmpVarName %>.add(<%=subPropertyValue %>);
<%
} else {
%>
<%=tmpVarName %>.add("");
<%
}
}
%>
((org.talend.daikon.properties.Properties)props_<%=cid %><%=propInfo.fieldName%>).setValue("<%=property.getName()%>",<%=tmpVarName %>);
<%
} else if (value instanceof String && property.isFlag(Property.Flags.ENCRYPT) && ElementParameterParser.canEncryptValue((String) value)) {
if (!"".equals(property.getStringValue())) {
%>
props_<%=cid %><%=propInfo.fieldName%>.setValue("<%=property.getName()%>",
routines.system.PasswordEncryptUtil.decryptPassword(<%=component.getCodegenValue(property, (String) value)%>));
<%
}
} else if (value != null && "java.util.Date".equals(property.getType())){
%>
props_<%=cid %><%=propInfo.fieldName%>.setValue("<%=property.getName()%>",
routines.system.PasswordEncryptUtil.decryptPassword(<%=component.getCodegenValue(property, property.getStringValue())%>));
TalendDate.parseDate("yyyy-MM-dd HH:mm:ss",<%=component.getCodegenValue(property, value.toString())%>));
<%
} else if (value != null && Property.Type.DATE.equals(property.getType())){
%>
props_<%=cid %><%=propInfo.fieldName%>.setValue("<%=property.getName()%>",
TalendDate.parseDate("yyyy-MM-dd HH:mm:ss",<%=component.getCodegenValue(property, property.getStringValue())%>));
<%
} else if (value != null && (!(value instanceof String) || !((String)value).equals(""))) { // if
%>
} else if (property instanceof org.talend.daikon.properties.property.EnumProperty) {
%>
props_<%=cid %><%=propInfo.fieldName%>.setValue("<%=property.getName()%>",
<%=component.getCodegenValue(property, property.getStringValue())%>);
<%=property.getType()%>.<%=property.getValue()%>);
<%
} // if
} else if (property instanceof org.talend.daikon.properties.property.SchemaProperty) {
%>
props_<%=cid %><%=propInfo.fieldName%>.setValue("<%=property.getName()%>",
new org.apache.avro.Schema.Parser().parse(<%=component.getCodegenValue(property, property.getStringValue())%>));
<%
} else if (!(value instanceof String) || !((String)value).equals("")) { // if
%>
props_<%=cid %><%=propInfo.fieldName%>.setValue("<%=property.getName()%>",
<%=component.getCodegenValue(property, value.toString())%>);
<%
} // if
}
}//else may be a ComponentProperties so ignore
} // property
} // property
} // propInfo
%>
org.talend.components.api.container.RuntimeContainer container_<%=cid%> = new org.talend.components.api.container.RuntimeContainer() {
@@ -145,323 +145,206 @@ org.talend.components.api.container.RuntimeContainer container_<%=cid%> = new or
}
};
int nb_line_<%=cid %> = 0;
<%
if (def instanceof EndpointComponentDefinition) {
%>
org.talend.components.api.component.runtime.SourceOrSink sourceOrSink_<%=cid%> = ((org.talend.components.api.component.EndpointComponentDefinition)def_<%=cid%>).getRuntime();
sourceOrSink_<%=cid%>.initialize(container_<%=cid%>, props_<%=cid%>);
org.talend.daikon.properties.ValidationResult vr_<%=cid%> = sourceOrSink_<%=cid%>.validate(container_<%=cid%>);
if (vr_<%=cid%>.getStatus() == org.talend.daikon.properties.ValidationResult.Result.ERROR ) {
throw new RuntimeException(vr_<%=cid%>.getMessage());
}
<%
%>
org.talend.components.api.component.runtime.SourceOrSink sourceOrSink_<%=cid%> = ((org.talend.components.api.component.EndpointComponentDefinition)def_<%=cid%>).getRuntime();
sourceOrSink_<%=cid%>.initialize(container_<%=cid%>, props_<%=cid%>);
org.talend.daikon.properties.ValidationResult vr_<%=cid%> = sourceOrSink_<%=cid%>.validate(container_<%=cid%>);
if (vr_<%=cid%>.getStatus() == org.talend.daikon.properties.ValidationResult.Result.ERROR ) {
throw new RuntimeException(vr_<%=cid%>.getMessage());
}
<%
}
if (metadata != null) {
if (def instanceof InputComponentDefinition) {
%>
org.talend.components.api.component.runtime.Source source_<%=cid%> = (org.talend.components.api.component.runtime.Source)sourceOrSink_<%=cid%>;
org.talend.components.api.component.runtime.Reader reader_<%=cid%> = source_<%=cid%>.createReader(container_<%=cid%>);
// Return at this point if there is no metadata.
if (metadata == null)
return stringBuffer.toString();
<%
IConnection main = null;
List<? extends IConnection> mains = node.getOutgoingConnections(EConnectionType.FLOW_MAIN);
if(mains!=null && !mains.isEmpty()) {
main = mains.get(0);
}
IConnection reject = null;
for(IConnection outConn : node.getOutgoingConnections()) {
if(!outConn.getLineStyle().hasConnectionCategory(IConnectionCategory.DATA)) {
continue;
}
if(main!=null && main.getName().equals(outConn.getName())) {
continue;
}
reject = outConn;
break;
}
boolean hasDataOutput = main!=null || reject!=null;
// FIXME - multiple outgoing connections?
if(hasDataOutput) {
if(hasDynamic){
%>
boolean initDyn_<%=cid%> = false;
routines.system.Dynamic dynamic_<%=cid%> = new routines.system.Dynamic();
<%
}
IConnection schemaSourceConnector = (main!=null ? main : reject);
String schemaSourceConnectorName = schemaSourceConnector.getMetadataTable().getAttachedConnector();
%>
boolean multi_output_is_allowed_<%=cid%> = false;
<% //take care SourceOrSink.validate will change the schema if it contains include-all-fields, so need to get design Avro schema before validate %>
org.talend.components.api.component.Connector c_<%=cid%> = null;
for (org.talend.components.api.component.Connector currentConnector : props_<%=cid %>.getAvailableConnectors(null, true)) {
if (currentConnector.getName().equals("<%=schemaSourceConnectorName%>")) {
c_<%=cid%> = currentConnector;
}
if (currentConnector.getName().equals("REJECT")) {//it's better to move the code to javajet
multi_output_is_allowed_<%=cid%> = true;
}
}
org.apache.avro.Schema schema_<%=cid%> = props_<%=cid %>.getSchema(c_<%=cid%>, true);
if (def instanceof InputComponentDefinition) {
%>
org.talend.components.api.component.runtime.Source source_<%=cid%> =
(org.talend.components.api.component.runtime.Source)sourceOrSink_<%=cid%>;
org.talend.components.api.component.runtime.Reader reader_<%=cid%> =
source_<%=cid%>.createReader(container_<%=cid%>);
org.talend.daikon.talend6.Talend6OutgoingSchemaEnforcer current_<%=cid%> = new org.talend.daikon.talend6.Talend6OutgoingSchemaEnforcer(schema_<%=cid%>, false);
// Create a reusable factory that converts the output of the reader to an IndexedRecord.
org.talend.daikon.avro.IndexedRecordAdapterFactory<Object, ? extends org.apache.avro.generic.IndexedRecord> factory_<%=cid%> = null;
<%
IConnection main = null;
List<? extends IConnection> mains = node.getOutgoingConnections("MAIN");
if (mains!=null && !mains.isEmpty()) {
main = mains.get(0);
}
<%
}
%>
// Iterate through the incoming data.
for(boolean available = reader_<%=cid%>.start(); available; available = reader_<%=cid%>.advance()) {//}
<%
if(hasDataOutput) {
%>
if(multi_output_is_allowed_<%=cid%>) {
<%if(main!=null){%>
<%=main.getName()%> = null;
<%}%>
<%if(reject!=null){%>
<%=reject.getName()%> = null;
<%}%>
}
try {
Object data_<%=cid%> = reader_<%=cid%>.getCurrent();
<%if(main!=null){%>
if(multi_output_is_allowed_<%=cid%>) {
<%=main.getName()%> = new <%=main.getName() %>Struct();
}
// Construct the factory once when the first data arrives.
if (factory_<%=cid%> == null)
factory_<%=cid%> = (org.talend.daikon.avro.IndexedRecordAdapterFactory<Object, ? extends org.apache.avro.generic.IndexedRecord>) new org.talend.daikon.avro.AvroRegistry()
.createAdapterFactory(data_<%=cid%>.getClass());
IConnection reject = null;
List<? extends IConnection> rejects = node.getOutgoingConnections("REJECT");
if (rejects != null && !rejects.isEmpty()) {
reject = rejects.get(0);
}
boolean hasDataOutput = (main != null || reject != null);
IndexedRecordToRowStructGenerator irToRow = null;
// Enforce the outgoing schema on the input.
org.apache.avro.generic.IndexedRecord unenforced_<%=cid%> = factory_<%=cid%>.convertToAvro(data_<%=cid%>);
current_<%=cid%>.setWrapped(unenforced_<%=cid%>);
<%
if(hasDynamic){
%>
if(!initDyn_<%=cid%>){
org.apache.avro.Schema dynSchema_<%=cid%> = current_<%=cid%>.getOutgoingDynamicRuntimeSchema();
for(org.apache.avro.Schema.Field childDynamic_<%=cid%> : dynSchema_<%=cid%>.getFields()){
routines.system.DynamicMetadata dynamicMetadata_<%=cid%> = new routines.system.DynamicMetadata();
dynamicMetadata_<%=cid%>.setName(childDynamic_<%=cid%>.name());
dynamicMetadata_<%=cid%>.setDbName(childDynamic_<%=cid%>.name());
String talendType_<%=cid%> = null;
if(childDynamic_<%=cid%>.schema().getType() == org.apache.avro.Schema.Type.ARRAY){
talendType_<%=cid%> = "<%=JavaTypesManager.LIST.getId()%>";
}else if(childDynamic_<%=cid%>.schema().getType() == org.apache.avro.Schema.Type.BOOLEAN){
talendType_<%=cid%> = "<%=JavaTypesManager.BOOLEAN.getId()%>";
}else if(childDynamic_<%=cid%>.schema().getType() == org.apache.avro.Schema.Type.BYTES){
talendType_<%=cid%> = "<%=JavaTypesManager.BYTE_ARRAY.getId()%>";
}else if(childDynamic_<%=cid%>.schema().getType() == org.apache.avro.Schema.Type.FIXED){
talendType_<%=cid%> = "<%=JavaTypesManager.BYTE_ARRAY.getId()%>";
}else if(childDynamic_<%=cid%>.schema().getType() == org.apache.avro.Schema.Type.DOUBLE){
talendType_<%=cid%> = "<%=JavaTypesManager.DOUBLE.getId()%>";
}else if(childDynamic_<%=cid%>.schema().getType() == org.apache.avro.Schema.Type.FLOAT){
talendType_<%=cid%> = "<%=JavaTypesManager.FLOAT.getId()%>";
}else if(childDynamic_<%=cid%>.schema().getType() == org.apache.avro.Schema.Type.INT){
talendType_<%=cid%> = "<%=JavaTypesManager.INTEGER.getId()%>";
}else if(childDynamic_<%=cid%>.schema().getType() == org.apache.avro.Schema.Type.LONG){
talendType_<%=cid%> = "<%=JavaTypesManager.LONG.getId()%>";
}else if(childDynamic_<%=cid%>.schema().getType() == org.apache.avro.Schema.Type.ENUM){
talendType_<%=cid%> = "<%=JavaTypesManager.STRING.getId()%>";
}else if(childDynamic_<%=cid%>.schema().getType() == org.apache.avro.Schema.Type.STRING){
talendType_<%=cid%> = "<%=JavaTypesManager.STRING.getId()%>";
}
dynamicMetadata_<%=cid%>.setType(talendType_<%=cid%>);
dynamic_<%=cid%>.metadatas.add(dynamicMetadata_<%=cid%>);
}
initDyn_<%=cid%> = true;
}
dynamic_<%=cid%>.clearColumnValues();
<%
}
List<IMetadataColumn> main_output_columnList = main.getMetadataTable().getListColumns();
for (int i = 0; i < main_output_columnList.size(); i++) {
IMetadataColumn column = main_output_columnList.get(i);
String columnName = column.getLabel();
JavaType javaType = JavaTypesManager.getJavaTypeFromId(column.getTalendType());
String typeToGenerate = JavaTypesManager.getTypeToGenerate(column.getTalendType(), column.isNullable());
if(columnName.equals(dynamicColName)){
%>
java.util.Map<String, Object> dynamicValue_<%=cid%> = (java.util.Map<String, Object>)current_<%=cid%>.get(<%=i%>);
for(String dynamicValue_Key_<%=cid%> : dynamicValue_<%=cid%>.keySet()){
dynamic_<%=cid%>.setColumnValue(dynamic_<%=cid%>.getIndex(dynamicValue_Key_<%=cid%>), dynamicValue_<%=cid%>.get(dynamicValue_Key_<%=cid%>));
}
<%=main.getName()%>.<%=dynamicColName%> = dynamic_<%=cid%>;
<%
}else{
%>
if(current_<%=cid%>.get(<%=i%>) == null){
<%=main.getName()%>.<%=columnName%> = <%=JavaTypesManager.getDefaultValueFromJavaType(typeToGenerate)%>;
}else{
<%if(javaType == JavaTypesManager.STRING){%>
<%=main.getName()%>.<%=columnName%> = String.valueOf(current_<%=cid%>.get(<%=i%>));
<%}else{%>
<%=main.getName()%>.<%=columnName%> = (<%=typeToGenerate%>)(current_<%=cid%>.get(<%=i%>));
<%}%>
}
<%
}
}
%>
<%}%>
} catch (org.talend.components.api.exception.DataRejectException e_<%=cid%>) {
<%if(reject!=null){%>
java.util.Map<String,Object> info_<%=cid%> = e_<%=cid%>.getRejectInfo();
Object data_<%=cid%> = info_<%=cid%>.get("talend_record");
if(multi_output_is_allowed_<%=cid%>) {
<%=reject.getName()%> = new <%=reject.getName() %>Struct();
}
// Construct the factory once when the first data arrives.
if (factory_<%=cid%> == null)
factory_<%=cid%> = (org.talend.daikon.avro.IndexedRecordAdapterFactory<Object, ? extends org.apache.avro.generic.IndexedRecord>) new org.talend.daikon.avro.AvroRegistry()
.createAdapterFactory(data_<%=cid%>.getClass());
// Enforce the outgoing schema on the input.
org.apache.avro.generic.IndexedRecord unenforced_<%=cid%> = factory_<%=cid%>.convertToAvro(data_<%=cid%>);
current_<%=cid%>.setWrapped(unenforced_<%=cid%>);
<%
if(hasDynamic){
%>
if(!initDyn_<%=cid%>){
org.apache.avro.Schema dynSchema_<%=cid%> = current_<%=cid%>.getOutgoingDynamicRuntimeSchema();
for(org.apache.avro.Schema.Field childDynamic_<%=cid%> : dynSchema_<%=cid%>.getFields()){
routines.system.DynamicMetadata dynamicMetadata_<%=cid%> = new routines.system.DynamicMetadata();
dynamicMetadata_<%=cid%>.setName(childDynamic_<%=cid%>.name());
dynamicMetadata_<%=cid%>.setDbName(childDynamic_<%=cid%>.name());
String talendType_<%=cid%> = null;
if(childDynamic_<%=cid%>.schema().getType() == org.apache.avro.Schema.Type.ARRAY){
talendType_<%=cid%> = "<%=JavaTypesManager.LIST.getId()%>";
}else if(childDynamic_<%=cid%>.schema().getType() == org.apache.avro.Schema.Type.BOOLEAN){
talendType_<%=cid%> = "<%=JavaTypesManager.BOOLEAN.getId()%>";
}else if(childDynamic_<%=cid%>.schema().getType() == org.apache.avro.Schema.Type.BYTES){
talendType_<%=cid%> = "<%=JavaTypesManager.BYTE_ARRAY.getId()%>";
}else if(childDynamic_<%=cid%>.schema().getType() == org.apache.avro.Schema.Type.FIXED){
talendType_<%=cid%> = "<%=JavaTypesManager.BYTE_ARRAY.getId()%>";
}else if(childDynamic_<%=cid%>.schema().getType() == org.apache.avro.Schema.Type.DOUBLE){
talendType_<%=cid%> = "<%=JavaTypesManager.DOUBLE.getId()%>";
}else if(childDynamic_<%=cid%>.schema().getType() == org.apache.avro.Schema.Type.FLOAT){
talendType_<%=cid%> = "<%=JavaTypesManager.FLOAT.getId()%>";
}else if(childDynamic_<%=cid%>.schema().getType() == org.apache.avro.Schema.Type.INT){
talendType_<%=cid%> = "<%=JavaTypesManager.INTEGER.getId()%>";
}else if(childDynamic_<%=cid%>.schema().getType() == org.apache.avro.Schema.Type.LONG){
talendType_<%=cid%> = "<%=JavaTypesManager.LONG.getId()%>";
}else if(childDynamic_<%=cid%>.schema().getType() == org.apache.avro.Schema.Type.ENUM){
talendType_<%=cid%> = "<%=JavaTypesManager.STRING.getId()%>";
}else if(childDynamic_<%=cid%>.schema().getType() == org.apache.avro.Schema.Type.STRING){
talendType_<%=cid%> = "<%=JavaTypesManager.STRING.getId()%>";
}
dynamicMetadata_<%=cid%>.setType(talendType_<%=cid%>);
dynamic_<%=cid%>.metadatas.add(dynamicMetadata_<%=cid%>);
}
initDyn_<%=cid%> = true;
}
dynamic_<%=cid%>.clearColumnValues();
<%
}
Set<String> commonColumns = new HashSet<String>();
for (int i = 0; i < columnList.size(); i++) {
IMetadataColumn column = columnList.get(i);
String columnName = column.getLabel();
commonColumns.add(columnName);
JavaType javaType = JavaTypesManager.getJavaTypeFromId(column.getTalendType());
String typeToGenerate = JavaTypesManager.getTypeToGenerate(column.getTalendType(), column.isNullable());
if(columnName.equals(dynamicColName)){
%>
java.util.Map<String, Object> dynamicValue_<%=cid%> = (java.util.Map<String, Object>)current_<%=cid%>.get(<%=i%>);
for(String dynamicValue_Key_<%=cid%> : dynamicValue_<%=cid%>.keySet()){
dynamic_<%=cid%>.setColumnValue(dynamic_<%=cid%>.getIndex(dynamicValue_Key_<%=cid%>), dynamicValue_<%=cid%>.get(dynamicValue_Key_<%=cid%>));
}
<%=main.getName()%>.<%=dynamicColName%> = dynamic_<%=cid%>;
<%
}else{
%>
if(current_<%=cid%>.get(<%=i%>) == null){
<%=main.getName()%>.<%=columnName%> = <%=JavaTypesManager.getDefaultValueFromJavaType(typeToGenerate)%>;
}else{
<%if(javaType == JavaTypesManager.STRING){%>
<%=main.getName()%>.<%=columnName%> = String.valueOf(current_<%=cid%>.get(<%=i%>));
<%}else{%>
<%=main.getName()%>.<%=columnName%> = (<%=typeToGenerate%>)(current_<%=cid%>.get(<%=i%>));
<%}%>
}
<%
}
}
//pass error columns
List<IMetadataColumn> rejectColumns = reject.getMetadataTable().getListColumns();
for(IMetadataColumn column : rejectColumns) {
String columnName = column.getLabel();
JavaType javaType = JavaTypesManager.getJavaTypeFromId(column.getTalendType());
String typeToGenerate = JavaTypesManager.getTypeToGenerate(column.getTalendType(), column.isNullable());
//error columns
if(!commonColumns.contains(columnName)) {
%>
<%=reject.getName()%>.<%=columnName%> = (<%=typeToGenerate%>)info_<%=cid%>.get("<%=columnName%>");
<%
}
}
%>
<%}%>
}
<%
}
} else if (def instanceof OutputComponentDefinition) {
if(hasDataOutput) {
IConnection schemaSourceConnector = (main!=null ? main : reject);
String schemaSourceConnectorName = schemaSourceConnector.getMetadataTable().getAttachedConnector();
%>
org.talend.components.api.component.runtime.Sink sink_<%=cid%> = (org.talend.components.api.component.runtime.Sink)sourceOrSink_<%=cid%>;
org.talend.components.api.component.runtime.WriteOperation writeOperation_<%=cid%> = sink_<%=cid%>.createWriteOperation();
writeOperation_<%=cid%>.initialize(container_<%=cid%>);<%//create folder for file; create database/table for db%>
org.talend.components.api.component.runtime.Writer writer_<%=cid%> = writeOperation_<%=cid%>.createWriter(container_<%=cid%>);
writer_<%=cid%>.open("<%=cid%>");
boolean multi_output_is_allowed_<%=cid%> = false;
<% //take care SourceOrSink.validate will change the schema if it contains include-all-fields, so need to get design Avro schema before validate %>
org.talend.components.api.component.Connector c_<%=cid%> = null;
<%//Why didn't we use false here? This is an Output component, so we need input connectors, don't we?%>
for (org.talend.components.api.component.Connector currentConnector : props_<%=cid %>.getAvailableConnectors(null, false)) {
if (currentConnector.getName().equals("MAIN")) {
for (org.talend.components.api.component.Connector currentConnector : props_<%=cid %>.getAvailableConnectors(null, true)) {
if (currentConnector.getName().equals("<%=schemaSourceConnectorName%>")) {
c_<%=cid%> = currentConnector;
break;
}
if (currentConnector.getName().equals("REJECT")) {//it's better to move the code to javajet
multi_output_is_allowed_<%=cid%> = true;
}
}
<%//Why didn't we use false here? This is an Output component, so we need input connectors, don't we? However, the boolean argument isn't used in the code.
//Maybe we need to remove it from the method signature at all? It could be used in other places, so I won't touch it for now.%>
org.apache.avro.Schema designSchema_<%=cid%> = props_<%=cid %>.getSchema(c_<%=cid%>, false);
org.talend.daikon.talend6.Talend6IncomingSchemaEnforcer current_<%=cid%>
= new org.talend.daikon.talend6.Talend6IncomingSchemaEnforcer(designSchema_<%=cid%>);
<%
}
org.apache.avro.Schema schema_<%=cid%> = props_<%=cid %>.getSchema(c_<%=cid%>, true);
<%
irToRow = new IndexedRecordToRowStructGenerator(cid, null, columnList);
irToRow.generateInitialVariables("schema_" + cid, false);
}
%>
// Iterate through the incoming data.
boolean available_<%=cid%> = reader_<%=cid%>.start();
resourceMap.put("reader_<%=cid%>", reader_<%=cid%>);
for (; available_<%=cid%>; available_<%=cid%> = reader_<%=cid%>.advance()) {
nb_line_<%=cid %>++;
<%if(hasDataOutput) {%>
if (multi_output_is_allowed_<%=cid%>) {
<%if(main!=null){%>
<%=main.getName()%> = null;
<%}%>
<%if(reject!=null){%>
<%=reject.getName()%> = null;
<%}%>
}
<%}%>
try {
Object data_<%=cid%> = reader_<%=cid%>.getCurrent();
<%
if (main != null) {
%>
if(multi_output_is_allowed_<%=cid%>) {
<%=main.getName()%> = new <%=main.getName() %>Struct();
}
<%
irToRow.generateConvertRecord("data_" + cid, main.getName(), main.getMetadataTable().getListColumns());
}
%>
} catch (org.talend.components.api.exception.DataRejectException e_<%=cid%>) {
java.util.Map<String,Object> info_<%=cid%> = e_<%=cid%>.getRejectInfo();
<%
if (reject!=null) {
%>
Object data_<%=cid%> = info_<%=cid%>.get("talend_record");
if (multi_output_is_allowed_<%=cid%>) {
<%=reject.getName()%> = new <%=reject.getName() %>Struct();
}
<%
irToRow.generateConvertRecord("data_" + cid, reject.getName());
Set<String> commonColumns = new HashSet<String>();
for (IMetadataColumn column : columnList) {
commonColumns.add(column.getLabel());
}
//pass error columns
List<IMetadataColumn> rejectColumns = reject.getMetadataTable().getListColumns();
for(IMetadataColumn column : rejectColumns) {
String columnName = column.getLabel();
// JavaType javaType = JavaTypesManager.getJavaTypeFromId(column.getTalendType());
String typeToGenerate = JavaTypesManager.getTypeToGenerate(column.getTalendType(), column.isNullable());
//error columns
if(!commonColumns.contains(columnName)) {
%>
<%=reject.getName()%>.<%=columnName%> = (<%=typeToGenerate%>)info_<%=cid%>.get("<%=columnName%>");
<%
}
}
} else {
%>
//TODO use a method instead of getting method by the special key "error"
String errorMessage_<%=cid%> = "Row "+ nb_line_<%=cid %> + ":" + info_<%=cid%>.get("error");
System.err.println(errorMessage_<%=cid%>);
<%
}
%>
}
<%
// The for loop around the incoming records from the reader is left open.
} else if (def instanceof OutputComponentDefinition) {
%>
org.talend.components.api.component.runtime.Sink sink_<%=cid%> =
(org.talend.components.api.component.runtime.Sink)sourceOrSink_<%=cid%>;
org.talend.components.api.component.runtime.WriteOperation writeOperation_<%=cid%> = sink_<%=cid%>.createWriteOperation();
writeOperation_<%=cid%>.initialize(container_<%=cid%>);
org.talend.components.api.component.runtime.Writer writer_<%=cid%> = writeOperation_<%=cid%>.createWriter(container_<%=cid%>);
writer_<%=cid%>.open("<%=cid%>");
resourceMap.put("writer_<%=cid%>", writer_<%=cid%>);
org.talend.components.api.component.Connector c_<%=cid%> = null;
for (org.talend.components.api.component.Connector currentConnector : props_<%=cid %>.getAvailableConnectors(null, false)) {
if (currentConnector.getName().equals("MAIN")) {
c_<%=cid%> = currentConnector;
break;
}
}
org.apache.avro.Schema designSchema_<%=cid%> = props_<%=cid %>.getSchema(c_<%=cid%>, false);
org.talend.daikon.di.DiIncomingSchemaEnforcer current_<%=cid%>
= new org.talend.daikon.di.DiIncomingSchemaEnforcer(designSchema_<%=cid%>);
<%
List<? extends IConnection> outgoingConns = node.getOutgoingSortedConnections();
if (outgoingConns!=null){
for (IConnection outgoingConn : outgoingConns) {
if ("MAIN".equals(outgoingConn.getConnectorName())) {
%>
c_<%=cid%> = null;
for (org.talend.components.api.component.Connector currentConnector : props_<%=cid %>.getAvailableConnectors(null, true)) {
if (currentConnector.getName().equals("MAIN")) {
c_<%=cid%> = currentConnector;
}
}
org.apache.avro.Schema mainSchema_<%=cid%> = props_<%=cid %>.getSchema(c_<%=cid%>, true);
<%
IndexedRecordToRowStructGenerator mainIrToRow = new IndexedRecordToRowStructGenerator(
cid + "OutMain", outgoingConn);
mainIrToRow.generateInitialVariables("mainSchema_" + cid, false);
}
if ("REJECT".equals(outgoingConn.getConnectorName())) {
%>
c_<%=cid%> = null;
for (org.talend.components.api.component.Connector currentConnector : props_<%=cid %>.getAvailableConnectors(null, true)) {
if (currentConnector.getName().equals("REJECT")) {
c_<%=cid%> = currentConnector;
}
}
org.apache.avro.Schema rejectSchema_<%=cid%> = props_<%=cid %>.getSchema(c_<%=cid%>, true);
<%
IndexedRecordToRowStructGenerator rejectIrToRow = new IndexedRecordToRowStructGenerator(
cid + "OutReject", outgoingConn);
rejectIrToRow.generateInitialVariables("rejectSchema_" + cid, false);
}
}
}
}
%>

View File

@@ -1,16 +1,16 @@
<%@ jet
<%@ jet
imports="
org.talend.components.api.component.ComponentDefinition
org.talend.designer.core.generic.model.Component
org.talend.core.model.process.INode
org.talend.core.model.process.ElementParameterParser
org.talend.core.model.metadata.IMetadataTable
org.talend.core.model.metadata.IMetadataColumn
org.talend.designer.codegen.config.CodeGeneratorArgument
org.talend.core.model.process.IConnection
org.talend.core.model.process.IConnectionCategory
java.util.List
"
java.util.List
org.talend.components.api.component.ComponentDefinition
org.talend.core.model.metadata.IMetadataColumn
org.talend.core.model.metadata.IMetadataTable
org.talend.core.model.process.ElementParameterParser
org.talend.core.model.process.IConnection
org.talend.core.model.process.IConnectionCategory
org.talend.core.model.process.INode
org.talend.designer.codegen.config.CodeGeneratorArgument
org.talend.designer.core.generic.model.Component
"
%>
// end of generic
@@ -24,25 +24,57 @@ ComponentDefinition def = component.getComponentDefinition();
IMetadataTable metadata = null;
List<IMetadataTable> metadatas = node.getMetadataList();
if ((metadatas != null) && (metadatas.size() > 0)) {
metadata = metadatas.get(0);
metadata = metadatas.get(0);
}
// Return at this point if there is no metadata.
if (metadata == null) {
return stringBuffer.toString();
return stringBuffer.toString();
}
%>
resourceMap.put("finish_<%=cid%>", Boolean.TRUE);
<%
if(def instanceof org.talend.components.api.component.InputComponentDefinition){
%>
} // while
<%
%>
reader_<%=cid%>.close();
} // while
reader_<%=cid%>.close();
final java.util.Map<String, Object> resultMap_<%=cid%> = reader_<%=cid%>.getReturnValues();
<%
}else if(def instanceof org.talend.components.api.component.OutputComponentDefinition){
// Output
%>
writer_<%=cid%>.close();
org.talend.components.api.component.runtime.Result resultObject_<%=cid%> = (org.talend.components.api.component.runtime.Result)writer_<%=cid%>.close();
final java.util.Map<String, Object> resultMap_<%=cid%> = writer_<%=cid%>.getWriteOperation().finalize(java.util.Arrays.<org.talend.components.api.component.runtime.Result>asList(resultObject_<%=cid%>), container_<%=cid%>);
<%
}
%>
if(resultMap_<%=cid%>!=null) {
for(java.util.Map.Entry<String,Object> entry_<%=cid%> : resultMap_<%=cid%>.entrySet()) {
switch(entry_<%=cid%>.getKey()) {
case org.talend.components.api.component.ComponentDefinition.RETURN_ERROR_MESSAGE :
container_<%=cid%>.setComponentData("<%=cid%>", "ERROR_MESSAGE", entry_<%=cid%>.getValue());
break;
case org.talend.components.api.component.ComponentDefinition.RETURN_TOTAL_RECORD_COUNT :
container_<%=cid%>.setComponentData("<%=cid%>", "NB_LINE", entry_<%=cid%>.getValue());
break;
case org.talend.components.api.component.ComponentDefinition.RETURN_SUCCESS_RECORD_COUNT :
container_<%=cid%>.setComponentData("<%=cid%>", "NB_SUCCESS", entry_<%=cid%>.getValue());
break;
case org.talend.components.api.component.ComponentDefinition.RETURN_REJECT_RECORD_COUNT :
container_<%=cid%>.setComponentData("<%=cid%>", "NB_REJECT", entry_<%=cid%>.getValue());
break;
default :
StringBuilder studio_key_<%=cid%> = new StringBuilder();
for (int i_<%=cid%> = 0; i_<%=cid%> < entry_<%=cid%>.getKey().length(); i_<%=cid%>++) {
char ch_<%=cid%> = entry_<%=cid%>.getKey().charAt(i_<%=cid%>);
if(Character.isUpperCase(ch_<%=cid%>) && i_<%=cid%>> 0) {
studio_key_<%=cid%>.append('_');
}
studio_key_<%=cid%>.append(ch_<%=cid%>);
}
container_<%=cid%>.setComponentData("<%=cid%>", studio_key_<%=cid%>.toString().toUpperCase(java.util.Locale.ENGLISH), entry_<%=cid%>.getValue());
break;
}
}
}

View File

@@ -0,0 +1,62 @@
<%@ jet
imports="
java.util.List
org.talend.components.api.component.ComponentDefinition
org.talend.core.model.metadata.IMetadataColumn
org.talend.core.model.metadata.IMetadataTable
org.talend.core.model.process.ElementParameterParser
org.talend.core.model.process.IConnection
org.talend.core.model.process.IConnectionCategory
org.talend.core.model.process.INode
org.talend.designer.codegen.config.CodeGeneratorArgument
org.talend.designer.core.generic.model.Component
"
%>
// finally of generic
<%
CodeGeneratorArgument codeGenArgument = (CodeGeneratorArgument) argument;
INode node = (INode)codeGenArgument.getArgument();
String cid = node.getUniqueName();
Component component = (Component)node.getComponent();
ComponentDefinition def = component.getComponentDefinition();
IMetadataTable metadata = null;
List<IMetadataTable> metadatas = node.getMetadataList();
if ((metadatas != null) && (metadatas.size() > 0)) {
metadata = metadatas.get(0);
}
// Return at this point if there is no metadata.
if (metadata == null) {
return stringBuffer.toString();
}
%>
if(resourceMap.get("finish_<%=cid%>")==null){
<%
if(def instanceof org.talend.components.api.component.InputComponentDefinition){
%>
if(resourceMap.get("reader_<%=cid%>")!=null){
try {
((org.talend.components.api.component.runtime.Reader)resourceMap.get("reader_<%=cid%>")).close();
} catch (java.io.IOException e_<%=cid %>) {
String errorMessage_<%=cid%> = "failed to release the resource in <%=cid %> :" + e_<%=cid %>.getMessage();
System.err.println(errorMessage_<%=cid%>);
}
}
<%
}else if(def instanceof org.talend.components.api.component.OutputComponentDefinition){
%>
if(resourceMap.get("writer_<%=cid%>")!=null){
try {
((org.talend.components.api.component.runtime.Writer)resourceMap.get("writer_<%=cid%>")).close();
} catch (java.io.IOException e_<%=cid %>) {
String errorMessage_<%=cid%> = "failed to release the resource in <%=cid %> :" + e_<%=cid %>.getMessage();
System.err.println(errorMessage_<%=cid%>);
}
}
<%
}
%>
}

View File

@@ -18,8 +18,7 @@ imports="
org.talend.core.model.utils.TalendTextUtils
"
%>
// main of generic (used only for output components)
<%@include file="@{org.talend.designer.codegen}/jet_stub/generic/component_util_indexedrecord_to_rowstruct.javajet"%>
<%
CodeGeneratorArgument codeGenArgument = (CodeGeneratorArgument) argument;
INode node = (INode)codeGenArgument.getArgument();
@@ -28,48 +27,69 @@ Component component = (Component)node.getComponent();
ComponentDefinition def = component.getComponentDefinition();
if(def instanceof org.talend.components.api.component.OutputComponentDefinition){
%>
// These will be initialized if there are outgoing connections and will be
// null if there isn't a corresponding outgoing connection.
IndexedRecordToRowStructGenerator mainIrToRow = null;
IndexedRecordToRowStructGenerator rejectIrToRow = null;
// OUTPUT
<%
List<? extends IConnection> outgoingConns = node.getOutgoingSortedConnections();
if (outgoingConns!=null){
for (int i = 0; i < outgoingConns.size(); i++) {
IConnection outgoingConn = outgoingConns.get(i);
if (outgoingConn.getLineStyle().hasConnectionCategory(IConnectionCategory.DATA)) {
%>
%>
<%=outgoingConn.getName()%> = null;
<%
<%
}
if ("MAIN".equals(outgoingConn.getConnectorName())) {
mainIrToRow = new IndexedRecordToRowStructGenerator(cid + "OutMain",
outgoingConn);
}
if ("REJECT".equals(outgoingConn.getConnectorName())) {
rejectIrToRow = new IndexedRecordToRowStructGenerator(cid + "OutReject",
outgoingConn);
}
}
}
List<IMetadataTable> metadatas = node.getMetadataList();
IMetadataTable metadata;
if ((metadatas != null) && (metadatas.size() > 0) && (metadata = metadatas.get(0)) != null) { // metadata
List<IMetadataColumn> columnList = metadata.getListColumns();
int dynamicPos = -1;
for (int i = 0; i < columnList.size(); i++) {
if (columnList.get(i).getTalendType().equals("id_Dynamic")) {
dynamicPos = i;
break;
}
}
%>
// METADATA
<%
// Generate the code to handle the incoming records.
IConnection inputConn = null;
List< ? extends IConnection> inputConns = node.getIncomingConnections();
if(inputConns!=null) {
for (IConnection conn : inputConns) {
if (conn.getLineStyle().hasConnectionCategory(IConnectionCategory.DATA)) {
inputConn = conn;
}
}
}
List< ? extends IConnection> conns = node.getIncomingConnections();
for (IConnection conn : conns) { // conn
boolean hasValidInput = inputConn!=null;
IMetadataTable metadata;
List<IMetadataTable> metadatas = node.getMetadataList();
boolean haveValidNodeMetadata = ((metadatas != null) && (metadatas.size() > 0) && (metadata = metadatas.get(0)) != null);
if (hasValidInput && haveValidNodeMetadata) {
List<IMetadataColumn> input_columnList = inputConn.getMetadataTable().getListColumns();
if (input_columnList!=null && !input_columnList.isEmpty()) {
// If there are dynamic columns in the schema, they need to be
// initialized into the runtime schema of the actual IndexedRecord
// provided to the component.
int dynamicPos = -1;
for (int i = 0; i < input_columnList.size(); i++) {
if (input_columnList.get(i).getTalendType().equals("id_Dynamic")) {
dynamicPos = i;
break;
}
}
if (dynamicPos != -1) {
%>
if (current_<%=cid%>.needsInitDynamicColumns()) {
// Initialize the dynamic columns when they are first encountered.
for (routines.system.DynamicMetadata dm_<%=cid%> : <%=conn.getName()%>.<%=columnList.get(dynamicPos).getLabel()%>.metadatas) {
for (routines.system.DynamicMetadata dm_<%=cid%> : <%=inputConn.getName()%>.<%=input_columnList.get(dynamicPos).getLabel()%>.metadatas) {
current_<%=cid%>.initDynamicColumn(
dm_<%=cid%>.getName(), dm_<%=cid%>.getDbName(),
dm_<%=cid%>.getType(), dm_<%=cid%>.getDbType(),
@@ -84,104 +104,81 @@ if(def instanceof org.talend.components.api.component.OutputComponentDefinition)
<%
}
if (conn.getLineStyle().hasConnectionCategory(IConnectionCategory.DATA)) { // conn line style
for (int i = 0; i < columnList.size(); i++) { // column
IMetadataColumn column = columnList.get(i);
if (dynamicPos != i) {
%>
current_<%=cid%>.put("<%=column.getLabel()%>", <%=conn.getName()%>.<%=column.getLabel()%>);
<%
} else {
%>
for (int i = 0; i < <%=conn.getName()%>.<%=column.getLabel()%>.getColumnCount(); i++) {
current_<%=cid%>.put(<%=conn.getName()%>.<%=column.getLabel()%>.getColumnMetadata(i).getName(),
<%=conn.getName()%>.<%=column.getLabel()%>.getColumnValue(i));
}
<%
for (int i = 0; i < input_columnList.size(); i++) { // column
IMetadataColumn column = input_columnList.get(i);
if (dynamicPos != i) {
%>
current_<%=cid%>.put("<%=column.getLabel()%>", <%=inputConn.getName()%>.<%=column.getLabel()%>);
<%
} else {
%>
for (int i = 0; i < <%=inputConn.getName()%>.<%=column.getLabel()%>.getColumnCount(); i++) {
current_<%=cid%>.put(<%=inputConn.getName()%>.<%=column.getLabel()%>.getColumnMetadata(i).getName(),
<%=inputConn.getName()%>.<%=column.getLabel()%>.getColumnValue(i));
}
} // column
<%
}
} // column
// If necesary, generate the code to handle outgoing connections.
// TODO: For now, this can only handle one outgoing record for
// each incoming record. To handle multiple outgoing records, code
// generation needs to occur in component_begin in order to open
// a for() loop.
// There will be a ClassCastException if the output component does
// not implement WriterWithFeedback, but permits outgoing
// connections.
%>
Object data_<%=cid%> = current_<%=cid%>.createIndexedRecord();
writer_<%=cid%>.write(data_<%=cid%>);
nb_line_<%=cid %>++;
<%
if (mainIrToRow != null) {
%>
Object data_<%=cid%> = current_<%=cid%>.createIndexedRecord();
try {
writer_<%=cid%>.write(data_<%=cid%>);
java.util.Iterator<?> outgoingMainRecords_<%=cid%> = ((org.talend.components.api.component.runtime.WriterWithFeedback<?, ?, ?>)writer_<%=cid%>).getSuccessfulWrites().iterator();
Object outgoingMain_<%=cid%> = null;
if (outgoingMainRecords_<%=cid%>.hasNext()) {
outgoingMain_<%=cid%> = outgoingMainRecords_<%=cid%>.next();
if(outgoingMainRecords_<%=cid%>.hasNext()){
outgoingMain_<%=cid%> = data_<%=cid%>;
}
}
<%
if (rejectIrToRow == null) {
%>
else{
if (!((org.talend.components.api.component.runtime.WriterWithFeedback<?, ?, ?>)writer_<%=cid%>).getRejectedWrites().iterator().hasNext()) {
outgoingMain_<%=cid%> = data_<%=cid%>;
}
}
<%
}
%>
if(outgoingMain_<%=cid%>!=null){
<%=mainIrToRow.getConnection().getName()%> = new <%=mainIrToRow.getConnection().getName() %>Struct();
<%
//pass the main flow
IConnection main = null;
List<? extends IConnection> mains = node.getOutgoingConnections(EConnectionType.FLOW_MAIN);
if(mains!=null && !mains.isEmpty()) {
main = mains.get(0);
%>
<%=main.getName()%> = new <%=main.getName() %>Struct();
<%
for (IMetadataColumn column : columnList) {
%>
<%=main.getName()%>.<%=column.getLabel()%> = <%=conn.getName()%>.<%=column.getLabel()%>;
<%
}
//TODO how to pass the additional columns in output connection? like salesforce_id
}
%>
} catch (org.talend.components.api.exception.DataRejectException e_<%=cid%>) {
<%
//pass the reject flow
//the method below can't wrok now, TODO fix it
//List<? extends IConnection> rejects = node.getOutgoingConnections(EConnectionType.REJECT);
IConnection reject = null;
for(IConnection outConn : node.getOutgoingConnections()) {
if(!outConn.getLineStyle().hasConnectionCategory(IConnectionCategory.DATA)) {
continue;
}
if(main!=null && main.getName().equals(outConn.getName())) {
continue;
}
reject = outConn;
break;
}
if(reject!=null) {
Set<String> commonColumns = new HashSet<String>();
%>
<%=reject.getName()%> = new <%=reject.getName() %>Struct();
<%
for (IMetadataColumn column : columnList) {
commonColumns.add(column.getLabel());
%>
<%=reject.getName()%>.<%=column.getLabel()%> = <%=conn.getName()%>.<%=column.getLabel()%>;
<%
}
%>
java.util.Map<String,Object> info_<%=cid%> = e_<%=cid%>.getRejectInfo();
<%
//pass error columns
List<IMetadataColumn> rejectColumns = reject.getMetadataTable().getListColumns();
for(IMetadataColumn column : rejectColumns) {
String columnName = column.getLabel();
JavaType javaType = JavaTypesManager.getJavaTypeFromId(column.getTalendType());
String typeToGenerate = JavaTypesManager.getTypeToGenerate(column.getTalendType(), column.isNullable());
//error columns
if(!commonColumns.contains(columnName)) {
%>
<%=reject.getName()%>.<%=columnName%> = (<%=typeToGenerate%>)info_<%=cid%>.get("<%=columnName%>");
<%
}
}
}
%>
mainIrToRow.generateConvertRecord("outgoingMain_" + cid, mainIrToRow.getConnection().getName());
%>
}
<%
} // conn line style
} // conn
} // metadata
}
if (rejectIrToRow != null) {
%>
java.util.Iterator<?> outgoingRejectRecords_<%=cid%> = ((org.talend.components.api.component.runtime.WriterWithFeedback<?, ?, ?>)writer_<%=cid%>).getRejectedWrites().iterator();
if (outgoingRejectRecords_<%=cid%>.hasNext()) {
<%=rejectIrToRow.getConnection().getName()%> = new <%=rejectIrToRow.getConnection().getName() %>Struct();
Object outgoingReject_<%=cid%> = outgoingRejectRecords_<%=cid%>.next();
<%
rejectIrToRow.generateConvertRecord("outgoingReject_" + cid, rejectIrToRow.getConnection().getName());
%>
}
<%
}
}
}
} // canStart
%>

View File

@@ -0,0 +1,215 @@
<%
/**
* Utility for generating code that can turn an IndexedRecording coming from a
* generic component into a rowStruct expected by the Studio.
*/
class IndexedRecordToRowStructGenerator {
/** A unique tag for generating code variables, usually based on the cid
* of the node. */
private final String cid;
/** The columns in the rowStruct to generate. */
private final List<IMetadataColumn> columns;
/** The connection that we're generating code for. */
private final IConnection connection;
/** If there is a dynamic column, its name. Null if none. */
private final String dynamicColName;
/** Variable names generated in code used by this utility. */
private final String codeVarSchemaEnforcer;
private final String codeVarIsDynamicInitialized;
private final String codeVarDynamic;
private final String codeVarIndexedRecordAdapter;
public IndexedRecordToRowStructGenerator(String cid, IConnection connection) {
this(cid, connection, connection.getMetadataTable().getListColumns());
}
public IndexedRecordToRowStructGenerator(String cid, IConnection connection, List<IMetadataColumn> columns) {
this.cid = cid;
this.connection = connection;
this.columns = columns;
String tmpDynamicColName = null;
for (IMetadataColumn column : columns) {
if (column.getTalendType().equals("id_Dynamic")) {
tmpDynamicColName = column.getLabel();
break;
}
}
dynamicColName = tmpDynamicColName;
this.codeVarSchemaEnforcer = "current_" + cid;
this.codeVarIsDynamicInitialized = "initDyn_" + cid;
this.codeVarDynamic = "dynamic_" + cid;
this.codeVarIndexedRecordAdapter = "factory_" + cid;
}
public IConnection getConnection() {
return connection;
}
/**
* Generate code that declares and initializes the variables that are used
* in the code generated by this utility.
*/
public void generateInitialVariables(String codeVarSchemaToEnforce, boolean dynamicByPosition) {
if (dynamicColName != null) {
%>
boolean <%=codeVarIsDynamicInitialized%> = false;
routines.system.Dynamic <%=codeVarDynamic%> = new routines.system.Dynamic();
<%
}
%>
org.talend.daikon.di.DiOutgoingSchemaEnforcer <%=codeVarSchemaEnforcer%>
= new org.talend.daikon.di.DiOutgoingSchemaEnforcer(<%=codeVarSchemaToEnforce%>, <%=dynamicByPosition%>);
// Create a reusable factory that converts the output of the reader to an IndexedRecord.
org.talend.daikon.avro.converter.IndexedRecordConverter<Object, ? extends org.apache.avro.generic.IndexedRecord> <%=codeVarIndexedRecordAdapter%> = null;
<%
}
/**
* Generate code that copies data from the IndexedRecord to the rowStruct.
*
* @param codeVarIndexedRecord the name of the variable that contains the
* IndexedRecord.
* @param codeVarRowStruct the name of the variable that contains the
* rowStruct.
*/
public void generateConvertRecord(String codeVarIndexedRecord, String codeVarRowStruct) {
generateConvertRecord(codeVarIndexedRecord, codeVarRowStruct, columns);
}
/**
* Generate code that copies data from the IndexedRecord to the rowStruct.
*
* @param codeVarIndexedRecord the name of the variable that contains the
* IndexedRecord.
* @param codeVarRowStruct the name of the variable that contains the
* rowStruct.
* @param columnsToGenerate the list of columns in the rowStruct to generate
* code for.
*/
public void generateConvertRecord(String codeVarIndexedRecord, String codeVarRowStruct, List<IMetadataColumn> columnsToGenerate) {
%>
// Construct the factory once when the first data arrives.
if (<%=codeVarIndexedRecordAdapter%> == null) {
<%=codeVarIndexedRecordAdapter%> = (org.talend.daikon.avro.converter.IndexedRecordConverter<Object, ? extends org.apache.avro.generic.IndexedRecord>)
new org.talend.daikon.avro.AvroRegistry()
.createIndexedRecordConverter(<%=codeVarIndexedRecord%>.getClass());
}
// Enforce the outgoing schema on the input.
<%=codeVarSchemaEnforcer%>.setWrapped(<%=codeVarIndexedRecordAdapter%>.convertToAvro(<%=codeVarIndexedRecord%>));
<%
if (dynamicColName != null) {
%>
if (!<%=codeVarIsDynamicInitialized%>) {
org.apache.avro.Schema dynSchema_<%=cid%> = <%=codeVarSchemaEnforcer%>.getOutgoingDynamicRuntimeSchema();
for (org.apache.avro.Schema.Field childDynamic_<%=cid%> : dynSchema_<%=cid%>.getFields()){
routines.system.DynamicMetadata dynamicMetadata_<%=cid%> = new routines.system.DynamicMetadata();
dynamicMetadata_<%=cid%>.setName(childDynamic_<%=cid%>.name());
dynamicMetadata_<%=cid%>.setDbName(childDynamic_<%=cid%>.name());
String talendType_<%=cid%> = null;
org.apache.avro.Schema.Type type_<%=cid%> = childDynamic_<%=cid%>.schema().getType();
if(type_<%=cid%> == org.apache.avro.Schema.Type.UNION){
java.util.List<org.apache.avro.Schema> fieldTypes_<%=cid%> = childDynamic_<%=cid%>.schema().getTypes();
for(org.apache.avro.Schema fieldType_<%=cid%>:fieldTypes_<%=cid%>){
if(fieldType_<%=cid%>.getType() == org.apache.avro.Schema.Type.NULL){
dynamicMetadata_<%=cid%>.setNullable(true);
}else{
type_<%=cid%> = fieldType_<%=cid%>.getType();
}
}
}
if (type_<%=cid%> == org.apache.avro.Schema.Type.ARRAY) {
talendType_<%=cid%> = "<%=JavaTypesManager.LIST.getId()%>";
} else if (type_<%=cid%> == org.apache.avro.Schema.Type.BOOLEAN) {
talendType_<%=cid%> = "<%=JavaTypesManager.BOOLEAN.getId()%>";
} else if (type_<%=cid%> == org.apache.avro.Schema.Type.BYTES) {
talendType_<%=cid%> = "<%=JavaTypesManager.BYTE_ARRAY.getId()%>";
} else if (type_<%=cid%> == org.apache.avro.Schema.Type.FIXED) {
talendType_<%=cid%> = "<%=JavaTypesManager.BYTE_ARRAY.getId()%>";
} else if (type_<%=cid%> == org.apache.avro.Schema.Type.DOUBLE) {
talendType_<%=cid%> = "<%=JavaTypesManager.DOUBLE.getId()%>";
} else if (type_<%=cid%> == org.apache.avro.Schema.Type.FLOAT) {
talendType_<%=cid%> = "<%=JavaTypesManager.FLOAT.getId()%>";
} else if (type_<%=cid%> == org.apache.avro.Schema.Type.INT) {
talendType_<%=cid%> = "<%=JavaTypesManager.INTEGER.getId()%>";
} else if (type_<%=cid%> == org.apache.avro.Schema.Type.LONG) {
String pattern_<%=cid%> = childDynamic_<%=cid%>.getProp(org.talend.daikon.di.DiSchemaConstants.TALEND6_COLUMN_PATTERN);
if(pattern_<%=cid%>!=null && !pattern_<%=cid%>.trim().isEmpty()){
talendType_<%=cid%> = "<%=JavaTypesManager.DATE.getId()%>";
dynamicMetadata_<%=cid%>.setFormat(pattern_<%=cid%>);
}else{
talendType_<%=cid%> = "<%=JavaTypesManager.LONG.getId()%>";
}
} else if (type_<%=cid%> == org.apache.avro.Schema.Type.ENUM) {
talendType_<%=cid%> = "<%=JavaTypesManager.STRING.getId()%>";
} else if (type_<%=cid%> == org.apache.avro.Schema.Type.STRING) {
talendType_<%=cid%> = "<%=JavaTypesManager.STRING.getId()%>";
}
Object length_<%=cid%> = childDynamic_<%=cid%>.getProp(org.talend.daikon.di.DiSchemaConstants.TALEND6_COLUMN_LENGTH);
if(length_<%=cid%> != null){
dynamicMetadata_<%=cid%>.setLength(Integer.parseInt(String.valueOf(length_<%=cid%>)));
}
Object precision_<%=cid%> = childDynamic_<%=cid%>.getProp(org.talend.daikon.di.DiSchemaConstants.TALEND6_COLUMN_PRECISION);
if(precision_<%=cid%> != null){
dynamicMetadata_<%=cid%>.setPrecision(Integer.parseInt(String.valueOf(precision_<%=cid%>)));
}
dynamicMetadata_<%=cid%>.setType(talendType_<%=cid%>);
<%=codeVarDynamic%>.metadatas.add(dynamicMetadata_<%=cid%>);
}
initDyn_<%=cid%> = true;
}
<%=codeVarDynamic%>.clearColumnValues();
<%
}
for (int i = 0; i < columnsToGenerate.size(); i++) {
IMetadataColumn column = columnsToGenerate.get(i);
String columnName = column.getLabel();
JavaType javaType = JavaTypesManager.getJavaTypeFromId(column.getTalendType());
String typeToGenerate = JavaTypesManager.getTypeToGenerate(column.getTalendType(), column.isNullable());
if (columnName.equals(dynamicColName)) {
%>
java.util.Map<String, Object> dynamicValue_<%=cid%> =
(java.util.Map<String, Object>) <%=codeVarSchemaEnforcer%>.get(<%=i%>);
for (String dynamicValue_Key_<%=cid%> : ((java.util.Map<String, Object>)<%=codeVarSchemaEnforcer%>.get(<%=i%>)).keySet()) {
<%=codeVarDynamic%>.setColumnValue(
<%=codeVarDynamic%>.getIndex(dynamicValue_Key_<%=cid%>),
dynamicValue_<%=cid%>.get(dynamicValue_Key_<%=cid%>));
}
<%=codeVarRowStruct%>.<%=dynamicColName%> = <%=codeVarDynamic%>;
<%
} else {
%>
if (<%=codeVarSchemaEnforcer%>.get(<%=i%>) == null) {
<%=codeVarRowStruct%>.<%=columnName%> = <%=JavaTypesManager.getDefaultValueFromJavaType(typeToGenerate)%>;
} else {
<%
if (javaType == JavaTypesManager.STRING) {
%>
<%=codeVarRowStruct%>.<%=columnName%> = String.valueOf(<%=codeVarSchemaEnforcer%>.get(<%=i%>));
<%
} else {
%>
<%=codeVarRowStruct%>.<%=columnName%> = (<%=typeToGenerate%>) (<%=codeVarSchemaEnforcer%>.get(<%=i%>));
<%
}
%>
}
<%
}
}
}
}
%>

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