summaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-translator-lib
AgeCommit message (Collapse)AuthorFilesLines
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-10-29Bump SDC version 1.6.0Ofir Sonsino3-3/+3
Change-Id: Ibacb46d19d49023a62caa8f5217086cea6c91ac4 Issue-ID: SDC-2560 Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
2019-10-21Fix factory instance creation instabilityandre.schmid1-2/+1
Refactor the factory registry and instance creation. Remove unnecessary static code in Factory creation. Centralize the responsibility to read the factory registry configuration and cache the factory instances in a Singleton called FactoryRegistryManager. Clean the base abstract factory that was sharing non factory code, it had all the factory registry code statically, never used by the concrete factory classes. Change-Id: Ie2e9c29013acd36ddaf15383dd6b06432fbdbb66 Issue-ID: SDC-1905 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2019-09-10Bump SDC version 1.5.2Ofir Sonsino3-3/+3
Change-Id: Ib672dc8d60a0b6f4b37fd94afe84bc27dfba4c44 Issue-ID: SDC-2560 Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
2019-07-28Update SDC version 1.5.1Ofir Sonsino3-3/+3
Change-Id: Id2182099210982248584c1fcf4569a1360d82f1d Issue-ID: SDC-2478 Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
2019-07-23Migrate swagger to openapi v3Wojciech Sliwka1-1/+1
Issue-ID: SDC-2261 Change-Id: I614c15878b9d165a4468570e8318867632c88434 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
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-05-07Update SDC version 1.5.0Sonsino, Ofir (os0695)3-3/+3
Change-Id: I22d2273103230bd9ee7c3655b5f33e4308bb9f92 Issue-ID: SDC-1913 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.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-11-15update sdc version in masterMichael Lando3-3/+3
update sdc version to 1.4.0 for master Change-Id: Ia3b16b397b6e01dc185549dd20be399ee67a791a Issue-ID: SDC-1913 Signed-off-by: Michael Lando <michael.lando@intl.att.com>
2018-11-07Removed compile-helper-pluginvempo1-1/+0
Change-Id: I4d10879ac3195e25b8a2c97776c59241a25338a8 Issue-ID: SDC-1861 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-11-05bump sdc version to 1.3.3Michael Lando3-3/+3
Change-Id: I703591a9985f9792649622b16f2a05aa89d1d8ea Issue-ID: SDC-1865 Signed-off-by: Michael Lando <michael.lando@intl.att.com>
2018-11-01Sorted out unit-test libraries in onboardingvempo2-11/+38
Fixed scope, removed junit+tesng combinations, deleted commented-out tests, did minor cleanups. Change-Id: I71d0adf5c1c95435987dbb8b4077cc43bdf09df8 Issue-ID: SDC-1886 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-11-01update sdc to version 1.3.2Michael Lando3-3/+3
Change-Id: Ibd1a6a23f061c23e8bb0bb603f6ac315581564f6 Issue-ID: SDC-1865 Signed-off-by: Michael Lando <michael.lando@intl.att.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-10-24update sdc version to 1.3.1Michael Lando3-3/+3
Change-Id: I195d96ddf5bd6257ade7eb56c65f9e4bc2d602b6 Issue-ID: SDC-1865 Signed-off-by: Michael Lando <michael.lando@intl.att.com>
2018-10-22Update datatypes using lombokshiria1-33/+7
Issue-ID: SDC-1859 Change-Id: Ia7cfc86c9a0faa20a2fdbba08181b285ea3c7eef Signed-off-by: shiria <shiri.amichai@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)20-12/+6002
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-09Corrected relative path to parent POMvempo1-1/+0
Change-Id: I48ac8bbc9ed8a7c15401a3af44696be93c5a4d7c Issue-ID: SDC-1065 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.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-19Modules built together use same snapshot versionvempo2-9/+3
All modules built together that depend on a snapshot version must refer to exactly the same version either via the parent pom's version, or ${project.version}. Otherwise, timestamped snapshot versions cannot be correctly resolved in some cases (depending on time that passed between builds). Change-Id: If4d57760899e6efe783fd9dc20343cc7ce89ad36 Issue-ID: SDC-1065 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.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-18Revert "SonarQube coverage"ayalaben1-5/+0
Change-Id: I6b1ab87272fdd23f185e3b79f276cd583fd35884 Issue-ID: SDC-1364 Signed-off-by: ayalaben <ayala.benzvi@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-06-02update sdc versionMichael Lando3-3/+3
update pom and version.properties to 1.3.0 Issue-ID: SDC-1370 Change-Id: I0dcf02f868dd263ba4523435e7be11bdc3851053 Signed-off-by: Michael Lando <ml636r@att.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>
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>