summaryrefslogtreecommitdiffstats
path: root/catalog-be/src
AgeCommit message (Collapse)AuthorFilesLines
2019-03-04Fix Sonar Issueshrek20001-11/+1
Add dependent child service to service Issue-ID: SDC-1987 Change-Id: If9a4d534b45aecc8f827e5d2ce80c35c13876078 Signed-off-by: shrek2000 <orenkle@amdocs.com>
2019-03-04Requirement and capabilities featuremojahidi28-77/+4066
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-02-26Add unit testOren Kleks1-0/+63
Add dependent child service to service Issue-ID: SDC-1987 Change-Id: I0aa172db1aceb08f8246c1e79b255a63b03bd036 Signed-off-by: shrek2000 <orenkle@amdocs.com>
2019-02-24fix a POL500 issueLiang Ding1-3/+7
when creating a VSPfrom a tosca VNF, a POL500 was reported Change-Id: I8d942b81689f35cdeb16aa4b0925371394bb639c Issue-ID: SDC-1983 Signed-off-by: Liang Ding <liang.ding@intel.com>
2019-02-20Add new testcases to the existing class.isaac.manuelraj1-1/+90
Added new testcases to improve the coverage. Issue-ID: SDC-1774 Change-Id: I08f18ca947891c596c32b867e444e72b56c9db39 Signed-off-by: isaac.manuelraj <isaac.manuelraj@huawei.com>
2019-02-20fix a typoLiang Ding1-3/+3
VfModuleArtifacGenerator -> VfModuleArtifactGenerator Change-Id: I58fa51c74974adef1f32c52eb3eee61fb56cb2ee Issue-ID: SDC-2087 Signed-off-by: Liang Ding <liang.ding@intel.com>
2019-02-19Fix Logger CreationOren Kleks1-20/+22
Add dependent child service to service Issue-ID: SDC-1987 Change-Id: Ibfac137cbdc296d4b3fc97937054f879aeeaf46f Signed-off-by: shrek2000 <orenkle@amdocs.com>
2019-02-18fix a typoLiang Ding4-8/+8
ALRADY --> ALREADY Signed-off-by: Liang Ding <liang.ding@intel.com> Issue-ID: SDC-2124 Change-Id: I6dc337b7b6b9229253107aca461bf32129601ed8
2019-02-13Fix duplicated constantsshrek20001-44/+40
Add dependent child service to service Issue-ID: SDC-1987 Change-Id: I630c4c84c705f9af7d346598de9b478d3dda940a Signed-off-by: shrek2000 <orenkle@amdocs.com>
2019-02-11Fix critical sonar issues in sdc/catalog-beParshad Patel1-6/+6
Fix Cast one of the operands of this integer division to a "double" issues Issue-ID: SDC-1895 Change-Id: If880270321fed4c4fdc6b1de8db110253fe8d8d8 Signed-off-by: Parshad Patel <pars.patel@samsung.com>
2019-02-10Fix Null Pointer Issueshrek20002-1/+3
Add dependent child service to service Issue-ID: SDC-1987 Change-Id: I99418251ffc45f025fe9cd4505159a20ea115e86 Signed-off-by: shrek2000 <orenkle@amdocs.com>
2019-02-07Add dependent child service to serviceshrek200019-14/+1159
Add dependent child service to service Issue-ID: SDC-1987 Change-Id: I5a650f57a27587c4ce6f33059719060ffa1f13de Signed-off-by: shrek2000 <orenkle@amdocs.com>
2019-02-05fix review comments on property assignmentTalio7-120/+63
Change-Id: Ia986294cb552f4e26b3ebf1d1b50c9b7941553ab Issue-ID: SDC-2097 Signed-off-by: Talio <tali.orenbach@amdocs.com>
2019-02-04Add property mapping feature to ONAPTalio23-784/+1565
Add service property assignment Change-Id: I29748ce12bacab06b8bc27f8875b39d80ffe5af7 Issue-ID: SDC-1988 Signed-off-by: Talio <tali.orenbach@amdocs.com>
2019-01-31Operation Outputs - Operation screen BEojasdubey5-36/+123
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 serviceshrek200012-0/+1805
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 BEojasdubey9-342/+864
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-22Template-Interface file fixOren Kleks1-178/+178
If there are no component instance in composition, the template interface file is not presented in import section Change-Id: Icd0682fbf5cfc539c3b6dd3d37558804d704348e Issue-ID: SDC-2055 Signed-off-by: shrek2000 <orenkle@amdocs.com>
2019-01-15Interface operation feature enhancementspriyanshu1-14/+7
Issue with DELETE API Change-Id: I20214a35c88a8f91f9e778454b498f5933c2accf Issue-ID: SDC-1999 Signed-off-by: priyanshu <pagarwal@amdocs.com>
2019-01-14Interface operation feature enhancementspriyanshu23-1438/+1649
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"priyanshu22-1102/+1171
This reverts commit 01f825bc Change-Id: I9e41da46a410be335283a27758cb1e77a087046f Issue-ID: SDC-1999 Signed-off-by: priyanshu <pagarwal@amdocs.com>
2018-12-24Interface operation feature enhancementspriyanshu22-1171/+1102
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 typesshrikantawachar5-2/+100
API for get all interface lifecycle types Change-Id: I64471c98ff9626ac53562a075a34f506c2e263ab Issue-ID: SDC-1999 Signed-off-by: shrikantawachar <shrikant.awachar@amdocs.com>
2018-12-04Change VF version failure - bug fix.Lior Nachmias1-0/+1
Change-Id: I933fba8f03686d46755b8f9ea06a819ef9356140 Issue-ID: SDC-1971 Signed-off-by: Lior Nachmias <lior.nachmias@intl.att.com>
2018-12-02update sdc portal integrationTal Gitelman5-74/+71
Issue-ID: SDC-1749 Change-Id: Ia6a143bfc0a1511909bc83cb5ea1c1b3f8789b08 Signed-off-by: Tal Gitelman <tal.gitelman@att.com>
2018-11-29update sdc portal integrationTal Gitelman2-62/+15
Issue-ID: SDC-1749 Change-Id: Ic8162af62583dd5d1d81662ef555d2267514f107 Signed-off-by: Tal Gitelman <tal.gitelman@att.com>
2018-11-29update sdc portal integrationTal Gitelman4-1/+391
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-29Fix critical sonar issuesParshad Patel1-1/+9
Fix rethrow the "InterruptedException" and Use "isAssignableFrom" sonar issues Issue-ID: SDC-1895 Change-Id: I2cadc08b9e7acdc84cf25a3ce9d22199711afa5d Signed-off-by: Parshad Patel <pars.patel@samsung.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-28fix issue in in alloted resourceMichael Lando2-1/+1
update aloted template add it to upgrade normative remove use of mail librery Change-Id: Ie8922c6cce4ca10baaf401f7a7bfed436ceb585e Issue-ID: SDC-1945 Signed-off-by: Michael Lando <michael.lando@intl.att.com>
2018-11-26SDC can not handle complex string in tosca yamlTal Gitelman1-1/+1
Issue-ID: SDC-1918 Change-Id: I86957b5d4bf0dab5ca749623efbccd6f4b535f10 Signed-off-by: Tal Gitelman <tal.gitelman@att.com>
2018-11-25Refactor Code ArtifactsBusinessLogicSindhuri.A1-7/+5
Code refactor : catalog-be classes Issue-ID: SDC-1880 Change-Id: I91cde08ff38ea5436673e142c0730153b37c2200 Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2018-11-23Service Workflow changessiddharth090510-107/+268
Service workflow change with few bug fixes Change-Id: Ice2376565bf46fb8d86fb6062654ec54bb2daa43 Issue-ID: SDC-1937 Signed-off-by: siddharth0905 <siddharth.singh4@amdocs.com>
2018-11-22Solve BE issues from sonarSonsino, Ofir (os0695)5-6/+2
Change-Id: Ide67cbc4418e94907437053e2db16b94c51da4ee Issue-ID: SDC-1948 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com>
2018-11-22DAO sonar fixesSonsino, Ofir (os0695)1-4/+5
Change-Id: I453fdb5f2aa1488adbf0664a624a98b239d4a927 Issue-ID: SDC-1954 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com>
2018-11-21Sonar code smell fixesSonsino, Ofir (os0695)5-80/+72
Change-Id: I324de653e8e3b4c74bd3723f6bed221f21094f5c Issue-ID: SDC-1948 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.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-15vcpe artifacts supportTal Gitelman1-20/+27
- make the input csar could accepted by SDC Change-Id: Ia327044c3fa606278d0e5783f35bfa724e5d1d5f Issue-ID: SDC-1911 Signed-off-by: Tal Gitelman <tal.gitelman@att.com>
2018-11-13vCPE Tunnel XConn : allottedResourcEtype isTal Gitelman1-1/+1
- failing to match SO trigger Change-Id: I5e56408f619487c436e7547c0935b3791d24016d Issue-ID: SDC-1909 Signed-off-by: Tal Gitelman <tal.gitelman@att.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-11Deleted artifact generator modulesvempo1-1/+0
Change-Id: Ibad18285edc1181d7247d395efa8f2322e255147 Issue-ID: SDC-1906 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.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>