aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-model/src/test/java
AgeCommit message (Collapse)AuthorFilesLines
2019-09-04unit tests - catalog-modelTomasz Golabek3-0/+246
Coverage increasing Change-Id: Idb7902578aca65eaee1a63871e9b84e3c4767233 Issue-ID: SDC-2326 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-09-03unit tests - catalog-modelTomasz Golabek4-117/+182
Additional junit tests for be-model Change-Id: I7364cd33411d7f6eb69f9a02b2aea889c594ea7b Issue-ID: SDC-2326 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-09-02unit tests - catalog-modelTomasz Golabek1-15/+154
Additional junit tests for ToscaListValueConverter Change-Id: I41e8b501129ceb0640e54e4173b3cdf13983ccd8 Issue-ID: SDC-2326 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-08-26unit tests - catalog-modelTomasz Golabek4-0/+217
Additional junit tests Change-Id: I82f88ec4cc1fb18314cfb33dd9aafa58688318e0 Issue-ID: SDC-2326 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-08-22unit tests - catalog-modelTomasz Golabek12-144/+393
Additional junit tests Change-Id: I9952933895ba22114fb0bf19a51e54f1a232c8f3 Issue-ID: SDC-2326 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-08-06Added unit tests for AbstractPropertyConstraintPiotr Borelowski1-0/+113
Improved the unit test coverage in the package org.openecomp.sdc.be.model.tosca.constraints Issue-ID: SDC-2327 Signed-off-by: Piotr Borelowski <p.borelowski@partner.samsung.com> Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: I094ab463cc010ecd48e062a1a806b3b907223228
2019-07-25fixing warnings from checkstyle in common-beBartosz Gardziejewski1-1/+1
Issue-ID: SDC-2454 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I1ee7d055f865eef209e621ec45eba33eef69736f
2019-07-24Autowired annotation for catalog-beTomasz Golabek1-1/+1
Injection of the properties moved to the constructors/setters replacing field annotations. Change-Id: I766ff67e466bec5a91db1035f29e7f919d32e0ea Issue-ID: SDC-2400 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-07-21Added unit tests for AbstractStringPropertyConstraintPiotr Borelowski1-0/+85
Improved the unit test coverage in the package org.openecomp.sdc.be.model.tosca.constraints Issue-ID: SDC-2327 Signed-off-by: Piotr Borelowski <p.borelowski@partner.samsung.com> Change-Id: I79c3ecaa6aae9b9c3011d332444b072d7c1dc460
2019-07-14ComponentCache & ComponentCassandraDao removalTomasz Golabek3-839/+0
Also removed all classes uses these two. Change-Id: I6793c3c935ae61c5c65f70d3541c542edf188ab4 Issue-ID: SDC-2389 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-07-11Added oparent to sdc mainTomasz Golabek127-109/+2649
Removed errors regarding to a missing license and others. Started locally and executed basic api tests Change-Id: Iea37613defc97f7b40613d60c10990841cb2a209 Issue-ID: SDC-2419 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-07-07Improved unit tests for ComponentValidationUtils and Sonar fixes.k.kedron1-4/+115
Improved unit tests for ComponentValidationUtils. Checkstyle for ComponentValidationUtils. Add a private constructor to hide the implicit public one in the ComponentValidationUtils. Issue-ID: SDC-2327 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: I8a2f2f7b9a5e6475a4e28d13f3acab333b4af6da
2019-07-07Remove field injection in catalog-daoWojciech Sliwka1-3/+4
Change-Id: I96ac13d3b50737518924a3aaa9b320adbba241eb Issue-ID: SDC-2398 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
2019-06-12Upgrade SDC from Titan to Janus Graphshrikantawachar48-764/+803
Upgrade SDC from Titan to Janus Graph Change-Id: I67fb8b8e60cc6751697bc5ff2f06754c92803786 Issue-ID: SDC-2296 Signed-off-by: shrikantawachar <shrikant.awachar@amdocs.com>
2019-05-20Fixed declared properties are not updated properlySatoshi Fujii1-0/+42
Change-Id: I3712f9656d7cdeb8fa9c4212b2dd1496043c1006 Issue-ID: SDC-2314 Signed-off-by: Satoshi Fujii <fujii-satoshi@jp.fujitsu.com>
2019-05-14Support Capability PropertiesMojahidul Islam3-0/+191
This change includes following changes 1. Get capability properties from global types- BE 2. Show capability properties in cap/req screen 3. Support Capability Properties in assingment, operation and consumption screens Change-Id: Ieb4fa5705007c8bed3d82eb4fe4604572aa202d7 Issue-ID: SDC-2294 Signed-off-by: Mojahidul Islam <mojahidul.islam@amdocs.com>
2019-05-07Change to enable SDC list type inputToshimichi Fukuda4-6/+166
Change-Id: Ic3a9c6e714a5afd22b58bf2cb066932b1ec2a5c0 Issue-ID: SDC-2046 Signed-off-by: Toshimichi Fukuda <t_fukuda@jp.fujitsu.com> Signed-off-by: Satoshi Fujii <fujii-satoshi@jp.fujitsu.com> Signed-off-by: Ayumu Ueha <ueha.ayumu@jp.fujitsu.com>
2019-04-14Declare properties as policiestalio1-2/+2
Change-Id: I54dc7b444e08117097c314cf5f51bd356ac5287d Issue-ID: SDC-2240 Signed-off-by: talio <tali.orenbach@amdocs.com>
2019-03-30Heal Vertex Datashrek200014-50/+86
Enable healing of vertex information when reading it. Issue-ID: SDC-2213 Change-Id: I907beeb25bd231d9e05d3a5b8e070d6bdf9cb781 Signed-off-by: shrek2000 <orenkle@amdocs.com>
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>