summaryrefslogtreecommitdiffstats
path: root/workflow-designer-be/src/test
AgeCommit message (Collapse)AuthorFilesLines
2018-10-14Unit Test coverageayalaben3-12/+165
Change-Id: Icc8453823906f89603862ad60a8dd3273936ebce Issue-ID: SDC-1822 Signed-off-by: ayalaben <ayala.benzvi@amdocs.com>
2018-10-03Removing controllers tests printingsavigaffa2-19/+19
Removing controllers tests printings Change-Id: I753922f9db225122eb4bca96b64e2598001a5ba0 Issue-ID: SDC-1813 Signed-off-by: avigaffa <avi.gaffa@amdocs.com>
2018-10-03Logback configuration for unit-testsvempo1-0/+13
Change-Id: I53e4c8c405c0505d9893b978f86c315be04d82e3 Issue-ID: SDC-1813 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-10-02Fix exception throwing violation detected by sonartalig2-4/+13
Change-Id: Iec96dbece79674741887dc39787e9e5520517836 Issue-ID: SDC-1806 Signed-off-by: talig <talig@amdocs.com>
2018-10-02Merge "Configurable name validation"Oren Kleks2-1/+119
2018-09-27Configurable name validationayalaben2-1/+119
Change-Id: Ifc4a25de21e16ae1e93287554e46cfeaef3c91c3 Issue-ID: SDC-1768 Signed-off-by: ayalaben <ayala.benzvi@amdocs.com>
2018-09-26Add version request/response DTOs.talig3-71/+69
In order to prevent duplicate key error when updating input/output parameters - hide their internal Ids. Change-Id: I9bd23cb0b6559a94e32c5c7d75f3e0135822bcb1 Issue-ID: SDC-1793 Signed-off-by: talig <talig@amdocs.com>
2018-09-13Fix USER_ID not shown in swaggeravigaffa1-0/+81
Fix USER_ID not shown in swagger after centralized USER_ID header Change-Id: I8e16562ec9e182b1332d3f5a25a9f1d6622c427c Issue-ID: SDC-1670 Signed-off-by: avigaffa <avi.gaffa@amdocs.com>
2018-09-03Merge "Associate Artifact Test"Oren Kleks1-6/+4
2018-09-02Cenralized handling of USER_ID headervempo2-9/+105
Minor code style and spelling fixes. Change-Id: I07495a08d3c02276806c9043ed7dbf81ed1a9394 Issue-ID: SDC-1670 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-09-02Associate Artifact Testayalaben1-6/+4
Change-Id: I263865dc628876823d1bdba36a130c1445399e96 Issue-ID: SDC-1535 Signed-off-by: ayalaben <ayala.benzvi@amdocs.com>
2018-08-30Associate Artifact Testayalaben2-0/+130
Change-Id: Ia45b1b1123a76b5642dda64a7bd75a31065de027 Issue-ID: SDC-1535 Signed-off-by: ayalaben <ayala.benzvi@amdocs.com>
2018-08-22Search Workflow by nameayalaben2-27/+29
Change-Id: Ib45a028638293052865039a1f7bd6bf8b48e8e36 Issue-ID: SDC-1662 Signed-off-by: ayalaben <ayala.benzvi@amdocs.com>
2018-08-20Workflow name validation testayalaben1-6/+25
Change-Id: Ib1601649fdea065b8a3d43b39342fa6c01c58f91 Issue-ID: SDC-1654 Signed-off-by: ayalaben <ayala.benzvi@amdocs.com>
2018-08-16Workflow name validationayalaben1-0/+30
Change-Id: I6ff7175b84f32deb5e66ce9a3597bb2e32c12e70 Issue-ID: SDC-1654 Signed-off-by: ayalaben <ayala.benzvi@amdocs.com>
2018-08-15Map unexpected error to responsetalig1-0/+54
Change-Id: I84293aa040b736670885f01d625862cf41e359d2 Issue-ID: SDC-1647 Signed-off-by: talig <talig@amdocs.com>
2018-08-12Add JsonUtil and use ittalig3-15/+13
Get rid of org.openecomp.core.utilities.json.JsonUtil Change-Id: I1dff97931dd76dde80c383baca9ff9e28e23d8ad Issue-ID: SDC-1606 Signed-off-by: talig <talig@amdocs.com>
2018-08-09Add activity spec codetalig15-91/+740
Move code from sdc repository and: 1. place according to this project structure 2. refactor DTOs and use mapstruct 3. change errorResponse to be a json instead of a string (for all workflow code) Change-Id: Ia85590b53ab59ff7600e05b8a6d52e06b1773220 Issue-ID: SDC-1606 Signed-off-by: talig <talig@amdocs.com>
2018-08-07Add validator duplicate IO nameavigaffa3-96/+117
fixes comments of patch set 1 Change-Id: I44bbbfd8f992871880f2efe26c08393879fcff77 Issue-ID: SDC-1518 Signed-off-by: avigaffa <avi.gaffa@amdocs.com>
2018-08-05Workflow version validatorayalaben2-2/+80
Change-Id: I8d3b86ecc03b6b5c36dc0f5c815962561fadbb68 Issue-ID: SDC-1518 Signed-off-by: ayalaben <ayala.benzvi@amdocs.com>
2018-08-05Refactor and add test flowstalig1-1/+1
Small fix in version state filter Change-Id: I015cbc52b8620b92ebb4f8f0167711e39d9d30a8 Issue-ID: SDC-1503 Signed-off-by: talig <talig@amdocs.com>
2018-08-02Refactor paging and sorting unit teststalig6-162/+414
Change-Id: I6c6b1e40d0069b78ef4180b719dbc8107732982d Issue-ID: SDC-1483 Signed-off-by: talig <talig@amdocs.com>
2018-08-01Validation additionsayalaben1-0/+3
Change-Id: I0e80789930b067dfe0c79d4cfb9d045509fb94f6 Issue-ID: SDC-1518 Signed-off-by: ayalaben <ayala.benzvi@amdocs.com>
2018-08-01Change paging and sorting of list workflows apitalig5-200/+153
Use offset+limit instead page+size. Issue-ID: SDC-1483 Change-Id: Ied1a05d08de82ac5474aad7ac6427afa5baf083f Signed-off-by: talig <talig@amdocs.com>
2018-07-31Publish version exception handlingayalaben1-0/+4
Change-Id: If4e172f40c7410c5fa90d5686733f4d995b98d17 Issue-ID: SDC-1518 Signed-off-by: ayalaben <ayala.benzvi@amdocs.com>
2018-07-26Validator init binder fixayalaben1-0/+12
Change-Id: I98ac7b42512a4f7b1323e29ed5059553479b24e0 Issue-ID: SDC-1518 Signed-off-by: ayalaben <ayala.benzvi@amdocs.com>
2018-07-25Replaced old implementation at rootvempo12-0/+1577
Old project files and directories has been moved under 'deprecated-workflow-designer'. The old project is not built by the CI anymore, but can be still built manually. New modules/directories have been moved up and integrated with the CI system. Change-Id: I1528c792bcbcce9e50bfc294a1328a20e72c91cf Issue-ID: SDC-1559 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-07-16Workflow Docker containerspriyanshu11-1010/+0
1. Implemented workflow init container. 2. Implemented workflow backend container. 3. Added a placeholder for frontend module container. 4. Modifiled directory structure and POM files. 5. Added a ReadMe with sample commands to detail how to run the containers. Change-Id: Ib110fcc104ce72ff28fce514a1475a032cc2d82b Issue-ID: SDC-1482 Signed-off-by: priyanshu <pagarwal@amdocs.com> Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com> Signed-off-by: priyanshu <pagarwal@amdocs.com>
2018-07-15Get and update workflow version statetalig7-203/+291
Remove redundant controller interfaces, rename WorkflowVersionStatus to State Change-Id: I8ddc9cd656fc8bed607c68aa326c7fa7d2980116 Issue-ID: SDC-1503 Signed-off-by: talig <talig@amdocs.com>
2018-07-11Use GLOBAL_USER as collaboration is not supportedtalig5-27/+21
Move mappers to be under impl package Change-Id: I139af13791f8bb06c1eed7076234924d5cbae34f Issue-ID: SDC-1396 Signed-off-by: talig <talig@amdocs.com>
2018-07-11Version Status Mapper Unit Testsayalaben2-0/+158
Change-Id: I0e68b74a56b6130e6f71cf78ef72b8aa24e87805 Issue-ID: SDC-1462 Signed-off-by: ayalaben <ayala.benzvi@amdocs.com>
2018-07-10Version Status Mapperayalaben1-4/+4
Change-Id: I4fe428aad7bc06d72a6c8b0c60ea08cadc30cae8 Issue-ID: SDC-1462 Signed-off-by: ayalaben <ayala.benzvi@amdocs.com>
2018-07-10Version Artifact APIayalaben4-27/+141
Change-Id: Iae2dace7d9b31a633e60c7eebcbc50ee3f6ac7d6 Issue-ID: SDC-1462 Signed-off-by: ayalaben <ayala.benzvi@amdocs.com>
2018-06-28Test refactorayalaben5-44/+66
Change-Id: I0aee9793e78bab802b99840b1c55b7b55d2dd587 Issue-ID: SDC-1445 Signed-off-by: ayalaben <ayala.benzvi@amdocs.com>
2018-06-27Service layer unit testsayalaben8-143/+256
Change-Id: Ia1c87e81feab7b918a7af52ee1f52914e253dc09 Issue-ID: SDC-1445 Signed-off-by: ayalaben <ayala.benzvi@amdocs.com>
2018-06-26workflow version APIayalaben3-0/+229
Change-Id: Iadbf5325091084b4feca386740d6655845904d88 Issue-ID: SDC-1445 Signed-off-by: ayalaben <ayala.benzvi@amdocs.com>
2018-06-21Fixed functionality of Workflow APIavigaffa2-2/+2
renaming Exceptions package to lower case Change-Id: Ib1395c15012d393be913d6588454b3b4b7c4b075 Issue-ID: SDC-1396 Signed-off-by: avigaffa <avi.gaffa@amdocs.com>
2018-06-21removing exclusion of testng from versioning-apiavigaffa1-0/+130
1. removing exclusion of testng from versioning-api 2. add WorkflowController unit tests Change-Id: I5f1fb6fabf2d634c504825d442bca2e71450a4d9 Issue-ID: SDC-1396 Signed-off-by: avigaffa <avi.gaffa@amdocs.com>
2018-06-18fix mapper unit testsavigaffa2-17/+4
Change-Id: Ibbc47fe2d59c1fa95ee2a0212ebe6c293f5bdfd2 Issue-ID: SDC-1396 Signed-off-by: avigaffa <avi.gaffa@amdocs.com>
2018-06-18add unit tests to UniqueValueServiceavigaffa2-0/+175
Change-Id: Ia4f2307971feb629220fdef66214d6be99c62750 Issue-ID: SDC-1396 Signed-off-by: avigaffa <avi.gaffa@amdocs.com>