summaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src
AgeCommit message (Collapse)AuthorFilesLines
2023-02-27TranslationService- Add null test before using nullable valuesshikha02031-2/+2
Issue-ID: SDC-4414 Signed-off-by: shikha0203 <shivani.khare@est.tech> Change-Id: I7b80df4c650af677fb194d04dc6013adff08473b
2023-01-03Upgrade testing frameworks to latest not-vulnerable versionsvasraz3-12/+12
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Ie68290a79d075132c73e6cc9e82b9dbda92fbe8c Issue-ID: SDC-4313
2022-03-28Copy entry_defintion_type to TOSCA.metafranciscovila6-6/+18
Copy "entry_defintion_type" from the manifest file of ASD package into the generated TOSCA.meta for the VSP package Issue-ID: SDC-3884 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: I35c4d0180529e8c60edc714aecadd0150cbd2c03
2022-01-25Fix use of Optional in TranslatorHeatToToscaPropertyConverterfranciscovila1-2/+6
Checking the Optionals are present before getting their values in the TranslatorHeatToToscaPropertyConverter class Issue-ID: SDC-3834 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: I92f9153adea8be4225c0a181fd31b9f7090bde96
2022-01-24Fix use of Optional in TranslatorHeatToToscaParameterConverterfranciscovila1-2/+4
Checking the Optionals are present before getting their values in the TranslatorHeatToToscaParameterConverter class Issue-ID: SDC-3833 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: I133b47aadfa11b42736fe2b68bee4fba78847f00
2022-01-13Improve testing stabilityvasraz8-8/+8
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I3f631642a97e65d6628816767e0a5408f02f4bc6 Issue-ID: SDC-3839
2022-01-13Fix use of Optional in TranslatorHeatToToscaParameterConverterfranciscovila1-1/+1
Checking the Optionals are present before getting their values in the TranslatorHeatToToscaParameterConverter class Issue-ID: SDC-3833 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: I6721c028c420734f3a02f78468e4b22acbfb5be8
2022-01-05Fix use of Optional in HeatToToscaUtilfranciscovila2-2/+115
Checking the Optionals are present before getting their values in the HeatToToscaUtil class. Adding a new test class for this purpose Issue-ID: SDC-3018 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: I9fbfbb6f9ebff1f0259b9c9113da6730bfa01cfa
2021-03-26Improve test coveragexuegao1-24/+7
Add unit tests to improve test coverage. Issue-ID: SDC-3428 Change-Id: Ifd9e6eb25fa3ec9f4f93d283277574120edff835 Signed-off-by: xuegao <xue.gao@intl.att.com>
2021-03-25Fix CRITICAL BUGsvasraz1-564/+562
Change-Id: I2924e68c03a6b640644fd0360ca23f29f9bb5f5b Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3529
2021-03-25Improve test coveragexuegao1-49/+7
Add unit tests to improve test coverage. Issue-ID: SDC-3428 Change-Id: I47da0decd6b6df93ace68b2af586b255ef0b792e Signed-off-by: xuegao <xue.gao@intl.att.com>
2021-03-24Reformat openecomp-bevasraz120-11206/+7882
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3449 Change-Id: I13e02322f8e00820cc5a1d85752caaeda9bf10d1
2021-02-23Upgrade Vulnerable Direct Dependencies [snakeyaml]JulienBe21-23/+7
Change-Id: I84417ab3d4f18634be519b837a34d1f1e774ceff Signed-off-by: amohamad <a.mohamad@queensu.ca> Issue-ID: SDC-3051 Updated MVN dependencies in the respective pom.xml files Updated the signature of some methods to match new version 1.26 Modified test cases to match the new wording of exceptions Still working on troublshooting other failing test cases Change-Id: Ifc796574e6d8d4e4fc707db04944d83427b5dbe6 Signed-off-by: amohamad <a.mohamad@queensu.ca> Signed-off-by: JulienBe <julien.bertozzi@intl.att.com>
2020-10-03sdc changes for identifying helm package as a vfmSithara Nambiar3-0/+60
Issue-ID: REQ-341 Signed-off-by: Sithara Nambiar <sitharav.aredath@huawei.com> Change-Id: Ide4736655c01dd25dae5afe1207a292a6bcd6951
2020-09-04Upgrade Vulnerable Direct Dependencies [jackson]amohamad1-1/+1
Issue-ID: SDC-3051 Upgrade from jackson-databind 1.9 and 2.10 to 2.11 upgrade the respective pom.xml files Upgrade the 1.9 imports and required code changes Upgrade the beans-services.xml files Change-Id: I56b59e08d65a0a1888c8caeb5470bc0c6a028ddd Signed-off-by: amohamad <a.mohamad@queensu.ca>
2020-06-21Toggletalio4-236/+245
Add toggling mechanism to catalog side. The first toggleable feature is healing - this was added to healing flow, in healJanusGraphDao Issue-ID: SDC-2874 Signed-off-by: talio <talio@amdocs.com> Change-Id: If386651cab8304ebaf13497ded3a7a50bd60e477 Signed-off-by: talio <talio@amdocs.com>
2020-05-07Support functions in TOSCA Simple Profile in YAMLvasraz10-23/+23
This commit aim to generalize usage of ToscaFunctions enum Change-Id: Iab3529e101f75db5f856778334a852afb532cdb6 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-2982
2020-05-05UnifiedCompositionService - Refactor code to handle Optional valueChris André1-5/+2
Issue-ID: SDC-3015 Signed-off-by: Chris Andre <chris.andre@yoppworks.com> Change-Id: I1d15d20e9c603ff894c7c4be46b26d60745cb7e5
2020-04-30HEAT to TOSCA VM ConsolidationBen David, Elad (eb7504)3-54/+29
Change-Id: I00c9cf90d7486af33955acae7dfe653e14ceebdc Issue-ID: SDC-2997 Signed-off-by: Ben David, Elad (eb7504) <eb7504@intl.att.com>
2020-03-17Base template guidelines changesBaumel, Dvir (db384r)57-0/+57
Issue-ID: SDC-2822 Change-Id: Ieb1832f878e2268bcfbfb2d574f8c7371f14b191 Signed-off-by: Baumel, Dvir (db384r) <dvir.baumel@intl.att.com>
2019-12-24Fix heat env test fileOfir Sonsino1-15/+7
Change-Id: Ib9540aef5da75535aef54bb5d56d790c080f2b09 Issue-ID: SDC-2560 Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
2019-11-19Fix for scalar-unit type value.aribeiro72-224/+413
Issue-ID: SDC-323 Change-Id: I7f19a7356e1cd34deca0a168b3cb707ef657b9cb Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
2019-11-03Centralize onboarding package validationandre.schmid6-19/+18
Change-Id: I3cc58cf15f62008e83cfc7ddb095d07ab216b82a Issue-ID: SDC-2583 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2019-10-29Fix for status properties value.aribeiro208-11563/+11563
These changes were made to align the normative types to the TOSCA property definition requirements. Issue-ID: SDC-322 Change-Id: I32e815dd26990dd6c82c859ad051b271db3c8029 Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
2019-07-11Added oparent to sdc mainTomasz Golabek31-102/+611
Removed errors regarding to a missing license and others. Started locally and executed basic api tests Change-Id: Iea37613defc97f7b40613d60c10990841cb2a209 Issue-ID: SDC-2419 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-02-06Remove FC toggleManzon, Inna (im453s)2-9/+5
Change-Id: I22d97e1dd57c4058bc6987fa88b9485a057b47f8 Issue-ID: SDC-2099 Signed-off-by: Manzon, Inna (im453s) <im453s@intl.att.com>
2018-12-19[Defect][674287] fix null validationHofit Ben-Kimon1-1/+1
Change-Id: I17897ca6d02e9638852441946005f1dd862c0b72 Issue-ID: SDC-2012 Signed-off-by: Hofit Ben-Kimon <hb272c@att.com>
2018-12-13Fabric configuration changeManzon, Inna (im453s)47-22/+10283
Change-Id: I584bbce2bdd45c6873ca3ed3b8b8820530d4804b Issue-ID: SDC-1998 Signed-off-by: Manzon, Inna (im453s) <im453s@intl.att.com>
2018-12-02Fix - Port type and vmtype underscore issueojasdubey470-52072/+52059
1. Fix for consolidation of VMs for cases when: a. VM type contains an underscore b. Multiple ports per network role 2. Updated the unit test cases and test data Change-Id: I875f3c8384f8ef2c2aa6add9e30a5f8899ae1a71 Issue-ID: SDC-1966 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2018-10-31Add NFC naming code to the csar of manual vsptalig1-0/+1
In getComponentDisplayName consider the case of manual vsp, in which: the added suffix "_VNF" should be removed in order to get the component display name Change-Id: I4a439b6970ed08bd997fef09ec8360ac1bf2b579 Issue-ID: SDC-1882 Signed-off-by: talig <talig@amdocs.com>
2018-08-26related-networks property support as inputAssaf, Shay (sa726r)400-3043/+8306
Change-Id: I2d6fb011f7440127559a8f02b1c8a72095694403 Issue-ID: SDC-1658 Signed-off-by: Assaf, Shay (sa726r) <sa726r@intl.att.com>
2018-08-13UTest for SRIOVShnaider, Marina (ms7589)7-2/+2554
Adding full UTest for Fabric Configuration feature Change-Id: I7e3d93ecede9755bbc8f04dc892aaba196b3e1dc Issue-ID: SDC-1636 Signed-off-by: Shnaider, Marina (ms7589) <ms7589@intl.att.com>
2018-08-12Toggle for SRIOVShnaider, Marina (ms7589)3-2/+28
Adding Toggle for Fabric Configuration feature Change-Id: I4c8c23c67d215597b0a32212f24416de977ef2eb Issue-ID: SDC-1623 Signed-off-by: Shnaider, Marina (ms7589) <ms7589@intl.att.com>
2018-08-12TOSCA Consolidation Data - Refactoring Part 4eleonorali1-8/+2
Some additional minor changes 2 Change-Id: Ie8ab6bdd9e396904a2ba2eea3c6b03f0a0ed466b Issue-ID: SDC-1330 Signed-off-by: eleonorali <eleonoral@amdocs.com>
2018-08-12SRIOV for SDNFShnaider, Marina (ms7589)19-11/+6001
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-08-05TOSCA Consolidation Data - Refactoring Part 4eleonorali3-76/+22
Some additional minor changes Change-Id: Ia0a89b8cfba9ed5b4ead06ab42b93421d79a4beb Issue-ID: SDC-1330 Signed-off-by: eleonorali <eleonoral@amdocs.com>
2018-07-29re base codeMichael Lando63-357/+256
Change-Id: I12a5ca14a6d8a87e9316b9ff362eb131105f98a5 Issue-ID: SDC-1566 Signed-off-by: Michael Lando <ml636r@att.com>
2018-07-27Refactoring Consolidation Servicesiddharth090519-1041/+1403
Changes as per comments Change-Id: Ic2c800513265daf4bbed1f15920864ba0cb28859 Issue-ID: SDC-1330 Signed-off-by: siddharth0905 <siddharth.singh4@amdocs.com>
2018-07-25TOSCA Consolidation Data - Refactoring Part 4eleonorali11-412/+467
1) Moving following APIs to relevant Consolidation Data handlers: addNodesGetAttrOut, addNodesGetAttrIn, addOutputParamGetAttrIn 2) Create APIs setNetworkRole, setResourceGroupCount in SubInterfaceConsolidationDataHandler 3) Remove APIs with switch on resource type: - ConsolidationDataUtil getPortTemplateConsolidationData, getComputeTemplateConsolidationData, getSubInterfaceTemplateConsolidationData getNestedTemplateConsolidationData - FunctionTranslationGetAttrImpl getEntityConsolidationData Change-Id: I0490c86ff9804955860eb40ff4be771a77194cc5 Issue-ID: SDC-1330 Signed-off-by: eleonorali <eleonoral@amdocs.com>
2018-07-23Fix zip-slip in openecomp-bePiotr Krysiak1-1/+1
Issue-ID: SDC-1401 Change-Id: I92cf8184ab50cb1d3b1ba2f71eab8f5701e1ee57 Signed-off-by: Piotr Krysiak <piotr.krysiak@nokia.com>
2018-07-15Nested input params appears in MainServiceTemplateeleonorali32-51/+4587
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 3eleonorali13-239/+1112
- 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 warningojasdubey4-126/+37
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-13Remove Toggleeleonorali4-15/+2
Remove Toggle for SIROV and VLAN_TAGGING Change-Id: Ia8b883c1f85de24f5c2000654a0926141cc269e8 Issue-ID: SDC-1418 Signed-off-by: eleonorali <eleonoral@amdocs.com>
2018-06-06VFCInstanceGroup is not displayed on VF creationojasdubey11-3/+6779
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-05fix get flat node typeshiria1-1431/+1323
update node type interface update return value to object which include the type hierarchy Change-Id: I97623c7bbad0223a174370d13aabf4c3efe9c21e Issue-ID: SDC-1394 Signed-off-by: shiria <shiri.amichai@amdocs.com>
2018-06-04Refactoring - TOSCA Consolidation Data handlingsiddharth090511-290/+522
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-31TOSCA Consolidation Data - Refactoring Part 2eleonorali2-8/+19
Fix some issues Change-Id: I85183a6a894350985e1d197fa84328071f3a7ce2 Issue-ID: SDC-1330 Signed-off-by: eleonorali <eleonoral@amdocs.com>
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>