aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be/src/test
AgeCommit message (Collapse)AuthorFilesLines
2019-03-30Heal Vertex Datashrek20004-65/+127
Enable healing of vertex information when reading it. Issue-ID: SDC-2213 Change-Id: I907beeb25bd231d9e05d3a5b8e070d6bdf9cb781 Signed-off-by: shrek2000 <orenkle@amdocs.com>
2019-03-18Service Consumption BEojasdubey10-36/+328
1. Service consumption feature backend implementation 2. Operation output bug fix for delete operation not allowed for mapped operation output Change-Id: Ib2554eed4f940b003955263a0c8bf795a23cac9a Issue-ID: SDC-1990 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2019-03-07Fix too many method parameterArindam Mondal1-0/+65
Implement builder to fix too many method parameter issue Issue-ID: SDC-2164 Change-Id: I6f071a7c704002ba523efca942ab51a00c0272ee Signed-off-by: Arindam Mondal <arind.mondal@samsung.com>
2019-03-04Add manifest non mano set supportkooper1-0/+0
Issue-ID: SDC-2141 Change-Id: I056e8f7c1da8f17ce8583207660882f85a4d11a4 Signed-off-by: kooper <sergey.sachkov@est.tech>
2019-03-04Requirement and capabilities featuremojahidi5-1/+1171
1. Enhance Service/VF/PNF to support Req & Cap 2. Added Type fetch APIs to fetch types from global types Change-Id: I2b749ec9da34e488421b8ebe311ccf03c4b7c0fd Issue-ID: SDC-2142 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2019-02-26Add unit testOren Kleks1-0/+63
Add dependent child service to service Issue-ID: SDC-1987 Change-Id: I0aa172db1aceb08f8246c1e79b255a63b03bd036 Signed-off-by: shrek2000 <orenkle@amdocs.com>
2019-02-20Add new testcases to the existing class.isaac.manuelraj1-1/+90
Added new testcases to improve the coverage. Issue-ID: SDC-1774 Change-Id: I08f18ca947891c596c32b867e444e72b56c9db39 Signed-off-by: isaac.manuelraj <isaac.manuelraj@huawei.com>
2019-02-18fix a typoLiang Ding1-1/+1
ALRADY --> ALREADY Signed-off-by: Liang Ding <liang.ding@intel.com> Issue-ID: SDC-2124 Change-Id: I6dc337b7b6b9229253107aca461bf32129601ed8
2019-02-07Add dependent child service to serviceshrek20005-0/+304
Add dependent child service to service Issue-ID: SDC-1987 Change-Id: I5a650f57a27587c4ce6f33059719060ffa1f13de Signed-off-by: shrek2000 <orenkle@amdocs.com>
2019-02-04Add property mapping feature to ONAPTalio7-165/+138
Add service property assignment Change-Id: I29748ce12bacab06b8bc27f8875b39d80ffe5af7 Issue-ID: SDC-1988 Signed-off-by: Talio <tali.orenbach@amdocs.com>
2019-01-31Operation Outputs - Operation screen BEojasdubey2-4/+54
1. Fixed bug in tosca generation for mapped outputs 2. Fixed issues in validation of modified mapped outputs and tosca generation 3. Unit tests Change-Id: I2cb9a55d58d8e9a8d2a4a064646d6ef7ec93e61f Issue-ID: SDC-2085 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2019-01-30Add dependent child service to serviceshrek20002-0/+463
Add dependent child service to service Issue-ID: SDC-1987 Change-Id: Ic542fe1bc13f2b77df9944f05421a42b4b21c437 Signed-off-by: shrek2000 <orenkle@amdocs.com>
2019-01-29Operation Outputs - Operation screen BEojasdubey5-244/+517
1. Added implementation for using operation outputs as mapping to input from create/update operation screen 2. Handled populating the mapped outputs to Tosca 3. Unit tests Change-Id: I3d4761b07be0d4e363ff84710e92438e694a3b07 Issue-ID: SDC-2085 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2019-01-14Interface operation feature enhancementspriyanshu9-670/+700
1. API restructuring to enhance model and provide more capabilities. 2. Allowed multiple interface creation under same resource/service. 3. Enhanced validations to align with updated model. 4. API restructuring to align UI model with Tosca model. 5. Enhanced Junit and code coverage. 6. Added BDD and CI-API tests. Change-Id: I2d8ac8a6154fd9be8254836ba0da1540210031c0 Issue-ID: SDC-1999 Signed-off-by: priyanshu <pagarwal@amdocs.com>
2019-01-10Add new test cases to GroupBusinessLogicTest.Michael Lando1-1/+94
Added new test cases on top of existing test cases. Issue-ID: SDC-1774 Change-Id: I7012d427c58d46e1d91f7f9e7994b131faa8bb10 Signed-off-by: isaac.manuelraj <isaac.manuelraj@huawei.com>
2019-01-08Add new test cases on existing test class.isaac.manuelraj1-0/+113
Added new test cases for more coverage on top of existing class. Issue-ID: SDC-1774 Change-Id: Ibbf33eb594e1cc4db6dc233bc89fc1f63ab3a1c2 Signed-off-by: isaac.manuelraj <isaac.manuelraj@huawei.com>
2018-12-27Revert "Interface operation feature enhancements"priyanshu8-493/+654
This reverts commit 01f825bc Change-Id: I9e41da46a410be335283a27758cb1e77a087046f Issue-ID: SDC-1999 Signed-off-by: priyanshu <pagarwal@amdocs.com>
2018-12-24Interface operation feature enhancementspriyanshu8-654/+493
1. API restructuring to enhance model and provide more capabilities. 2. Allowed multiple interface creation under same resource/service 3. Enhanced validations to align with updated model 4. API restructuring to align UI model with Tosca model 5. Enhanced Junit and code coverage. Change-Id: Ieb5a5d72bc752774f9d702c587efaa127e43bd24 Issue-ID: SDC-1999 Signed-off-by: priyanshu <pagarwal@amdocs.com>
2018-12-19API for get all interface lifecycle typesshrikantawachar1-1/+22
API for get all interface lifecycle types Change-Id: I64471c98ff9626ac53562a075a34f506c2e263ab Issue-ID: SDC-1999 Signed-off-by: shrikantawachar <shrikant.awachar@amdocs.com>
2018-12-02update sdc portal integrationTal Gitelman2-31/+47
Issue-ID: SDC-1749 Change-Id: Ia6a143bfc0a1511909bc83cb5ea1c1b3f8789b08 Signed-off-by: Tal Gitelman <tal.gitelman@att.com>
2018-11-29update sdc portal integrationTal Gitelman1-46/+1
Issue-ID: SDC-1749 Change-Id: Ic8162af62583dd5d1d81662ef555d2267514f107 Signed-off-by: Tal Gitelman <tal.gitelman@att.com>
2018-11-29update sdc portal integrationTal Gitelman2-0/+152
Issue-ID: SDC-1749 Change-Id: Ie306076357cb572402ac80b4be9eb9c5cfa960dd Signed-off-by: Tal Gitelman <tal.gitelman@att.com>
2018-11-29UT-InputsBusinessLogicSindhuri.A1-0/+29
UT for InputsBusinessLogic class Issue-ID: SDC-1775 Change-Id: Ia95f73af0af5e8abef883250c3b649b53a0cb4e9 Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2018-11-29Add new test cases for uncovered conditions.isaac.manuelraj2-11/+136
Added new test cases on top of existing test cases. Rebased it based on comment. Issue-ID: SDC-1774 Change-Id: I8d09c51cec2469049bde2ba8f77f597c6f418b7b Signed-off-by: isaac.manuelraj <isaac.manuelraj@huawei.com>
2018-11-23Service Workflow changessiddharth09053-29/+169
Service workflow change with few bug fixes Change-Id: Ice2376565bf46fb8d86fb6062654ec54bb2daa43 Issue-ID: SDC-1937 Signed-off-by: siddharth0905 <siddharth.singh4@amdocs.com>
2018-11-20Add new test cases for uncovered lines of code.isaac.manuelraj1-0/+297
Added new test cases to existing class. Issue-ID: SDC-1774 Change-Id: I23215529f9bd1aff144beb18f9e1f158f7d3153b Signed-off-by: isaac.manuelraj <isaac.manuelraj@huawei.com>
2018-11-20Add new test cases for the classisaac.manuelraj1-0/+52
Added new test cases for the class Issue-ID: SDC-1774 Change-Id: Idf51b3b44a92f7c0caf6ac44a67365ebaa6f7759 Signed-off-by: isaac.manuelraj <isaac.manuelraj@huawei.com>
2018-11-19Add new test cases for uncovered lines of code.isaac.manuelraj1-13/+387
Added new test cases on top of existing test class. Issue-ID: SDC-1774 Change-Id: I1fd38f14ef7fbfc6ddf478852c0dfd35a27607fa Signed-off-by: isaac.manuelraj <isaac.manuelraj@huawei.com>
2018-11-19UT-ElementBusinessLogic3Sindhuri.A1-6/+71
UT for catalog be ElementBusinessLogicTest class Issue-ID: SDC-1775 Change-Id: I73581cf34ef3f35880776f11cd17c5365876e1c9 Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2018-11-19UT-AdditionalInformationBusinessLogic2Sindhuri.A1-64/+67
Enhanced UT for catalog-be AdditionalInformationBusinessLogic class Issue-ID: SDC-1775 Change-Id: If342732eb21ce285fa0a9643a32463712759e448 Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2018-11-19UT-GroupBusinessLogic2Sindhuri.A1-3/+108
UT for catalog be GroupBusinessLogicTest class Issue-ID: SDC-1775 Change-Id: Ib0ce6ff0e0fa33787c6f3dc92003c794d3d0e991 Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2018-11-11UT-GroupBusinessLogicSindhuri.A1-745/+85
UT for catalog be GroupBusinessLogicTest class Issue-ID: SDC-1775 Change-Id: I59ae7cbfdf11ba7f1b94313c9c359bb5b19c56d5 Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2018-11-08Add new test cases.isaac.manuelraj1-0/+37
Added new test cases to the existing test cases. Issue-ID: SDC-1774 Change-Id: I7521aa2265153ef17b85e65b5c594fb660fb43c5 Signed-off-by: isaac.manuelraj <isaac.manuelraj@huawei.com>
2018-11-08UT-ElementBusinessLogic2Sindhuri.A1-0/+37
UT for catalog be ElementBusinessLogicTest class Issue-ID: SDC-1775 Change-Id: I3e28611e116415a62fbc536f3b2a20c97673d9aa Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2018-11-05UT-ElementBusinessLogicSindhuri.A1-0/+40
UT for catalog be ElementBusinessLogicTest class Issue-ID: SDC-1775 Change-Id: I627b7a349dc322da1bffa33e1e1af88bd6777cc9 Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2018-11-03Batch delete keyboard shorcut on canvasSindhuri.A2-16/+306
Keyboard Shortcut for batch delete (multiple select nodes and delete) on Composition page canvas Issue-ID: SDC-1734 Change-Id: I7de5d95a1ca6ea27cdd257b20bfdc1ed9b0ce102 Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2018-11-01Remove duplicate and unused Test ClassesSatyaki Mallick1-79/+0
Remove unused and duplicate Test Classes Issue-ID: SDC-1774 Change-Id: I29b9b04d017cfcf85ad670ffc5a549fd88177daf Signed-off-by: Satyaki Mallick <satyaki.mallick@huawei.com>
2018-10-29UT- CsarBusinessLogicSindhuri.A1-0/+93
Add UT for catalog-be CsarBusinessLogic class Issue-ID: SDC-1775 Change-Id: Ida10f287a963863aad7bad1015feb398e426d396 Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2018-10-27Documentation EnhancementSatyaki Mallick1-1/+17
Adding license information to the class. Issue-ID: SDC-1841 Change-Id: Ic24b36d22c0796ba8f742298797b75a86068e82c Signed-off-by: Satyaki Mallick <satyaki.mallick@huawei.com>
2018-10-27UT-AdditionalInformationBusinessLogicSindhuri.A1-14/+104
Enhanced UT for catalog-be AdditionalInformationBusinessLogic class createAdditionalInformation method Issue-ID: SDC-1775 Change-Id: Ia5c19633d3e76f35b45668902d1504136599c5ad Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2018-10-25UT-ArtifactsBL handleDeleteSindhuri.A1-9/+41
UT for catalog be ArtifactsBusinessLogic class handleDelete method Issue-ID: SDC-1775 Change-Id: I1ef9807208cca1dc7ad1d23c5096642ea35b072b Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2018-10-21Bugfix - VF workflow artifacts in service csarojasdubey4-200/+111
1. Added implementation for packing VF workflow artifacts to service csar 2. Updated the paths of workflow artifacts in VF csar as agreed 3. Updated the implementation to pack the artifact only once based on the artifact name Change-Id: I7ab22153e5a4877e6b727e0eb28831ac4e60894f Issue-ID: SDC-1845 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2018-10-16Single node copy paste keyboard shorcut on canvasSindhuri.A2-4/+256
Keyboard Shortcut copy paste for single node on Composition page canvas for services Issue-ID: SDC-1736 Change-Id: I669a728d3641a59ba7a4d8cc18fdae1000a0377f Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2018-10-15UT for UicomponentDataConverterAnjali walsatwar2-0/+132
UT for catalog be datamodel class Issue-ID: SDC-1775 Change-Id: I5f4e8781383ffe27e39bc6ef4c5989d19adcde13 Signed-off-by: Anjali walsatwar <anjali.walsatwar@huawei.com>
2018-10-15UT for ArtifactUtilsAnjali walsatwar1-2/+89
UT for catalog be datamodel class Issue-ID: SDC-1775 Change-Id: I29260fdedc3b1c91cc3680988a2ce9d58db0b73f Signed-off-by: Anjali walsatwar <anjali.walsatwar@huawei.com>
2018-10-12update sdc portal integrationTal Gitelman3-10/+8
Change-Id: I6e17434f753c2eaa562da80c1eade8688601f510 Issue-ID: SDC-1749 Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
2018-10-10UT for catalog be datamodelAnjali walsatwar5-0/+150
UT for catalog be datamodel class Issue-ID: SDC-1775 Change-Id: I50650cae0ef0ef4fd77dced9f77311df66dcfd4e Signed-off-by: Anjali walsatwar <anjali.walsatwar@huawei.com>
2018-10-08UT for catalog be datamodelAnjali walsatwar4-0/+77
UT for catalog be datamodel class Issue-ID: SDC-1775 Change-Id: Id1a9a8c32fc674a553a1fd5d40426b0c08b07d15 Signed-off-by: Anjali walsatwar <anjali.walsatwar@huawei.com>
2018-10-04fix csar creationMichael Lando2-2/+910
fix required not populated based on DB fix bad packaging of the normative types in csar fix import logic to correctly read boolean fields Change-Id: Idca39ddb070f5f816916a90f124c5c40dae415af Issue-ID: SDC-1447 Signed-off-by: Michael Lando <michael.lando@intl.att.com>
2018-09-27User is unable to modify name of VFmojahidi1-0/+3
User is unable to modify name of VF having operations which was created via Heat Flow Change-Id: I42b666137b26755cccf71028b220560f42b0c0f7 Issue-ID: SDC-1771 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>