summaryrefslogtreecommitdiffstats
path: root/catalog-model/src/test/java
AgeCommit message (Collapse)AuthorFilesLines
2019-03-04Requirement and capabilities featuremojahidi3-10/+480
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-01-21Operation on PNFsiddharth09051-0/+12
Operation on PNF Change-Id: I51448659eb5e730f42f30c6b5978809cfa1c9b6c Issue-ID: SDC-2054 Signed-off-by: siddharth0905 <siddharth.singh4@amdocs.com>
2019-01-14Interface operation feature enhancementspriyanshu3-319/+273
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 on existing class.isaac.manuelraj1-0/+68
Added new test cases on top of existing test classes. Issue-ID: SDC-1774 Change-Id: I2025ea57ab61df6955eed7b409e720583a8bdcff Signed-off-by: isaac.manuelraj <isaac.manuelraj@huawei.com>
2018-12-27Revert "Interface operation feature enhancements"priyanshu3-46/+120
This reverts commit 01f825bc Change-Id: I9e41da46a410be335283a27758cb1e77a087046f Issue-ID: SDC-1999 Signed-off-by: priyanshu <pagarwal@amdocs.com>
2018-12-24Interface operation feature enhancementspriyanshu3-120/+46
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-17/+65
API for get all interface lifecycle types Change-Id: I64471c98ff9626ac53562a075a34f506c2e263ab Issue-ID: SDC-1999 Signed-off-by: shrikantawachar <shrikant.awachar@amdocs.com>
2018-11-25UT-ToscaOperationFacade 6Sindhuri.A1-4/+119
UT for catalog be ToscaOperationFacade class Issue-ID: SDC-1775 Change-Id: I764b9c0f95414b47a757e9b946009b68afd49c72 Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2018-11-19Add UT for Combination model classSatyaki Mallick1-0/+42
Unit Test for Combination class which is part of the Combination feature. Issue-ID: SDC-1774 Change-Id: Iaa69b2f9f583469603ccd7183b93eb5eb100cfe2 Signed-off-by: Satyaki Mallick <satyaki.mallick@huawei.com>
2018-11-19UT-ToscaOperationFacade 5Sindhuri.A1-0/+26
UT for catalog be ToscaOperationFacade class Issue-ID: SDC-1775 Change-Id: Ie47efa5e9146070f3ef7ec69683db3cbbca1650e Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2018-11-19UT-AdditionalInfoOperation2Sindhuri.A1-0/+43
UT for AdditionalInformationOperation class Issue-ID: SDC-1775 Change-Id: I971043f92b6566b121f3d31201ce29148d7d2b85 Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2018-11-19UT-enhance NodeTemplateOperationTest4Sindhuri.A1-97/+106
UT for catalog model NodeTemplateOperation class Issue-ID: SDC-1775 Change-Id: Ib7907643e19264d94bda7cf04f4ad72b410eac42 Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2018-11-12UT-ToscaOperationFacade 4Sindhuri.A1-0/+27
UT for catalog be ToscaOperationFacade class Issue-ID: SDC-1775 Change-Id: I9d42dfe6d6a2997e2d9f96d0fdd0f617a0e2cc3c Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2018-11-01UT-ToscaOperationFacade 3Sindhuri.A1-0/+47
UT for catalog be ToscaOperationFacade class Issue-ID: SDC-1775 Change-Id: I72849bcaa5b86bf77c41ce8aa320e32ca12be719 Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2018-11-01UT-enhance NodeTemplateOperationTest3Sindhuri.A1-20/+29
UT for catalog model NodeTemplateOperation class Issue-ID: SDC-1775 Change-Id: Id40b90421b1fb4698a03707b245ccd5ce79721c4 Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2018-11-01Add UT for ComponentValidationUtilsSatyaki Mallick1-0/+31
UT for ComponentValidationUtils. Issue-ID: SDC-1774 Change-Id: I0154d592a7f059b01843d7bf18f75a1e5bb9916f Signed-off-by: Satyaki Mallick <satyaki.mallick@huawei.com>
2018-10-29UT-TopologyTemplateOperationSindhuri.A1-3/+56
Add UT for catalog model TopologyTemplateOperation class Issue-ID: SDC-1775 Change-Id: I4962899dd946edcdeeb2d58c867a9b8d3a1904df Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2018-10-29UT-enhance ComponentInstanceOperationTestSindhuri.A1-22/+62
UT for catalog model ComponentInstanceOperation class Issue-ID: SDC-1775 Change-Id: I1805fea86f34f9cf67eaaa5e3c6c5750e91176c3 Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2018-10-29UT-ToscaOperationFacade 2Sindhuri.A1-0/+46
UT for catalog be ToscaOperationFacade class Issue-ID: SDC-1775 Change-Id: I2f66bc665d2b50279ba1fb46f79ca3423311afd0 Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2018-10-29UT-enhance NodeTemplateOperationTest2Sindhuri.A1-10/+21
UT for catalog model NodeTemplateOperation class Issue-ID: SDC-1775 Change-Id: I935f6cebcf12263c6f03f116a55056b290fb215a Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2018-10-29UT-ToscaElementOperationSindhuri.A1-0/+15
UT for catalog be ToscaElementOperation class Issue-ID: SDC-1775 Change-Id: I2b4824897dbd08c028d1dd3e1c6e50c6883dfe95 Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2018-10-27UT-ToscaOperationFacadeSindhuri.A1-10/+95
UT for catalog be ToscaOperationFacade class Issue-ID: SDC-1775 Change-Id: I6fca2609a4c09ac3eba36243296989c649d77992 Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2018-10-27UT-catalog model ModelConverter 2Sindhuri.A1-0/+21
Add UT for catalog model ModelConverter class Issue-ID: SDC-1775 Change-Id: I8cb17faa5a65391bc1ee0d58ed107eccf2e89204 Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2018-10-27UT-enhance NodeTemplateOperationTestSindhuri.A2-35/+73
UT for catalog model NodeTemplateOperation class Issue-ID: SDC-1775 Change-Id: Ia85ef99c3467e9671b97c53f785aaf6ac1c7a525 Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2018-10-27UT-ToscaElementLifecycleOperationSindhuri.A1-3/+14
Add UT for catalog model ToscaElementLifecycleOperation class Issue-ID: SDC-1775 Change-Id: Ie9a876fcd3f79a67fe7084034afcbd6937ba9bb1 Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2018-10-24UT-AdditionalInfoOperationSindhuri.A1-3/+36
UT for AdditionalInformationOperation class Issue-ID: SDC-1775 Change-Id: I404e66ba4c43553523d1f9fd2c161a1b7326579b Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2018-10-24UT-catalog model ModelConverterSindhuri.A1-0/+85
UT for catalog model ModelConverter class Issue-ID: SDC-1775 Change-Id: I323e7804ea9c1f51bc613c8d678cb71fcb65f7e1 Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2018-09-13Interface operation support for service - BEpriyanshu1-142/+152
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-08-06Interface operations Model updatepriyanshu1-20/+0
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 Lando49-0/+3582
Change-Id: Iabd593d8d9ab0efeb32032d5c4d72b8fa1c27e63 Issue-ID: SDC-1590 Signed-off-by: Michael Lando <ml636r@att.com>
2018-07-30Add support for workflowId and workflowVersionIdmojahidi1-22/+0
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 Lando132-9187/+6892
Change-Id: I12a5ca14a6d8a87e9316b9ff362eb131105f98a5 Issue-ID: SDC-1566 Signed-off-by: Michael Lando <ml636r@att.com>
2018-07-25Catalog-model dead code removalPiotr Krysiak7-410/+55
Issue-ID: SDC-1552 Change-Id: I59744e990779ec3578511948e5e2767929f99dab Signed-off-by: Piotr Krysiak <piotr.krysiak@nokia.com>
2018-06-26Add output parameter support in Operation screenmojahidi1-1/+1
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-12new unit tests for sdc-modelTal Gitelman18-128/+338
Change-Id: I118cb69c2874987191c320d71b17c4a060eaa2dc Issue-ID: SDC-1333 Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
2018-06-10new unit tests for sdc-modelTal Gitelman1-146/+447
Change-Id: I31489f5e9bc83aaa5b18ebf2e519a13216f49332 Issue-ID: SDC-1333 Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
2018-06-06new unit tests for sdc-modelTal Gitelman11-42/+1240
Change-Id: I14b1d527b18b354b8c29149135a1dbb800a454bb Issue-ID: SDC-1333 Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
2018-06-06new unit tests for sdc-daoTal Gitelman26-53/+873
Change-Id: Iea7efb56bb8125cc9e236f726fe67c9832b85fec Issue-ID: SDC-1333 Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
2018-06-06new unit tests for sdc-daoTal Gitelman26-10/+896
Change-Id: Id7ba81e71502db771f7243f526d46eb0865f16f2 Issue-ID: SDC-1333 Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
2018-05-13Raise JUnit coverage common-beTal Gitelman1-4/+0
Change-Id: If7b31082105378901e9a09e26a8cc1b5737eb425 Issue-ID: SDC-1298 Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
2018-05-10new unit tests for sdc-modelYuli Shlosberg13-62/+1907
Change-Id: Ie4cdc54ae829832b4092b249b467f5b9b4b756b6 Issue-ID: SDC-1302 Signed-off-by: Yuli Shlosberg <ys9693@att.com>
2018-04-30Remove dead code catalog-modelTal Gitelman10-34/+0
Change-Id: Ife2589a10d529c830195bb978a2314dd316342b1 Issue-ID: SDC-1270 Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
2018-04-27new unit tests for be and modelYuli Shlosberg4-0/+1249
Change-Id: Ia0cb140eb512320871724d782b35a2318184f42c Issue-ID: SDC-1170 Signed-off-by: Yuli Shlosberg <ys9693@att.com>
2018-03-25Interface operationshrek20001-0/+543
Workflow operation in backend will enable CRUD operation to workflow. Issue-ID: SDC-1052 Change-Id: Ieddd6c99b4eee8ad413604f5003a91d5943ebd82 Signed-off-by: shrek2000 <orenkle@amdocs.com>
2018-03-07Sync Integ to MasterMichael Lando20-269/+2182
Change-Id: I71e3acc26fa612127756ac04073a522b9cc6cd74 Issue-ID: SDC-977 Signed-off-by: Gitelman, Tal (tg851x) <tg851x@intl.att.com>
2017-12-10Final commit to master merge fromTal Gitelman95-569/+298
Change-Id: Ib464f9a8828437c86fe6def8af238aaf83473507 Issue-ID: SDC-714 Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
2017-10-24align MMETal Gitelman1-210/+156
- [BUG323816] Don't add a property to a newly generated csar if the value is not set and the default value is not provided Change-Id: I76b312ef8140ca6207aa7604026c1b0a89bfbe02 Issue-ID:SDC-500 Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
2017-10-23add unit tests to componentsYuli Shlosberg1-0/+133
Change-Id: I665ad7f9f25c15cfaaa8deb38dd2390fd823a438 Issue-Id: SDC-467 Signed-off-by: Yuli Shlosberg <ys9693@att.com> (cherry picked from commit a78ce5b07f10c6160152a017675b71cca36fb049)
2017-10-22add more unit tests remove importsYuli Shlosberg2-6/+77
Change-Id: If2274759f929f595e63d71cc70c374268c019947 Issue-Id: SDC-467 Signed-off-by: Yuli Shlosberg <ys9693@att.com> (cherry picked from commit b947eb599bfab4599ce1b0c0573b1701c646e429)
2017-10-22add more unit tests to BE componentsYuli Shlosberg6-0/+1122
Change-Id: I23a72857d669f03e8cb7e543c006fed3318670b0 Issue-Id: SDC-467 Signed-off-by: Yuli Shlosberg <ys9693@att.com> (cherry picked from commit 6dc570c66839fe239b63f1aa8da489c520fb215d)