summaryrefslogtreecommitdiffstats
path: root/catalog-be/src/test/java
AgeCommit message (Collapse)AuthorFilesLines
2019-04-24ArtifactsBusinessLogic handlePayload() method refactoring and code coveragedermot1233-65/+363
Change-Id: I256520e3921c445b9972c78305af615155f7a2c7 Issue-ID: SDC-2239 Signed-off-by: dermot123 <dermot.melia@est.tech>
2019-04-22Some unit tests for catalog-beTomasz Golabek15-11/+582
Code coverage for some classes from catalog-be increased. Some refactor made if needed. Change-Id: I1b292cfbe4b0d2aa4fbe22871da3228aa434b823 Issue-ID: SDC-2220 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-04-21Fix property name regextalio1-0/+128
property name should contain only letters, numbers and / or underscores Change-Id: Ic6b8d627a30f5f157bed1617a8af819b66352136 Issue-ID: SDC-2243 Signed-off-by: talio <tali.orenbach@amdocs.com>
2019-04-17Some unit tests for catalog-beTomasz Golabek3-30/+250
Code coverage for some classes from catalog-be increased. Some refactor made if needed. Change-Id: I5cd63fe61425f5eb05336545d714cbe2df83e116 Issue-ID: SDC-2220 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-04-14Declare properties as policiestalio8-323/+930
Change-Id: I54dc7b444e08117097c314cf5f51bd356ac5287d Issue-ID: SDC-2240 Signed-off-by: talio <tali.orenbach@amdocs.com>
2019-04-11Apply Valid Value Constraints validationsiddharth09051-0/+317
Apply Valid Value Constraints validation for FE and BE in Property Assignment, Input, Service Consumption screen Change-Id: I01c7523bad702f003cd52fd88bc69fe950b2b4f3 Issue-ID: SDC-2224 Signed-off-by: siddharth0905 <siddharth.singh4@amdocs.com>
2019-04-10Some unit tests for catalog-beTomasz Golabek4-146/+162
Code coverage for some classes from catalog-be increased. Some refactor made if needed. Change-Id: I1c5a35f99fcc0ace2f7b6ba4f7ef4f41acbed5e7 Issue-ID: SDC-2220 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-04-10Workflow artifact in distribution notificationpriyanshu2-9/+38
1. Support workflow artifact in distribution notification. 2. Only save unique artifacts by name per component in SDC irrespective of it being used in multiple operations under same component. 3. Any other call to save same artifact as part of same component will not upload a new artifact and will update the new operation to refer to existing artifact. 4. The generated CSAR and distribution notification will only have unique artifacts. 5. Delete or Update operation will only delete artifact if it is not being used in any other operation under same component. Change-Id: I74d4ee4f8e543ea9e730301a210deb08b00c64bc Issue-ID: SDC-2233 Signed-off-by: priyanshu <pagarwal@amdocs.com>
2019-04-10Tosca artifacts - Error 500priyanshu2-8/+7
Tosca artifacts - Error 500 - Service proxy with WF assigned Change-Id: I1d75c0b9980ab42c7c825e4423ff4994600dd6fa Issue-ID: SDC-2232 Signed-off-by: priyanshu <pagarwal@amdocs.com>
2019-04-08show cloud specific artifacts IDs in vf module metaLiang.Ding1-0/+15
Change-Id: I42c54b2b94513c1dd69c3ec662a05a71a89fd3d0 Issue-ID: SDC-2041 Signed-off-by: Liang.Ding <liang.ding@intel.com>
2019-04-08Yaml parser exposed via SDC endpointTomasz Golabek1-0/+115
GAB parser exposed as POST /v1/catalog/gab/searchFor endpoint. Introduced OWASP ESAPI initial configuration Change-Id: I2ee575b6092a97bc6acb1a5378bc66321e9fb182 Issue-ID: SDC-2209 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-04-08Some unit tests for catalog-beTomasz Golabek4-292/+152
Code coverage for some classes from catalog-be increased. Some refactor made if needed. Change-Id: I33114eed03d4e176896fd803b54fb77787c34283 Issue-ID: SDC-2220 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
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-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-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>