summaryrefslogtreecommitdiffstats
path: root/catalog-be/src/test
AgeCommit message (Collapse)AuthorFilesLines
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>
2018-08-09Interface operations Bug Fixespriyanshu2-58/+58
1. create and modify operation bug fix 2. Get and Delete negative use case handling 3. refactored code Change-Id: I472abb7f487cb0399e63e413e616a03143a1e2ac Issue-ID: SDC-1535 Signed-off-by: priyanshu <pagarwal@amdocs.com>
2018-08-06Interface operations Model updatepriyanshu2-82/+33
1. Interface operations Model update 2. Removed unnecessary dependencies on resource 3. Fixed the broken code after merge Change-Id: I2b6381493530f1d61f0803ee1d1d688648356f73 Issue-ID: SDC-1535 Signed-off-by: priyanshu <pagarwal@amdocs.com>
2018-08-05add removed unit testsMichael Lando72-61/+9916
Change-Id: Iabd593d8d9ab0efeb32032d5c4d72b8fa1c27e63 Issue-ID: SDC-1590 Signed-off-by: Michael Lando <ml636r@att.com>
2018-08-03Interface operations on VFpriyanshu4-67/+74
Interface operations on VF Fixed the broken code after merge Change-Id: I08381c0e69fbe85e1df26fb7ecbf93af43f906b2 Issue-ID: SDC-1586 Signed-off-by: priyanshu <pagarwal@amdocs.com>
2018-07-30Add support for workflowId and workflowVersionIdmojahidi2-1/+10
Enhance operation data model and APIs to support workflowId and workflowVersionId Change-Id: Ib8772027a3e0147ae0bb59811a9b31fe46975ac6 Issue-ID: SDC-1535 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2018-07-29re base codeMichael Lando348-20301/+12636
Change-Id: I12a5ca14a6d8a87e9316b9ff362eb131105f98a5 Issue-ID: SDC-1566 Signed-off-by: Michael Lando <ml636r@att.com>
2018-07-25Catalog-be dead code removalPiotr Krysiak23-1174/+220
Issue-ID: SDC-1546 Change-Id: I63b43748b85f1b3823caa7cb6f4d2b960fdb9c79 Signed-off-by: Piotr Krysiak <piotr.krysiak@nokia.com>
2018-07-17Revert - Workflow Operation output toscaojasdubey2-59/+16
Reverting changes to export workflow operation outputs to TOSCA template Change-Id: I0d50fd8eea0200efa3102494a0aadd1527d39a8b Issue-ID: SDC-1450 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2018-07-15Upgraded servlet-api version to 3.0.1vempo1-431/+523
Change-Id: I50b258e8843d85384e89e4ceb16d687d247dbe11 Issue-ID: SDC-1472 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-07-15Worklow Operation output toscaojasdubey2-16/+59
Added implementation to export workflow operation outputs to TOSCA template Change-Id: Id4c7104f725f7e9f5c97ae738387d2592bb80f7b Issue-ID: SDC-1450 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2018-07-10Corrupted forwarding pathsshrek20001-458/+465
When a component is deleted from service canvas, the related forwarding paths are not being deleted , and create corrupted data Change-Id: If6a0837572e92e66d31ddf28a30f1ad3893bb8ec Issue-ID: SDC-1449 Signed-off-by: shrek2000 <orenkle@amdocs.com>
2018-06-26Add output parameter support in Operation screenmojahidi3-11/+48
Added code to support Output parameter, fixed UTs, Added flow test Change-Id: I4ff869d120cefd7645a407278caeea6ee695c73b Issue-ID: SDC-1440 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2018-06-14new unit tests for sdc-modelTal Gitelman5-381/+241
Change-Id: I05e1670d7d9d512de9131890df7cf9168fa711a4 Issue-ID: SDC-1333 Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
2018-06-13Issue-ID: SDC-1342 replaced some junitsTal Gitelman14-939/+171
replaced junits under sdc/be/info refactored + added testcases for EcompUserConverter Change-Id: I569354fef87450cfccff827fe98e2ab7659113eb Signed-off-by: Tal Gitelman <tg851x@intl.att.com>