Compare commits

..

164 Commits

Author SHA1 Message Date
Sebastien Gandon
ec1cf37059 TUP-4273 : used servicemix.avro instead of avro. 2016-03-23 11:48:44 +01:00
Sebastien Gandon
2867cdf3a7 TUP-4273 : removed avro from libraies.apache . 2016-03-22 11:51:53 +01:00
nrousseau
d7f6eca742 Merge pull request #339 from Talend/feature/TUP-3998
Feature/tup 3998
2016-03-21 19:10:46 +08:00
cmeng-talend
79841e89f5 Merge remote-tracking branch 'origin/master' into feature/TUP-3998 2016-03-21 18:00:39 +08:00
cmeng-talend
aae1cae67a TUP-4230 feature: Need to handle conflict items related to RecycleBin
https://jira.talendforge.org/browse/TUP-4230
2016-03-21 17:08:43 +08:00
nrousseau
36f243e53e Merge pull request #338 from Talend/feature/6.2.0/TDI-35115_SAPBW
TDI-35563: fix propagating bug of SAP InfoObject.
2016-03-21 12:18:28 +08:00
zwxue
d822a6a5e4 TDI-35563: fix propagating bug of SAP InfoObject. 2016-03-21 10:40:42 +08:00
cmeng-talend
9ffcf8a739 TUP-4230 feature: Need to handle conflict items related to RecycleBin
https://jira.talendforge.org/browse/TUP-4230
2016-03-18 19:39:03 +08:00
nrousseau
169a74f05a TUP-4259: fix problem of dependencies 2016-03-17 19:08:54 +08:00
cmeng-talend
0691fa7ee5 TUP-4230 feature: Need to handle conflict items related to RecycleBin
https://jira.talendforge.org/browse/TUP-4230
2016-03-17 16:36:01 +08:00
Yucheng Bai
1b677c90f5 Merge pull request #336 from Talend/bugfix/6.2/TUP-4161_Implement_WidgetType.SCHEMA_REFERENCE
Bugfix/6.2/tup 4161 implement widget type.schema reference
2016-03-17 15:35:59 +08:00
nrousseau
80c5a02a65 Merge pull request #335 from Talend/bugfix/6.2/TUP-4248_runJobFailed
[TUP-4248] Add quotes for data pattern attribute fo metadata column when converting avro schema to di schema.
2016-03-16 19:33:15 +08:00
nrousseau
03982bcdd8 TUP-4085: set snapshot version only for talend jar 2016-03-16 14:39:56 +08:00
nrousseau
c4eedfcc0b TUP-4085: fix pom for routines 2016-03-16 14:39:55 +08:00
ycbai
ab8ae2fe35 [TUP-4248] Add quotes for data pattern attribute fo metadata column when
converting avro schema to di schema.
2016-03-16 14:36:58 +08:00
CHEN Bin
ef872732cd [TBD-2999] Cassandra 3.x update for 6.2
change the time to long, as there are no better equivalent
2016-03-16 11:49:00 +08:00
hcyi
0934b9f0b3 Merge branch 'master' into bugfix/6.2/TUP-4161_Implement_WidgetType.SCHEMA_REFERENCE 2016-03-16 10:25:45 +08:00
iwangtalend
0a151b097d Use release version of Daikon 2016-03-15 16:04:28 +01:00
CHEN Bin
b0378fb45a [TBD-2999] Cassandra 3.x update for 6.2
regroup version
2016-03-15 20:33:46 +08:00
nrousseau
15a5a95baf TUP-4085: fix problem of list of download of jars 2016-03-15 20:32:22 +08:00
hcyi
b568908fb9 Merge branch 'master' into bugfix/6.2/TUP-4161_Implement_WidgetType.SCHEMA_REFERENCE 2016-03-15 20:26:01 +08:00
hcyi
80105d3b94 Merge pull request #334 from Talend/bugfix/6.2/TUP-4156_updateSchemaAccordingMetadataTable
TUP-4156: update component schema according metadata table.
2016-03-15 20:06:15 +08:00
Ryan Skraba
6b43460130 TCOMP-124 Set nullable and talendType for metadata from an Avro Schema. 2016-03-15 13:03:17 +01:00
ycbai
b5f0d31ae7 TUP-4156: update component schema according metadata table. 2016-03-15 19:22:09 +08:00
nrousseau
ff49a646f2 Merge pull request #333 from Talend/feature/6.2.0/TDI-35115_SAPBW
TDI-35402: fix propagating bugs both in SAPBW and SAP Tables.
2016-03-15 19:09:24 +08:00
zwxue
bd910ff671 TDI-35402: fix propagating bugs both in SAPBW and SAP Tables. 2016-03-15 19:00:37 +08:00
wdliu
af1d4010e6 Optimize the scroll bar display 2016-03-15 18:52:36 +08:00
RyanSkraba
28acb0f498 Merge pull request #332 from RyanSkraba/master
TCOMP-125 Move Avro <-> MetadataTable conversions to its own helper c…
2016-03-15 11:50:13 +01:00
nrousseau
5dbac0511d Merge pull request #330 from Talend/feature/6.2.0/TDI-35115_SAPBW
Feature/6.2.0/tdi 35115 sapbw
2016-03-15 18:13:32 +08:00
zwxue
15bd236b41 TDI-35402: refactor some code for SAPBW. 2016-03-15 18:05:10 +08:00
zwxue
be7fdcc277 TDI-35402: fix bugs for SAPBW. 2016-03-15 18:05:07 +08:00
zwxue
a60cfef93a TDI-35402: refactor InfoObject of SAPBW 2016-03-15 18:05:04 +08:00
zwxue
5e1e7cca20 TDI-35402: Add double click support for SAPBW tables. 2016-03-15 18:05:02 +08:00
zwxue
8fbaa46c79 TDI-35115: add hierarchy attribute to EMF model. 2016-03-15 18:04:59 +08:00
zwxue
395bd464cc TDI-35152: Add InfoObject fields to SAPBWTable. 2016-03-15 18:04:56 +08:00
zwxue
d53152c545 TDI-35152: Add repository nodes and actions for SAP BW. 2016-03-15 18:04:53 +08:00
zwxue
9a08720058 TDI-35134: Add BW table list attributes to model SAPConnection. 2016-03-15 18:04:51 +08:00
zwxue
b667c7754c TDI-35134: Create EMF models for SAPBW. 2016-03-15 18:04:48 +08:00
Ryan Skraba
89093ea2bf TCOMP-125 Move Avro <-> MetadataTable conversions to its own helper class. 2016-03-15 09:30:27 +01:00
wdliu
2fb6af9057 Fix the Repository Scroll bar issue 2016-03-15 16:11:34 +08:00
hwang
05c27e71a5 TDI-35190:Cannot import job with test case 2016-03-15 12:51:49 +08:00
CHEN Bin
ae37767d18 [TUP-4165] Update Jackson-core for BD Components to
jackson-core-2.5.3.jar
2016-03-15 11:52:31 +08:00
hcyi
186154fe57 Merge branch 'master' into bugfix/6.2/TUP-4161_Implement_WidgetType.SCHEMA_REFERENCE 2016-03-15 10:55:08 +08:00
CHEN Bin
5373c05b07 TBD-3002: add Redshift components for Spark 2016-03-15 10:52:01 +08:00
nrousseau
7ef6b507b6 TUP-4085: update junits 2016-03-14 19:28:01 +08:00
nrousseau
91e85da8a4 TUP-4085: update junits and fix problem of deploy jar during build and
exception if the jar does not exists
2016-03-14 19:24:31 +08:00
hcyi
9e578c4cb1 Merge branch 'master' into bugfix/6.2/TUP-4161_Implement_WidgetType.SCHEMA_REFERENCE 2016-03-14 19:15:51 +08:00
nrousseau
0bf039b3a1 Merge pull request #329 from ggu-talend/master
TUP-4060: Fixed one NPE in TOS
2016-03-14 12:05:53 +08:00
GGu
8af66623fa TUP-4060: Fixed one NPE in TOS 2016-03-14 11:02:25 +08:00
Chao Meng
ee93e9a88d Merge pull request #328 from Talend/bugfix/6.2/TDI-35462_fixAccessDbFailedProblem
TDI-35462: db component in job can not use Repository type--Access db
2016-03-14 10:14:52 +08:00
nrousseau
cbe5001c7b TUP-4085: fix the problem of update of jars when retrieve 2016-03-12 13:10:49 +08:00
ycbai
285d7994be TDI-35462: db component in job can not use Repository type--Access db
failed
2016-03-11 19:42:38 +08:00
nrousseau
192d8b32ef Merge pull request #327 from Talend/feature/TUP-3998
Feature/tup 3998 https://jira.talendforge.org/browse/TUP-3998
2016-03-11 16:42:02 +08:00
cmeng-talend
83316a4ba7 TUP-4050 feature: Create conflict object repository view
https://jira.talendforge.org/browse/TUP-4050
2016-03-11 15:58:55 +08:00
cmeng-talend
843ddcc316 Merge remote-tracking branch 'origin/master' into feature/TUP-3998
Conflicts:
	main/plugins/org.talend.core.runtime/src/main/java/org/talend/core/model/repository/ERepositoryObjectType.java
2016-03-11 14:19:53 +08:00
nrousseau
a8df50c923 Merge pull request #325 from ggu-talend/feature/6.2.0/TUP-4060_merging-mediation-perspective
TUP-4060: Merge Integration and Mediation perspectives
2016-03-11 11:44:49 +08:00
wdliu
5297da6927 Merge remote-tracking branch 'origin/master' into feature/TUP-3998 2016-03-11 11:27:55 +08:00
GGu
1aba7d8fdc Merge pull request #326 from Talend/bugfix/master/TDI-35132
ITDI-35132:tAccessInput throws OOM when retrieve tables with big size
2016-03-11 10:59:48 +08:00
wdliu
aa0aa0afd1 TUP-4189: local mode lock and remote mode lock and interactive access
senarios support
2016-03-11 09:42:04 +08:00
Rémy DUBOIS
565713b533 Merge pull request #324 from pbailly/master
[TBD-3005] Add spark postprocessing phase.
2016-03-10 16:42:17 +01:00
pbailly
38633396c2 [TBD-3005] Add spark postprocessing phase. 2016-03-10 16:37:51 +01:00
Sebastien Gandon
f63eb292fa Merge remote-tracking branch 'origin/master' into features/TCOMP-62 2016-03-10 10:32:36 +01:00
GGu
93e56cca97 TUP-4208: Remove Mediation perspective 2016-03-10 17:21:22 +08:00
GGu
2ae7feebac TUP-4203: Make sure same as repository view for the order of nodes 2016-03-10 17:21:20 +08:00
GGu
92da493dbb TUP-4202: Enable create route on Route Designs 2016-03-10 17:21:19 +08:00
GGu
e20a4a86e5 TUP-4202: Change the order via sorter 2016-03-10 17:21:18 +08:00
GGu
e2d490cc3f TUP-4202: Fix the problem for extension point to load sorter 2016-03-10 17:21:16 +08:00
GGu
03eafe6348 TUP-4196: Change the order for Resources 2016-03-10 17:21:15 +08:00
GGu
50bfadebc5 TUP-4196: After merge Bean in Code, sort the nodes too 2016-03-10 17:21:14 +08:00
GGu
04cbec2a6b TUP-4167: Unify the type of generated doc for JOB_DOC and JOBLET_DOC 2016-03-10 17:21:13 +08:00
GGu
f89967820b TUP-4167: Change to use CNF content provider for Generated Doc 2016-03-10 17:21:11 +08:00
GGu
a3dcfa1598 TUP-4167: Move Business Diagram under Documentation 2016-03-10 17:21:10 +08:00
CHEN Bin
a5c680abbb TUP-4167: Add sorter extension point to resolve the order of JobDesign
children
2016-03-10 17:21:09 +08:00
nrousseau
289485e691 Merge pull request #323 from Talend/bugfix/6.1/TBD-3202-TBD-3212_fixContextProblem
Bugfix/6.1/tbd 3202 tbd 3212 fix context problem
2016-03-10 16:17:19 +08:00
ycbai
bfb5113823 Merge branch 'master' into bugfix/6.1/TBD-3202-TBD-3212_fixContextProblem 2016-03-10 16:08:26 +08:00
ycbai
13247f1c71 TBD-3202: add junits. 2016-03-10 16:05:37 +08:00
wdliu
c9da06c526 Add new interface IRemoteRepositoryFactory 2016-03-10 12:06:53 +08:00
nrousseau
aceb7bc299 Merge pull request #322 from Talend/bugfix/6.1/TBD-3202-TBD-3212_fixContextProblem
Fixed the bugs:
2016-03-10 11:51:24 +08:00
Francis Upton IV
a3d341716c TCOMP-28 Avro representation changes 2016-03-09 17:21:50 -08:00
Ryan Skraba
95ba2418a4 TCOMP-28 Attempt to resolve Avro dependencies in core.runtime bundle. 2016-03-09 14:15:17 +01:00
hwang
c35ce03b65 ITDI-35132:tAccessInput throws OOM when retrieve tables with big size
over 100MB
2016-03-09 18:21:42 +08:00
ycbai
d9b216963b Fixed the bugs:
TBD-3202: [6.1.1] Hive properties dont get submitted correctly when
re-using context
TBD-3212: hadoop cluster:hadoop property is added double quotes when
drag hdfs schema to a standard job
2016-03-09 17:57:36 +08:00
Francis Upton IV
593eba66d0 TCOMP-28 Avro representation changes 2016-03-08 20:58:58 -08:00
Francis Upton IV
cf7f3c0d35 TCOMP-62 Add Avro to org.talend.libraries.apache 2016-03-08 10:52:06 -08:00
cmeng-talend
160742c009 TUP-4052 feature: Need to check differrent conflict editors
https://jira.talendforge.org/browse/TUP-4052
2016-03-08 19:01:36 +08:00
Ryan Skraba
15073f5000 Merge branch 'master' of github.com:Talend/tcommon-studio-se 2016-03-07 09:30:17 +01:00
msjian
4dd40bc604 TDQ-11558: change the Redshift database type 2016-03-07 15:33:45 +08:00
Ryan Skraba
95e330883c Merge branch 'master' of github.com:Talend/tcommon-studio-se 2016-03-04 12:02:55 +01:00
Ryan Skraba
ca8995df10 TCOMP-28 Fix logic when a Schema.Type is not recognized. 2016-03-04 11:43:00 +01:00
Ryan Skraba
24f926b4e3 TCOMP-28 Provide conversion to and from MetadataTable <-> Schema 2016-03-04 11:27:01 +01:00
wdliu
a0676bd9ef Fix the NPE issue 2016-03-04 17:55:46 +08:00
wdliu
d02a4107c6 Fix the NPE issue 2016-03-04 17:43:36 +08:00
Ryan Skraba
e57cd64658 TCOMP-28 Add MetadataTable to Avro Schema converter. 2016-03-04 09:54:59 +01:00
CHEN Bin
e71f83769c [TBD-3228] Remove wrong type mapping on cassandra datastax
https://jira.talendforge.org/browse/TBD-3228
2016-03-04 15:59:19 +08:00
CHEN Bin
ce0ed67836 [TBD-2809] upgrade cassandra bulk to
3.3/2.2.5/2.1.13
https://jira.talendforge.org/browse/TBD-2809
2016-03-04 15:59:19 +08:00
Ryan Skraba
ab5c3b43bb Merge branch 'master' of github.com:Talend/tcommon-studio-se 2016-03-04 08:53:43 +01:00
nrousseau
fba6d26115 fix pom setup of junit plugin 2016-03-04 14:34:48 +08:00
nrousseau
42f670fc0f fix pom setup of junit plugin 2016-03-04 14:12:37 +08:00
nrousseau
c6f4ecf308 Merge pull request #320 from Talend/feature/TUP-3998
Feature/tup 3998
2016-03-04 13:22:18 +08:00
Ryan Skraba
a0458de97d TCOMP-28 Provide a IMetadataTable to Avro schema adapter. 2016-03-03 17:24:46 +01:00
cmeng-talend
cda74ed0e5 Merge remote-tracking branch 'origin/master' into feature/TUP-3998 2016-03-03 14:51:52 +08:00
nrousseau
eb33c99aff Merge pull request #311 from Talend/feature/master/TBD-3089
Feature/master/tbd 3089
2016-03-03 11:21:14 +08:00
nrousseau
8a19736f22 Merge pull request #317 from Talend/feature/master/TUP-3989
TUP-3989:Implement test cases on spark streaming
2016-03-03 11:19:56 +08:00
wdliu
7bff4a262b Merge branch 'master' into feature/TUP-3998 2016-03-03 11:02:10 +08:00
wdliu
742fb7a7e5 TUP-3998:
Git: ability to create feature and bug branches and merge to
branch------add service null judgement
2016-03-03 10:52:18 +08:00
msjian
c4e548457f TDQ-11558: refact some code 2016-03-02 19:19:11 +08:00
nrousseau
3876a7bcfb Merge pull request #318 from Talend/bugfix/6.2/TUP_4141_fixStudioOrComponentIssues
TUP-3843:fix a compilation error on org.talend.core.runtime(due to component API changes)(TUP-4010)
2016-03-02 18:48:56 +08:00
hcyi
79a925c825 TUP-3843:fix a compilation error on org.talend.core.runtime(due to
component API changes)(TUP-4010)
2016-03-02 18:38:05 +08:00
Yucheng Bai
e4610071e5 Merge pull request #315 from Talend/bugfix/6.2/TUP_4141_fixStudioOrComponentIssues
TUP-3843:fix a problem about the password controller , change to hidden text type(TUP-4010)
2016-03-02 16:17:23 +08:00
hcyi
b0b5b11c50 Merge branch 'master' into bugfix/6.2/TUP_4141_fixStudioOrComponentIssues 2016-03-02 15:56:39 +08:00
hcyi
d72eb7d522 TUP-4161:WidgetType.SCHEMA_REFERENCE needs to be implemented(TUP-4010) 2016-03-02 15:45:03 +08:00
msjian
de24c69237 TDQ-11558: support Amazon Redshift database 2016-03-02 15:22:50 +08:00
wchen-talend
3183e24a88 Merge pull request #316 from Talend/bufix/6.2.0/TDI-35139_TUP-4155_TUP-4085
Commits for tasks: 	TUP-35139 / TUP-4085 / TUP-4155
2016-03-02 14:33:09 +08:00
nrousseau
9bc5b564c3 Merge remote-tracking branch 'origin/master' into bufix/6.2.0/TDI-35139_TUP-4155_TUP-4085 2016-03-02 13:30:07 +08:00
nrousseau
39276ff7fb TUP-4085: set preferences to setup the update of artifacts from Nexus 2016-03-02 12:14:19 +08:00
cmeng-talend
9cbaaa369f Merge remote-tracking branch 'origin/master' into feature/TUP-3998 2016-03-01 17:02:32 +08:00
wchen-talend
3feb1cd87f TUP-4036 : add junit 2016-03-01 16:47:18 +08:00
wchen-talend
1bd3931269 TUP-4036:The Library synchronization between the Commandline and a local
Nexus does not appear to occur
2016-03-01 16:47:17 +08:00
Francis Upton IV
ef5f6bb284 TCOMP-62 Align studio classes with new compnent runtime API 2016-02-29 22:39:00 -08:00
hcyi
6b0b034a85 TUP-3843:fix a problem about the password controller , change to hidden
text type(TUP-4010)
2016-02-29 17:15:33 +08:00
hwang
5a44672ae6 TUP-3989:Implement test cases on spark streaming 2016-02-29 16:24:42 +08:00
msjian
43b35a3a0c Merge branch 'feature/TDQ-11558-redShift-profilier' 2016-02-29 11:00:37 +08:00
nrousseau
3cc0d42f68 TDI-35139: avoid to have several popup for the same jar during the
build, and avoid to retrieve even from nexus several times
2016-02-27 13:29:39 +08:00
sgandon
3b0fef6e38 Merge pull request #313 from Talend/bugfix/6.2/TUP_4141_fixStudioOrComponentIssues
TUP-3842: fix compile errors.
I have to accept this because the studio will fail tonight but I really would like to know why you have to implement this method. It is not supposed to be implemented and you put yourself in a position to have complication errors even when non breaking changes are done.
2016-02-26 17:04:03 +01:00
nrousseau
f0f79195e9 Merge branch 'master' into bugfix/6.2.0/TUP-4036_syn_lib_from_nexus 2016-02-26 18:33:11 +08:00
msjian
b840cfa2c4 TDQ-11634: Add the amazon redshift connection to the list of supported
connection
2016-02-26 17:37:58 +08:00
nrousseau
b956063523 Merge pull request #314 from Talend/bugfix/master/TDI-35146
TDI-35146:No more handles happen when update after change context value
2016-02-26 14:42:14 +08:00
hwang
92f85c5d04 TDI-35146:No more handles happen when update after change context value 2016-02-26 14:35:41 +08:00
ycbai
aae8b7db59 Merge branch 'master' into bugfix/6.2/TUP_4141_fixStudioOrComponentIssues 2016-02-26 14:09:43 +08:00
ycbai
4a476676aa TUP-3842: fix compile errors. 2016-02-26 14:09:02 +08:00
GGu
37f2f2b72a Merge pull request #310 from qiongli/master
TDQ-11355 avoid "java.nio.channels.ClosedChannelException" .If the current perspective is DQ, delay this commit at here,it will be committed with DQ side(see DQRespositoryView Constructor).
2016-02-26 11:47:51 +08:00
qiongli
1e793698e3 TDQ-11355 avoid "java.nio.channels.ClosedChannelException" .If the
current perspective is DQ, delay this commit at here,it will be
committed with DQ side(see DQRespositoryView Constructor).
2016-02-25 18:42:35 +08:00
hwang
59d11f6bdf TBD-3174:add parameters to distinguish different job types and
frameworks
2016-02-25 18:25:27 +08:00
hwang
07b92f171c TBD-3174:add parameters to distinguish different job types and
frameworks
2016-02-25 09:50:07 +08:00
cmeng-talend
226c020ac8 TUP-4050 feature: Create conflict object repository view
https://jira.talendforge.org/browse/TUP-4050
2016-02-24 18:15:32 +08:00
ycbai
a4cbd828ce Do some refactor. 2016-02-24 16:01:30 +08:00
cmeng-talend
3af7ce2362 Merge remote-tracking branch 'origin/master' into feature/TUP-3998 2016-02-23 19:21:22 +08:00
CHEN Bin
d5192777d2 [TBD-2809] upgrade cassandra bulk components to 2.1/2.2/3
https://jira.talendforge.org/browse/TBD-2809
2016-02-23 16:12:38 +08:00
nrousseau
cb97a665dd TUP-4137: temporary fix, just to avoid compilation error 2016-02-23 15:02:24 +08:00
hcyi
815dd57b8e Merge branch 'master' into bugfix/master/TUP-4010_Component_properties_problems_new 2016-02-22 18:51:53 +08:00
hwang
8b88f1a682 TDI-35146:No more handles happen when update after change context value 2016-02-22 18:46:21 +08:00
cmeng-talend
115f699fba TUP-4050 feature: Create conflict object repository view
https://jira.talendforge.org/browse/TUP-4050
2016-02-22 16:54:58 +08:00
ycbai
cdce3fe6c1 TBD-3088: fix the context problems of hadoop properties. 2016-02-22 16:22:54 +08:00
hcyi
8e26daab76 Merge branch 'master' into bugfix/master/TUP-4010_Component_properties_problems_new 2016-02-22 15:21:15 +08:00
nrousseau
44f74c34e9 TDI-35268: Enhance the speed of display for the connection with many
tables
2016-02-22 14:49:34 +08:00
nrousseau
c5be38f001 fix compilation error on dev 2016-02-22 14:49:33 +08:00
cmeng-talend
97a3c1f618 TUP-4050 feature: Create conflict object repository view
https://jira.talendforge.org/browse/TUP-4050
2016-02-19 18:59:40 +08:00
hcyi
46e9de9ab7 Merge branch 'master' into bugfix/master/TUP-4010_Component_properties_problems_new 2016-02-19 16:56:03 +08:00
wchen-talend
ac8518c11b TUP-4036 : add junit 2016-02-18 19:28:56 +08:00
wchen-talend
bc2f0476bd TUP-4036:The Library synchronization between the Commandline and a local
Nexus does not appear to occur
2016-02-18 19:15:22 +08:00
ycbai
e6081e3363 TUP-3782: fix compile errors. 2016-02-18 18:26:41 +08:00
ycbai
95aa0f9d80 TUP-3782: Support Context 2016-02-18 18:26:36 +08:00
hcyi
0f0ae074e5 TUP-4014:parameters not linked to repository, displayed as linked to
repository,set the repositoryValue/default value(TUP-4010)
2016-02-18 15:27:46 +08:00
CHEN Bin
ddec89d745 [TBD-2994] Teradata component should upgrade to v15
https://jira.talendforge.org/browse/TBD-2994
2016-02-18 13:58:29 +08:00
hwang
1403829d3e TDI-32081:The view will show beside Palette after opening a new view. 2016-02-17 16:15:55 +08:00
wdliu
424d039d20 TUP-4115: DI Studio Part
TUP-4115: Refactor ui for git to put all the ui related code of
org.talend.repository.gitprovider to
org.talend.repository.gitprovider.ui
-------refactor ui
2016-02-17 13:52:21 +08:00
wchen-talend
4baa746b22 TUP-4036 : add junit test 2016-02-17 11:17:44 +08:00
wchen-talend
b393f5ac77 TUP-4036:The Library synchronization between the Commandline and a local
Nexus does not appear to occur
2016-02-17 11:17:37 +08:00
wdliu
19a0284860 TUP-4016: DI Studio Part
TUP-4016: Create new branches system to show local and remote
branches.----------------save the new branch id into the preference
page.
2016-02-05 07:53:38 +08:00
wdliu
ae7328e575 TUP-4016: DI Studio Part
TUP-4016: Create new branches system to show local and remote
branches.--------------------------optimize the menu ui
2016-02-04 19:23:27 +08:00
wdliu
5de05119e7 TUP-4016: DI Studio Part
TUP-4016: Create new branches system to show local and remote
branches.---optimize ui for menu
2016-02-04 12:11:35 +08:00
cmeng-talend
503f8ac7c4 TUP-4051 feature: Create merge APIs to manage merge actions
https://jira.talendforge.org/browse/TUP-4051
2016-02-01 18:51:55 +08:00
wdliu
3c1ffff188 Merge remote-tracking branch 'origin/master' into feature/TUP-3998 2016-01-28 16:34:04 +08:00
wdliu
032296abe9 TUP-4016: DI Studio Part
TUP-4016: Create new branches system to show local and remote branches.
2016-01-27 18:55:29 +08:00
352 changed files with 10602 additions and 3911 deletions

View File

@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tcommon-studio-se</artifactId>
<version>6.2.0-M2</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.babel.all.tos.feature</artifactId>
<packaging>eclipse-feature</packaging>
</project>
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tcommon-studio-se</artifactId>
<version>6.2.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.babel.all.tos.feature</artifactId>
<packaging>eclipse-feature</packaging>
</project>

View File

@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tcommon-studio-se</artifactId>
<version>6.2.0-M2</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.common.ui.runtime.nl</artifactId>
<packaging>eclipse-plugin</packaging>
</project>
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tcommon-studio-se</artifactId>
<version>6.2.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.common.ui.runtime.nl</artifactId>
<packaging>eclipse-plugin</packaging>
</project>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tcommon-studio-se</artifactId>
<version>6.2.0-M2</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.cwm.mip.edit.nl</artifactId>
<packaging>eclipse-plugin</packaging>
</project>
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tcommon-studio-se</artifactId>
<version>6.2.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.cwm.mip.edit.nl</artifactId>
<packaging>eclipse-plugin</packaging>
</project>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tcommon-studio-se</artifactId>
<version>6.2.0-M2</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.metadata.managment.ui.nl</artifactId>
<packaging>eclipse-plugin</packaging>
</project>
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tcommon-studio-se</artifactId>
<version>6.2.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.metadata.managment.ui.nl</artifactId>
<packaging>eclipse-plugin</packaging>
</project>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tcommon-studio-se</artifactId>
<version>6.2.0-M2</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.repository.items.importexport.nl</artifactId>
<packaging>eclipse-plugin</packaging>
</project>
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tcommon-studio-se</artifactId>
<version>6.2.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.repository.items.importexport.nl</artifactId>
<packaging>eclipse-plugin</packaging>
</project>

View File

@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tcommon-studio-se</artifactId>
<version>6.2.0-M2</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.repository.items.importexport.ui.nl</artifactId>
<packaging>eclipse-plugin</packaging>
</project>
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tcommon-studio-se</artifactId>
<version>6.2.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.repository.items.importexport.ui.nl</artifactId>
<packaging>eclipse-plugin</packaging>
</project>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -109,4 +109,18 @@
version="0.0.0"
unpack="false"/>
<plugin
id="jackson-core-asl"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="jackson-mapper-asl"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
</feature>

View File

@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tcommon-studio-se</artifactId>
<version>6.2.0-M2</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.commons.feature</artifactId>
<packaging>eclipse-feature</packaging>
</project>
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tcommon-studio-se</artifactId>
<version>6.2.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.commons.feature</artifactId>
<packaging>eclipse-feature</packaging>
</project>

View File

@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tcommon-studio-se</artifactId>
<version>6.2.0-M2</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.core.feature</artifactId>
<packaging>eclipse-feature</packaging>
</project>
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tcommon-studio-se</artifactId>
<version>6.2.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.core.feature</artifactId>
<packaging>eclipse-feature</packaging>
</project>

View File

@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tcommon-studio-se</artifactId>
<version>6.2.0-M2</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.fragment.jars.feature</artifactId>
<packaging>eclipse-feature</packaging>
</project>
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tcommon-studio-se</artifactId>
<version>6.2.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.fragment.jars.feature</artifactId>
<packaging>eclipse-feature</packaging>
</project>

View File

@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tcommon-studio-se</artifactId>
<version>6.2.0-M2</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.help.feature</artifactId>
<packaging>eclipse-feature</packaging>
</project>
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tcommon-studio-se</artifactId>
<version>6.2.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.help.feature</artifactId>
<packaging>eclipse-feature</packaging>
</project>

View File

@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tcommon-studio-se</artifactId>
<version>6.2.0-M2</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.jdt.feature</artifactId>
<packaging>eclipse-feature</packaging>
</project>
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tcommon-studio-se</artifactId>
<version>6.2.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.jdt.feature</artifactId>
<packaging>eclipse-feature</packaging>
</project>

View File

@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tcommon-studio-se</artifactId>
<version>6.2.0-M2</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.libraries.jdbc.feature</artifactId>
<packaging>eclipse-feature</packaging>
</project>
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tcommon-studio-se</artifactId>
<version>6.2.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.libraries.jdbc.feature</artifactId>
<packaging>eclipse-feature</packaging>
</project>

View File

@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tcommon-studio-se</artifactId>
<version>6.2.0-M2</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.m2e.feature</artifactId>
<packaging>eclipse-feature</packaging>
</project>
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tcommon-studio-se</artifactId>
<version>6.2.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.m2e.feature</artifactId>
<packaging>eclipse-feature</packaging>
</project>

View File

@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tcommon-studio-se</artifactId>
<version>6.2.0-M2</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.model.migration.feature</artifactId>
<packaging>eclipse-feature</packaging>
</project>
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tcommon-studio-se</artifactId>
<version>6.2.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.model.migration.feature</artifactId>
<packaging>eclipse-feature</packaging>
</project>

View File

@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tcommon-studio-se</artifactId>
<version>6.2.0-M2</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.platform.feature</artifactId>
<packaging>eclipse-feature</packaging>
</project>
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tcommon-studio-se</artifactId>
<version>6.2.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.platform.feature</artifactId>
<packaging>eclipse-feature</packaging>
</project>

View File

@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tcommon-studio-se</artifactId>
<version>6.2.0-M2</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.rcp.feature</artifactId>
<packaging>eclipse-feature</packaging>
</project>
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tcommon-studio-se</artifactId>
<version>6.2.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.rcp.feature</artifactId>
<packaging>eclipse-feature</packaging>
</project>

View File

@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tcommon-studio-se</artifactId>
<version>6.2.0-M2</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.update.p2.feature</artifactId>
<packaging>eclipse-feature</packaging>
</project>
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tcommon-studio-se</artifactId>
<version>6.2.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.update.p2.feature</artifactId>
<packaging>eclipse-feature</packaging>
</project>

View File

@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tcommon-studio-se</artifactId>
<version>6.2.0-M2</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.updates.feature</artifactId>
<packaging>eclipse-feature</packaging>
</project>
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tcommon-studio-se</artifactId>
<version>6.2.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.updates.feature</artifactId>
<packaging>eclipse-feature</packaging>
</project>

View File

@@ -114,4 +114,38 @@
version="0.0.0"
unpack="false"/>
<plugin
id="jackson-core-asl"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="jackson-mapper-asl"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="org.apache.servicemix.bundles.avro"
download-size="0"
install-size="0"
version="0.0.0"/>
<plugin
id="com.thoughtworks.paranamer"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="org.apache.commons.compress"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
</feature>

View File

@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tcommon-studio-se</artifactId>
<version>6.2.0-M2</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.utils.feature</artifactId>
<packaging>eclipse-feature</packaging>
</project>
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tcommon-studio-se</artifactId>
<version>6.2.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.utils.feature</artifactId>
<packaging>eclipse-feature</packaging>
</project>

View File

@@ -1,27 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tcommon-studio-se</artifactId>
<version>6.2.0-M2</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.common.ui.runtime</artifactId>
<packaging>eclipse-plugin</packaging>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
<executions>
<execution>
<id>default-deploy</id>
<phase>deploy</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tcommon-studio-se</artifactId>
<version>6.2.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.common.ui.runtime</artifactId>
<packaging>eclipse-plugin</packaging>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
<executions>
<execution>
<id>default-deploy</id>
<phase>deploy</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

View File

@@ -1,27 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tcommon-studio-se</artifactId>
<version>6.2.0-M2</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.commons.runtime</artifactId>
<packaging>eclipse-plugin</packaging>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
<executions>
<execution>
<id>default-deploy</id>
<phase>deploy</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tcommon-studio-se</artifactId>
<version>6.2.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.commons.runtime</artifactId>
<packaging>eclipse-plugin</packaging>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
<executions>
<execution>
<id>default-deploy</id>
<phase>deploy</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

View File

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

View File

@@ -17,6 +17,7 @@
<extension-point id="repository_review_filter" name="repository_review_filter" schema="schema/repository_review_filter.exsd"/>
<extension-point id="repository_context" name="Repository_context" schema="schema/repository_context.exsd"/>
<extension-point id="document_generator" name="document_generator" schema="schema/document_generator.exsd"/>
<extension-point id="git_content_service" name="git_content_service" schema="schema/git_content_service.exsd"/>
<extension
point="org.talend.core.runtime.service">

View File

@@ -1,27 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tcommon-studio-se</artifactId>
<version>6.2.0-M2</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.core.repository</artifactId>
<packaging>eclipse-plugin</packaging>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
<executions>
<execution>
<id>default-deploy</id>
<phase>deploy</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tcommon-studio-se</artifactId>
<version>6.2.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.core.repository</artifactId>
<packaging>eclipse-plugin</packaging>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
<executions>
<execution>
<id>default-deploy</id>
<phase>deploy</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

View File

@@ -0,0 +1,102 @@
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
<schema targetNamespace="org.talend.core.repository" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
<appinfo>
<meta.schema plugin="org.talend.core.repository" id="git_content_service" name="git_content_service"/>
</appinfo>
<documentation>
[Enter description of this extension point.]
</documentation>
</annotation>
<element name="extension">
<annotation>
<appinfo>
<meta.element />
</appinfo>
</annotation>
<complexType>
<sequence>
<element ref="service" minOccurs="1" maxOccurs="unbounded"/>
</sequence>
<attribute name="point" type="string" use="required">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
<attribute name="id" type="string">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
<attribute name="name" type="string">
<annotation>
<documentation>
</documentation>
<appinfo>
<meta.attribute translatable="true"/>
</appinfo>
</annotation>
</attribute>
</complexType>
</element>
<element name="service">
<complexType>
<attribute name="class" type="string">
<annotation>
<documentation>
</documentation>
<appinfo>
<meta.attribute kind="java" basedOn=":org.talend.core.repository.services.IGitRepositoryService"/>
</appinfo>
</annotation>
</attribute>
</complexType>
</element>
<annotation>
<appinfo>
<meta.section type="since"/>
</appinfo>
<documentation>
[Enter the first release in which this extension point appears.]
</documentation>
</annotation>
<annotation>
<appinfo>
<meta.section type="examples"/>
</appinfo>
<documentation>
[Enter extension point usage example here.]
</documentation>
</annotation>
<annotation>
<appinfo>
<meta.section type="apiinfo"/>
</appinfo>
<documentation>
[Enter API information here.]
</documentation>
</annotation>
<annotation>
<appinfo>
<meta.section type="implementation"/>
</appinfo>
<documentation>
[Enter information about supplied implementation of this extension point.]
</documentation>
</annotation>
</schema>

View File

@@ -163,6 +163,10 @@ ProjectRepositoryNode.sapFunctions.inputSchema=Input
ProjectRepositoryNode.sapFunctions.outputSchema=Output
ProjectRepositoryNode.sapIDocs=SAP iDocs
ProjectRepositoryNode.sapTables=SAP Tables
ProjectRepositoryNode.sapBWDataSource=SAP DataSource
ProjectRepositoryNode.sapBWDataStoreObject=SAP DSO
ProjectRepositoryNode.sapBWInfoCube=SAP InfoCube
ProjectRepositoryNode.sapBWInfoObject=SAP InfoObject
RepositoryDropAdapter_copyingItems=Copying items...
RepositoryDropAdapter_errorMsg=This directory contains the locked item,it can not be moved now

View File

@@ -38,6 +38,7 @@ import org.talend.core.model.repository.IRepositoryWorkUnitListener;
import org.talend.core.model.repository.LockInfo;
import org.talend.core.repository.utils.XmiResourceManager;
import org.talend.repository.RepositoryWorkUnit;
import org.talend.utils.json.JSONArray;
/**
* Defines all methods that a repository provider plug-in must provides to client.<br/>
@@ -414,4 +415,6 @@ public interface IRepositoryFactory {
public void setStorage(String storage);
public String getStorage();
public JSONArray getAllRemoteLocks();
}

View File

@@ -39,7 +39,6 @@ import org.talend.commons.utils.data.container.Container;
import org.talend.core.GlobalServiceRegister;
import org.talend.core.PluginChecker;
import org.talend.core.database.EDatabaseTypeName;
import org.talend.core.model.genhtml.IHTMLDocConstants;
import org.talend.core.model.metadata.MetadataManager;
import org.talend.core.model.metadata.builder.connection.Connection;
import org.talend.core.model.metadata.builder.connection.DatabaseConnection;
@@ -47,6 +46,7 @@ import org.talend.core.model.metadata.builder.connection.MetadataColumn;
import org.talend.core.model.metadata.builder.connection.MetadataTable;
import org.talend.core.model.metadata.builder.connection.QueriesConnection;
import org.talend.core.model.metadata.builder.connection.Query;
import org.talend.core.model.metadata.builder.connection.SAPBWTable;
import org.talend.core.model.metadata.builder.connection.SAPConnection;
import org.talend.core.model.metadata.builder.connection.SAPFunctionUnit;
import org.talend.core.model.metadata.builder.connection.SAPIDocUnit;
@@ -92,9 +92,9 @@ import org.talend.core.ui.ICDCProviderService;
import org.talend.core.ui.ITestContainerProviderService;
import org.talend.core.ui.branding.IBrandingService;
import org.talend.cwm.helper.ConnectionHelper;
import org.talend.cwm.helper.SAPBWTableHelper;
import org.talend.cwm.helper.SubItemHelper;
import org.talend.cwm.helper.TableHelper;
import org.talend.designer.core.ICamelDesignerCoreService;
import org.talend.designer.core.IDesignerCoreService;
import org.talend.repository.ProjectManager;
import org.talend.repository.model.BinRepositoryNode;
@@ -980,51 +980,6 @@ public class ProjectRepositoryNode extends RepositoryNode implements IProjectRep
return false;
}
@SuppressWarnings("rawtypes")
private void convertDocumentation(org.talend.core.model.general.Project newProject, Container generatedContainer,
RepositoryNode parent, ERepositoryObjectType type) {
// for folder Documentation/generated
// RepositoryNode generatedFolder = getRootRepositoryNode(ERepositoryObjectType.GENERATED);
// for folder Documentation/generated/jobs
convertDocumentation(newProject, generatedContainer, parent, type, ERepositoryObjectType.JOBS,
ERepositoryObjectType.JOB_DOC);
// for folder Documentation/generated/joblets
convertDocumentation(newProject, generatedContainer, parent, type, ERepositoryObjectType.JOBLETS,
ERepositoryObjectType.JOBLET_DOC);
if (GlobalServiceRegister.getDefault().isServiceRegistered(ICamelDesignerCoreService.class)) {
ICamelDesignerCoreService service = (ICamelDesignerCoreService) GlobalServiceRegister.getDefault().getService(
ICamelDesignerCoreService.class);
if (service.getRouteDocsType() != null && service.getRouteDocType() != null) {
convertDocumentation(newProject, generatedContainer, parent, type, service.getRouteDocsType(),
service.getRouteDocType());
}
}
}
@SuppressWarnings("rawtypes")
private void convertDocumentation(org.talend.core.model.general.Project newProject, Container generatedContainer,
RepositoryNode parent, ERepositoryObjectType type, ERepositoryObjectType parentDocType, ERepositoryObjectType docType) {
RepositoryNode docsFolder = getRootRepositoryNode(parentDocType);
Container docsNode = null;
for (Object object : generatedContainer.getSubContainer()) {
if (((Container) object).getLabel().equalsIgnoreCase(parentDocType.name().toLowerCase())) {
docsNode = (Container) object;
break;
}
}
// get the files under generated/nodes.
if (docsNode != null) {
convert(newProject, docsNode, docsFolder, docType);
}
}
private RepositoryNode getSQLPatternNode(String parentLabel, String label) {
if (getMergeRefProject()) {
List<IRepositoryNode> sqlChildren = getRootRepositoryNode(ERepositoryObjectType.SQLPATTERNS).getChildren();
@@ -1093,7 +1048,7 @@ public class ProjectRepositoryNode extends RepositoryNode implements IProjectRep
Folder oFolder = new Folder((Property) container.getProperty(), type);
boolean found = false;
// add for bug TDI-26084, whether or not hide folders under job_doc/joblet_doc.
if (ERepositoryObjectType.JOB_DOC.equals(type) || ERepositoryObjectType.JOBLET_DOC.equals(type)) {
if (type.equals(ERepositoryObjectType.JOB_DOC) || type.equals(ERepositoryObjectType.JOBLET_DOC)) {
for (FolderItem delFolder : delFolderItems) {
String parentName = ((FolderItem) delFolder.getParent()).getProperty().getLabel();
String oFolderPath = oFolder.getPath();
@@ -1126,19 +1081,6 @@ public class ProjectRepositoryNode extends RepositoryNode implements IProjectRep
if (label.equals("bin") || label.startsWith(".")) { //$NON-NLS-1$ //$NON-NLS-2$
continue;
}
// currently, only process the docs for job, joblet and route.
if (type.equals(ERepositoryObjectType.JOB_DOC) || type.equals(ERepositoryObjectType.JOBLET_DOC)
|| type.equals(ERepositoryObjectType.JOBS) || type.equals(ERepositoryObjectType.JOBLETS)
|| type.equals(ERepositoryObjectType.valueOf("ROUTE_DOCS"))//$NON-NLS-1$
|| type.equals(ERepositoryObjectType.valueOf("ROUTE_DOC"))) {//$NON-NLS-1$
boolean isJobDocRootFolder = ((label.indexOf("_") != -1) && (label.indexOf(".") != -1)); //$NON-NLS-1$ //$NON-NLS-2$
boolean isPicFolderName = label.equals(IHTMLDocConstants.PIC_FOLDER_NAME);
// Do not show job documentation root folder and Foder "pictures" on the repository view.
if (isJobDocRootFolder || isPicFolderName) {
continue;
}
}
// for system folder
if (RepositoryConstants.SYSTEM_DIRECTORY.equals(label)) {
if (getMergeRefProject()) {
@@ -1166,10 +1108,13 @@ public class ProjectRepositoryNode extends RepositoryNode implements IProjectRep
parent.getChildren().add(folder);
}
} else if (ERepositoryObjectType.GENERATED.name().equalsIgnoreCase(label)) {
if (PluginChecker.isDocumentationPluginLoaded()) {
convertDocumentation(newProject, container, parent, type);
}
} else
// ERepositoryObjectType.GENERATED
if (type.equals(ERepositoryObjectType.DOCUMENTATION) && label.equalsIgnoreCase("generated")) {//$NON-NLS-1$
// if (PluginChecker.isDocumentationPluginLoaded()) {
// use CNF content provider instead
// convertDocumentation(newProject, container, parent, type);
// }
continue;
} else {
if (getMergeRefProject()) {
@@ -1632,6 +1577,18 @@ public class ProjectRepositoryNode extends RepositoryNode implements IProjectRep
iDocNode.setChildrenObjectType(ERepositoryObjectType.METADATA_SAP_IDOC);
node.getChildren().add(iDocNode);
createSAPIDocNodes(repObj, metadataConnection, iDocNode);
// 4. BW DataSource:
createSAPBWDataSourceNodes(repObj, metadataConnection, node, validationRules);
// 5. BW DataStoreObject:
createSAPBWDataStoreObjectNodes(repObj, metadataConnection, node, validationRules);
// 6. BW InfoCube:
createSAPBWInfoCubeNodes(repObj, metadataConnection, node, validationRules);
// 7. BW InfoObject:
createSAPBWInfoObjectNodes(repObj, metadataConnection, node, validationRules);
} else if (metadataConnection instanceof SalesforceSchemaConnection) {
createSalesforceModuleNodes(repObj, metadataConnection, node, validationRules);
} else {
@@ -1658,6 +1615,66 @@ public class ProjectRepositoryNode extends RepositoryNode implements IProjectRep
}
private void createSAPBWDataSourceNodes(IRepositoryViewObject repObj, Connection metadataConnection, RepositoryNode node,
List<IRepositoryViewObject> validationRules) {
StableRepositoryNode container = new StableRepositoryNode(node,
Messages.getString("ProjectRepositoryNode.sapBWDataSource"), ECoreImage.FOLDER_CLOSE_ICON); //$NON-NLS-1$
container.setChildrenObjectType(ERepositoryObjectType.METADATA_CON_TABLE);
container.setProperties(EProperties.CONTENT_TYPE, ERepositoryObjectType.METADATA_SAP_BW_DATASOURCE);
node.getChildren().add(container);
EList<SAPBWTable> datasources = ((SAPConnection) metadataConnection).getBWDataSources();
EList tables = new BasicEList();
tables.addAll(datasources);
createTables(container, repObj, tables, ERepositoryObjectType.METADATA_CON_TABLE, validationRules);
}
private void createSAPBWDataStoreObjectNodes(IRepositoryViewObject repObj, Connection metadataConnection,
RepositoryNode node, List<IRepositoryViewObject> validationRules) {
StableRepositoryNode container = new StableRepositoryNode(node,
Messages.getString("ProjectRepositoryNode.sapBWDataStoreObject"), ECoreImage.FOLDER_CLOSE_ICON); //$NON-NLS-1$
container.setChildrenObjectType(ERepositoryObjectType.METADATA_CON_TABLE);
container.setProperties(EProperties.CONTENT_TYPE, ERepositoryObjectType.METADATA_SAP_BW_DATASTOREOBJECT);
node.getChildren().add(container);
EList<SAPBWTable> dataStoreObjects = ((SAPConnection) metadataConnection).getBWDataStoreObjects();
EList tables = new BasicEList();
tables.addAll(dataStoreObjects);
createTables(container, repObj, tables, ERepositoryObjectType.METADATA_CON_TABLE, validationRules);
}
private void createSAPBWInfoCubeNodes(IRepositoryViewObject repObj, Connection metadataConnection, RepositoryNode node,
List<IRepositoryViewObject> validationRules) {
StableRepositoryNode container = new StableRepositoryNode(node,
Messages.getString("ProjectRepositoryNode.sapBWInfoCube"), ECoreImage.FOLDER_CLOSE_ICON); //$NON-NLS-1$
container.setChildrenObjectType(ERepositoryObjectType.METADATA_CON_TABLE);
container.setProperties(EProperties.CONTENT_TYPE, ERepositoryObjectType.METADATA_SAP_BW_INFOCUBE);
node.getChildren().add(container);
EList<SAPBWTable> infoCubes = ((SAPConnection) metadataConnection).getBWInfoCubes();
EList tables = new BasicEList();
tables.addAll(infoCubes);
createTables(container, repObj, tables, ERepositoryObjectType.METADATA_CON_TABLE, validationRules);
}
private void createSAPBWInfoObjectNodes(IRepositoryViewObject repObj, Connection metadataConnection, RepositoryNode node,
List<IRepositoryViewObject> validationRules) {
StableRepositoryNode container = new StableRepositoryNode(node,
Messages.getString("ProjectRepositoryNode.sapBWInfoObject"), ECoreImage.FOLDER_CLOSE_ICON); //$NON-NLS-1$
container.setChildrenObjectType(ERepositoryObjectType.METADATA_CON_TABLE);
container.setProperties(EProperties.CONTENT_TYPE, ERepositoryObjectType.METADATA_SAP_BW_INFOOBJECT);
node.getChildren().add(container);
EList<SAPBWTable> infoObjects = ((SAPConnection) metadataConnection).getBWInfoObjects();
EList<SAPBWTable> tables = new BasicEList<SAPBWTable>();
for (SAPBWTable bwTable : infoObjects) {
if (!SAPBWTableHelper.IO_INNERTYPE_BASIC.equals(bwTable.getInnerIOType())) {
tables.add(bwTable);
}
}
createTables(container, repObj, tables, ERepositoryObjectType.METADATA_CON_TABLE, validationRules);
}
private void createSalesforceModuleNodes(IRepositoryViewObject rebObj, Connection metadataConnection,
RepositoryNode connectionNode, List<IRepositoryViewObject> validationRules) {
EList modules = ((SalesforceSchemaConnection) metadataConnection).getModules();

View File

@@ -126,6 +126,7 @@ import org.talend.repository.documentation.ERepositoryActionName;
import org.talend.repository.model.IProxyRepositoryFactory;
import org.talend.repository.model.RepositoryConstants;
import org.talend.utils.io.FilesUtils;
import org.talend.utils.json.JSONArray;
import orgomg.cwm.objectmodel.core.ModelElement;
/**
@@ -2227,4 +2228,8 @@ public final class ProxyRepositoryFactory implements IProxyRepositoryFactory {
}
}
public JSONArray getAllRemoteLocks() {
return repositoryFactoryFromProvider.getAllRemoteLocks();
}
}

View File

@@ -0,0 +1,49 @@
// ============================================================================
//
// Copyright (C) 2006-2015 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt
//
// You should have received a copy of the agreement
// along with this program; if not, write to Talend SA
// 9 rue Pages 92150 Suresnes, France
//
// ============================================================================
package org.talend.core.repository.model.provider;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IConfigurationElement;
import org.eclipse.core.runtime.IExtension;
import org.eclipse.core.runtime.IExtensionPoint;
import org.eclipse.core.runtime.IExtensionRegistry;
import org.eclipse.core.runtime.Platform;
import org.talend.commons.exception.ExceptionHandler;
import org.talend.core.repository.services.IGitContentService;
public class GitContentServiceProviderManager {
public static IGitContentService getGitContentService() {
IGitContentService service = null;
IExtensionRegistry extensionRegistry = Platform.getExtensionRegistry();
IExtensionPoint extensionPoint = extensionRegistry.getExtensionPoint("org.talend.core.repository.git_content_service"); //$NON-NLS-1$
if (extensionPoint != null) {
IExtension[] extensions = extensionPoint.getExtensions();
for (IExtension extension : extensions) {
IConfigurationElement[] configurationElements = extension.getConfigurationElements();
for (IConfigurationElement configurationElement : configurationElements) {
try {
Object object = configurationElement.createExecutableExtension("class"); //$NON-NLS-1$
if (object instanceof IGitContentService) {
service = (IGitContentService) object;
break;
}
} catch (CoreException e) {
ExceptionHandler.process(e);
}
}
}
}
return service;
}
}

View File

@@ -27,6 +27,8 @@ import org.talend.core.model.metadata.builder.connection.AbstractMetadataObject;
import org.talend.core.model.metadata.builder.connection.Concept;
import org.talend.core.model.metadata.builder.connection.Connection;
import org.talend.core.model.metadata.builder.connection.MDMConnection;
import org.talend.core.model.metadata.builder.connection.SAPBWTable;
import org.talend.core.model.metadata.builder.connection.SAPConnection;
import org.talend.core.model.metadata.builder.connection.SAPFunctionUnit;
import org.talend.core.model.metadata.builder.connection.SalesforceModuleUnit;
import org.talend.core.model.properties.ConnectionItem;
@@ -38,6 +40,7 @@ import org.talend.core.model.repository.IRepositoryViewObject;
import org.talend.core.model.repository.ISubRepositoryObject;
import org.talend.core.runtime.services.IGenericWizardService;
import org.talend.cwm.helper.ConnectionHelper;
import org.talend.cwm.helper.SAPBWTableHelper;
import org.talend.cwm.helper.SubItemHelper;
import org.talend.cwm.helper.SwitchHelpers;
import org.talend.cwm.relational.TdTable;
@@ -121,6 +124,12 @@ public class MetadataTableRepositoryObject extends MetadataTable implements ISub
moduleUnit.getTables().remove(table);
return;
}
if (table.eContainer() instanceof SAPConnection && table instanceof SAPBWTable) {
SAPBWTableHelper.removeBWTable((Connection) table.eContainer(), ((SAPBWTable) table).getModelType(),
(SAPBWTable) table);
}
if (table.getNamespace() instanceof Package) {
Package pkg = (Package) table.getNamespace();
if (pkg.getOwnedElement().contains(table)) {
@@ -184,6 +193,10 @@ public class MetadataTableRepositoryObject extends MetadataTable implements ISub
} else if (table.eContainer() instanceof SAPFunctionUnit) {
SAPFunctionUnit funUnit = (SAPFunctionUnit) table.eContainer();
tables = ConnectionHelper.getTables(connection, funUnit);
} else if (table instanceof SAPBWTable) {
String bwTableType = ((SAPBWTable) table).getModelType();
String innerIOType = ((SAPBWTable) table).getInnerIOType();
tables = SAPBWTableHelper.getBWTables(connection, bwTableType, innerIOType, true);
} else {
tables = ConnectionHelper.getTables(connection);
}

View File

@@ -20,6 +20,7 @@ import java.util.List;
import java.util.Map;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.runtime.IPath;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.common.util.URI;
import org.eclipse.emf.ecore.resource.Resource;
@@ -88,8 +89,15 @@ public class RecycleBinManager {
List<TalendItem> notDeletedItems = new ArrayList<TalendItem>();
for (TalendItem deletedItem : deletedItems) {
try {
final ERepositoryObjectType type = ERepositoryObjectType.getType(deletedItem.getType());
// ignore the generated doc in recycle bin
if (type != null
&& (type.equals(ERepositoryObjectType.JOB_DOC) || type.equals(ERepositoryObjectType.JOBLET_DOC) || type
.equals(ERepositoryObjectType.valueOf("ROUTE_DOC")))) { //$NON-NLS-1$
continue;
}
IRepositoryViewObject object = ProxyRepositoryFactory.getInstance().getLastVersion(project, deletedItem.getId(),
deletedItem.getPath(), ERepositoryObjectType.getType(deletedItem.getType()));
deletedItem.getPath(), type);
if (object == null) {
object = ProxyRepositoryFactory.getInstance().getLastVersion(project, deletedItem.getId());
}
@@ -164,6 +172,11 @@ public class RecycleBinManager {
}
}
public RecycleBin getRecycleBin(Project project) {
loadRecycleBin(project);
return projectRecyclebins.get(project.getTechnicalLabel());
}
private void loadRecycleBin(Project project) {
if (projectRecyclebins.get(project.getTechnicalLabel()) != null) {
// already loaded, nothing to do. Don't do any force reload
@@ -186,6 +199,16 @@ public class RecycleBinManager {
}
}
public RecycleBin loadRecycleBin(IPath recycleBinIndexPath) throws Exception {
Resource resource = createRecycleBinResource(recycleBinIndexPath);
resource.load(null);
return loadRecycleBin(resource);
}
public RecycleBin loadRecycleBin(Resource resource) {
return (RecycleBin) EcoreUtil.getObjectByType(resource.getContents(), RecycleBinPackage.eINSTANCE.getRecycleBin());
}
public void saveRecycleBin(Project project) {
if (projectRecyclebins.get(project.getTechnicalLabel()) == null) {
loadRecycleBin(project);
@@ -219,7 +242,12 @@ public class RecycleBinManager {
private Resource createRecycleBinResource(Project project) {
IProject eclipseProject = ProjectManager.getInstance().getResourceProject(project.getEmfProject());
URI uri = URIHelper.convert(eclipseProject.getFullPath().append(TALEND_RECYCLE_BIN_INDEX));
return createRecycleBinResource(eclipseProject.getFullPath().append(TALEND_RECYCLE_BIN_INDEX));
}
public Resource createRecycleBinResource(IPath recycleBinIndexPath) {
URI uri = URIHelper.convert(recycleBinIndexPath);
XMLResourceFactoryImpl resourceFact = new XMLResourceFactoryImpl();
XMLResource resource = (XMLResource) resourceFact.createResource(uri);
@@ -234,5 +262,4 @@ public class RecycleBinManager {
resource.getDefaultLoadOptions().put(XMLResource.OPTION_USE_LEXICAL_HANDLER, Boolean.TRUE);
return resource;
}
}

View File

@@ -0,0 +1,12 @@
package org.talend.core.repository.services;
public interface IGitContentService {
public abstract void setMenu(Object object);
public abstract boolean isGIT();
public abstract void createDropdownCombo(Object composite);
public abstract void configureCombo(String descriptor);
}

View File

@@ -426,7 +426,8 @@ public class CopyObjectAction {
}
}
if (sourceNode.getObjectType() != ERepositoryObjectType.PROCESS
&& sourceNode.getObjectType() != ERepositoryObjectType.PROCESS_MR) {
&& sourceNode.getObjectType() != ERepositoryObjectType.PROCESS_MR
&& sourceNode.getObjectType() != ERepositoryObjectType.PROCESS_STORM) {
return false;
}
if (!(newItem instanceof ProcessItem)) {

View File

@@ -107,8 +107,9 @@ public class CreateFolderAction extends AContextualAction {
canWork = false;
break;
case SYSTEM_FOLDER:
if (ERepositoryObjectType.GENERATED.equals(property) || ERepositoryObjectType.JOBS.equals(property)
|| ERepositoryObjectType.JOBLETS.equals(property) || ERepositoryObjectType.SQLPATTERNS.equals(property)
if (property == null || property.equals(ERepositoryObjectType.GENERATED)
|| property.equals(ERepositoryObjectType.JOB_DOC) || property.equals(ERepositoryObjectType.JOBLET_DOC)
|| ERepositoryObjectType.SQLPATTERNS.equals(property)
|| ERepositoryObjectType.REFERENCED_PROJECTS.equals(property)
|| ERepositoryObjectType.SVN_ROOT.equals(property)) {
canWork = false;
@@ -122,7 +123,7 @@ public class CreateFolderAction extends AContextualAction {
}
break;
case SIMPLE_FOLDER:
if (ERepositoryObjectType.JOB_DOC.equals(property) || ERepositoryObjectType.JOBLET_DOC.equals(property)
if (property.equals(ERepositoryObjectType.JOB_DOC) || property.equals(ERepositoryObjectType.JOBLET_DOC)
|| (ERepositoryObjectType.SQLPATTERNS.equals(property) && !isUnderUserDefined(node))) {
canWork = false;
} else if (property != null

View File

@@ -1197,9 +1197,6 @@ public class DeleteAction extends AContextualAction {
return true;
}
if (node.getContentType() == ERepositoryObjectType.JOBS) {
return true;
}
if (node.getContentType() == ERepositoryObjectType.GENERATED) {
return true;
}
@@ -1495,8 +1492,8 @@ public class DeleteAction extends AContextualAction {
label = (String) obj;
}
boolean isGointoCondition = false;
if (node.getContentType() == ERepositoryObjectType.JOB_DOC
|| node.getContentType() == ERepositoryObjectType.JOBLET_DOC
if (node.getContentType().equals(ERepositoryObjectType.JOB_DOC)
|| node.getContentType().equals(ERepositoryObjectType.JOBLET_DOC)
|| RepositoryConstants.USER_DEFINED.equals(label)) {
visible = false;
isGointoCondition = true;

View File

@@ -152,8 +152,8 @@ public class DuplicateAction extends AContextualAction {
} else if (node.getProperties(EProperties.CONTENT_TYPE) == ERepositoryObjectType.JOB_DOC
|| node.getProperties(EProperties.CONTENT_TYPE) == ERepositoryObjectType.JOBLET_DOC) {
canWork = false;
} else if (node.getContentType() == ERepositoryObjectType.JOBS
|| node.getContentType() == ERepositoryObjectType.JOBLETS
} else if (node.getContentType() == ERepositoryObjectType.JOB_DOC
|| node.getContentType() == ERepositoryObjectType.JOBLET_DOC
|| node.getContentType() == ERepositoryObjectType.GENERATED
|| node.getProperties(EProperties.CONTENT_TYPE) == ERepositoryObjectType.JOB_DOC
|| node.getProperties(EProperties.CONTENT_TYPE) == ERepositoryObjectType.JOBLET_DOC) {
@@ -511,7 +511,7 @@ public class DuplicateAction extends AContextualAction {
private boolean isKeyword(String itemName) {
ERepositoryObjectType itemType = sourceNode.getObjectType();
ERepositoryObjectType[] types = { ERepositoryObjectType.PROCESS, ERepositoryObjectType.ROUTINES,
ERepositoryObjectType.JOBS, ERepositoryObjectType.JOBLET, ERepositoryObjectType.JOBLETS,
ERepositoryObjectType.JOB_DOC, ERepositoryObjectType.JOBLET, ERepositoryObjectType.JOBLET_DOC,
ERepositoryObjectType.JOB_SCRIPT };
List<ERepositoryObjectType> arraysList = Arrays.asList(types);
List<ERepositoryObjectType> typeList = new ArrayList<ERepositoryObjectType>();

View File

@@ -166,8 +166,8 @@ public class PasteAction extends AContextualAction {
IProxyRepositoryFactory proxyFactory = ProxyRepositoryFactory.getInstance();
IRepositoryViewObject object = target.getObject();
if (target.getContentType() == ERepositoryObjectType.JOBS
|| target.getContentType() == ERepositoryObjectType.JOBLETS
if (target.getContentType() == ERepositoryObjectType.JOB_DOC
|| target.getContentType() == ERepositoryObjectType.JOBLET_DOC
|| target.getContentType() == ERepositoryObjectType.GENERATED
|| target.getProperties(EProperties.CONTENT_TYPE) == ERepositoryObjectType.JOB_DOC
|| target.getProperties(EProperties.CONTENT_TYPE) == ERepositoryObjectType.JOBLET_DOC

View File

@@ -60,6 +60,7 @@ import org.talend.repository.model.IProxyRepositoryFactory;
import org.talend.repository.model.IRepositoryNode.ENodeType;
import org.talend.repository.model.RepositoryNode;
import org.talend.repository.ui.views.IRepositoryView;
import org.talend.utils.string.MD5;
/**
* Label provider for the repository view. <code>DEBUG</code> boolean field specify if details (such as objects ids)
@@ -156,7 +157,9 @@ public class RepositoryLabelProvider extends LabelProvider implements IColorProv
if (node.getType() == ENodeType.REPOSITORY_ELEMENT || node.getType() == ENodeType.SIMPLE_FOLDER) {
IRepositoryViewObject object = node.getObject();
String label = ""; //$NON-NLS-1$
object.getProperty();
if (!(object instanceof MetadataTableRepositoryObject)) {
object.getProperty();
}
if (object.isModified()) {
label = "> "; //$NON-NLS-1$
}
@@ -295,11 +298,12 @@ public class RepositoryLabelProvider extends LabelProvider implements IColorProv
ImageDescriptor imageDesc = ImageUtils.createImageFromData(item.getIcon().getInnerContent());
imageDesc = ImageUtils.scale(imageDesc, ICON_SIZE.ICON_32);
image = cachedImages.get(item.getIcon().getInnerContent());
String md5Desc = MD5.getMD5(item.getIcon().getInnerContent());
image = cachedImages.get(md5Desc);
if (image == null || image.isDisposed()) {
image = imageDesc.createImage();
cachedImages.put(item.getIcon().getInnerContent(), image);
cachedImages.put(md5Desc, image);
} else {
// image = imageDesc.createImage();
}
@@ -307,7 +311,7 @@ public class RepositoryLabelProvider extends LabelProvider implements IColorProv
return image;
}
private static Map<byte[], Image> cachedImages = new HashMap<byte[], Image>();
private static Map<String, Image> cachedImages = new HashMap<String, Image>();
@Override
public Image getImage(Object obj) {

View File

@@ -110,7 +110,8 @@ Require-Bundle: org.eclipse.jdt.core,
org.talend.commons.runtime;visibility:=reexport,
org.talend.commons.ui,
org.ops4j.pax.url.mvn,
org.talend.components.api
org.talend.components.api,
org.apache.servicemix.bundles.avro
Bundle-Activator: org.talend.core.runtime.CoreRuntimePlugin
Bundle-ActivationPolicy: lazy
Bundle-ClassPath: .,

View File

@@ -0,0 +1,162 @@
<?xml version="1.0"?>
<mapping>
<dbms product="Cassandra" id="cassandra22_datastax_id" label="Mapping Cassandra"
default="true">
<dbTypes>
<dbType type="ascii" ignorePre="true" />
<dbType type="bigint" ignorePre="true" />
<dbType type="blob" ignorePre="true" />
<dbType type="boolean" ignorePre="true" />
<dbType type="counter" ignorePre="true" />
<dbType type="date" ignorePre="true" />
<dbType type="decimal" ignorePre="true" />
<dbType type="double" ignorePre="true" />
<dbType type="float" ignorePre="true" />
<dbType type="inet" ignorePre="true" />
<dbType type="int" ignorePre="true" />
<dbType type="list" ignorePre="true" />
<dbType type="map" ignorePre="true" />
<dbType type="set" ignorePre="true" />
<dbType type="smallint" ignorePre="true" />
<dbType type="text" ignorePre="true" />
<dbType type="time" ignorePre="true" />
<dbType type="timestamp" ignorePre="true" />
<dbType type="timeuuid" ignorePre="true" />
<dbType type="tinyint" ignorePre="true" />
<dbType type="uuid" ignorePre="true" />
<dbType type="varchar" ignorePre="true" />
<dbType type="varint" ignorePre="true" />
</dbTypes>
<language name="java">
<talendToDbTypes>
<talendType type="id_List">
<dbType type="list" default="true"/>
</talendType>
<talendType type="id_Boolean">
<dbType type="boolean" default="true" />
</talendType>
<talendType type="id_Byte">
<dbType type="tinyint" default="true" />
</talendType>
<talendType type="id_byte[]">
<dbType type="blob" default="true" />
</talendType>
<talendType type="id_Character">
<dbType type="ascii" default="true" />
<dbType type="text" />
<dbType type="varchar" />
</talendType>
<talendType type="id_Date">
<dbType type="timestamp" default="true" />
<dbType type="date" />
</talendType>
<talendType type="id_BigDecimal">
<dbType type="decimal" default="true" />
</talendType>
<talendType type="id_Double">
<dbType type="double" default="true" />
</talendType>
<talendType type="id_Float">
<dbType type="float" default="true" />
</talendType>
<talendType type="id_Integer">
<dbType type="int" default="true" />
</talendType>
<talendType type="id_Long">
<dbType type="bigint" default="true" />
<dbType type="counter" />
<dbType type="time" />
</talendType>
<talendType type="id_Object">
<dbType type="varint" default="true" />
<dbType type="inet" />
<dbType type="map" />
<dbType type="set" />
</talendType>
<talendType type="id_Short">
<dbType type="smallint" default="true" />
</talendType>
<talendType type="id_String">
<dbType type="ascii" default="true" />
<dbType type="text" />
<dbType type="timeuuid" />
<dbType type="uuid" />
<dbType type="varchar" />
</talendType>
</talendToDbTypes>
<dbToTalendTypes>
<dbType type="ascii">
<talendType type="id_String" default="true" />
</dbType>
<dbType type="bigint">
<talendType type="id_Long" default="true" />
</dbType>
<dbType type="blob">
<talendType type="id_byte[]" default="true" />
</dbType>
<dbType type="boolean">
<talendType type="id_Boolean" default="true" />
</dbType>
<dbType type="counter">
<talendType type="id_Long" default="true" />
</dbType>
<dbType type="date">
<talendType type="id_Date" default="true" />
</dbType>
<dbType type="decimal">
<talendType type="id_BigDecimal" default="true" />
</dbType>
<dbType type="double">
<talendType type="id_Double" default="true" />
</dbType>
<dbType type="float">
<talendType type="id_Float" default="true" />
</dbType>
<dbType type="inet">
<talendType type="id_Object" default="true" />
</dbType>
<dbType type="int">
<talendType type="id_Integer" default="true" />
</dbType>
<dbType type="list">
<talendType type="id_List" default="true" />
</dbType>
<dbType type="map">
<talendType type="id_Object" default="true" />
</dbType>
<dbType type="set">
<talendType type="id_Object" default="true" />
</dbType>
<dbType type="smallint">
<talendType type="id_Short" default="true" />
</dbType>
<dbType type="text">
<talendType type="id_String" default="true" />
</dbType>
<dbType type="time">
<talendType type="id_Long" default="true" />
</dbType>
<dbType type="timestamp">
<talendType type="id_Date" default="true" />
</dbType>
<dbType type="timeuuid">
<talendType type="id_String" default="true" />
</dbType>
<dbType type="tinyint">
<talendType type="id_Byte" default="true" />
</dbType>
<dbType type="uuid">
<talendType type="id_String" default="true" />
</dbType>
<dbType type="varchar">
<talendType type="id_String" default="true" />
</dbType>
<dbType type="varint">
<talendType type="id_Object" default="true" />
</dbType>
</dbToTalendTypes>
</language>
</dbms>
</mapping>

View File

@@ -82,7 +82,6 @@
<dbToTalendTypes>
<dbType type="ascii">
<talendType type="id_String" default="true" />
<talendType type="id_Character" />
</dbType>
<dbType type="bigint">
<talendType type="id_Long" default="true" />
@@ -110,8 +109,6 @@
</dbType>
<dbType type="int">
<talendType type="id_Integer" default="true" />
<talendType type="id_Short" />
<talendType type="id_Byte"/>
</dbType>
<dbType type="list">
<talendType type="id_List" default="true" />
@@ -124,7 +121,6 @@
</dbType>
<dbType type="text">
<talendType type="id_String" default="true" />
<talendType type="id_Character" />
</dbType>
<dbType type="timestamp">
<talendType type="id_Date" default="true" />
@@ -137,7 +133,6 @@
</dbType>
<dbType type="varchar">
<talendType type="id_String" default="true" />
<talendType type="id_Character" />
</dbType>
<dbType type="varint">
<talendType type="id_Object" default="true" />

View File

@@ -0,0 +1,102 @@
<?xml version="1.0"?>
<mapping>
<dbms product="Redshift" id="redshift_new_id" label="Mapping Redshift"
default="true">
<dbTypes>
<dbType type="SMALLINT" ignoreLen="true" ignorePre="true" />
<dbType type="INTEGER" ignoreLen="true" ignorePre="true" />
<dbType type="BIGINT" ignoreLen="true" ignorePre="true" />
<dbType type="DECIMAL" ignoreLen="true" />
<dbType type="REAL" ignoreLen="true" />
<dbType type="DOUBLE PRECISION" ignoreLen="true" />
<dbType type="BOOLEAN" ignoreLen="true" ignorePre="true" />
<dbType type="CHAR" ignoreLen="true" ignorePre="true" />
<dbType type="VARCHAR" ignorePre="true" />
<dbType type="DATE" ignoreLen="true" ignorePre="true" />
<dbType type="TIMESTAMP" ignoreLen="true" ignorePre="true" />
</dbTypes>
<language name="java">
<talendToDbTypes>
<talendType type="id_List">
</talendType>
<talendType type="id_Boolean">
<dbType type="BOOLEAN" default="true" />
</talendType>
<talendType type="id_Byte">
</talendType>
<talendType type="id_byte[]">
</talendType>
<talendType type="id_Character">
</talendType>
<talendType type="id_Date">
<dbType type="DATE" default="true" />
<dbType type="TIMESTAMP" />
</talendType>
<talendType type="id_BigDecimal">
<dbType type="DECIMAL" default="true" />
<dbType type="BIGINT" />
</talendType>
<talendType type="id_Double">
<dbType type="DOUBLE PRECISION" default="true" />
<dbType type="REAL" />
</talendType>
<talendType type="id_Float">
</talendType>
<talendType type="id_Integer">
<dbType type="INTEGER" default="true" />
<dbType type="SMALLINT" />
</talendType>
<talendType type="id_Long">
<dbType type="BIGINT" default="true" />
<dbType type="INTEGER" />
</talendType>
<talendType type="id_Object">
</talendType>
<talendType type="id_Short">
</talendType>
<talendType type="id_String">
<dbType type="VARCHAR" default="true" />
<dbType type="CHAR" />
</talendType>
</talendToDbTypes>
<dbToTalendTypes>
<dbType type="SMALLINT">
<talendType type="id_Integer" default="true" />
</dbType>
<dbType type="INTEGER">
<talendType type="id_Integer" default="true" />
<talendType type="id_Long" />
</dbType>
<dbType type="BIGINT">
<talendType type="id_Long" default="true" />
<talendType type="id_BigDecimal" />
</dbType>
<dbType type="DECIMAL">
<talendType type="id_BigDecimal" default="true" />
</dbType>
<dbType type="REAL">
<talendType type="id_Double" default="true" />
</dbType>
<dbType type="DOUBLE PRECISION">
<talendType type="id_Double" default="true" />
</dbType>
<dbType type="BOOLEAN">
<talendType type="id_Boolean" default="true" />
</dbType>
<dbType type="CHAR">
<talendType type="id_String" default="true" />
</dbType>
<dbType type="VARCHAR">
<talendType type="id_String" default="true" />
</dbType>
<dbType type="DATE">
<talendType type="id_Date" default="true" />
</dbType>
<dbType type="TIMESTAMP">
<talendType type="id_Date" default="true" />
</dbType>
</dbToTalendTypes>
</language>
</dbms>
</mapping>

View File

@@ -1,27 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tcommon-studio-se</artifactId>
<version>6.2.0-M2</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.core.runtime</artifactId>
<packaging>eclipse-plugin</packaging>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
<executions>
<execution>
<id>default-deploy</id>
<phase>deploy</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tcommon-studio-se</artifactId>
<version>6.2.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.core.runtime</artifactId>
<packaging>eclipse-plugin</packaging>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
<executions>
<execution>
<id>default-deploy</id>
<phase>deploy</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

View File

@@ -81,7 +81,7 @@ public enum EDatabaseConnTemplate {
"jdbc:odbc:<datasource>")), //$NON-NLS-1$
ACCESS(new DbConnStr(EDatabaseTypeName.ACCESS, //
"jdbc:ucanaccess://<filename>")), //$NON-NLS-1$
"jdbc:ucanaccess://<filename>;<property>",null,"memory=false")), //$NON-NLS-1$
SYBASEASE(new DbConnStr(EDatabaseTypeName.SYBASEASE, //
"jdbc:sybase:Tds:<host>:<port>/<sid>?<property>", //$NON-NLS-1$
@@ -357,6 +357,7 @@ public enum EDatabaseConnTemplate {
case TERADATA: // for feature 0013719
case VERTICA:
case EXASOL:
case ACCESS:
return true;
default:
}

View File

@@ -32,6 +32,8 @@ public class HadoopConstants {
public static final String FRAMEWORK_STORM = "Storm";
public static final String FRAMEWORK_SPARKSTREAMING = "Spark Streaming";
public static final String FRAMEWORK_SPARK_STREAMING = "Spark_Streaming";
public static final String FRAMEWORK_MAPREDUCE = "MapReduce";
@@ -40,6 +42,10 @@ public class HadoopConstants {
public static final String JOBTYPEBDSTREAMING = "Big Data Streaming";
public static final String JOBTYPEBDBATCH = "Big Data Batch";
public static final String JOBTYPE_BDSTREAMING = "Big_Data_Streaming";
public static final String JOBTYPE_BDBATCH = "Big_Data_Batch";
public static final String SPARKSTREAMING_TYPE = "SPARKSTREAMING";

View File

@@ -216,6 +216,8 @@ public interface IHadoopClusterService extends IService {
*/
public boolean hasDiffsFromClusterToProcess(Item item, IProcess process);
public Connection getHadoopClusterConnectionBySubConnection(Connection hadoopSubConnection);
public String getHadoopClusterProperties(Connection hadoopSubConnection);
/**

View File

@@ -68,7 +68,7 @@ public class HadoopRepositoryUtil {
}
public static List<Map<String, Object>> getHadoopPropertiesList(String propertiesJsonStr) {
return getHadoopPropertiesList(propertiesJsonStr, false);
return getHadoopPropertiesList(propertiesJsonStr, false, false);
}
/**
@@ -83,7 +83,8 @@ public class HadoopRepositoryUtil {
* @return
* @throws JSONException
*/
public static List<Map<String, Object>> getHadoopPropertiesList(String propertiesJsonStr, boolean includeQuotes) {
public static List<Map<String, Object>> getHadoopPropertiesList(String propertiesJsonStr, boolean isContextMode,
boolean includeQuotes) {
List<Map<String, Object>> properties = new ArrayList<Map<String, Object>>();
try {
if (StringUtils.isNotEmpty(propertiesJsonStr)) {
@@ -96,7 +97,11 @@ public class HadoopRepositoryUtil {
String key = it.next();
String value = String.valueOf(object.get(key));
if (includeQuotes) {
value = TalendQuoteUtils.addQuotesIfNotExist(value);
if (isContextMode && "VALUE".equals(key)) { //$NON-NLS-1$
value = TalendQuoteUtils.removeQuotesIfExist(value);
} else {
value = TalendQuoteUtils.addQuotesIfNotExist(value);
}
} else {
value = TalendQuoteUtils.removeQuotesIfExist(value);
}
@@ -134,9 +139,13 @@ public class HadoopRepositoryUtil {
}
List<Map<String, Object>> parentProperties = null;
if (hadoopClusterService != null) {
parentProperties = getHadoopPropertiesList(hadoopClusterService.getHadoopClusterProperties(connection), true);
Connection hadoopClusterConnection = hadoopClusterService.getHadoopClusterConnectionBySubConnection(connection);
if (hadoopClusterConnection != null) {
parentProperties = getHadoopPropertiesList(hadoopClusterService.getHadoopClusterProperties(connection),
hadoopClusterConnection.isContextMode(), true);
}
}
List<Map<String, Object>> properties = getHadoopPropertiesList(propertiesJsonStr, true);
List<Map<String, Object>> properties = getHadoopPropertiesList(propertiesJsonStr, connection.isContextMode(), true);
Map<String, Map<String, Object>> propertiesMap = new HashMap<String, Map<String, Object>>();
for (Map<String, Object> proMap : properties) {
String property = String.valueOf(proMap.get("PROPERTY")); //$NON-NLS-1$

View File

@@ -17,6 +17,7 @@ import org.talend.core.model.properties.Item;
import org.talend.core.model.properties.JobletProcessItem;
import org.talend.core.model.properties.ProcessItem;
import org.talend.core.service.IMRProcessService;
import org.talend.core.service.IStormProcessService;
import org.talend.designer.core.ICamelDesignerCoreService;
/**
@@ -96,6 +97,16 @@ public enum ComponentCategory {
return ComponentCategory.CATEGORY_4_MAPREDUCE;
}
}
if (GlobalServiceRegister.getDefault().isServiceRegistered(IStormProcessService.class)) {
IStormProcessService stormService = (IStormProcessService) GlobalServiceRegister.getDefault().getService(
IStormProcessService.class);
if (stormService.isSparkStreaming(item)) {
return ComponentCategory.CATEGORY_4_SPARKSTREAMING;
}
if (stormService.isStormItem(item)) {
return ComponentCategory.CATEGORY_4_STORM;
}
}
if (item instanceof ProcessItem || item instanceof JobletProcessItem) {
return ComponentCategory.CATEGORY_4_DI;
}

View File

@@ -122,10 +122,10 @@ public class ModuleNeeded {
*
*/
public enum ELibraryInstallStatus {
UNKNOWN,
INSTALLED,
UNUSED,
NOT_INSTALLED;
UNKNOWN,
INSTALLED,
UNUSED,
NOT_INSTALLED;
}
/**
@@ -275,14 +275,14 @@ public class ModuleNeeded {
}
public ELibraryInstallStatus getStatus() {
final ELibraryInstallStatus eLibraryInstallStatus = ModuleStatusProvider.getStatusMap().get(getMavenUri(true));
final ELibraryInstallStatus eLibraryInstallStatus = ModuleStatusProvider.getStatusMap().get(getMavenUriSnapshot());
if (eLibraryInstallStatus != null) {
return eLibraryInstallStatus;
} else {
// compute the status of the lib.
// first use the Library manager service
ILibraryManagerService libManagerService = (ILibraryManagerService) GlobalServiceRegister.getDefault()
.getService(ILibraryManagerService.class);
ILibraryManagerService libManagerService = (ILibraryManagerService) GlobalServiceRegister.getDefault().getService(
ILibraryManagerService.class);
Set<String> existLibraries = libManagerService.list();
if (existLibraries.contains(getModuleName())) {
status = ELibraryInstallStatus.INSTALLED;
@@ -295,7 +295,7 @@ public class ModuleNeeded {
status = ELibraryInstallStatus.NOT_INSTALLED;
}
}
ModuleStatusProvider.getStatusMap().put(getMavenUri(true), status);
ModuleStatusProvider.getStatusMap().put(getMavenUriSnapshot(), status);
}
return this.status;
}
@@ -496,7 +496,16 @@ public class ModuleNeeded {
}
public String getMavenUriSnapshot() {
MavenArtifact artifact = MavenUrlHelper.parseMvnUrl(getMavenUri());
MavenArtifact artifact = null;
if (getMavenUri() != null) {
if (getMavenUri().split(MavenUrlHelper.SEPERATOR).length < 4 && getModuleName().lastIndexOf(".") != -1) {
String extension = getModuleName().substring(getModuleName().lastIndexOf(".") + 1, getModuleName().length());
artifact = MavenUrlHelper.parseMvnUrl(getMavenUri() + "/" + extension);
} else {
artifact = MavenUrlHelper.parseMvnUrl(getMavenUri());
}
}
// for non-talend libs.
if (artifact != null && !MavenConstants.DEFAULT_LIB_GROUP_ID.equals(artifact.getGroupId())) {
return getMavenUri(); // snapshot url same as maven url
@@ -504,11 +513,9 @@ public class ModuleNeeded {
// set an defaut maven uri if uri is null or empty, this could be done in the set
// but this would mean to sure the set is called after the name is set.
if (StringUtils.isEmpty(mavenUriSnapshot)) {
String configuredUri = getMavenUri();
if (!StringUtils.isEmpty(configuredUri)) {
mavenUriSnapshot = MavenUrlHelper.generateSnapshotMavenUri(configuredUri);
}
if (StringUtils.isEmpty(mavenUriSnapshot) && artifact != null) {
mavenUriSnapshot = MavenUrlHelper.generateMvnUrl(artifact.getGroupId(), artifact.getArtifactId(),
artifact.getVersion() + "-SNAPSHOT", artifact.getType(), artifact.getClassifier());
}
if (StringUtils.isEmpty(mavenUriSnapshot)) {
// get the latest snapshot maven uri from index as default

View File

@@ -43,6 +43,8 @@ public class ModuleToInstall {
private String distribution = "";
private boolean fromCustomNexus;
public String getName() {
return this.name;
}
@@ -176,4 +178,16 @@ public class ModuleToInstall {
return this.mavenUris;
}
/**
* Sets the fromCustomNexus.
*
* @param fromCustomNexus the fromCustomNexus to set
*/
public void setFromCustomNexus(boolean fromCustomNexus) {
this.fromCustomNexus = fromCustomNexus;
}
public boolean isFromCustomNexus() {
return this.fromCustomNexus;
}
}

View File

@@ -158,26 +158,15 @@ public class MetadataTable implements IMetadataTable, Cloneable {
@Override
public boolean isDynamicSchema() {
int sizeListColumns = listColumns.size();
boolean hasDynamic = false;
for (int i = 0; i < sizeListColumns; i++) {
if (listColumns.get(i).getTalendType().equals("id_Dynamic")) {
hasDynamic = true;
break;
}
}
return hasDynamic;
return getDynamicColumn() != null;
}
@Override
public IMetadataColumn getDynamicColumn() {
if (isDynamicSchema()) {
for (int i = 0; i < listColumns.size(); i++) {
if (listColumns.get(i).getTalendType().equals("id_Dynamic")) {
return listColumns.get(i);
}
for (IMetadataColumn column : listColumns) {
if (column.getTalendType().equals("id_Dynamic")) {
return column;
}
}
return null;

View File

@@ -0,0 +1,436 @@
// ============================================================================
//
// Copyright (C) 2006-2016 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt
//
// You should have received a copy of the agreement
// along with this program; if not, write to Talend SA
// 9 rue Pages 92150 Suresnes, France
//
// ============================================================================
package org.talend.core.model.metadata;
import java.util.ArrayList;
import java.util.List;
import org.apache.avro.LogicalTypes;
import org.apache.avro.LogicalTypes.Decimal;
import org.apache.avro.Schema;
import org.apache.avro.SchemaBuilder;
import org.apache.avro.SchemaBuilder.BaseFieldTypeBuilder;
import org.apache.avro.SchemaBuilder.FieldAssembler;
import org.apache.avro.SchemaBuilder.FieldBuilder;
import org.apache.avro.SchemaBuilder.PropBuilder;
import org.apache.avro.SchemaBuilder.RecordBuilder;
import org.talend.core.model.metadata.builder.connection.ConnectionFactory;
import org.talend.core.model.metadata.builder.connection.MetadataTable;
import org.talend.core.model.metadata.types.JavaTypesManager;
import org.talend.core.utils.TalendQuoteUtils;
import org.talend.cwm.helper.TaggedValueHelper;
import org.talend.daikon.avro.SchemaConstants;
import org.talend.daikon.avro.util.AvroUtils;
import org.talend.daikon.talend6.Talend6SchemaConstants;
import orgomg.cwm.objectmodel.core.Expression;
import orgomg.cwm.objectmodel.core.TaggedValue;
/**
* Utility classes for conversion between a {@link MetadataTable} and an Avro {@link Schema}.
*/
public final class MetadataToolAvroHelper {
/**
* @return An Avro schema with enriched properties from the incoming metadata table.
*/
public static org.apache.avro.Schema convertToAvro(MetadataTable in) {
RecordBuilder<Schema> builder = SchemaBuilder.builder().record(in.getLabel());
copyTableProperties(builder, in);
FieldAssembler<Schema> fa = builder.fields();
for (org.talend.core.model.metadata.builder.connection.MetadataColumn column : in.getColumns()) {
fa = convertToAvro(fa, column);
}
return fa.endRecord();
}
/**
* Copy all of the information from the MetadataTable in the form of key/value properties into an Avro object.
*
* @param builder Any Avro builder capable of taking key/value in the form of strings.
* @param in The element to copy information from.
* @return the instance of the builder passed in.
*/
private static <T extends PropBuilder<T>> PropBuilder<T> copyTableProperties(PropBuilder<T> builder, MetadataTable in) {
// Properties common to tables and columns.
if (in.getId() != null) {
builder.prop(Talend6SchemaConstants.TALEND6_ID, in.getId());
}
if (in.getComment() != null) {
builder.prop(Talend6SchemaConstants.TALEND6_COMMENT, in.getComment());
}
if (in.getLabel() != null) {
builder.prop(Talend6SchemaConstants.TALEND6_LABEL, in.getLabel());
}
if (in.isReadOnly()) {
builder.prop(Talend6SchemaConstants.TALEND6_IS_READ_ONLY, "true"); //$NON-NLS-1$
}
for (TaggedValue tv : in.getTaggedValue()) {
String additionalTag = tv.getTag();
if (tv.getValue() != null) {
builder.prop(Talend6SchemaConstants.TALEND6_ADDITIONAL_PROPERTIES + additionalTag, tv.getValue());
}
}
// Table-specific properties.
if (in.getName() != null) {
builder.prop(Talend6SchemaConstants.TALEND6_TABLE_NAME, in.getName());
}
if (in.getTableType() != null) {
builder.prop(Talend6SchemaConstants.TALEND6_TABLE_TYPE, in.getTableType());
}
return builder;
}
/**
* Build a field into a schema using enriched properties from the incoming column.
*/
private static FieldAssembler<Schema> convertToAvro(FieldAssembler<Schema> fa,
org.talend.core.model.metadata.builder.connection.MetadataColumn in) {
FieldBuilder<Schema> fb = fa.name(in.getLabel());
copyColumnProperties(fb, in);
BaseFieldTypeBuilder<Schema> ftb = in.isNullable() ? fb.type() : fb.type().nullable();
String defaultValue = null;
Expression initialValue = in.getInitialValue();
if (initialValue != null) {
defaultValue = initialValue.getBody();
}
String tt = in.getTalendType();
// Numeric types.
if (JavaTypesManager.LONG.getId().equals(tt)) {
return defaultValue == null //
? ftb.longType().noDefault()
: ftb.longType().longDefault(Long.parseLong(defaultValue));
}
if (JavaTypesManager.INTEGER.getId().equals(tt) || JavaTypesManager.SHORT.getId().equals(tt)
|| JavaTypesManager.BYTE.getId().equals(tt)) {
return defaultValue == null //
? ftb.intType().noDefault()
: ftb.intType().intDefault(Integer.parseInt(defaultValue));
}
if (JavaTypesManager.DOUBLE.getId().equals(tt)) {
return defaultValue == null //
? ftb.doubleType().noDefault()
: ftb.doubleType().doubleDefault(Double.parseDouble(defaultValue));
}
if (JavaTypesManager.FLOAT.getId().equals(tt)) {
return defaultValue == null //
? ftb.floatType().noDefault()
: ftb.floatType().floatDefault(Float.parseFloat(defaultValue));
}
if (JavaTypesManager.BIGDECIMAL.getId().equals(tt)) {
// decimal(precision, scale) == column length and precision?
Decimal d = LogicalTypes.decimal((int) in.getLength(), (int) in.getPrecision());
Schema bigdecimal = d.addToSchema(Schema.create(Schema.Type.BYTES));
return fb.type(bigdecimal).withDefault(defaultValue);
}
// Other primitive types that map directly to Avro.
if (JavaTypesManager.BOOLEAN.getId().equals(tt)) {
return defaultValue == null //
? ftb.booleanType().noDefault()
: ftb.booleanType().booleanDefault(Boolean.parseBoolean(defaultValue));
}
if (JavaTypesManager.BYTE_ARRAY.getId().equals(tt)) {
return defaultValue == null //
? ftb.bytesType().noDefault()
: ftb.bytesType().bytesDefault(defaultValue);
}
if (JavaTypesManager.DATE.getId().equals(tt)) {
// Date is saved as a long, like System.currentTimeMillis()
return ftb.longType().noDefault();
}
// String-ish types.
if (JavaTypesManager.STRING.getId().equals(tt) || JavaTypesManager.FILE.getId().equals(tt)
|| JavaTypesManager.DIRECTORY.getId().equals(tt) || JavaTypesManager.VALUE_LIST.getId().equals(tt)
|| JavaTypesManager.CHARACTER.getId().equals(tt) || JavaTypesManager.PASSWORD.getId().equals(tt)) {
return defaultValue == null //
? ftb.stringType().noDefault()
: ftb.stringType().stringDefault(defaultValue);
}
// Types with unknown elements, store as binary
if (JavaTypesManager.OBJECT.getId().equals(tt) || JavaTypesManager.DYNAMIC.getId().equals(tt)) {
return defaultValue == null //
? ftb.bytesType().noDefault()
: ftb.bytesType().bytesDefault(defaultValue);
}
if (JavaTypesManager.LIST.getId().equals(tt)) {
return ftb.array().items().bytesType().noDefault();
}
// Can this occur?
throw new UnsupportedOperationException("Unrecognized type " + tt); //$NON-NLS-1$
}
/**
* Copy all of the information from the IMetadataColumn in the form of key/value properties into an Avro object.
*
* @param builder Any Avro builder capable of taking key/value in the form of strings.
* @param in The element to copy information from.
* @return the instance of the builder passed in.
*/
private static <T extends PropBuilder<T>> PropBuilder<T> copyColumnProperties(PropBuilder<T> builder,
org.talend.core.model.metadata.builder.connection.MetadataColumn in) {
// Properties common to tables and columns.
if (in.getId() != null) {
builder.prop(Talend6SchemaConstants.TALEND6_ID, in.getId());
}
if (in.getComment() != null) {
builder.prop(Talend6SchemaConstants.TALEND6_COMMENT, in.getComment());
}
if (in.getLabel() != null) {
builder.prop(Talend6SchemaConstants.TALEND6_LABEL, in.getLabel());
}
if (in.isReadOnly()) {
builder.prop(Talend6SchemaConstants.TALEND6_IS_READ_ONLY, "true"); //$NON-NLS-1$
}
for (TaggedValue tv : in.getTaggedValue()) {
String additionalTag = tv.getTag();
if (tv.getValue() != null) {
builder.prop(Talend6SchemaConstants.TALEND6_ADDITIONAL_PROPERTIES + additionalTag, tv.getValue());
}
}
// Column-specific properties.
if (in.isKey()) {
builder.prop(Talend6SchemaConstants.TALEND6_COLUMN_IS_KEY, "true"); //$NON-NLS-1$
}
if (in.getType() != null) {
builder.prop(Talend6SchemaConstants.TALEND6_COLUMN_SOURCE_TYPE, in.getSourceType());
}
if (in.getTalendType() != null) {
builder.prop(Talend6SchemaConstants.TALEND6_COLUMN_TALEND_TYPE, in.getTalendType());
}
if (in.getPattern() != null) {
builder.prop(Talend6SchemaConstants.TALEND6_COLUMN_PATTERN, TalendQuoteUtils.addQuotesIfNotExist(in.getPattern()));
}
if (in.getLength() >= 0) {
builder.prop(Talend6SchemaConstants.TALEND6_COLUMN_LENGTH, String.valueOf((int) in.getLength()));
}
if (in.getOriginalLength() >= 0) {
builder.prop(Talend6SchemaConstants.TALEND6_COLUMN_ORIGINAL_LENGTH, String.valueOf(in.getOriginalLength()));
}
if (in.isNullable()) {
builder.prop(Talend6SchemaConstants.TALEND6_COLUMN_IS_NULLABLE, "true"); //$NON-NLS-1$
}
if (in.getPrecision() >= 0) {
builder.prop(Talend6SchemaConstants.TALEND6_COLUMN_PRECISION, String.valueOf(in.getPrecision()));
}
if (in.getInitialValue() != null && in.getInitialValue().getBody() != null) {
builder.prop(Talend6SchemaConstants.TALEND6_COLUMN_DEFAULT, in.getInitialValue().getBody());
}
if (in.getName() != null) {
// keyword fixes?
builder.prop(Talend6SchemaConstants.TALEND6_COLUMN_ORIGINAL_DB_COLUMN_NAME, in.getName());
}
if (in.getRelatedEntity() != null) {
builder.prop(Talend6SchemaConstants.TALEND6_COLUMN_RELATED_ENTITY, in.getRelatedEntity());
}
if (in.getRelationshipType() != null) {
builder.prop(Talend6SchemaConstants.TALEND6_COLUMN_RELATIONSHIP_TYPE, in.getRelationshipType());
}
return builder;
}
/**
* @param in A schema which must be of type {@link Schema.Type#RECORD}.
* @return A MetadataTable containing all the information from the Schema, including any information included the
* schema as JSON property annotations for Talend 6 generated schemas.
*/
public static MetadataTable convertFromAvro(org.apache.avro.Schema in) {
MetadataTable table = ConnectionFactory.eINSTANCE.createMetadataTable();
// Set the defaults values to the name (the only information guaranteed to be present in the schema.)
table.setId(in.getName());
table.setLabel(in.getName());
table.setName(in.getName());
table.setSourceName(in.getName());
// Extract any properties that have been saved in the enriched schema.
// Properties common to tables and columns.
String prop;
if (null != (prop = in.getProp(Talend6SchemaConstants.TALEND6_ID))) {
table.setId(prop);
}
if (null != (prop = in.getProp(Talend6SchemaConstants.TALEND6_COMMENT))) {
table.setComment(in.getProp(Talend6SchemaConstants.TALEND6_ID));
}
if (null != (prop = in.getProp(Talend6SchemaConstants.TALEND6_LABEL))) {
table.setLabel(null);
}
if (null != (prop = in.getProp(Talend6SchemaConstants.TALEND6_IS_READ_ONLY))) {
table.setReadOnly(Boolean.parseBoolean(prop));
}
for (String key : in.getJsonProps().keySet()) {
if (key.startsWith(Talend6SchemaConstants.TALEND6_ADDITIONAL_PROPERTIES)) {
String originalKey = key.substring(Talend6SchemaConstants.TALEND6_ADDITIONAL_PROPERTIES.length());
TaggedValue tv = TaggedValueHelper.createTaggedValue(originalKey, in.getProp(key));
table.getTaggedValue().add(tv);
}
}
// Table-specific properties.
if (null != (prop = in.getProp(Talend6SchemaConstants.TALEND6_TABLE_NAME))) {
table.setName(prop);
}
if (null != (prop = in.getProp(Talend6SchemaConstants.TALEND6_TABLE_TYPE))) {
table.setTableType(prop);
}
// Add the columns.
List<org.talend.core.model.metadata.builder.connection.MetadataColumn> columns = new ArrayList<>(in.getFields().size());
for (Schema.Field f : in.getFields()) {
columns.add(convertFromAvro(f));
}
table.getColumns().addAll(columns);
return table;
}
/**
* @param in A field from an incoming schema
* @return A MetadataColumn containing all the information from the Schema, including any information included the
* schema as JSON property annotations for Talend 6 generated schemas.
*/
public static org.talend.core.model.metadata.builder.connection.MetadataColumn convertFromAvro(Schema.Field field) {
org.talend.core.model.metadata.builder.connection.MetadataColumn col = ConnectionFactory.eINSTANCE.createMetadataColumn();
Schema in = field.schema();
// Set the defaults values to the name (the only information guaranteed to be available in every field).
col.setId(field.name());
col.setLabel(field.name());
col.setName(field.name());
Schema nonnullable = AvroUtils.unwrapIfNullable(in);
switch (nonnullable.getType()) {
case ARRAY:
col.setTalendType(JavaTypesManager.LIST.getId());
break;
case BOOLEAN:
col.setTalendType(JavaTypesManager.BOOLEAN.getId());
break;
case BYTES:
case FIXED:
col.setTalendType(JavaTypesManager.BYTE_ARRAY.getId());
break;
case DOUBLE:
col.setTalendType(JavaTypesManager.DOUBLE.getId());
break;
case FLOAT:
col.setTalendType(JavaTypesManager.FLOAT.getId());
break;
case INT:
col.setTalendType(JavaTypesManager.INTEGER.getId());
break;
case LONG:
String prop = null;
if (null != (prop = nonnullable.getProp(SchemaConstants.TALEND_COLUMN_PATTERN))) {
col.setTalendType(JavaTypesManager.DATE.getId());
col.setPattern(TalendQuoteUtils.addQuotesIfNotExist(prop));
} else {
col.setTalendType(JavaTypesManager.LONG.getId());
}
break;
case ENUM:
case STRING:
col.setTalendType(JavaTypesManager.STRING.getId());
break;
case RECORD:
case NULL:
case MAP:
case UNION:
default:
// Can this occur in the studio?
break;
}
// TODO setSourceType from the field Schema type.
col.setNullable(AvroUtils.isNullable(in));
// Extract any properties that have been saved in the enriched schema.
// Properties common to tables and columns.
String prop;
if (null != (prop = in.getProp(Talend6SchemaConstants.TALEND6_ID))) {
col.setId(prop);
}
if (null != (prop = in.getProp(Talend6SchemaConstants.TALEND6_COMMENT))) {
col.setComment(in.getProp(Talend6SchemaConstants.TALEND6_ID));
}
if (null != (prop = in.getProp(Talend6SchemaConstants.TALEND6_LABEL))) {
col.setLabel(null);
}
if (null != (prop = in.getProp(Talend6SchemaConstants.TALEND6_IS_READ_ONLY))) {
col.setReadOnly(Boolean.parseBoolean(prop));
}
for (String key : in.getJsonProps().keySet()) {
if (key.startsWith(Talend6SchemaConstants.TALEND6_ADDITIONAL_PROPERTIES)) {
String originalKey = key.substring(Talend6SchemaConstants.TALEND6_ADDITIONAL_PROPERTIES.length());
TaggedValue tv = TaggedValueHelper.createTaggedValue(originalKey, in.getProp(key));
col.getTaggedValue().add(tv);
}
}
// Column-specific properties.
if (null != (prop = in.getProp(Talend6SchemaConstants.TALEND6_COLUMN_IS_KEY))) {
col.setKey(Boolean.parseBoolean(prop));
}
if (null != (prop = in.getProp(Talend6SchemaConstants.TALEND6_COLUMN_SOURCE_TYPE))) {
col.setSourceType(prop);
}
if (null != (prop = in.getProp(Talend6SchemaConstants.TALEND6_COLUMN_TALEND_TYPE))) {
col.setTalendType(prop);
}
if (null != (prop = in.getProp(Talend6SchemaConstants.TALEND6_COLUMN_PATTERN))) {
col.setPattern(TalendQuoteUtils.addQuotesIfNotExist(prop));
}
if (null != (prop = in.getProp(Talend6SchemaConstants.TALEND6_COLUMN_LENGTH))) {
Long value = Long.parseLong(prop);
col.setLength(value > 0 ? value : -1);
}
if (null != (prop = in.getProp(Talend6SchemaConstants.TALEND6_COLUMN_ORIGINAL_LENGTH))) {
Long value = Long.parseLong(prop);
col.setOriginalLength(value > 0 ? value : -1);
}
if (null != (prop = in.getProp(Talend6SchemaConstants.TALEND6_COLUMN_IS_NULLABLE))) {
col.setNullable(Boolean.parseBoolean(prop));
}
if (null != (prop = in.getProp(Talend6SchemaConstants.TALEND6_COLUMN_PRECISION))) {
Long value = Long.parseLong(prop);
col.setPrecision(value > 0 ? value : -1);
}
if (null != (prop = in.getProp(Talend6SchemaConstants.TALEND6_COLUMN_DEFAULT))) {
col.setDefaultValue(prop);
}
if (null != (prop = in.getProp(Talend6SchemaConstants.TALEND6_COLUMN_ORIGINAL_DB_COLUMN_NAME))) {
col.setName(prop);
}
if (null != (prop = in.getProp(Talend6SchemaConstants.TALEND6_COLUMN_RELATED_ENTITY))) {
col.setRelatedEntity(prop);
}
if (null != (prop = in.getProp(Talend6SchemaConstants.TALEND6_COLUMN_RELATIONSHIP_TYPE))) {
col.setRelationshipType(prop);
}
// If the source type wasn't set, there is an issue. Can this occur in the studio.
if (col.getTalendType() == null) {
throw new UnsupportedOperationException("Unrecognized type " + in); //$NON-NLS-1$
}
return col;
}
}

View File

@@ -604,6 +604,7 @@ public final class MetadataToolHelper {
target.getListColumns().addAll(columnsTAdd);
target.sortCustomColumns();
target.setLabel(source.getLabel());
target.getAdditionalProperties().putAll(source.getAdditionalProperties());
}
public static void copyTable(List<IMetadataColumn> sourceColumns, IMetadataTable target, List<IMetadataColumn> targetColumns) {
@@ -1310,7 +1311,6 @@ public final class MetadataToolHelper {
}
}
return null;
}
public static IMetadataTable convert(MetadataTable old) {
@@ -1398,5 +1398,4 @@ public final class MetadataToolHelper {
}
return result;
}
}

View File

@@ -40,9 +40,11 @@ import org.talend.core.model.metadata.builder.connection.DelimitedFileConnection
import org.talend.core.model.metadata.builder.connection.MDMConnection;
import org.talend.core.model.metadata.builder.connection.MetadataColumn;
import org.talend.core.model.metadata.builder.connection.MetadataTable;
import org.talend.core.model.metadata.builder.connection.SAPBWTable;
import org.talend.core.runtime.CoreRuntimePlugin;
import org.talend.core.utils.KeywordsValidator;
import org.talend.cwm.helper.ConnectionHelper;
import org.talend.cwm.helper.SAPBWTableHelper;
import org.talend.model.bridge.ReponsitoryContextBridge;
import orgomg.cwm.objectmodel.core.TaggedValue;
@@ -337,6 +339,12 @@ public final class ConvertionHelper {
result.setId(old.getId());
result.setLabel(old.getLabel());
result.setTableType(old.getTableType());
if (old instanceof SAPBWTable) {
String innerType = ((SAPBWTable)old).getInnerIOType();
if (innerType != null) {
result.getAdditionalProperties().put(SAPBWTableHelper.SAP_INFOOBJECT_INNER_TYPE, innerType);
}
}
String sourceName = old.getName();
if (sourceName == null) {
sourceName = old.getLabel();

View File

@@ -21,7 +21,6 @@ import java.util.List;
import java.util.Map;
import java.util.Set;
import org.apache.commons.lang.StringUtils;
import org.eclipse.core.runtime.Path;
import org.eclipse.emf.common.util.EList;
import org.talend.commons.ui.runtime.exception.ExceptionHandler;
@@ -910,18 +909,10 @@ public class RepositoryToComponentProperty {
}
}
if (value.equals("SERVER_NAME")) { //$NON-NLS-1$
if (isContextMode(connection, connection.getServerName())) {
return connection.getServerName();
} else {
return TalendQuoteUtils.addQuotes(connection.getServerName());
}
return getAppropriateValue(connection, connection.getServerName());
}
if (value.equals("PORT")) { //$NON-NLS-1$
if (isContextMode(connection, connection.getPort())) {
return connection.getPort();
} else {
return TalendQuoteUtils.addQuotes(connection.getPort());
}
return getAppropriateValue(connection, connection.getPort());
}
if (value.equals("SID") || value.equals("DATABASE_ALIAS")) { //$NON-NLS-1$ //$NON-NLS-2$
if (("").equals(connection.getSID()) || connection.getSID() == null) { //$NON-NLS-1$
@@ -939,54 +930,25 @@ public class RepositoryToComponentProperty {
}
}
if (value.equals("DATASOURCE")) { //$NON-NLS-1$
if (isContextMode(connection, connection.getDatasourceName())) {
return connection.getDatasourceName();
} else {
return TalendQuoteUtils.addQuotes(connection.getDatasourceName());
}
return getAppropriateValue(connection, connection.getDatasourceName());
}
if (value.equals("USERNAME")) { //$NON-NLS-1$
if (isContextMode(connection, connection.getUsername())) {
return connection.getUsername();
} else {
return TalendQuoteUtils.addQuotes(connection.getUsername());
}
return getAppropriateValue(connection, connection.getUsername());
}
if (value.equals("PASSWORD")) { //$NON-NLS-1$
if (isContextMode(connection, connection.getPassword())) {
return connection.getPassword();
} else {
String pwd = TalendQuoteUtils.checkAndAddBackslashes(connection.getRawPassword());
return TalendQuoteUtils.addQuotes(pwd);
}
return getAppropriateValue(connection, connection.getValue(connection.getPassword(), false));
}
if (value.equals("NULL_CHAR")) { //$NON-NLS-1$
if (isContextMode(connection, connection.getNullChar())) {
return connection.getNullChar();
} else {
return TalendQuoteUtils.addQuotes(connection.getNullChar());
}
return getAppropriateValue(connection, connection.getNullChar());
}
if (value.equals("SCHEMA")) { //$NON-NLS-1$
if (isContextMode(connection, connection.getUiSchema())) {
return connection.getUiSchema();
} else {
return TalendQuoteUtils.addQuotes(connection.getUiSchema());
}
return getAppropriateValue(connection, connection.getUiSchema());
}
if (value.equals("FILE")) { //$NON-NLS-1$
if (isContextMode(connection, connection.getFileFieldName())) {
return connection.getFileFieldName();
} else {
return TalendQuoteUtils.addQuotes(connection.getFileFieldName());
}
return getAppropriateValue(connection, connection.getFileFieldName());
}
if (value.equals("PROPERTIES_STRING")) { //$NON-NLS-1$
if (isContextMode(connection, connection.getAdditionalParams())) {
return connection.getAdditionalParams();
} else {
return TalendQuoteUtils.addQuotes(connection.getAdditionalParams());
}
return getAppropriateValue(connection, connection.getAdditionalParams());
}
if (value.equals("CDC_MODE")) { //$NON-NLS-1$
@@ -1163,12 +1125,7 @@ public class RepositoryToComponentProperty {
}
// add this for tJavaDB embeded "DB Root Path"
if (value.equals("DIRECTORY")) {//$NON-NLS-1$
if (isContextMode(connection, connection.getDBRootPath())) {
return connection.getDBRootPath();
} else {
return TalendQuoteUtils.addQuotes(connection.getDBRootPath());
}
return getAppropriateValue(connection, connection.getDBRootPath());
}
// add for feature 11674
if (value.equals("RUNNING_MODE")) {//$NON-NLS-1$
@@ -1183,25 +1140,13 @@ public class RepositoryToComponentProperty {
return runningMode;
}
if (value.equals("DBPATH")) {//$NON-NLS-1$
if (isContextMode(connection, connection.getDBRootPath())) {
return connection.getDBRootPath();
} else {
return TalendQuoteUtils.addQuotes(connection.getDBRootPath());
}
return getAppropriateValue(connection, connection.getDBRootPath());
}
if (value.equals("DBNAME")) {//$NON-NLS-1$
if (isContextMode(connection, connection.getDatasourceName())) {
return connection.getDatasourceName();
} else {
return TalendQuoteUtils.addQuotes(connection.getDatasourceName());
}
return getAppropriateValue(connection, connection.getDatasourceName());
}
if (value.equals("RAC_URL")) {
if (isContextMode(connection, connection.getServerName())) {
return connection.getServerName();
} else {
return TalendQuoteUtils.addQuotes(connection.getServerName());
}
return getAppropriateValue(connection, connection.getServerName());
}
if (value.equals("DISTRIBUTION")) {
@@ -1229,13 +1174,15 @@ public class RepositoryToComponentProperty {
}
if (value.equals("HBASE_MASTER_PRINCIPAL")) {
return TalendQuoteUtils.addQuotes(connection.getParameters().get(
ConnParameterKeys.CONN_PARA_KEY_HBASE_AUTHENTICATION_MASTERPRINCIPAL));
String hbaseMasterPrinc = connection.getParameters().get(
ConnParameterKeys.CONN_PARA_KEY_HBASE_AUTHENTICATION_MASTERPRINCIPAL);
return getAppropriateValue(connection, hbaseMasterPrinc);
}
if (value.equals("HBASE_REGIONSERVER_PRINCIPAL")) {
return TalendQuoteUtils.addQuotes(connection.getParameters().get(
ConnParameterKeys.CONN_PARA_KEY_HBASE_AUTHENTICATION_REGIONSERVERPRINCIPAL));
String hbaseRegPrinc = connection.getParameters().get(
ConnParameterKeys.CONN_PARA_KEY_HBASE_AUTHENTICATION_REGIONSERVERPRINCIPAL);
return getAppropriateValue(connection, hbaseRegPrinc);
}
if (value.equals("HIVE_SERVER")) {
@@ -1263,7 +1210,7 @@ public class RepositoryToComponentProperty {
if (value.equals("ADVANCED_PROPERTIES") && EDatabaseTypeName.HIVE.getDisplayName().equals(databaseType)) {
String message = connection.getParameters().get(ConnParameterKeys.CONN_PARA_KEY_HIVE_JDBC_PROPERTIES);
return HadoopRepositoryUtil.getHadoopPropertiesList(message, true);
return HadoopRepositoryUtil.getHadoopPropertiesList(message, connection.isContextMode(), true);
}
if (value.equals("HADOOP_CUSTOM_JARS")) {
@@ -1300,11 +1247,7 @@ public class RepositoryToComponentProperty {
if (value.equals(EParameterNameForComponent.PARA_NAME_MAPRED_JT.getName())
|| value.equals(EParameterNameForComponent.PARA_NAME_RESOURCE_MANAGER.getName())) {
String jobTrackerURL = connection.getParameters().get(ConnParameterKeys.CONN_PARA_KEY_JOB_TRACKER_URL);
if (isContextMode(connection, jobTrackerURL)) {
return jobTrackerURL;
} else {
return TalendQuoteUtils.addQuotes(jobTrackerURL);
}
return getAppropriateValue(connection, jobTrackerURL);
}
if (value.equals(EParameterNameForComponent.PARA_NAME_USE_YARN.getName())) {
@@ -1343,20 +1286,12 @@ public class RepositoryToComponentProperty {
if (value.equals("MAPRED_JOB_TRACKER") || value.equals("MAPRED_RESOURCE_MANAGER")) {
String mapredJobTracker = connection.getParameters().get(ConnParameterKeys.CONN_PARA_KEY_JOB_TRACKER_URL);
if (mapredJobTracker == null) {
return mapredJobTracker;
} else {
return TalendQuoteUtils.addQuotesIfNotExist(StringUtils.trimToNull(mapredJobTracker));
}
return getAppropriateValue(connection, mapredJobTracker);
}
if (value.equals("NAMENODE_PRINCIPAL")) {
String nameNodePrincipal = connection.getParameters().get(ConnParameterKeys.CONN_PARA_KEY_NAME_NODE_PRINCIPAL);
if (nameNodePrincipal == null) {
return nameNodePrincipal;
} else {
return TalendQuoteUtils.addQuotesIfNotExist(StringUtils.trimToNull(nameNodePrincipal));
}
return getAppropriateValue(connection, nameNodePrincipal);
}
/**
@@ -1366,36 +1301,20 @@ public class RepositoryToComponentProperty {
*/
if (value.equals("JOBTRACKER_PRINCIPAL") || value.equals("RESOURCEMANAGER_PRINCIPAL")) {
String jtOrRmPrincipal = connection.getParameters().get(ConnParameterKeys.CONN_PARA_KEY_JOB_TRACKER_PRINCIPAL);
if (jtOrRmPrincipal == null) {
return jtOrRmPrincipal;
} else {
return TalendQuoteUtils.addQuotesIfNotExist(StringUtils.trimToNull(jtOrRmPrincipal));
}
return getAppropriateValue(connection, jtOrRmPrincipal);
}
if (value.equals("JOBHISTORY_PRINCIPAL")) {
String jobHistoryPrincipal = connection.getParameters().get(ConnParameterKeys.CONN_PARA_KEY_JOB_HISTORY_PRINCIPAL);
if (jobHistoryPrincipal == null) {
return jobHistoryPrincipal;
} else {
return TalendQuoteUtils.addQuotesIfNotExist(StringUtils.trimToNull(jobHistoryPrincipal));
}
return getAppropriateValue(connection, jobHistoryPrincipal);
}
if (value.equals("ZOOKEEPER_QUORUM")) {
if (isContextMode(connection, connection.getServerName())) {
return connection.getServerName();
} else {
return TalendQuoteUtils.addQuotes(connection.getServerName());
}
return getAppropriateValue(connection, connection.getServerName());
}
if (value.equals("ZOOKEEPER_CLIENT_PORT")) {
if (isContextMode(connection, connection.getPort())) {
return connection.getPort();
} else {
return TalendQuoteUtils.addQuotes(connection.getPort());
}
return getAppropriateValue(connection, connection.getPort());
}
if (value.equals("COLUMN_MAPPING")) { //$NON-NLS-1$
@@ -1403,24 +1322,28 @@ public class RepositoryToComponentProperty {
}
if (value.equals("HIVE_PRINCIPAL")) {
return TalendQuoteUtils
.addQuotes(connection.getParameters().get(ConnParameterKeys.HIVE_AUTHENTICATION_HIVEPRINCIPLA));
String hivePrincipal = connection.getParameters().get(ConnParameterKeys.HIVE_AUTHENTICATION_HIVEPRINCIPLA);
return getAppropriateValue(connection, hivePrincipal);
}
if (value.equals("METASTORE_JDBC_URL")) {
return TalendQuoteUtils.addQuotes(connection.getParameters().get(ConnParameterKeys.HIVE_AUTHENTICATION_METASTOREURL));
String metadataUrl = connection.getParameters().get(ConnParameterKeys.HIVE_AUTHENTICATION_METASTOREURL);
return getAppropriateValue(connection, metadataUrl);
}
if (value.equals("METASTORE_CLASSNAME")) {
return TalendQuoteUtils.addQuotes(connection.getParameters().get(ConnParameterKeys.HIVE_AUTHENTICATION_DRIVERCLASS));
String metastoreDC = connection.getParameters().get(ConnParameterKeys.HIVE_AUTHENTICATION_DRIVERCLASS);
return getAppropriateValue(connection, metastoreDC);
}
if (value.equals("METASTORE_USERNAME")) {
return TalendQuoteUtils.addQuotes(connection.getParameters().get(ConnParameterKeys.HIVE_AUTHENTICATION_USERNAME));
String metastoreUser = connection.getParameters().get(ConnParameterKeys.HIVE_AUTHENTICATION_USERNAME);
return getAppropriateValue(connection, metastoreUser);
}
if (value.equals("METASTORE_PASSWORD")) {
return TalendQuoteUtils.addQuotes(connection.getParameters().get(ConnParameterKeys.HIVE_AUTHENTICATION_PASSWORD));
String metastorePwd = connection.getParameters().get(ConnParameterKeys.HIVE_AUTHENTICATION_PASSWORD);
return getAppropriateValue(connection, metastorePwd);
}
if (value.equals("USE_KEYTAB")) {
@@ -1433,15 +1356,18 @@ public class RepositoryToComponentProperty {
}
if (value.equals("PRINCIPAL") || value.equals("KEYTAB_PRINCIPAL")) {
return TalendQuoteUtils.addQuotes(connection.getParameters().get(ConnParameterKeys.CONN_PARA_KEY_KEYTAB_PRINCIPAL));
String principal = connection.getParameters().get(ConnParameterKeys.CONN_PARA_KEY_KEYTAB_PRINCIPAL);
return getAppropriateValue(connection, principal);
}
if (value.equals("KEYTAB_PATH")) {
return TalendQuoteUtils.addQuotes(connection.getParameters().get(ConnParameterKeys.CONN_PARA_KEY_KEYTAB));
String keytab = connection.getParameters().get(ConnParameterKeys.CONN_PARA_KEY_KEYTAB);
return getAppropriateValue(connection, keytab);
}
if (value.equals("IMPALA_PRINCIPAL")) {
return TalendQuoteUtils.addQuotes(connection.getParameters().get(ConnParameterKeys.IMPALA_AUTHENTICATION_PRINCIPLA));
String principal = connection.getParameters().get(ConnParameterKeys.IMPALA_AUTHENTICATION_PRINCIPLA);
return getAppropriateValue(connection, principal);
}
if (value.equals("IMPALA_VERSION")) {
@@ -1461,8 +1387,8 @@ public class RepositoryToComponentProperty {
}
if (value.equals("RESOURCEMANAGER_SCHEDULER_ADDRESS")) {
return TalendQuoteUtils.addQuotes(connection.getParameters().get(
ConnParameterKeys.CONN_PARA_KEY_RESOURCEMANAGER_SCHEDULER_ADDRESS));
String rmSchAdr = connection.getParameters().get(ConnParameterKeys.CONN_PARA_KEY_RESOURCEMANAGER_SCHEDULER_ADDRESS);
return getAppropriateValue(connection, rmSchAdr);
}
if (value.equals("SET_JOBHISTORY_ADDRESS")) {
@@ -1470,7 +1396,8 @@ public class RepositoryToComponentProperty {
}
if (value.equals("JOBHISTORY_ADDRESS")) {
return TalendQuoteUtils.addQuotes(connection.getParameters().get(ConnParameterKeys.CONN_PARA_KEY_JOBHISTORY_ADDRESS));
String jhAddr = connection.getParameters().get(ConnParameterKeys.CONN_PARA_KEY_JOBHISTORY_ADDRESS);
return getAppropriateValue(connection, jhAddr);
}
if (value.equals("SET_STAGING_DIRECTORY")) {
@@ -1478,7 +1405,8 @@ public class RepositoryToComponentProperty {
}
if (value.equals("STAGING_DIRECTORY")) {
return TalendQuoteUtils.addQuotes(connection.getParameters().get(ConnParameterKeys.CONN_PARA_KEY_STAGING_DIRECTORY));
String stageDir = connection.getParameters().get(ConnParameterKeys.CONN_PARA_KEY_STAGING_DIRECTORY);
return getAppropriateValue(connection, stageDir);
}
if (value.equals("USE_DATANODE_HOSTNAME")) {
@@ -1490,6 +1418,14 @@ public class RepositoryToComponentProperty {
}
private static String getAppropriateValue(Connection connection, String rawValue) {
if (isContextMode(connection, rawValue)) {
return rawValue;
} else {
return TalendQuoteUtils.addQuotesIfNotExist(rawValue);
}
}
/**
* DOC nrousseau Comment method "getDatabaseValue".
*
@@ -2694,4 +2630,13 @@ public class RepositoryToComponentProperty {
}
return value;
}
public static boolean isGenericRepositoryValue(Connection connection, String paramName) {
for (IDragAndDropServiceHandler handler : DragAndDropManager.getHandlers()) {
if (handler.canHandle(connection)) {
return handler.isGenericRepositoryValue(connection, paramName);
}
}
return false;
}
}

View File

@@ -98,6 +98,8 @@ public enum EParameterFieldType {
NAME_SELECTION_AREA, // ycbai added for generic wizard
NAME_SELECTION_REFERENCE, // ycbai added for generic wizard
COMPONENT_REFERENCE, // ycbai added for generic wizard
HIDDEN_TEXT, // hcyi added for generic wizard/component properties
SCHEMA_REFERENCE, // hcyi added for component properties
;

View File

@@ -64,7 +64,7 @@ import org.talend.repository.model.IProxyRepositoryService;
*/
@SuppressWarnings("unchecked")
public final class ProcessUtils {
private static boolean isHD;
private static List<IProcess> fakeProcesses = new ArrayList<IProcess>();
@@ -751,6 +751,20 @@ public final class ProcessUtils {
return false;
}
public static boolean isSparkStreming(IProcess process) {
if (process instanceof IProcess2) {
return false;
}
if (GlobalServiceRegister.getDefault().isServiceRegistered(ITestContainerCoreService.class)) {
ITestContainerCoreService testContainerService = (ITestContainerCoreService) GlobalServiceRegister.getDefault()
.getService(ITestContainerCoreService.class);
if (testContainerService != null) {
return testContainerService.isSparkStreaming(((IProcess2) process).getProperty().getItem());
}
}
return false;
}
public static List<String> getTestData(IProcess process, String instanceName) {
if (GlobalServiceRegister.getDefault().isServiceRegistered(ITestContainerProviderService.class)) {
ITestContainerProviderService testContainerService = (ITestContainerProviderService) GlobalServiceRegister
@@ -930,26 +944,26 @@ public final class ProcessUtils {
return false;
}
public static boolean isHDInsight() {
return isHD;
}
public static void setHDInsight(boolean isHD) {
ProcessUtils.isHD = isHD;
}
public static boolean isDistributionExist(ProcessItem processItem) {
EList<ElementParameterType> parameters = processItem.getProcess().getParameters().getElementParameter();
for (ElementParameterType pt : parameters) {
if (pt.getName().equals("DISTRIBUTION")) { //$NON-NLS-1$
String value = pt.getValue();
if("MICROSOFT_HD_INSIGHT".equals(value)){ //$NON-NLS-1$
return true;
}
String value = pt.getValue();
if ("MICROSOFT_HD_INSIGHT".equals(value)) { //$NON-NLS-1$
return true;
}
}
}
return false;
}
}

View File

@@ -16,7 +16,9 @@ import java.lang.reflect.Constructor;
import java.lang.reflect.Field;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.commons.lang.ArrayUtils;
import org.apache.commons.lang.StringUtils;
@@ -55,6 +57,7 @@ import org.talend.core.model.properties.MDMConnectionItem;
import org.talend.core.model.properties.PigudfItem;
import org.talend.core.model.properties.PositionalFileConnectionItem;
import org.talend.core.model.properties.ProcessItem;
import org.talend.core.model.properties.Property;
import org.talend.core.model.properties.RegExFileConnectionItem;
import org.talend.core.model.properties.RoutineItem;
import org.talend.core.model.properties.RulesItem;
@@ -84,15 +87,16 @@ public class ERepositoryObjectType extends DynaEnum<ERepositoryObjectType> {
public static final String PROD_DQ = ProductUtils.PROD_DQ;
public static final String PROD_CAMEL = ProductUtils.PROD_CAMEL;
public static final String PROD_MDM = ProductUtils.PROD_MDM;
public final static ERepositoryObjectType GENERAL_FILE = new ERepositoryObjectType("repository.generalfile", "",
"GENERAL_FILE", true, 1, new String[] { PROD_DI, PROD_DQ, PROD_MDM }, new String[] {}, false);
public final static ERepositoryObjectType GIT_ROOT = new ERepositoryObjectType("repository.gitroot", "", "GIT_ROOT", true, 1,
new String[] { PROD_DI, PROD_CAMEL, PROD_DQ }, new String[] {}, false);
new String[] { PROD_DI, PROD_DQ }, new String[] {}, false);
public final static ERepositoryObjectType SVN_ROOT = new ERepositoryObjectType("repository.svnroot", "", "SVN_ROOT", true, 1,
new String[] { PROD_DI, PROD_CAMEL, PROD_DQ }, new String[] {}, false);
new String[] { PROD_DI, PROD_DQ }, new String[] {}, false);
public final static ERepositoryObjectType SVG_BUSINESS_PROCESS = new ERepositoryObjectType("repository.svgBusinessProcess",
"businessProcessSVG", "SVG_BUSINESS_PROCESS", true, 3, new String[] { PROD_DI }, new String[] {});
@@ -104,7 +108,7 @@ public class ERepositoryObjectType extends DynaEnum<ERepositoryObjectType> {
// "documentations", "DOCUMENTATION", true, 11, new String[] { PROD_DI }, new String[] {});
public final static ERepositoryObjectType METADATA = new ERepositoryObjectType("repository.metadata", "metadata", "METADATA",
true, 8, new String[] { PROD_DI, PROD_DQ }, new String[] {}, false);
true, 80, new String[] { PROD_DI, PROD_DQ }, new String[] {}, false);
public final static ERepositoryObjectType METADATA_CON_TABLE = new ERepositoryObjectType("repository.metadataTable",
"METADATA_CON_TABLE", 13, true, true, new String[] { PROD_DI }, new String[] {}, false);
@@ -146,7 +150,7 @@ public class ERepositoryObjectType extends DynaEnum<ERepositoryObjectType> {
"MDM_ELEMENT_TYPE", 25, true, true, new String[] { PROD_DI }, new String[] {}, false);
public final static ERepositoryObjectType RECYCLE_BIN = new ERepositoryObjectType("repository.recyclebin", "", "RECYCLE_BIN",
true, 26, new String[] { PROD_DI, PROD_CAMEL }, new String[] {}, false);
true, 900, new String[] { PROD_DI }, new String[] {}, false);
public final static ERepositoryObjectType METADATA_COLUMN = new ERepositoryObjectType("repository.column", "",
"METADATA_COLUMN", true, 27, new String[] { PROD_DI }, new String[] {}, false);
@@ -164,52 +168,11 @@ public class ERepositoryObjectType extends DynaEnum<ERepositoryObjectType> {
"repository.metadataRulesManagement", "", "METADATA_RULES_MANAGEMENT", 30, true, //$NON-NLS-1$ //$NON-NLS-2$
"repository.metadataRulesManagement.alias", new String[] { PROD_DI }, new String[] {}, false);
// public final static ERepositoryObjectType METADATA_CONNECTIONS = new ERepositoryObjectType(
// "repository.metadataConnections", "metadata/connections", "METADATA_CONNECTIONS", 31, true,
// "repository.metadataConnections.alias", new String[] { PROD_DI, PROD_DQ }, new String[] {}); //$NON-NLS-1$
// //$NON-NLS-2$
// public final static ERepositoryObjectType METADATA_SAPCONNECTIONS = new ERepositoryObjectType(
// "repository.metadataSAPConnections", "metadata/sapconnections", "METADATA_SAPCONNECTIONS", 32, true,
// "repository.metadataSAPConnections.alias", new String[] { PROD_DI }, new String[] {}); //$NON-NLS-1$
// //$NON-NLS-2$
// public final static ERepositoryObjectType METADATA_EDIFACT = new
// ERepositoryObjectType("repositorymetadataEDIFact",
// "metadata/EDISchema", "METADATA_EDIFACT", 50, true, "repositorymetadataEDIFact.alias", new String[] { PROD_DI },
// new String[] {});
// public final static ERepositoryObjectType SQLPATTERNS = new ERepositoryObjectType(
// "repository.metadataSQLPatterns", "sqlPatterns", "SQLPATTERNS", 33, true, "repository.metadataSQLPatterns.alias",
// new String[] { PROD_DI }, new String[] {}); //$NON-NLS-1$ //$NON-NLS-2$
// public final static ERepositoryObjectType METADATA_FILE_EBCDIC = new ERepositoryObjectType(
// "repository.metadataFileEDCDIC", "metadata/fileEBCDIC", "METADATA_FILE_EBCDIC", 34, true,
// "repository.metadataFileEDCDIC.alias", new String[] { PROD_DI }, new String[] {}); //$NON-NLS-1$ //$NON-NLS-2$
// public final static ERepositoryObjectType METADATA_FILE_HL7 = new ERepositoryObjectType(
// "repository.metadataFileHL7", "metadata/fileHL7", "METADATA_FILE_HL7", 35, true,
// "repository.metadataFileHL7.alias", new String[] { PROD_DI }, new String[] {}); //$NON-NLS-1$ //$NON-NLS-2$
// public final static ERepositoryObjectType METADATA_FILE_FTP = new ERepositoryObjectType(
// "repository.metadataFileFTP", "metadata/FTPconnections", "METADATA_FILE_FTP", 36, true,
// "repository.metadataFileFTP.alias", new String[] { PROD_DI }, new String[] {}); //$NON-NLS-1$ //$NON-NLS-2$
// 0015169 added
public final static ERepositoryObjectType METADATA_FILE_BRMS = new ERepositoryObjectType("repository.metadataFileBRMS", //$NON-NLS-1$
"metadata/BRMSconnections", "METADATA_FILE_BRMS", 37, true, "repository.metadataFileBRMS.alias", //$NON-NLS-1$
new String[] { PROD_DI }, new String[] {});
// public final static ERepositoryObjectType METADATA_FILE_DELIMITED = new ERepositoryObjectType(
// "repository.metadataFileDelimited", "metadata/fileDelimited", "METADATA_FILE_DELIMITED", 39, true,
// "repository.metadataFileDelimited.alias", new String[] { PROD_DI, PROD_DQ }, new String[] {}); //$NON-NLS-1$
// //$NON-NLS-2$
// public final static ERepositoryObjectType METADATA_VALIDATION_RULES = new ERepositoryObjectType(
// "repository.metadataValidationRules", "metadata/validationRules", "METADATA_VALIDATION_RULES", 48, true,
// "repository.metadataValidationRules.alias", new String[] { PROD_DI }, new String[] {}); //$NON-NLS-1$
// //$NON-NLS-2$
public final static ERepositoryObjectType METADATA_VALIDATIONS_RULES_FOLDER = new ERepositoryObjectType(
"repository.metadataValidationRulesFolder", "", "METADATA_VALIDATIONS_RULES_FOLDER", 49, true, //$NON-NLS-1$ //$NON-NLS-2$
"repository.metadataValidationRulesFolder.alias", new String[] { PROD_DI }, new String[] {}, false);
@@ -217,25 +180,11 @@ public class ERepositoryObjectType extends DynaEnum<ERepositoryObjectType> {
public final static ERepositoryObjectType FOLDER = new ERepositoryObjectType("repository.folder", "", "FOLDER", true, 50, //$NON-NLS-1$
new String[] { PROD_DI }, new String[] {}, false);
public final static ERepositoryObjectType REFERENCED_PROJECTS = new ERepositoryObjectType("repository.referencedProjects", "", //$NON-NLS-1$ //$NON-NLS-2$
public final static ERepositoryObjectType REFERENCED_PROJECTS = new ERepositoryObjectType(
"repository.referencedProjects", "", //$NON-NLS-1$ //$NON-NLS-2$
"REFERENCED_PROJECTS", 51, true, "repository.referencedProjects.alias", new String[] { PROD_DI, PROD_DQ },
new String[] {}, false);
public final static ERepositoryObjectType GENERATED = new ERepositoryObjectType("repository.generated", //$NON-NLS-1$
"documentations/generated", "GENERATED", true, 52, new String[] { PROD_DI }, new String[] {}, false);
public final static ERepositoryObjectType JOBS = new ERepositoryObjectType("repository.jobs", "documentations/generated/jobs", //$NON-NLS-1$
"JOBS", true, 53, new String[] { PROD_DI }, new String[] {}, false);
public final static ERepositoryObjectType JOB_DOC = new ERepositoryObjectType("repository.jobdoc", //$NON-NLS-1$
"documentations/generated/jobs", "JOB_DOC", true, 54, new String[] { PROD_DI }, new String[] {});
public final static ERepositoryObjectType JOBLETS = new ERepositoryObjectType("repository.joblets", //$NON-NLS-1$
"documentations/generated/joblets", "JOBLETS", true, 58, new String[] { PROD_DI }, new String[] {}, false);
public final static ERepositoryObjectType JOBLET_DOC = new ERepositoryObjectType("repository.jobletdoc", //$NON-NLS-1$
"documentations/generated/joblets", "JOBLET_DOC", true, 59, new String[] { PROD_DI }, new String[] {});
public final static ERepositoryObjectType COMPONENTS = new ERepositoryObjectType("repository.components", "components", //$NON-NLS-1$
"COMPONENTS", true, 61, new String[] { PROD_DI }, new String[] {}, false);
@@ -252,7 +201,8 @@ public class ERepositoryObjectType extends DynaEnum<ERepositoryObjectType> {
"TDQ_Data Profiling/Reports", "TDQ_REPORT_ELEMENT", 64, true, "repository.tdqelement.report.alias", //$NON-NLS-1$
new String[] { PROD_DQ }, new String[] {});
public final static ERepositoryObjectType TDQ_INDICATOR_ELEMENT = new ERepositoryObjectType("repository.tdqelement.indicator", //$NON-NLS-1$
public final static ERepositoryObjectType TDQ_INDICATOR_ELEMENT = new ERepositoryObjectType(
"repository.tdqelement.indicator", //$NON-NLS-1$
"TDQ_Libraries/Indicators", "TDQ_INDICATOR_ELEMENT", 66, true, "repository.tdqelement.indicator.alias", //$NON-NLS-1$
new String[] { PROD_DQ }, new String[] {});
@@ -302,7 +252,8 @@ public class ERepositoryObjectType extends DynaEnum<ERepositoryObjectType> {
"TDQ_Libraries/Rules/Parser", "TDQ_RULES_PARSER", 81, true, "repository.rulesParser.alias", new String[] { PROD_DQ }, //$NON-NLS-1$
new String[] {}, false);
public final static ERepositoryObjectType TDQ_RULES_MATCHER = new ERepositoryObjectType("repository.rulesMatcher", //$NON-NLS-1$
public final static ERepositoryObjectType TDQ_RULES_MATCHER = new ERepositoryObjectType(
"repository.rulesMatcher", //$NON-NLS-1$
"TDQ_Libraries/Rules/Match", "TDQ_RULES_MATCHER", 82, true, "repository.rulesMatcher.alias", new String[] { PROD_DQ }, //$NON-NLS-1$
new String[] {}, false);
@@ -395,10 +346,10 @@ public class ERepositoryObjectType extends DynaEnum<ERepositoryObjectType> {
true, "repository.systemIndicators.phoneNumberStatistics.alias", new String[] { PROD_DQ }, new String[] {}, false);
public final static ERepositoryObjectType SERVICESOPERATION = new ERepositoryObjectType("repository.servicesOperation", //$NON-NLS-1$
"SERVICESOPERATION", 101, true, true, new String[] { PROD_DI, PROD_CAMEL }, new String[] {}, false); //$NON-NLS-1$
"SERVICESOPERATION", 101, true, true, new String[] { PROD_DI }, new String[] {}, false); //$NON-NLS-1$
public final static ERepositoryObjectType SERVICESPORT = new ERepositoryObjectType("repository.servicesPort", "SERVICESPORT", //$NON-NLS-1$ //$NON-NLS-2$
102, true, true, new String[] { PROD_DI, PROD_CAMEL }, new String[] {}, false);
102, true, true, new String[] { PROD_DI }, new String[] {}, false);
public final static ERepositoryObjectType SYSTEM_INDICATORS_FRAUDDETECTION = new ERepositoryObjectType(
"repository.systemIndicators.fraudDetection", "TDQ_Libraries/Indicators/System Indicators/Fraud Detection", //$NON-NLS-1$ //$NON-NLS-2$
@@ -470,8 +421,22 @@ public class ERepositoryObjectType extends DynaEnum<ERepositoryObjectType> {
public final static ERepositoryObjectType SQLPATTERNS = ERepositoryObjectType.valueOf("SQLPATTERNS"); //$NON-NLS-1$
/**
* Docs
*
* <font color="red">This value may be <b>null</b> in some licenses, <b>should add NPE check</b></font>
*/
public final static ERepositoryObjectType DOCUMENTATION = ERepositoryObjectType.valueOf("DOCUMENTATION"); //$NON-NLS-1$
public final static ERepositoryObjectType GENERATED = ERepositoryObjectType.valueOf("GENERATED");//$NON-NLS-1$
public final static ERepositoryObjectType JOB_DOC = ERepositoryObjectType.valueOf("JOB_DOC");//$NON-NLS-1$
public final static ERepositoryObjectType JOBLET_DOC = ERepositoryObjectType.valueOf("JOBLET_DOC");//$NON-NLS-1$
/**
* Metadatas
*/
public final static ERepositoryObjectType METADATA_FILE_POSITIONAL = ERepositoryObjectType
.valueOf("METADATA_FILE_POSITIONAL"); //$NON-NLS-1$
@@ -494,11 +459,6 @@ public class ERepositoryObjectType extends DynaEnum<ERepositoryObjectType> {
public final static ERepositoryObjectType METADATA_MDMCONNECTION = ERepositoryObjectType.valueOf("METADATA_MDMCONNECTION"); //$NON-NLS-1$
/**
* <font color="red">This value may be <b>null</b> in some licenses, <b>should add NPE check</b></font>
*/
public final static ERepositoryObjectType PROCESS_MR = ERepositoryObjectType.valueOf("PROCESS_MR"); //$NON-NLS-1$
public final static ERepositoryObjectType METADATA_CONNECTIONS = ERepositoryObjectType.valueOf("METADATA_CONNECTIONS");
public final static ERepositoryObjectType METADATA_FILE_DELIMITED = ERepositoryObjectType.valueOf("METADATA_FILE_DELIMITED");
@@ -516,6 +476,11 @@ public class ERepositoryObjectType extends DynaEnum<ERepositoryObjectType> {
public final static ERepositoryObjectType METADATA_EDIFACT = ERepositoryObjectType.valueOf("METADATA_EDIFACT");
/**
* <font color="red">This value may be <b>null</b> in some licenses, <b>should add NPE check</b></font>
*/
public final static ERepositoryObjectType PROCESS_MR = ERepositoryObjectType.valueOf("PROCESS_MR"); //$NON-NLS-1$
/**
* <font color="red">This value may be <b>null</b> in some licenses, <b>should add NPE check</b></font>
*/
@@ -549,6 +514,20 @@ public class ERepositoryObjectType extends DynaEnum<ERepositoryObjectType> {
*/
public final static ERepositoryObjectType PROCESS_SPARKSTREAMING = ERepositoryObjectType.valueOf("PROCESS_SPARKSTREAMING");
public final static ERepositoryObjectType METADATA_SAP_BW_DATASOURCE = ERepositoryObjectType
.valueOf("METADATA_SAP_BW_DATASOURCE"); //$NON-NLS-1$
public final static ERepositoryObjectType METADATA_SAP_BW_DATASTOREOBJECT = ERepositoryObjectType
.valueOf("METADATA_SAP_BW_DATASTOREOBJECT"); //$NON-NLS-1$
public final static ERepositoryObjectType METADATA_SAP_BW_INFOCUBE = ERepositoryObjectType
.valueOf("METADATA_SAP_BW_INFOCUBE"); //$NON-NLS-1$
public final static ERepositoryObjectType METADATA_SAP_BW_INFOOBJECT = ERepositoryObjectType
.valueOf("METADATA_SAP_BW_INFOOBJECT"); //$NON-NLS-1$
private static Map<String, ERepositoryObjectType> typeCacheById = new HashMap<String, ERepositoryObjectType>();
ERepositoryObjectType(String key, String folder, String type, boolean isStaticNode, int ordinal, String[] products,
String[] userRight, boolean... isResouce) {
super(key, type, isStaticNode, ordinal);
@@ -642,8 +621,7 @@ public class ERepositoryObjectType extends DynaEnum<ERepositoryObjectType> {
// limit with DI items only.
List<ERepositoryObjectType> toReturn = new ArrayList<ERepositoryObjectType>();
for (ERepositoryObjectType currentType : values(ERepositoryObjectType.class)) {
if (ArrayUtils.contains(currentType.getProducts(), PROD_DI)
|| ArrayUtils.contains(currentType.getProducts(), PROD_CAMEL)) {
if (ArrayUtils.contains(currentType.getProducts(), PROD_DI)) {
toReturn.add(currentType);
}
}
@@ -726,6 +704,28 @@ public class ERepositoryObjectType extends DynaEnum<ERepositoryObjectType> {
return null;
}
public static ERepositoryObjectType getType(Property property) {
String itemId = property.getId();
ERepositoryObjectType type = typeCacheById.get(itemId);
if (type == null) {
Item item = property.getItem();
type = getItemType(item);
if (type != null) {
typeCacheById.put(itemId, type);
}
}
return type;
}
/**
* Getter for typeCacheById.
*
* @return the typeCacheById
*/
public static Map<String, ERepositoryObjectType> getTypeCacheById() {
return typeCacheById;
}
public boolean hasFolder() {
try {
String folderName = getFolderName(this);
@@ -740,12 +740,12 @@ public class ERepositoryObjectType extends DynaEnum<ERepositoryObjectType> {
public static String getFolderName(ERepositoryObjectType type) {
if (type == GENERATED || type == JOBS || type == JOB_DOC) {
if (type == GENERATED || type == JOB_DOC) {
if ((PluginChecker.isDocumentationPluginLoaded())) {
return type.getFolder();
}
}
if (type == JOBLETS || type == JOBLET_DOC) {
if (type == JOBLET_DOC) {
if (PluginChecker.isJobLetPluginLoaded()) {
return type.getFolder();
}
@@ -838,8 +838,8 @@ public class ERepositoryObjectType extends DynaEnum<ERepositoryObjectType> {
} else if (type.getType().equals("SERVICES")) {
return "Services";
} else if (GlobalServiceRegister.getDefault().isServiceRegistered(ICamelDesignerCoreService.class)) {
ICamelDesignerCoreService camelService = (ICamelDesignerCoreService) GlobalServiceRegister.getDefault()
.getService(ICamelDesignerCoreService.class);
ICamelDesignerCoreService camelService = (ICamelDesignerCoreService) GlobalServiceRegister.getDefault().getService(
ICamelDesignerCoreService.class);
String deleteFolderName = camelService.getDeleteFolderName(type);
if (deleteFolderName != null) {
return deleteFolderName;
@@ -849,6 +849,14 @@ public class ERepositoryObjectType extends DynaEnum<ERepositoryObjectType> {
return "job";
}
/**
* Please use instead the method : public static ERepositoryObjectType getType(Property property)<br>
*
* This method might change to private in the future, since many calls will have low performance.
*
* @param item
* @return
*/
public static ERepositoryObjectType getItemType(Item item) {
ERepositoryObjectType repObjType = getTDQRepObjType(item);

View File

@@ -34,9 +34,11 @@ public enum ECodePart {
SPARKCODE("sparkcode"), //$NON-NLS-1$
SPARKCONFIG("sparkconfig"), //$NON-NLS-1$
SPARKJOBFOOTER("sparkjobfooter"), //$NON-NLS-1$
SPARKPOSTPROCESSING("sparkpostprocessing"), //$NON-NLS-1$
SPARKSTREAMINGCODE("sparkstreamingcode"), //$NON-NLS-1$
SPARKSTREAMINGCONFIG("sparkstreamingconfig"), //$NON-NLS-1$
SPARKSTREAMINGJOBFOOTER("sparkstreamingjobfooter"); //$NON-NLS-1$
SPARKSTREAMINGJOBFOOTER("sparkstreamingjobfooter"), //$NON-NLS-1$
SPARKSTREAMINGPOSTPROCESSING("sparkstreamingpostprocessing"); //$NON-NLS-1$
private ECodePart(String name) {
this.name = name;

View File

@@ -93,6 +93,7 @@ import org.talend.core.service.IMRProcessService;
import org.talend.core.service.IMetadataManagmentService;
import org.talend.core.service.IStormProcessService;
import org.talend.cwm.helper.ConnectionHelper;
import org.talend.cwm.helper.SAPBWTableHelper;
import org.talend.designer.core.IDesignerCoreService;
import org.talend.designer.runprocess.ItemCacheManager;
import org.talend.repository.model.IProxyRepositoryFactory;
@@ -1642,6 +1643,11 @@ public abstract class RepositoryUpdateManager {
public static boolean updateMultiSchema(ConnectionItem connItem, List<IMetadataTable> oldMetadataTable,
Map<String, String> oldTableMap) {
return updateMultiSchema(connItem, oldMetadataTable, oldTableMap, null);
}
public static boolean updateMultiSchema(ConnectionItem connItem, List<IMetadataTable> oldMetadataTable,
Map<String, String> oldTableMap, String bwTableType) {
if (connItem == null) {
return false;
}
@@ -1653,8 +1659,8 @@ public abstract class RepositoryUpdateManager {
if (!update) {
if (oldMetadataTable != null) {
List<IMetadataTable> newMetadataTable = RepositoryUpdateManager.getConversionMetadataTables(connItem
.getConnection());
List<IMetadataTable> newMetadataTable = RepositoryUpdateManager.getConversionMetadataTables(
connItem.getConnection(), bwTableType);
update = !RepositoryUpdateManager.sameAsMetadatTable(newMetadataTable, oldMetadataTable, oldTableMap);
isAddColumn = isAddColumn(newMetadataTable, oldMetadataTable);
}
@@ -1665,9 +1671,14 @@ public abstract class RepositoryUpdateManager {
List<IMetadataTable> newMetadataTable = new ArrayList<IMetadataTable>();
if (coreService != null
&& ((connection instanceof DatabaseConnection) || (connection instanceof GenericSchemaConnection))) {
Set<org.talend.core.model.metadata.builder.connection.MetadataTable> newTables = ConnectionHelper
.getTables(connection);
&& ((connection instanceof DatabaseConnection) || (connection instanceof GenericSchemaConnection))
|| (connection instanceof SAPConnection)) {
Set<org.talend.core.model.metadata.builder.connection.MetadataTable> newTables = null;
if (bwTableType == null) {
newTables = ConnectionHelper.getTables(connection);
} else {
newTables = SAPBWTableHelper.getBWTables(connection, bwTableType);
}
if (newTables != null) {
for (org.talend.core.model.metadata.builder.connection.MetadataTable originalTable : newTables) {
IMetadataTable conversionTable = coreService.convert(originalTable);
@@ -1783,6 +1794,15 @@ public abstract class RepositoryUpdateManager {
String tableId = newTable.getId();
if (tableLabel.equals(oldtableLabel)) {
isDeleted = false;
String newInnerIOType = newTable.getAdditionalProperties().get(SAPBWTableHelper.SAP_INFOOBJECT_INNER_TYPE);
String oldInnerIOType = oldTable.getAdditionalProperties().get(SAPBWTableHelper.SAP_INFOOBJECT_INNER_TYPE);
if (newInnerIOType != null) {
if (newInnerIOType.equals(oldInnerIOType) && !tableId.equals(oldtableId)) {
prefix = connItem.getProperty().getId() + UpdatesConstants.SEGMENT_LINE;
deletedOrReselectTables.put(prefix + tableLabel, EUpdateResult.RELOAD);
}
continue;
}
/* if table name is same but tableId is not same,means table has been deselect and reselect */
if (!tableId.equals(oldtableId)) {
prefix = connItem.getProperty().getId() + UpdatesConstants.SEGMENT_LINE;
@@ -2197,14 +2217,22 @@ public abstract class RepositoryUpdateManager {
return repositoryUpdateManager.doWork();
}
@SuppressWarnings("unchecked")
public static List<IMetadataTable> getConversionMetadataTables(Connection conn) {
return getConversionMetadataTables(conn, null);
}
@SuppressWarnings("unchecked")
public static List<IMetadataTable> getConversionMetadataTables(Connection conn, String bwTableType) {
if (conn == null) {
return Collections.emptyList();
}
List<IMetadataTable> tables = new ArrayList<IMetadataTable>();
Set tables2 = ConnectionHelper.getTables(conn);
Set tables2 = null;
if (bwTableType != null) {
tables2 = SAPBWTableHelper.getBWTables(conn, bwTableType);
} else {
tables2 = ConnectionHelper.getTables(conn);
}
if (tables2 != null) {
for (org.talend.core.model.metadata.builder.connection.MetadataTable originalTable : (Set<org.talend.core.model.metadata.builder.connection.MetadataTable>) tables2) {
if (GlobalServiceRegister.getDefault().isServiceRegistered(IMetadataManagmentService.class)) {

View File

@@ -56,4 +56,8 @@ public abstract class AbstractDragAndDropServiceHandler implements IDragAndDropS
}
}
@Override
public boolean isGenericRepositoryValue(Connection connection, String paramName) {
return false;
}
}

View File

@@ -109,4 +109,13 @@ public interface IDragAndDropServiceHandler {
*/
public boolean isValidForDataViewer(Connection connection, IMetadataTable metadataTable);
/**
*
* DOC hcyi Comment method "isGenericRepositoryValue".
*
* @param connection
* @param paramName
* @return
*/
public boolean isGenericRepositoryValue(Connection connection, String paramName);
}

View File

@@ -20,6 +20,8 @@ public class NexusConstants {
public static final String SERVICES_SEARCH = "service/local/lucene/search?";//$NON-NLS-1$
public static final String SERVICES_RESOLVE = "service/local/artifact/maven/resolve?";//$NON-NLS-1$
public static final String CONTENT_REPOSITORIES = "/content/repositories/";//$NON-NLS-1$
public static final String SLASH = "/";//$NON-NLS-1$

View File

@@ -12,6 +12,7 @@
// ============================================================================
package org.talend.core.nexus;
import java.io.FileNotFoundException;
import java.io.InputStream;
import java.net.Authenticator;
import java.net.HttpURLConnection;
@@ -25,15 +26,19 @@ import javax.net.ssl.HttpsURLConnection;
import javax.net.ssl.SSLSession;
import javax.net.ssl.SSLSocketFactory;
import org.apache.commons.lang.StringUtils;
import org.dom4j.Document;
import org.dom4j.Node;
import org.dom4j.io.SAXReader;
import org.eclipse.core.runtime.Platform;
import org.eclipse.core.runtime.preferences.IEclipsePreferences;
import org.eclipse.core.runtime.preferences.InstanceScope;
import org.talend.commons.exception.ExceptionHandler;
import org.talend.commons.exception.LoginException;
import org.talend.commons.exception.PersistenceException;
import org.talend.commons.utils.network.NetworkUtil;
import org.talend.core.GlobalServiceRegister;
import org.talend.core.prefs.ITalendCorePrefConstants;
import org.talend.core.runtime.maven.MavenArtifact;
import org.talend.core.service.IRemoteService;
import org.talend.utils.json.JSONException;
@@ -46,6 +51,11 @@ import org.talend.utils.ssl.SSLUtils;
*/
public class NexusServerUtils {
/**
*
*/
public static final String ORG_TALEND_DESIGNER_CORE = "org.talend.designer.core"; //$NON-NLS-1$
public static final String KEY_NEXUS_RUL = "nexusUrl";//$NON-NLS-1$
public static final String KEY_NEXUS_USER = "username";//$NON-NLS-1$
@@ -131,6 +141,9 @@ public class NexusServerUtils {
* @return
*/
public static boolean checkConnectionStatus(String nexusUrl, String repositoryId, final String userName, final String password) {
if (StringUtils.isEmpty(nexusUrl)) {
return false;
}
final Authenticator defaultAuthenticator = NetworkUtil.getDefaultAuthenticator();
if (userName != null && !"".equals(userName)) {
Authenticator.setDefault(new Authenticator() {
@@ -155,10 +168,6 @@ public class NexusServerUtils {
URL url = new URL(urlToCheck);
HttpURLConnection urlConnection = (HttpURLConnection) url.openConnection();
// if (userName != null && !"".equals(userName)) {
// urlConnection.setRequestProperty(
// "Authorization", "Basic " + Base64.encodeBase64((userName + ":" + password).getBytes()));//$NON-NLS-1$ //$NON-NLS-2$
// }
if (urlConnection instanceof HttpsURLConnection) {
String userDir = Platform.getInstallLocation().getURL().getPath();
final SSLSocketFactory socketFactory = SSLUtils.getSSLContext(userDir).getSocketFactory();
@@ -173,14 +182,17 @@ public class NexusServerUtils {
});
}
urlConnection.setConnectTimeout(10000);
urlConnection.setReadTimeout(10000);
IEclipsePreferences node = InstanceScope.INSTANCE.getNode(ORG_TALEND_DESIGNER_CORE);
int timeout = node.getInt(ITalendCorePrefConstants.NEXUS_TIMEOUT, 10000);
urlConnection.setConnectTimeout(timeout);
urlConnection.setReadTimeout(timeout);
status = urlConnection.getResponseCode();
if (status == CONNECTION_OK) {
return true;
}
} catch (Exception e) {
// do nothing
ExceptionHandler.process(e);
} finally {
Authenticator.setDefault(defaultAuthenticator);
}
@@ -302,6 +314,47 @@ public class NexusServerUtils {
}
}
public static String resolveSha1(String nexusUrl, final String userName, final String password, String repositoryId,
String groupId, String artifactId, String version) throws Exception {
HttpURLConnection urlConnection = null;
final Authenticator defaultAuthenticator = NetworkUtil.getDefaultAuthenticator();
if (userName != null && !"".equals(userName)) {
Authenticator.setDefault(new Authenticator() {
@Override
protected PasswordAuthentication getPasswordAuthentication() {
return new PasswordAuthentication(userName, password.toCharArray());
}
});
}
try {
String service = NexusConstants.SERVICES_RESOLVE + "a=" + artifactId + "&g=" + groupId + "&r=" + repositoryId + "&v="
+ version;
urlConnection = getHttpURLConnection(nexusUrl, service, userName, password);
SAXReader saxReader = new SAXReader();
InputStream inputStream = urlConnection.getInputStream();
Document document = saxReader.read(inputStream);
Node sha1Node = document.selectSingleNode("/artifact-resolution/data/sha1");
String sha1 = null;
if (sha1Node != null) {
sha1 = sha1Node.getText();
}
return sha1;
} catch (FileNotFoundException e) {
// jar not existing on remote nexus
return null;
} finally {
Authenticator.setDefault(defaultAuthenticator);
if (null != urlConnection) {
urlConnection.disconnect();
}
}
}
private static String getSearchQuery(String repositoryId, String groupId, String artifactId, String version, int from,
int count) {
String query = "";//$NON-NLS-1$
@@ -352,7 +405,9 @@ public class NexusServerUtils {
});
}
urlConnection.setConnectTimeout(10000);
IEclipsePreferences node = InstanceScope.INSTANCE.getNode(ORG_TALEND_DESIGNER_CORE);
int timeout = node.getInt(ITalendCorePrefConstants.NEXUS_TIMEOUT, 10000);
urlConnection.setConnectTimeout(timeout);
return urlConnection;
}

View File

@@ -181,4 +181,8 @@ public interface ITalendCorePrefConstants {
public static final String PERFORMANCE_TAC_CONNECTION_TIMEOUT = "PERFORMANCE_TAC_CONNECTION_TIMEOUT"; //$NON-NLS-1$
public static final String PERFORMANCE_JAVA_PROCESS_CODE_FORMATE_TIMEOUT = "PERFORMANCE_JAVA_PROCESS_CODE_FORMATE_TIMEOUT"; //$NON-NLS-1$
public static final String NEXUS_TIMEOUT = "NEXUS_TIMEOUT"; //$NON-NLS-1$
public static final String NEXUS_REFRESH_FREQUENCY = "NEXUS_REFRESH_FREQUENCY"; //$NON-NLS-1$
}

View File

@@ -39,6 +39,8 @@ public final class PreferenceManipulator implements ITalendCorePrefConstants {
private static final String PREF_DELIMITER = "|"; //$NON-NLS-1$
private static final String LOCAL_MODE = "local";
/** The preference store manipulated. */
private IPreferenceStore store;
@@ -246,6 +248,18 @@ public final class PreferenceManipulator implements ITalendCorePrefConstants {
save();
}
public int getLastLogonMode(String projectUrl, String projectName, String branch) {
String hexKey = Hex.encodeHexString((projectUrl + projectName + branch).getBytes());
int mode = store.getInt(hexKey);
return mode;
}
public void setLastLogonMode(String projectUrl, String projectName, String branch, int mode) {
String hexKey = Hex.encodeHexString((projectUrl + projectName + branch).getBytes());
store.setValue(hexKey, mode);
save();
}
public String getLastUser() {
return store.getString(LAST_USED_USER);
}
@@ -284,4 +298,15 @@ public final class PreferenceManipulator implements ITalendCorePrefConstants {
}
}
}
public void setNewCreateBranchObjectId(String projectUrl, String projectName, String branch, String id) {
String hexKey = Hex.encodeHexString((projectUrl + projectName + LOCAL_MODE + branch).getBytes());
store.setValue(hexKey, id);
save();
}
public String getNewCreateBranchObjectId(String projectUrl, String projectName, String branch) {
String hexKey = Hex.encodeHexString((projectUrl + projectName + LOCAL_MODE + branch).getBytes());
return store.getString(hexKey);
}
}

View File

@@ -208,6 +208,9 @@ public class MavenUrlHelper {
if (parseMvnUrl == null) {
return null;
}
if (!MavenConstants.DEFAULT_LIB_GROUP_ID.equals(parseMvnUrl.getGroupId())) {
return mavenUri; // snapshot url same as maven url
}
return generateMvnUrl(parseMvnUrl.getGroupId(), parseMvnUrl.getArtifactId(), parseMvnUrl.getVersion()
+ MavenConstants.SNAPSHOT, parseMvnUrl.getType(), parseMvnUrl.getClassifier());
@@ -219,6 +222,9 @@ public class MavenUrlHelper {
if (parseMvnUrl == null) {
return null;
}
if (!MavenConstants.DEFAULT_LIB_GROUP_ID.equals(parseMvnUrl.getGroupId())) {
return snapshotMvnuri; // snapshot url same as maven url
}
String snapshotVerstion = parseMvnUrl.getVersion();
String verstion = snapshotVerstion.substring(0, snapshotVerstion.indexOf(MavenConstants.SNAPSHOT));
return generateMvnUrl(parseMvnUrl.getGroupId(), parseMvnUrl.getArtifactId(), verstion, parseMvnUrl.getType(),

View File

@@ -0,0 +1,182 @@
// ============================================================================
//
// Copyright (C) 2006-2015 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt
//
// You should have received a copy of the agreement
// along with this program; if not, write to Talend SA
// 9 rue Pages 92150 Suresnes, France
//
// ============================================================================
package org.talend.core.runtime.services;
import java.io.InputStream;
import java.util.List;
import java.util.Set;
import org.talend.components.api.component.ComponentDefinition;
import org.talend.components.api.component.ComponentImageType;
import org.talend.components.api.properties.ComponentProperties;
import org.talend.components.api.service.ComponentService;
import org.talend.components.api.wizard.ComponentWizard;
import org.talend.components.api.wizard.ComponentWizardDefinition;
import org.talend.components.api.wizard.WizardImageType;
import org.talend.daikon.properties.PropertyValueEvaluator;
import org.talend.daikon.properties.service.Repository;
/**
* created by ycbai on 2016年2月4日 Detailled comment
*
*/
public class ComponentServiceWithValueEvaluator implements ComponentService {
private ComponentService service;
private PropertyValueEvaluator valueEvaluator;
public ComponentServiceWithValueEvaluator(ComponentService service, PropertyValueEvaluator valueEvaluator) {
this.service = service;
this.valueEvaluator = valueEvaluator;
}
@Override
public String storeProperties(ComponentProperties properties, String name, String repositoryLocation,
String schemaPropertyName) {
return service.storeProperties(properties, name, repositoryLocation, schemaPropertyName);
}
@Override
public ComponentProperties afterFormBack(String formName, ComponentProperties properties) throws Throwable {
properties.setValueEvaluator(valueEvaluator);
return service.afterFormBack(formName, properties);
}
@Override
public ComponentProperties afterFormFinish(String formName, ComponentProperties properties) throws Throwable {
properties.setValueEvaluator(valueEvaluator);
return service.afterFormFinish(formName, properties);
}
@Override
public ComponentProperties afterFormNext(String formName, ComponentProperties properties) throws Throwable {
properties.setValueEvaluator(valueEvaluator);
return service.afterFormNext(formName, properties);
}
@Override
public ComponentProperties afterProperty(String propName, ComponentProperties properties) throws Throwable {
properties.setValueEvaluator(valueEvaluator);
return service.afterProperty(propName, properties);
}
@Override
public ComponentProperties beforeFormPresent(String formName, ComponentProperties properties) throws Throwable {
properties.setValueEvaluator(valueEvaluator);
return service.beforeFormPresent(formName, properties);
}
@Override
public ComponentProperties beforePropertyActivate(String propName, ComponentProperties properties) throws Throwable {
properties.setValueEvaluator(valueEvaluator);
return service.beforePropertyActivate(propName, properties);
}
@Override
public ComponentProperties beforePropertyPresent(String propName, ComponentProperties properties) throws Throwable {
properties.setValueEvaluator(valueEvaluator);
return service.beforePropertyPresent(propName, properties);
}
@Override
public Set<String> getAllComponentNames() {
return service.getAllComponentNames();
}
@Override
public Set<ComponentDefinition> getAllComponents() {
return service.getAllComponents();
}
@Override
public ComponentDefinition getComponentDefinition(String name) {
return service.getComponentDefinition(name);
}
@Override
public InputStream getComponentPngImage(String componentName, ComponentImageType imageType) {
return service.getComponentPngImage(componentName, imageType);
}
@Override
public ComponentProperties getComponentProperties(String name) {
return service.getComponentProperties(name);
}
@Override
public ComponentWizard getComponentWizard(String name, String location) {
return service.getComponentWizard(name, location);
}
@Override
public List<ComponentWizard> getComponentWizardsForProperties(ComponentProperties properties, String location) {
return service.getComponentWizardsForProperties(properties, location);
}
@Override
public Set<String> getMavenUriDependencies(String componentName) {
return service.getMavenUriDependencies(componentName);
}
@Override
public List<ComponentDefinition> getPossibleComponents(ComponentProperties... properties) throws Throwable {
return service.getPossibleComponents(properties);
}
@Override
public Set<ComponentWizardDefinition> getTopLevelComponentWizards() {
return service.getTopLevelComponentWizards();
}
@Override
public InputStream getWizardPngImage(String wizardName, WizardImageType imageType) {
return service.getWizardPngImage(wizardName, imageType);
}
@Override
public ComponentProperties makeFormCancelable(ComponentProperties properties, String formName) {
return service.makeFormCancelable(properties, formName);
}
@Override
public void setRepository(Repository repository) {
service.setRepository(repository);
}
@Override
public ComponentProperties validateProperty(String propName, ComponentProperties properties) throws Throwable {
properties.setValueEvaluator(valueEvaluator);
return service.validateProperty(propName, properties);
}
@Deprecated
public ComponentProperties commitFormValues(ComponentProperties properties, String formName) {
// to delete
return null;
}
/*
* (non-Javadoc)
*
* @see
* org.talend.daikon.properties.service.PropertiesService#cancelFormValues(org.talend.daikon.properties.Properties,
* java.lang.String)
*/
@Override
public ComponentProperties cancelFormValues(ComponentProperties arg0, String arg1) {
// to implement
return null;
}
}

View File

@@ -17,9 +17,13 @@ import java.util.List;
import org.eclipse.ui.IEditorPart;
import org.talend.commons.ui.runtime.image.IImage;
import org.talend.core.IService;
import org.talend.core.model.components.IComponentsHandler;
import org.talend.core.model.general.Project;
import org.talend.core.model.process.INode;
import org.talend.core.model.process.IProcess2;
import org.talend.core.model.properties.Item;
import org.talend.core.model.properties.ProcessItem;
import org.talend.core.model.repository.IRepositoryEditorInput;
import org.talend.core.model.repository.IRepositoryViewObject;
import org.talend.repository.model.IRepositoryNode;
import org.talend.repository.model.nodes.IProjectRepositoryNode;
@@ -51,4 +55,13 @@ public interface IStormProcessService extends IService {
public IImage getStormWizardIcon(String framework);
public IComponentsHandler getSparkStreamingComponentsHandler();
public boolean isSparkStreaming(Item item);
public IRepositoryEditorInput createTestCaseStormProcessEditorInput(ProcessItem processItem, boolean load,
String originalJobID, List<INode> testNodes, Boolean lastVersion, Boolean readonly);
public IProcess2 createBigdataProcess(Item item);
}

View File

@@ -22,4 +22,6 @@ import org.talend.core.model.properties.Item;
public interface ITestContainerCoreService extends IService {
public boolean isSpark(Item item);
public boolean isSparkStreaming(Item item);
}

View File

@@ -31,8 +31,6 @@ public interface IBrandingConfiguration extends IActionBarHelper {
public static final String PERSPECTIVE_MDM_ID = ProductUtils.PERSPECTIVE_MDM_ID;
public static final String PERSPECTIVE_CAMEL_ID = ProductUtils.PERSPECTIVE_CAMEL_ID;
/**
*
* init perspective.

View File

@@ -26,8 +26,6 @@ public final class ProductUtils {
*/
public static final String PERSPECTIVE_DI_ID = "org.talend.rcp.perspective"; //$NON-NLS-1$
public static final String PERSPECTIVE_CAMEL_ID = "org.talend.camel.perspective"; //$NON-NLS-1$
public static final String PERSPECTIVE_DQ_ID = "org.talend.dataprofiler.DataProfilingPerspective"; //$NON-NLS-1$
public static final String PERSPECTIVE_MDM_ID = "org.talend.mdm.perspective"; //$NON-NLS-1$
@@ -54,7 +52,6 @@ public final class ProductUtils {
static {
productPerspectiveMap.put(PROD_DI, PERSPECTIVE_DI_ID);
productPerspectiveMap.put(PROD_DQ, PERSPECTIVE_DQ_ID);
productPerspectiveMap.put(PROD_CAMEL, PERSPECTIVE_CAMEL_ID);
productPerspectiveMap.put(PROD_MDM, PERSPECTIVE_MDM_ID);
productPerspectiveMap.put(PROD_MAPPING, PERSPECTIVE_MAPPING_ID);
}

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