aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test
AgeCommit message (Collapse)AuthorFilesLines
2018-04-10Evaluate subinterface_indicator propertysiddharth0905112-406/+3411
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 typesiddharth0905617-29142/+37787
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 1C2ojasdubey123-17048/+24587
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 rolesiddharth090522-417/+230
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 Groupojasdubey12-16/+1974
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 Groupojasdubey55-6361/+15245
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-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-roleeleonorali6-7/+16
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 regextalio3-12/+12
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)eleonorali53-2511/+2513
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)eleonorali232-76/+5947
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 nullavigaffa6-27/+57
Change-Id: I98bbff6b567932d06d4764ac24bc25984741834c Issue-ID: SDC-1093 Signed-off-by: avigaffa <avi.gaffa@amdocs.com>
2018-03-06Code Change & Junit for verifying Pattern4siddharth090569-0/+17414
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, 1C1ojasdubey221-33659/+76832
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 Rulesojasdubey5-375/+1176
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>
2018-02-11SRIOV - add annotationseleonorali216-338/+37928
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 translationojasdubey42-14709/+696
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 Gitelman88-164/+359
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-14forwarder test fixtalio461-5089/+11353
fix translator tests with forwarder capability Issue-Id : SDC-653 Change-Id: I59db23acb0e2c3b5920bf24662374fee950d479b Signed-off-by: talio <tali.orenbach@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 idstalio222-35266/+35360
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 properlyvempo77-4209/+16629
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 portstalio23-0/+3687
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-11-05dynamic portstalio6-147/+5
ignore "depends_on" from / to nested entities, and adding tests Issue - Id : SDC-576 Change-Id: I4788df058ca3b6ea436e54b3a05ceed97135327b 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-10-02Change node template prefixtalio296-29936/+18851
Add "".compute" to nested compute node types in substitution service templates Issue - Id : SDC-425 Change-Id: I00902576a3adf8d0463ef1352961629663efd96c 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>
2017-09-14Removing service templates without node templatestalio25-151/+11237
Bugfix for cases where we have substitution service templates without node templates Issue - ID : SDC-330 Change-Id: Ia9f33ce90fe0dbcc8ca2596ca63da704a48c7e67 Signed-off-by: talio <tali.orenbach@amdocs.com>
2017-09-13Fixing requirements in substituable node templatestalio71-2040/+19127
Adding dependencies with correct dependency id for substituable node templates Change-Id: I696441bc62807cf2abd73963583d6198dfaea259 Issue-ID: SDC-313 Signed-off-by: talio <tali.orenbach@amdocs.com>
2017-09-10Add latest bug fixes to masteravigaffa77-2386/+30626
Change-Id: Ieddc2330ad4e093984f14a69b52f2ca5cb465a10 Issue-ID: SDC-293 Signed-off-by: avigaffa <avi.gaffa@amdocs.com>
2017-09-07Fixed a few static analysis violationsvempo1-4/+5
Fixed mostly not closing resources (InputStream, ResultSet) and catching Throwable instead of Exception in some modules. Issue-ID: SDC-291 Change-Id: I34e331cc3b45c4bb3a71c301f50e1706a7b623fd Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2017-08-10[SDC] OnBoard with enabled tests and featuresaz249724-60/+63
Change-Id: I4c1bbf6e1c854cf97a3561c736f83da44b58b7c0 Signed-off-by: az2497 <avi.ziv@amdocs.com> [SDC] OnBoard with enabled tests and features. Change-Id: Icd52f039aee4dd393a1404d530bb9fdd0b20e604 Signed-off-by: az2497 <avi.ziv@amdocs.com>
2017-07-18[SDC] Onboarding 1710 rebase.Avi Ziv362-18084/+137306
Change-Id: If3b6b81d221fde13908f1e8160db6f7d9433c535 Signed-off-by: Avi Ziv <avi.ziv@amdocs.com>
2017-07-12[sdc] rebase updateMichael Lando53-0/+11002
Change-Id: I8f1fc7150975122dd9f3f4e653b9983064b399a6 Signed-off-by: Michael Lando <ml636r@att.com>
2017-07-03[sdc] - last merges before moving to LFTal Gitelman206-4543/+1572
Change-Id: I0df3ec795f0de84229ea4bb4806ec8f959243557 Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
2017-06-22[sdc] - latest code changesTal Gitelman223-7478/+6616
Change-Id: I861387094b000367218bb417624fe50d3c37f70e Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
2017-06-18[sdc] update code of sdcMichael Lando195-3532/+2347
Change-Id: If9f37c80b659cb67b34d18e6c019defecca58b9a Signed-off-by: Michael Lando <ml636r@att.com>
2017-06-11[SDC-29] rebase continue work to align sourceMichael Lando255-4752/+24301
Change-Id: I218f1c5ee23fb2c8314f1c70921d3ad8682c10f4 Signed-off-by: Michael Lando <ml636r@att.com>