summaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/java
AgeCommit message (Collapse)AuthorFilesLines
2018-08-12SRIOV for SDNFShnaider, Marina (ms7589)2-4/+55
Adding Fabric Configuration capability to the VFC/ compute Change-Id: Ia518c56b75ec5355af94c28ac0b6bcfe11bc0d1e Issue-ID: SDC-1601 Signed-off-by: Shnaider, Marina (ms7589) <ms7589@intl.att.com>
2018-07-29re base codeMichael Lando15-129/+61
Change-Id: I12a5ca14a6d8a87e9316b9ff362eb131105f98a5 Issue-ID: SDC-1566 Signed-off-by: Michael Lando <ml636r@att.com>
2018-07-27Refactoring Consolidation Servicesiddharth090512-748/+1114
Changes as per comments Change-Id: Ic2c800513265daf4bbed1f15920864ba0cb28859 Issue-ID: SDC-1330 Signed-off-by: siddharth0905 <siddharth.singh4@amdocs.com>
2018-07-15Nested input params appears in MainServiceTemplateeleonorali1-0/+33
When Nested heat belongs to Volume HEAT and Volume Heat was associated to main HEAT (parent) input parameters came from such nested were appear in MainServiceTemplate.yaml (TOSCA) Also these parameters had annotation in nestedServiceTemplate.yaml Change-Id: I46fff53de502c7ec48b6e4c26087121be89dd0a1 Issue-ID: SDC-1498 Signed-off-by: eleonorali <eleonoral@amdocs.com>
2018-06-27TOSCA Consolidation Data - Refactoring Part 3eleonorali9-118/+981
- Add Missing UTs for refactored code - Refactor APIs: - addVolumeToConsolidationData - addGroupIdToConsolidationData Change-Id: I83dedcbdf9715c6f72faa5fc242e76ea10efe386 Issue-ID: SDC-1330 Signed-off-by: eleonorali <eleonoral@amdocs.com>
2018-06-20VLAN Tagging - Display naming convention warningojasdubey1-9/+11
Vlan tagging HEAT validation doesn't show appropriate warning when naming convention is not followed Change-Id: I98d998ac425a66f0f0b362aecd5da6c867c5b7eb Issue-ID: SDC-1431 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2018-06-06VFCInstanceGroup is not displayed on VF creationojasdubey1-0/+8
Fixed issue for displaying VFCInstanceGroup for VLAN tagging when naming convention is correct Change-Id: I5ea5c042458603389b1fb2aa6e6f985a7114049b Issue-ID: SDC-1398 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2018-06-04Refactoring - TOSCA Consolidation Data handlingsiddharth09052-0/+164
Tried to handle class members from within class instead of outside Change-Id: Iee6b396562cdcbd1569dd6ce7b31a205e1de6257 Issue-ID: SDC-1330 Signed-off-by: siddharth0905 <siddharth.singh4@amdocs.com>
2018-05-31Refactor Onboarding Function Translation codeojasdubey3-148/+139
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 2eleonorali5-0/+525
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-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-16Renamed classes to include skipped testsojasdubey11-219/+143
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 issuessiddharth09051-23/+0
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-14Nested Dependency issuessiddharth09052-6/+0
Remove nested depends On connectivity Change-Id: I65bd9473f879fa72b453c2793f2b2406adde4513 Issue-ID: SDC-1315 Signed-off-by: siddharth0905 <siddharth.singh4@amdocs.com>
2018-04-30Rename packages from openecomp to onap.amitjai10-31/+27
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 Shah1-115/+109
Reducing onboarding backend maven build time Change-Id: Id0178cbf010e46f741f4bff11e14b0801f14d4b8 Issue-ID: SDC-1189 Signed-off-by: GAUTAMS <gautams@amdocs.com>
2018-04-17Reducing onboarding backend maven build timeGautam Shah7-64/+61
Reducing onboarding backend maven build time Change-Id: Iab7af70c0e9f60b8a50bef7937e802df5be89fd0 Issue-ID: SDC-1189 Signed-off-by: GAUTAMS <gautams@amdocs.com>
2018-04-10Evaluate subinterface_indicator propertysiddharth09051-0/+12
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 timeshrikantawachar2-4/+4
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 typesiddharth09055-58/+15
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 1C2ojasdubey1-42/+60
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 rolesiddharth09051-2/+4
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 Groupojasdubey2-16/+32
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 Groupojasdubey1-14/+28
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 rolesiddharth09051-1/+29
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-19Code Change & Junit for verifying Pattern5siddharth09051-0/+100
Code change and Junit for pattern5 Change-Id: Icbe8cf25cd97250e8c5000ca75bc7dcd7900e129 Issue-ID: SDC-1085 Signed-off-by: siddharth0905 <siddharth.singh4@amdocs.com>
2018-03-12Refactor port id regextalio1-1/+1
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)eleonorali2-1541/+1543
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)eleonorali2-1/+12
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 nullavigaffa1-5/+11
Change-Id: I98bbff6b567932d06d4764ac24bc25984741834c Issue-ID: SDC-1093 Signed-off-by: avigaffa <avi.gaffa@amdocs.com>
2018-03-06Code Change & Junit for verifying Pattern4siddharth09051-0/+87
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 Pattern1Bsiddharth09051-0/+56
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, 1C1ojasdubey10-38/+878
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 Rulesojasdubey4-375/+969
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-11SRIOV - add annotationseleonorali6-60/+71
SRIOV - add annotations to input TOSCA parameter converted from HEAT file (2) Change-Id: Id0b0156730ae64093df42d09e2873de047c13ac9 Issue-ID: SDC-996 Signed-off-by: eleonorali <eleonoral@amdocs.com>
2018-02-08VLAN tagging - Enable first stage translationojasdubey3-67/+66
1. Added toggle for vlan tagging feature 2. Enabled existing translation of feature with toggle 3. Enabled unit tests for the same 4. Deleted unused test data 5. Updated license text 6. Updated code based on review comments Change-Id: I755df4889f18a32061e9d4d1ebec09162b2d8b83 Issue-ID: SDC-998 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2018-02-01Removed log constants from translator corevempo2-11/+4
Removed constants associated with audit/metrics logging from the business code. Some safe cleanup and refactoring. Change-Id: I95d0fd3e72baf0fe4991f400bfd1bae6eba8009b Issue-ID: SDC-772 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-01-28Remove MdcDataErrorMessage #3vempo2-8/+0
Change-Id: Ic8e7578eae6e7e5dc3140d7d38f18a718926b782 Issue-ID: SDC-875 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2017-12-27Simplified the return conditionojasdubey1-0/+93
Note: Sonar violations will be handled as a separate task Change-Id: I862247f5c693f4d64dff4ce18f2f71e42c85355a Issue-ID: SDC-749 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2017-12-26fix VM groupingTal Gitelman1-1/+2
ignoring fixed_ips value when consolidating VMs Issue-ID: SDC-774 Change-Id: Icdd88af94ff0609f6efabf69b00ed09836270fff Signed-off-by: talio <tali.orenbach@amdocs.com>
2017-12-21Add collaboration featuretalig18-96/+94
Issue-ID: SDC-767 Change-Id: I14fb4c1f54086ed03a56a7ff7fab9ecd40381795 Signed-off-by: talig <talig@amdocs.com>
2017-11-13forwardertalio2-0/+46
implement toggling feature on forwarder Issue-Id : SDC-653 Change-Id: I238ae82b6f1fd9fce58ab584acd362a6bafd0dff Signed-off-by: talio <tali.orenbach@amdocs.com>
2017-11-07Test Cases for the Port scaling Utilitysiddharth09051-0/+76
Test cases to cover all possible scenario which might come as port type. Change-Id: Icdfa35fea52cba86bc5128fad3ec2f857c1d6079 Issue-ID: SDC-573 Signed-off-by: siddharth0905 <siddharth.singh4@amdocs.com>
2017-11-06duplicate idstalio1-1/+1
throw an exception when a zip with duplicate ids in different files is getting uploaded Issue - Id : SDC-554 Change-Id: I213233d8833b89788f980db859d9597d2c1cb950 Signed-off-by: talio <tali.orenbach@amdocs.com>
2017-11-05Port scaling not working properlyvempo10-1106/+566
Made changes in evaluating port naming pattern. Change-Id: If9a3fc9c3d50fa5c4da319d2ff7d5f8ce6ca8ffe Issue-ID: SDC-573 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2017-11-05dynamic portstalio2-0/+64
ignore "depends_on" from / to nested entities, and adding tests Issue - Id : SDC-576 Change-Id: I2bdf8d97e727395420ff1516c97ff4c8af541749 Signed-off-by: talio <tali.orenbach@amdocs.com>
2017-10-31duplicate idstalio1-8/+11
change behaviour when recognizing duplicate resource ids in different files Issue - Id : SDC-554 Change-Id: Id1c43fd99caa6a3cc421e894963972d3e76db551 Signed-off-by: talio <tali.orenbach@amdocs.com>
2017-09-18Fixed SONAR issuesDivesh Mirchandani7-17/+25
Fixed blocker, critical, major & minor SONAR issues. Issue-ID: SDC-343 Change-Id: I72e5a3a7fa7d7407a92f98f77e4334827f70f926 Signed-off-by: dd4616 <Divesh.Mirchandani@amdocs.com>