summaryrefslogtreecommitdiffstats
path: root/catalog-be/src
AgeCommit message (Collapse)AuthorFilesLines
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-07Error displayed on deleting VF/VFCTal Gitelman2-29/+4
- from Service Composition Change-Id: I48c2256b0584c69b94c870eefd834eaf2891f56d Issue-ID: SDC-1888 Signed-off-by: Tal Gitelman <tal.gitelman@att.com>
2018-11-05Refactor ComponentInstanceBusinessLogicSindhuri.A1-45/+46
Code refactor : ComponentInstanceBusinessLogic class Issue-ID: SDC-1880 Change-Id: I22cc14e927318bcf79bf3f57fcea555a7987290f Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2018-11-05Refactor catalog-be codeSindhuri.A5-94/+88
Code refactor : catalog-be classes Issue-ID: SDC-1880 Change-Id: Ib1153c622d2b7f9de7369d388be4d2e5fc84178f 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.A4-51/+629
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-23fix a sonar NullPointerException issue in ABLTal Gitelman1-9/+3
Change-Id: I3ee02af56d3073f1e68cefd2a6503cb804af3ffb Issue-ID: SDC-1831 Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
2018-10-23Workflow duplicate artifacts in CSARpriyanshu1-0/+10
Old workflow artifacts still packed in csar even if another workflow is assigned to same operation Change-Id: Iee956903222d1fc1e8c898b4989b2198501554bb Issue-ID: SDC-1862 Signed-off-by: priyanshu <pagarwal@amdocs.com>
2018-10-23Unable to create operation with only outputspriyanshu1-1/+1
Unable to create operation with only output via No Workflow Option Change-Id: I735b445caa13098ae01441dcedf0a44b162eb7a0 Issue-ID: SDC-1863 Signed-off-by: priyanshu <pagarwal@amdocs.com>
2018-10-22failed to import a tosca vspYuli Shlosberg2-4/+22
proper prints have added to log Change-Id: I73e0441036dbc7206f148cf8fe8a21f6266397ce Issue-ID: SDC-1683 Signed-off-by: Yuli Shlosberg <ys9693@att.com>
2018-10-21Bugfix - VF workflow artifacts in service csarojasdubey10-298/+232
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-18update sdc portal integrationTal Gitelman1-1/+1
Change-Id: Icf84b0b29d1eea7756dc18ef4f7379c83df79379 Issue-ID: SDC-1749 Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
2018-10-18update sdc portal integrationTal Gitelman1-6/+1
Change-Id: I28e183508ba9a729221a60403850784953807209 Issue-ID: SDC-1749 Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
2018-10-17miss a pair of {} in logLiang Ding1-1/+1
Change-Id: Icf233d49a2e72df7590632675fb32c2af4ce5b60 Issue-ID: SDC-1848 Signed-off-by: Liang Ding <liang.ding@intel.com>
2018-10-17fix vendor name on normative importYuli Shlosberg1-1/+1
Change-Id: I655b9f54e3916d8fe357281c8b54380abac9d7d3 Issue-ID: SDC-1742 Signed-off-by: Yuli Shlosberg <ys9693@att.com>
2018-10-16Single node copy paste keyboard shorcut on canvasSindhuri.A5-72/+753
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-16Added support for AssociateWorkflowTypemojahidi1-0/+2
Added support for AssociateWorkflowType Change-Id: I9ddda919dc51457ad57c69abdc95b7b188915f9b Issue-ID: SDC-1814 Signed-off-by: mojahidi <mojahidul.islam@amdocs.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 Gitelman10-46/+183
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 Lando4-25/+932
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-10-04fix incorect addition of derivedMichael Lando1-1/+0
to tosca.datatypes.nfv.AddressData a derived section was add, as a result the update normatives is failing. Change-Id: I12c9f03fbc1693a8eae50ddfe921c5cc321c76ea Issue-ID: SDC-1415 Signed-off-by: Michael Lando <michael.lando@intl.att.com>
2018-10-03Bugfix - CSAR packing for operations of same WFojasdubey1-1/+1
Fix for failed CSAR packaging if user creates two operations and associated workflows having artifacts to them. Updated the operation name before artifact name to make it unique before adding to zip Change-Id: I1c1997199ba015a0ce2fc35cda9696031babaebe Issue-ID: SDC-1802 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2018-10-02exception is thrown on import normativeTal Gitelman1-13/+9
Change-Id: I26cd77466d4c79836665929066d2bff5b6ead92b Issue-ID: SDC-1796 Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
2018-09-27DM modification to align with R2 DM clean versionliang ding6-32/+51
Change-Id: Ifcb5d3e644f46e4c9a4467e28b0dd7616b485497 Issue-ID: SDC-1415 Signed-off-by: liang ding <liang.ding@intel.com>
2018-09-27Interface Operation disappears on VSP updatepriyanshu1-0/+5
Interface Operation disappears on VSP update Change-Id: I209e8a41292aa2ccfa4466b3f383d53005b7b08b Issue-ID: SDC-1772 Signed-off-by: priyanshu <pagarwal@amdocs.com>
2018-09-27User is unable to modify name of VFmojahidi5-77/+60
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-25fix two typos CSER->CSARliang ding1-2/+2
Change-Id: I3969ddff6a7b32a9eddd02daa33de6af37a2a55b Issue-ID: SDC-1790 Signed-off-by: liang ding <liang.ding@intel.com>
2018-09-24Fix Copyright info in sdc Take 1seshukm3-0/+51
Change-Id: I5c4f1cf104d6d2dc230f390d6591325d220c4be5 Issue-ID: SDC-1754 Signed-off-by: seshukm <seshu.kumar.m@huawei.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-17Bugfix - interface_types missing from toscaojasdubey2-1/+4
1.Fix for interface_types missing from the tosca model for a resource/service 2. Interface name should not contain spaces to make the behavior consistent with tosca node type component naming Change-Id: I8e135a87d659d3fb17d284247bcf222a8be7ccde Issue-ID: SDC-1760 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2018-09-13Interface operation support for service - BEpriyanshu14-302/+489
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 Gitelman9-502/+345
Change-Id: I35b6db5ec0d3aa91295f57b60c04243b3f3d2208 Issue-ID: SDC-1571 Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
2018-09-05add software_versions propertyMichael Lando2-2/+7
add software versions to the pnf model Change-Id: I46c4f5d3f90cd84f08e2f14d61143cdcb5349855 Issue-ID: SDC-1698 Signed-off-by: Michael Lando <ml636r@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 Darosz2-3/+49
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-29Fix CSIT on sdc-masterTal Gitelman2-1/+28
Change-Id: I22514076a37e82d0ea8b6d202918a6e519618755 Issue-ID: SDC-1689 Signed-off-by: Tal Gitelman <tg851x@intl.att.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)3-39/+2
Change-Id: I2d6fb011f7440127559a8f02b1c8a72095694403 Issue-ID: SDC-1658 Signed-off-by: Assaf, Shay (sa726r) <sa726r@intl.att.com>
2018-08-21Import normative improvementTal Gitelman2-9/+22
extCp2 tag allignment Change-Id: I22befdeba9368b2248d668c8ef1043ca7efb026a Issue-ID: SDC-557 Signed-off-by: Tal Gitelman <tg851x@intl.att.com>