aboutsummaryrefslogtreecommitdiffstats
path: root/sdc-workflow-designer-server
AgeCommit message (Collapse)AuthorFilesLines
2018-06-06Align workflow studio to Activity SpecPriyanshu11-25/+283
SDC-WF: Align Workflow studio implementation with Activity Spec implementation in SDC Change-Id: I83fbf51a6399459c0e99c11f150616ceca69111a Issue-ID: SDC-1402 Signed-off-by: priyanshu <pagarwal@amdocs.com>
2018-04-25Update dropwizardYuanHu1-1/+1
Update dropwizard from 1.2.2 to 1.3.0 for Nexus IQ reason Issue-ID: SDC-805 Change-Id: I1b4c98510b6251ab5e7f6eb72169396b2d7ac0d8 Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
2018-04-18Update jackson-databindYuanHu1-0/+14
Update jackson-databind from 2.9.1 to 2.9.2 for Nexus IQ reason Issue-ID: SDC-805 Change-Id: Iaff08facb6a933b79ac868a0b2374f202e78bfed Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
2018-04-18Update hibernate-validatorYuanHu4-29/+28
Update hibernate-validator from 5.4.1.Final to 5.4.2.Final for Nexus IQ reason Issue-ID: SDC-805 Change-Id: I3da581f303cd4fe10b2b30944239df416f74c9a2 Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
2018-04-17commons-collections from 3.2.1 to 3.2.2YuanHu1-0/+13
Update commons-collections from 3.2.1 to 3.2.2 for Nexus IQ reason Issue-ID: SDC-805 Change-Id: I317a522747d112b70cda8486b41fe14a89274c49 Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
2018-04-17Exclude jackson-dataformat-xmlYuanHu1-0/+6
Exclude com.fasterxml.jackson.dataformat: jackson-dataformat-xml from dependencies Issue-ID: SDC-805 Change-Id: Ibf636bcd3d340064fa754b51873e71dba403fc63 Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
2018-04-17Fixed Nexus IQ IssueYuanHu1-0/+6
exclusion com.eclipsesource.jaxrs: jersey-all from dependencies Issue-ID: SDC-805 Change-Id: Ia294660064d85b6a01338d41507765547b32a290 Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
2018-04-17Not Serialize the Null FieldsYuanHu2-0/+7
Not Serialize the Null Fields, like 'clazz' to script task, 'script format'/'script' to service task. Issue-ID: SDC-1236 Change-Id: I50ea943a3863c1164d9eede33768d0433d662b2b Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
2018-04-17Json Serialize 'clazz' to 'class'YuanHu7-42/+29
Add @JsonProperty(value="class") to field 'clazz' to indicate the Json Serialize name. Issue-ID: SDC-1235 Change-Id: I21de7514a9d6c8f7227b25d8c8c9ecf4e9c35171 Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
2018-04-12Fixed Error in Retrieving Data From SDCYuanHu9-77/+299
Retrieve extend activities from sdc Retrieve bpmn artifact from sdc Issue-ID: SDC-1215 Change-Id: I9122237bddb2a95ec406bc762dab1d293e8825dd Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
2018-04-12Fix Nexus IQ issues.YuanHu5-14/+22
Change the 'velocity' plugin in order to fix some Nexus IQ issues. Code optimization Issue-ID: SDC-1211 Change-Id: I0c0f02a5e12330c73fc7d96dfed9c88f84f1083f Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
2018-04-12Add AdapterType.YuanHu6-6/+149
DEFAULT: retrive data from local. SDC: retrive data from sdc. Issue-ID: SDC-1212 Change-Id: I53d53f062cbe705738f2f4797621aee465e60fa4 Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
2018-03-29Add healthCheck.YuanHu1-0/+51
Add healthCheck. Issue-ID: SDC-1128 Change-Id: Id7b2fc7eb994dd26c2fcd75afe67370172cb4caa Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
2018-03-29Modify the year of licensesYuanHu3-3/+3
Modify the year of licenses Issue-ID: SDC-1079 Change-Id: I73c9b8497892ee2ccc896ad2b3dc7b707bda5138 Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
2018-03-28Add Unit Test & Remove redundant codeYuanHu5-122/+137
Add Unit Test & Remove redundant code Issue-ID: SDC-1078 Change-Id: I83ee83f3265386373749463c43dced047d4aa407 Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
2018-03-27Add Unit TestYuanHu28-6/+1418
Add Unit Test Issue-ID: SDC-1078 Change-Id: Ie61cfdc3865420da259260c98bc02dca8263c412 Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
2018-03-27Add Unit Test for FileCommonUtilsYuanHu2-1/+31
Add Unit Test for FileCommonUtils Issue-ID: SDC-1078 Change-Id: Ib58fd14cf996eeea3cb8af82eb0f831d9ee40d3f Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
2018-03-27Fix Nexus IQ Issue.YuanHu5-15/+22
Change org.apache.velocity's velocity to velocity's velocity Issue-ID: SDC-1127 Change-Id: I1667291e615b5121bff429a0c8cd11a33295ec98 Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
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>