aboutsummaryrefslogtreecommitdiffstats
path: root/sdc-workflow-designer-server
AgeCommit message (Collapse)AuthorFilesLines
2018-03-27Get Icon Data of Extend Activity.YuanHu4-2/+86
Get Icon Data of Extend Activity. Issue-ID: SDC-1129 Change-Id: I55e46068258e114cea1241285f1cab3e387a09f2 Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
2018-03-22Code Optimization.YuanHu5-15/+18
Code Optimization. Issue-ID: SDC-1079 Change-Id: I118775236dc981fb0ec5564b92d2ae963bda983e Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
2018-03-22Remove excess dependencies.YuanHu1-5/+0
Remove excess dependencies. Issue-ID: SDC-1079 Change-Id: If4dfd9845db5ec88d67f89e3e8431aac812729fe Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
2018-03-21Fixed the Issue Checked by Nexus IQ.YuanHu3-28/+27
Clean up excess dependencies Change the version of dependencies. Issue-ID: SDC-1127 Change-Id: I7b87eb22f44bf68bf052b57bd17c08c0f146d5cb Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
2018-03-21Service Proxy for Activity Spec.YuanHu3-13/+117
Call rest api to retrive activity specs. Issue-ID: SDC-1129 Change-Id: Iae2144c01bffe39cf2691d12b7916afcb77f8090 Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
2018-03-21Add Unit test.YuanHu6-2/+662
Add Unit test for WorkflowModelerResource. Issue-ID: SDC-1078 Change-Id: I5701f268a1bb187e765822dd8483c3766602becd Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
2018-03-21Insert Json to BPMN.YuanHu2-4/+46
Insert Json to BPMN. Issue-ID: SDC-1004 Change-Id: Iaa72cb5c44b1846bcfc2124c371f0a8433cd7ce1 Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
2018-03-21Sava Workflow Artifact to SDCYuanHu2-14/+29
Sava Workflow Artifact to SDC Issue-ID: SDC-1004 Change-Id: Ifab77db0d3b739304c0eff283aef3d382f6bf4bb Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
2018-03-21Entity Class for WorkflowYuanHu1-0/+133
Define entity class for workflow Issue-ID: SDC-1004 Change-Id: I4d3b30951e6f0eef3e66651615c9dac238c22e92 Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
2018-03-21Refactor.YuanHu2-11/+10
Code Optimization Issue-ID: SDC-1079 Change-Id: I8e44498a762ab9072861b0258765efe8eb0ad9fe Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
2018-03-21JsonUtils for JSON format.YuanHu5-9/+122
JsonUtils for JSON format. Issue-ID: SDC-1079 Change-Id: I8879652751a0c0ae9d2597e33997fc32a9baa816 Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
2018-03-21Entity Class for Display Information.YuanHu4-4/+151
Entity Class for Display Information. Issue-ID: SDC-1129 Change-Id: I8b9a895b068de1537c9c0320be26e4a3fe641ac0 Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
2018-03-20Modify Logger InformationYuanHu1-4/+4
Modify Logger Information. Issue-ID: SDC-1079 Change-Id: I2a0f43bf41e21e8d094da079d8935fef9a768e1f Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
2018-03-20Extract Constant & Method.YuanHu1-5/+17
Extract Constant & Method. Issue-ID: SDC-1079 Change-Id: I3d2d310eae2f3eb82bf6540b4beee5d7924da48e Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
2018-03-20Refactor.YuanHu1-7/+19
Extract Method. Issue-ID: SDC-1079 Change-Id: I77dafb1acf0fdd1f8a94aaa2492d2d458d1dbb22 Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
2018-03-20Code Optimization.YuanHu5-32/+32
Change config item 'msbServerAddr' to 'serviceAddr'. Issue-ID: SDC-1079 Change-Id: I18275728ade2bc7016ea661b70a55f5550546ee7 Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
2018-03-20Parsing extend activities from file.YuanHu1-8/+16
Parsing extend activities from json file. Issue-ID: SDC-1129 Change-Id: Ideb7c473d17c2d533676fcc44bdefba183d34a9f Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
2018-03-19Entity Class for Activity Spec.YuanHu8-0/+795
Definede entity class for activity specification extend. Issue-ID: SDC-1129 Change-Id: I37d7c77f99002e8e4e1bd754a72d9c2f7b51aae6 Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
2018-03-19Save Workflow Artifact to SDC.YuanHu9-2/+394
Get SDC Serive Proxy Information from conf file. Call rest api to save workflow artifact to SDC Issue-ID: SDC-1004 Change-Id: I620674def79bdfb9fd71aebc96d0774bc7dfddd8 Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
2018-03-16Get msbServerAddr from config file.YuanHu3-2/+52
Get msbServerAddr from application config file. Issue-ID: SDC-1128 Change-Id: Id260f8f94598ec3f3e4824b4c5e1a085d9a248fd Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
2018-03-16Get bpmn artifact from BE.YuanHu1-2/+1
Get bpmn artifact from BE. Issue-ID: SDC-1128 Change-Id: I33550c43f330f9fdaf6750ad4f4eefea0bebbdfd Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
2018-03-16Generate bpmn for extend activitiesYuanHu24-255/+342
Modify BPMN Convertor to support conversion of extend activities. Change copyright year from 2017 to 2017-2018 Issue-ID: SDC-679 Change-Id: I835fee3901302d53a948e50d2c2a03736f524e4b Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
2018-03-14Clean up Redundant CodeYuanHu4-624/+159
Clean up Redundant Code and Add Code Optimization. Issue-ID: SDC-1078 Change-Id: Ic6d03acf811df443c02df1753ea95aa4bf36da62 Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
2018-03-14Remove lombok to fix license issues.YuanHu2-19/+32
Remove lombok to fix license issues cheched by Nexus IQ Server. Issue-ID: SDC-1127 Change-Id: I1a15d695e95e7a2c30fb4febdd3fea6ce95e768c Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
2018-03-12Add Unit Test code.YuanHu1-0/+49
Add Unit Test code. Issue-ID: SDC-1078 Change-Id: I5166090d0f819fc8c97dfb19e1d095f5d1a92364 Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
2018-03-08Fixed the bugs checked by sonar.YuanHu6-8/+8
Add keyword 'final' to the public static member variables of classes. Issue-ID: SDC-1079 Change-Id: If1e68e4fa5e5709c0a42095bceb7ab3bf97143ac Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
2018-03-08Fixed the bugs checked by sonar.YuanHu1-0/+5
Add null pointer detected and protected. Issue-ID: SDC-1079 Change-Id: I39c5280746d8ca2b476cbe27520d34370cb9075b Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
2018-03-07Close the 'DirectoryStream' after its be used.YuanHu1-6/+21
Close the 'DirectoryStream' after its be used. Issue-ID: SDC-1080 Change-Id: Ic907bc58df838b9ed0fe24b1f943f259b08c3a08 Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
2018-03-07Unit Test for 'FileCommonUtils'.YuanHu1-3/+24
Test method for FileCommonUtils#readString(String) Issue-ID: SDC-1078 Change-Id: Ifffe7105b235fda932e1a39b40cafce7d371255f Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
2018-02-13Integrate UI Resources into dropwizard.YuanHu1-0/+3
Use AssetsBundle to integrate UI resources into dropwizard. Issue-ID: SDC-408 Change-Id: I987de3683c8d9beabf3e947cd3b830072f3c95cd Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
2018-02-07Provide the rest api of saving workflow data.YuanHu4-14/+173
Save temporary files to local. Issue-ID: SDC-1004 Change-Id: I09f52cdf4ff39e103b7f75041e070c4148b23e07 Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
2018-02-06Build up the api-doc for rest apisYuanHu37-0/+12796
Import swagger UI resource files to build up the rest api document. Issue-ID: SDC-1002 Change-Id: I2676211bb6227d343db18486f4be3d1709561f6b Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
2018-02-05Update Dropwizard to 1.2.3 versionYuanHu1-1/+1
Update Dropwizard to the Latest Version (1.2.3) for some security strategy. Issue-ID: SDC-987 Change-Id: I9c02b449230c613f630fe6ee79aa20cdb4c8a47e Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
2018-02-05implement class for the Rest APIs.YuanHu3-4/+209
Provide implement Service Resource Classes for the Rest APIs. Issue-ID: SDC-997 Change-Id: If94f3835e69e12455380fa10513118a6e11575c5 Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
2018-02-05Importing Some Tool Class.YuanHu4-0/+785
Importing tool class for common use. Issue-ID: SDC-981 Change-Id: Ic5c9f3f0c4944c55afb74d940d10f6b5024b6405 Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
2018-02-02Setup Micro-Service for WF Designer SDC AdapterYuanHu3-20/+268
Use the dropwizard application develop framework to setup the mirco-service for the WF Designer SDC Adapter Issue-ID: SDC-981 Change-Id: Icaf39c08d7bf537c65c15fb8a4f3f0668eb6e0da Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
2018-02-02Format file contentYuanHu1-0/+2
File formatting Issue-ID: SDC-909 Change-Id: I5b97a63e76f4b5bb305ba21c521e7ae012eaf3c3 Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
2018-01-12Fix the failure of Unit Test.YuanHu1-1/+2
Update the test data file 'template-test.bpmn20.xml' . Issue-ID: SDC-909 Change-Id: I96db1b7e7dbdf9d79c341cc88c31f8d34d4b83b5 Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
2017-12-14code formatLvbo16310-28/+45
code format for workflow converter Issue-ID: SDC-753 Change-Id: If1a128265c263761d0fa5030c0a96a74912a3a6a Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2017-12-12converter supports error elementLvbo1635-0/+72
Converter support bpmn error elements(error start/end event) Issue-ID: SDC-746 Change-Id: Ie29614ea066c06aa34152570ff75bf864ea2f90e Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2017-12-11converter supports rest service taskLvbo1634-0/+187
converter supports extended bpmn element rest service task. Issue-ID: SDC-747 Change-Id: Id468269bfc7eab3ed57a7da6d1d2e58043fa088c Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2017-12-11Converter support service taskLvbo1633-0/+44
Workflow converter support service task element of BPMN. Issue-ID: SDC-745 Change-Id: Ic4e4e839a97e35c8c9300862419153d389dba34d Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2017-12-08support bpmn gateway elementsLvbo1635-0/+44
Converter supports bpmn gateway elements(ParallelGateway, ExclusiveGateway). Issue-ID: SDC-742 Change-Id: Id7906e0744b299f82053945254e339efe8d27ccb Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2017-12-08Add support for script taskLvbo1633-0/+40
Add support for bpmn script task. Issue-ID: SDC-741 Change-Id: I6520c4236071ca87f7508250d23e6679df5cf357 Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2017-12-08Support IntermediateCatchEventLvbo1634-0/+87
Add support for BPMN IntermediateCatchEvent Issue-ID: SDC-740 Change-Id: Ib8abda18dfc146fffcf5edb396554f6efc106c61 Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2017-12-07Add sequence flow xml templateLvbo1631-0/+5
Workflow convert support sequence flow, add xml template Issue-ID: SDC-418 Change-Id: I54b850a42d85ae6103a11a4a85275efe6f954743 Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2017-11-16Change workflow release versionv1.0.01.0.0-ONAP1.0.0-AmsterdamLvbo1631-2/+2
Issue-ID: SDC-663 Change-Id: I879c746924c848cfe138ccf6b5807817202cbf49 Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2017-09-28Add data object templateLvbo1633-1/+13
Issue-ID: SDC-417 Change-Id: Ibaa0ec9d716b656eedbe050478bd3e7572baf3e6 Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2017-09-28support BPMN data object as default valueLvbo1633-4/+77
Issue-ID: SDC-416 Change-Id: I128870ef03d2ec35c97347b0c8a9d8f191fe158a Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2017-09-28Add unit test for JSON object convertLvbo1632-3/+139
Issue-ID: SDC-415 Change-Id: Ia616d008d863a39429fd5d78451a5edba81f5f3d Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>