aboutsummaryrefslogtreecommitdiffstats
path: root/sdc-workflow-designer-server
AgeCommit message (Collapse)AuthorFilesLines
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>
2017-09-28add start and end event templateLvbo1634-0/+19
Add bpmn element start and end event template-test.bpmn20.xml Issue-ID: SDC-414 Change-Id: I9fd2d610f7a4f21a0f88c3842a4c44f0e7762c7f Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2017-09-28extract json object keys to static variableLvbo1632-6/+38
Issue-ID: SDC-413 Change-Id: Iaa4d823523448c6544b17865e235637250cd7668 Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2017-09-28fix file already exist errorLvbo1631-1/+1
Issue-ID: SDC-412 Change-Id: I9719f5cb893d2cd0693e46a8598147d7b3c2b8d2 Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2017-09-27add unit test for bpmn workflow template convertLvbo1632-0/+70
Issue-ID: SDC-409 Change-Id: I7a7b09c9d9f07b580a9bd6be158bdf606a77717f Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2017-09-27Change license header for check style errorLvbo16313-240/+271
Issue-ID: SDC-406 Change-Id: Icfa0177c63104d24b3520527c2c50ec4499206c4 Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2017-09-27Add unit test for bpmn workflow converterLvbo1632-0/+56
Issue-ID: SDC-404 Change-Id: Ie6f897f06b0e759992d3ba6e65c719a84a40f143 Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2017-09-27Integrate json object convert and template convertLvbo1631-1/+11
Issue-ID: SDC-405 Change-Id: Idf03ac5064805c2ac9b1df5b4e51bd6b59161f9b Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2017-09-27Add unit test for configLvbo1633-0/+46
Issue-ID: SDC-403 Change-Id: I5acdc670e274631225608899f24349bd037e5067 Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2017-09-26Write data to workflow templateLvbo1633-0/+82
Issue-ID: SDC-398 Change-Id: Ia5cec2af1f9f2018b42933d48628a42fbefb29b5 Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2017-09-26support input parameters for start eventLvbo1632-0/+114
Issue-ID: SDC-397 Change-Id: I10379069e7c829d38b87819c922404829eccb1bd Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2017-09-26Support start and end eventLvbo1633-2/+49
Support convert start and end event json object Issue-ID: SDC-396 Change-Id: I70d55908b0bd95f38e90a9bdda0a748cdcd3b08e Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2017-09-26support sequence flow convertLvbo1631-0/+32
Issue-ID: SDC-395 Change-Id: Ibd28a640cceade20b3115f097778355fd5d5ac54 Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2017-09-25Support convert json object to Java BPMN objectLvbo1631-0/+71
Issue-ID: SDC-367 Change-Id: I69d3932536fb46c52cc5f4b53e59776fc9977d27 Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2017-09-25Add BPMN sequence flow definitionLvbo1633-9/+103
Issue-ID: SDC-391 Change-Id: I152a0f8da85d04e3b594dfae71bd99ac1dbf1276 Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2017-09-25Add basic BPMN element definitionLvbo1632-0/+111
Issue-ID: SDC-387 Change-Id: Ic0ffc8db222d30d7f02776eedc543536711bd55f Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2017-09-25add license header for config classLvbo1631-0/+11
config class missing licence header Issue-ID: SDC-386 Change-Id: Iffa3b63827183ddf089c530ce28b4ffcd269c600 Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2017-09-25Convert workflow json fileLvbo1632-14/+70
Convert from json file to standard bpmn file Issue-ID: SDC-366 Change-Id: I0fc021d9779b5ebd6650a95b21e376e6affcd8d1 Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2017-09-22Support load config propertiesLvbo1632-10/+61
Issue-ID: SDC-365 Change-Id: I2720c3fb47c9ab868518f3779c89b768ab0b92a3 Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2017-09-22workflow designer back end init codeLvbo1631-0/+35
Issue-ID: SDC-364 Change-Id: I4123ca4987c92aea746270bc6f4445b14843bc0e Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>