aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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-21Rename model.json to temp_workflow.jsonYuanHu1-1/+1
Rename model.json to temp_workflow.json Issue-ID: SDC-1079 Change-Id: I0029dff00d7a6c06827d214f88416e654f928e23 Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
2018-03-21Sava Workflow Artifact to SDCYuanHu3-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.YuanHu6-34/+33
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.YuanHu10-2/+398
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.YuanHu4-2/+54
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'.YuanHu2-58/+123
Test method for FileCommonUtils#readString(String) Issue-ID: SDC-1078 Change-Id: Ifffe7105b235fda932e1a39b40cafce7d371255f Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
2018-02-26Provide sample data for WF Designer AdapterYuanHu3-0/+506
sample of serviceTask. sample of scriptTask. sample of workflow. Issue-ID: SDC-1038 Change-Id: Iedd4391472b65aa7df444ce8427096eab1130eff Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
2018-02-13Add run.sh for starting the micro-serviceYuanHu1-0/+31
Add shell script (run.sh) for starting the micro-service Issue-ID: SDC-408 Change-Id: Ieb2aee701c82be5a3f7986e72eda8f7505e30997 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-13Setup and Publish Backend Service.YuanHu12-243/+296
Setup backend service with dropwizard application framework. Integrate backend with frontend to one micro-service. Issue-ID: SDC-408 Change-Id: Ia6949302ee7c7ad6a4ce31e263f6a38183adfee3 Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
2018-02-12Modify WF Designer's Url Prefix.YuanHu1-1/+1
Moddify the base url of workflow designer from '/' to '/workflow-modeler', in order to integrate with SDC. Issue-ID: SDC-1012 Change-Id: Ia3059055caa2cc2cd25fe92a467649a9de245d67 Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
2018-02-09Organized FE Resources in a jar.YuanHu2-6/+16
Package FE Resources and output a jar for Integration with Server. Issue-ID: SDC-1011 Change-Id: Ief938117ebe23466849f9643d9217a10a8e95160 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-12Merge "Fix the failure of Unit Test."HuabingZhao1-1/+2
2018-01-12change file encodingLvbo16346-2949/+2985
change pc to unix Issue-ID: SDC-910 Change-Id: I3fde01a1b8c8daa4ea34622f369fb2e04b59b47f Signed-off-by: Lvbo163 <lv.bo163@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>
2018-01-11add backend serviceLvbo16352-621/+1035
add data access interfaces for template data Issue-ID: SDC-905 Change-Id: Ie632b00dbc6ede01b0ee8a3c7abdbbc1f476f1e4 Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2018-01-11support exclusive-gatewayLvbo16326-493/+477
add exclusive gateway definition Issue-ID: SDC-902 Change-Id: Id7ff89d30735fa16169c2a78b743e1565eb90410 Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2018-01-11add internationalizationLvbo16318-144/+480
add i18n for internationalization Issue-ID: SDC-901 Change-Id: I2784194b0fbf1f1b3de9dd03feb33d03ba495e15 Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2018-01-11adjust folderLvbo16318-32/+46
change fold menu to menus Issue-ID: SDC-900 Change-Id: Ifce180badf4f468a3291b118bfd4f631483541ec Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
2018-01-11unpdate microservice config infoLvbo1634-18/+46
add id for microservice config info Issue-ID: SDC-899 Change-Id: I2cc2543458aea11603fd70ca95b25581ecd87a50 Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>