aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-translator-lib
AgeCommit message (Collapse)AuthorFilesLines
2018-05-31Refactor Onboarding Function Translation codeojasdubey14-912/+783
1. Fixed sonar violations and static analysis issues for function translation 2. Refactored methods for code smells Note: The below files are modified to keep successful compilation and will be handled separately in a different commit (i) HeatToToscaUtil (ii) TranslatorHeatToToscaParameterConverter (iii) TranslatorHeatToToscaPropertyConverter Change-Id: I75472c2848d1eb812468e7d6457c8da96d6c0e4e Issue-ID: SDC-1331 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2018-05-31TOSCA Consolidation Data - Refactoring Part 2eleonorali23-817/+1399
Refactor get Compute/Port/Nested/SubInterface Consolidation Data APIs Change-Id: Ibce3abcd766555fe0eeaaf2f728d3a384935877d Issue-ID: SDC-1330 Signed-off-by: eleonorali <eleonoral@amdocs.com>
2018-05-28Onboarding build optimization incl Qual ControlGautam Shah1-0/+2
Sonar fixes, incremental build enhancements and Quality control mechanism integration. Change-Id: I118d7fc0cc50c1eddb94137310c00afaaa3aaffb Issue-ID: SDC-1189 Signed-off-by: GAUTAMS <gautams@amdocs.com>
2018-05-28Refactor Onboarding Translator codeojasdubey17-1667/+1690
1. Fixed sonar violations 2. Fixed static analysis issues 3. Refactored methods for code smells 4. Moved log messages to a common place Change-Id: I33725bc51040a2c7683b06b4294dea6f96c425e3 Issue-ID: SDC-1331 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2018-05-27R2 model updatesdekstroza1-8/+8
All model verification changes and updated in single patch. Change-Id: Ie794dc141400490bf1a858a8d6c9d1c45e5b9443 Issue-ID: SDC-1253 Signed-off-by: Michael Lando <ml636r@att.com>
2018-05-27SonarQube coverageayalaben1-0/+5
Change-Id: I2290ea6462cb2ab7a9a3a9feba69b69231ec78fa Issue-ID: SDC-1364 Signed-off-by: ayalaben <ayala.benzvi@amdocs.com>
2018-05-27Revert "update sdc version"Michael Lando3-3/+3
This reverts commit 5920d2c9e47958ed5f3197b7a16094e01e8d4bcd. Change-Id: I7906549d1fb7ba5d8d081870a9d976a3c8077438 Issue-ID: SDC-1370 Signed-off-by: Michael Lando <ml636r@att.com>
2018-05-26update sdc versionMichael Lando3-3/+3
update pom and version.properties to 1.3.0 Issue-ID: SDC-1370 Change-Id: Ib8f4e2859ee79dfd8e19e725b07c77d7d2bbdaf1 Signed-off-by: Michael Lando <ml636r@att.com>
2018-05-23Refactor Onboarding Translator codeojasdubey13-1569/+1590
1. Fixed sonar violations 2. Fixed static analysis issues 3. Refactored methods for code smells 4. Moved log messages to a common place as per review comments Note: UnifiedCompositionService has been included to ensure successful compilation. The violations of this class will be handled in a separate commit Change-Id: I2a37176e1d5cebc5c32883df2d19f1c602c9d958 Issue-ID: SDC-1331 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2018-05-17Refactor Onboarding Translator codeojasdubey9-1031/+1004
1. Fixed sonar violations 2. Fixed static analysis issues 2. Refactored methods for code smells Change-Id: I0d33c93156ddfaa43769a98f086e269b43c24cd2 Issue-ID: SDC-1331 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2018-05-16TOSCA Consolidation Data handling - Refactoringeleonorali8-923/+1463
Create new Interface, Base and Implementation classes for Consolidation Data Handlers Change-Id: I9638a7b57321aca00b458b244b278807a99b25f2 Issue-ID: SDC-1330 Signed-off-by: eleonorali <eleonoral@amdocs.com> Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-05-16Renamed classes to include skipped testsojasdubey22-395/+337
1. Renamed test classes to align with junit test naming convention to include them in the build 2. Fixed static analysis issues in test classes 2. Refactored methods for code smells Change-Id: Idacf6646ed8650cc7a96d5f539e7276e684bfb66 Issue-ID: SDC-1331 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2018-05-16Nested Dependency issuessiddharth09054-41/+16
Remove nested depends On connectivity Change-Id: Ic140e88fac74c31200cdd662dcbf6e296183ade3 Issue-ID: SDC-1315 Signed-off-by: siddharth0905 <siddharth.singh4@amdocs.com>
2018-05-15Removed logger.debug(, exception) from TestUtilsmojahidi3-90/+62
Removed logger.debug(, exception) from TestUtils Change-Id: I46698478ff9b2cb6d9f2ff975e69393287336d1c Issue-ID: SDC-836 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2018-05-15Removed logger.debug(, exception)mojahidi1-17/+7
Removed logger.debug(, exception) from code Change-Id: Ifc3d5947932027c3261c50a8f6275f5034576d60 Issue-ID: SDC-836 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2018-05-14Nested Dependency issuessiddharth090527-421/+106
Remove nested depends On connectivity Change-Id: I65bd9473f879fa72b453c2793f2b2406adde4513 Issue-ID: SDC-1315 Signed-off-by: siddharth0905 <siddharth.singh4@amdocs.com>
2018-05-08Junit Test Failuresiddharth09052-103/+103
Junit test were failing in local due to folder name change in common Change-Id: Ie78e2b8cbe41ce568b3f77928e7dd746d9ed3c95 Issue-ID: SDC-1312 Signed-off-by: siddharth0905 <siddharth.singh4@amdocs.com>
2018-04-30SIROV - add parent heat name for volumeeleonorali2-22/+23
Refactoring - handle Static Analysis Errors/Warnings Change-Id: I66abb24a1f7a2c5bfe018320560a0010e4afd277 Issue-ID: SDC-996 Signed-off-by: eleonorali <eleonoral@amdocs.com>
2018-04-30Rename packages from openecomp to onap.amitjai78-221/+220
This task is all about package name space change also make changes to pom for common module Change-Id: Ie9bda0f958a9a05826c0374830cc9cb7d6d196b6 Issue-ID: SDC-1272 Signed-off-by: amitjai <amitjai@amdocs.com>
2018-04-26Reducing onboarding backend maven build timeGautam Shah6-237/+115
Reducing onboarding backend maven build time Change-Id: Id0178cbf010e46f741f4bff11e14b0801f14d4b8 Issue-ID: SDC-1189 Signed-off-by: GAUTAMS <gautams@amdocs.com>
2018-04-24Fixed create VF for vOTA and vmstore heatsojasdubey27-380/+203
Updated code for handling identical value property 'ip_requirements' from list of list to list of identical value Change-Id: I1c3571f218fcc18ecfb22dd62112e1496109e3fa Issue-ID: SDC-1255 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2018-04-17SIROV - add parent heat name for volumeeleonorali12-118/+95
SIROV - add parent heat name for parameter came from volume HEAT Change-Id: I5592dc8b292037e740a1d7ac11e7ee0576cc2ec8 Issue-ID: SDC-996 Signed-off-by: eleonorali <eleonoral@amdocs.com>
2018-04-17Reducing onboarding backend maven build timeGautam Shah8-64/+102
Reducing onboarding backend maven build time Change-Id: Iab7af70c0e9f60b8a50bef7937e802df5be89fd0 Issue-ID: SDC-1189 Signed-off-by: GAUTAMS <gautams@amdocs.com>
2018-04-15SIROV - add parent heat name for volumeeleonorali1-36/+35
Refactoring to solve static analysis found issues + fix spelling issue for Requirments String (all issues suggested by Vitaly E.) Change-Id: I2f09d4ab088db7973ba3ff3a71a21bd1c830fad4 Issue-ID: SDC-996 Signed-off-by: eleonorali <eleonoral@amdocs.com>
2018-04-12Subinterface_indicator property issuesiddharth0905496-7735/+2747
It should only be present under port implementation Change-Id: I8b52905c5e5c888cf384bebf1d23168c7906b004 Issue-ID: SDC-1183 Signed-off-by: siddharth0905 <siddharth.singh4@amdocs.com>
2018-04-12Defect 451622: Fix for defect 430981 not correcteleonorali1-234/+236
Refactoring for API names Change-Id: I6b23ddf88752c09af07c9a49c68a042c8cfc9669 Issue-ID: SDC-1203 Signed-off-by: eleonorali <eleonoral@amdocs.com>
2018-04-11Subinterface_indicator property create VF bug fixojasdubey1-1/+3
Added toggle to fix regression bug for create VF when VLAN tagging is not enabled. Change-Id: I7751ae1a7ba48315319b5522cc230ece2f46e84d Issue-ID: SDC-1206 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2018-04-10Defect 451622: Fix for defect 430981 not correcteleonorali253-5595/+475
Only one default ipVersion - version4 should be created Change-Id: I27aad6acdacf66cf48f71f0a17cdd414aa510f93 Issue-ID: SDC-1203 Signed-off-by: eleonorali <eleonoral@amdocs.com>
2018-04-10Evaluate subinterface_indicator propertysiddharth0905114-408/+3418
Corrected the condition to mark subinterface_indicator true/false Change-Id: I3f21924defbc89a5fcd9a89ffc1ea0d28eec8c36 Issue-ID: SDC-1183 Signed-off-by: siddharth0905 <siddharth.singh4@amdocs.com>
2018-04-08Reducing onboarding backend maven build timeshrikantawachar4-32/+6
Reducing onboarding backend maven build time Change-Id: I3fe5f8d6d9b21591018243d16809451c6b8c2d14 Issue-ID: SDC-1189 Signed-off-by: shrikantawachar <shrikant.awachar@amdocs.com>
2018-04-04Added new nodes typesiddharth0905620-29177/+37837
Added new nodes type and new property in Port. All test data need to be updated, so file count is much more. Change-Id: Ic21befe8d7feee912fbed1d3eb676488db1fb68c Issue-ID: SDC-1183 Signed-off-by: siddharth0905 <siddharth.singh4@amdocs.com>
2018-03-29VLAN tagging - Support Pattern 1C2ojasdubey124-17102/+24656
1. Pattern 1C2 vlan tagging code 2. Count property handling 3. Added tests and updated existing test data Change-Id: Idef33b142d415e1c0a9663497eed621f35c2393b Issue-ID: SDC-1174 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2018-03-28Code change to evaluate Network rolesiddharth090523-446/+262
Code change to evaluate Network Role of Sub interface resource Change-Id: I0e29c0a1512b76b6db569aaf534f5e59868ae715 Issue-ID: SDC-1072 Signed-off-by: siddharth0905 <siddharth.singh4@amdocs.com>
2018-03-27VLAN tagging - Pattern 4 VFC Instance Groupojasdubey17-156/+2165
1. Create VFC instance group per sub-interface network role for pattern 4 heats 2. Added tests and updated existing test data Change-Id: Id4f84c5a7dac3adfddde1192947ecaa5502f21df Issue-ID: SDC-1073 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2018-03-27VLAN tagging - VFC Instance Groupojasdubey67-6501/+15546
1. Create VFC instance group per sub-interface network role 2. Refactored PortTemplateConsolidationData and its references based on review comments 3. Updated test data after rebase 4. Updated to flatMap based on review comments Change-Id: I423593c5156ecae5eff3a4f2ce8591c85db727cc Issue-ID: SDC-1073 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2018-03-22Code change to evaluate Network rolesiddharth09053-19/+65
Code change to evaluate Network Role of Sub interface resource Change-Id: I73b1cad7eb15c59153751a77a4bc78101042941d Issue-ID: SDC-1072 Signed-off-by: siddharth0905 <siddharth.singh4@amdocs.com>
2018-03-22Update FlatEntity in TOSCAshiria54-254/+254
Add support of dataType entity flat hierarchy in TOSCA Fix existing nodeType entity flat hierarchy in TOSCA Change-Id: I52cd188c595a263c70c2067fd1aac9752f7e24a4 Issue-ID: SDC-1147 Signed-off-by: shiria <shiri.amichai@amdocs.com>
2018-03-19Code Change & Junit for verifying Pattern5siddharth090590-0/+37596
Code change and Junit for pattern5 Change-Id: Icbe8cf25cd97250e8c5000ca75bc7dcd7900e129 Issue-ID: SDC-1085 Signed-off-by: siddharth0905 <siddharth.singh4@amdocs.com>
2018-03-15Interface definitiontalio4-4/+104
Add separate Interface definition for node type and node template Change-Id: I0c4446227dd096959158fd4a4741cb5aa043e495 Issue-ID: SDC-1043 Signed-off-by: talio <tali.orenbach@amdocs.com>
2018-03-13Multiple ports (extCP) with wrong network-roleeleonorali7-837/+851
E2E/Internal Defect - multiple ports (extCP) with wrong network-role Change-Id: Ic3896287347978ad3e89ac14fb07916ea201d8fa Issue-ID: SDC-1113 Signed-off-by: eleonorali <eleonoral@amdocs.com>
2018-03-12Refactor port id regextalio4-60/+79
Change port id regex to allow getting ids with or without digits Change-Id: Ic2738c5433c258927caf04bd11dceac9320718c6 Issue-ID: SDC-1093 Signed-off-by: talio <tali.orenbach@amdocs.com>
2018-03-12Port Mirroring: Incorrect Interfaces list(2)eleonorali54-2512/+2514
Defect 427115 - Port Mirroring: Incorrect Interfaces list - not correct Port Type Change-Id: I5a58f5a0acf9df455d294d2dbc0b84cb2c1e03e2 Issue-ID: SDC-1107 Signed-off-by: eleonorali <eleonoral@amdocs.com>
2018-03-12Support Dual stuck - for difference version (2)eleonorali233-165/+6054
E2E Defect 430981 - ip_requirments for multiple ports with difference version wasn't supported Change-Id: If3e93f099900bc078de6da9092b9d1460609e232 Issue-ID: SDC-1096 Signed-off-by: eleonorali <eleonoral@amdocs.com>
2018-03-11Validation of VSP fails with error nullavigaffa8-59/+118
Change-Id: I98bbff6b567932d06d4764ac24bc25984741834c Issue-ID: SDC-1093 Signed-off-by: avigaffa <avi.gaffa@amdocs.com>
2018-03-06Code Change & Junit for verifying Pattern4siddharth090570-7/+17465
Simplified the code as per the review comment Change-Id: I4614cf25d743afb54d686934f9faa2a26edf0c89 Issue-ID: SDC-1074 Signed-off-by: siddharth0905 <siddharth.singh4@amdocs.com>
2018-03-04Junit for verifying Pattern1Bsiddharth090547-0/+14886
Junit for verifying Pattern1B Change-Id: Ic7af0f22abf097dbe9f48a838951478eca648cd2 Issue-ID: SDC-1072 Signed-off-by: siddharth0905 <siddharth.singh4@amdocs.com>
2018-02-28VLAN tagging - Pattern 1A, 1C1ojasdubey245-34626/+78876
1. Implementation for supporting VLAN tagging in Pattern 1A and 1C1 heats 2. Updated code for switch case refactor with command design pattern 3. Added unit tests and bug fixes Change-Id: I54938ffd6673f865b4506a890ec8e7b9c54597b1 Issue-ID: SDC-1036 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2018-02-19VLAN tagging - Added Consolidation Rulesojasdubey8-453/+1536
1. Added rules for subinterface consolidation 2. Added new data types for supporting subinterface consolidation 3. Added unit tests 4. Updated license text 5. Updated code based on review comments Change-Id: I7c0d7a4747029c15212c3474280dd8fc6d623ccc Issue-ID: SDC-998 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com> Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-02-18SRIOV - set Toggle feautures On on Flow Testeleonorali2-25/+4
SRIOV - set Toggle feautures On on Flow Test Change-Id: Id22c21d698c26ea506d338114d4c599d47e4a2b1 Issue-ID: SDC-1050 Signed-off-by: eleonorali <eleonoral@amdocs.com>
2018-02-15Add Tosca model healertalio6-21/+569
create a Tosca model healer for future changes in Tosca structure Change-Id: I3843e4727b6bbb383576ae6a4fb055c5b6fa001f Issue-ID: SDC-973 Signed-off-by: talio <tali.orenbach@amdocs.com>