aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be/src/test
AgeCommit message (Collapse)AuthorFilesLines
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>
2018-09-25fix licensing issuesMichael Lando12-520/+0
remove unused files update the licensing file to aligne with LF format fix csars Change-Id: Ic511ed6ef53dd49f4af1ecef0522a852a7349f7a Issue-ID: SDC-1785 Signed-off-by: Michael Lando <ml636r@att.com>
2018-09-25fix security vilation CVE-2015-3253Tal Gitelman1-2/+2
Change-Id: I694afc331a2bbc41f2d179b9591a1fb3f1065b5e Issue-ID: SDC-1715 Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
2018-09-24UT for catalog be ToscaTypeImportDataImplSindhuri.A1-0/+49
UT for catalog be ToscaTypeImportDataImpl class Issue-ID: SDC-1775 Change-Id: I072b5f123553dc1fa0c8d9961317720d9ebd82f4 Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2018-09-13Interface operation support for service - BEpriyanshu5-135/+300
1. Interface operation support for service 2. Refactored common code of operationspa 3. ONAP Bug fixes VF operations Change-Id: If1c4fd5f17626dbe568ee66ad997eb8ffb772e29 Issue-ID: SDC-1739 Signed-off-by: priyanshu <pagarwal@amdocs.com>
2018-09-05add ability to disable tenant isolation.Tal Gitelman3-486/+318
Change-Id: I35b6db5ec0d3aa91295f57b60c04243b3f3d2208 Issue-ID: SDC-1571 Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
2018-09-02Fix unit testsTal Gitelman1-444/+3
Change-Id: I65ae461678284a90d840db0a3bf236c237368ffe Issue-ID: SDC-1689 Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
2018-08-29Add tests for SdcSchema classesPiotr Darosz1-0/+22
Introduce Cassandra Unit tool and tests for schema-related classes Change-Id: I14da602c42056730e7992dd92b4da8b87dd9fb0d Issue-ID: SDC-1358 Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
2018-08-26json/yaml validation for modelsdekstroza1-1/+1
Introduced yaml-json-validator-maven-plugin a. Runs in validate phase b. For now only validate /import/tosca subfolders c. Validates both yml and json files Change-Id: I53513321c4378485dd821c251de5555050313911 Issue-ID: SDC-1343 Signed-off-by: dekstroza <dejan.kitic@ericsson.com>
2018-08-26related-networks property support as inputAssaf, Shay (sa726r)1-12/+1
Change-Id: I2d6fb011f7440127559a8f02b1c8a72095694403 Issue-ID: SDC-1658 Signed-off-by: Assaf, Shay (sa726r) <sa726r@intl.att.com>
2018-08-13Network Cloud onboarding model sync with sdc modelAssaf, Shay (sa726r)1-1/+12
Change-Id: Id3ab68276b25ad06c22b34412cf841e4209a17f6 Issue-ID: SDC-1621 Signed-off-by: Assaf, Shay (sa726r) <sa726r@intl.att.com>