summaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib
AgeCommit message (Collapse)AuthorFilesLines
2018-09-27DM modification to align with R2 DM clean versionliang ding1-64/+217
Change-Id: Ifcb5d3e644f46e4c9a4467e28b0dd7616b485497 Issue-ID: SDC-1415 Signed-off-by: liang ding <liang.ding@intel.com>
2018-09-26Deleted empty openecomp-sdc-model-corevempo6-78/+11
Change-Id: I223a2bde488e1e932337cfdcaa371f1b80c5b2bc Issue-ID: SDC-1783 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-09-25Test coverage-Correctionssiddharth090554-2273/+3732
Increase test coverage Change-Id: I8268d31486b3410fbe8791c6d8c4eed4b237462c Issue-ID: SDC-1673 Signed-off-by: siddharth0905 <siddharth.singh4@amdocs.com> Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-09-13Test coveragesiddharth090511-637/+1079
Increase test coverage Change-Id: I43e3149d0d4b07dc8e260f3d5fac025197882f3a Issue-ID: SDC-1673 Signed-off-by: siddharth0905 <siddharth.singh4@amdocs.com>
2018-09-09Add support for service substitution filtershiria3-0/+80
Change-Id: Id320380b83f072e0b8f5a81831111cbe96957d78 Issue-ID: SDC-1740 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-22Bugfix - Broken Action Library APIsojasdubey5-102/+126
1. Fix for Sev-1 bug related to broken action library APIs due to cassandra driver upgrade to 3.x 2. Updated code based on review comments Change-Id: I4e62a7f2bf30a78d1f72f3c78ad8270985bcd56e Issue-ID: SDC-1669 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2018-08-16Fortify SDC issuesiddharth09052-16/+16
Fortify SDC issue Change-Id: I7acf3420080ed4c7045aeda1cb1ff0d31d9b5228 Issue-ID: SDC-1644 Signed-off-by: siddharth0905 <siddharth.singh4@amdocs.com>
2018-08-16Fixed logback test config for multiple modulesvempo10-616/+25
Also removed unused logging code. Change-Id: Iee9a74638e889142f1bb4e01c75c8ed3377357a8 Issue-ID: SDC-1656 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-08-16Log configuration for config and vnfrepo testsvempo1-0/+19
Change-Id: I4e577b13bb627a5646e7e5766d68394820cd7496 Issue-ID: SDC-1656 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-08-16Prevent submit of vsp with archived vlm attachedtalig2-14/+57
Change-Id: Ib5e7645dd861ad9f42409274d088bfc1ae8cb261 Issue-ID: SDC-1657 Signed-off-by: talig <talig@amdocs.com>
2018-08-16Fix NPEtalio1-11/+18
Fix NPE in CompositionDataExtractor, by checking if a list is null before looping on it. Change-Id: I6441662684ad55d275626c8c813cb910ef5c00f7 Issue-ID: SDC-1513 Signed-off-by: talio <tali.orenbach@amdocs.com>
2018-08-13Appears toggle for MRN in toggle uisiddharth09051-8/+5
Appears toggle for MRN in toggle ui Change-Id: I67c9996f256009245a810f359fc5dc2b243d7ec1 Issue-ID: SDC-1642 Signed-off-by: siddharth0905 <siddharth.singh4@amdocs.com>
2018-08-13EP and LKG UUID bugfixayalaben3-4/+6
Change-Id: I00616bdd4e80a3131df709dbcca156cbe9d56a11 Issue-ID: SDC-1640 Signed-off-by: ayalaben <ayala.benzvi@amdocs.com>
2018-08-13Network Cloud onboarding model sync with sdc modelAssaf, Shay (sa726r)2-0/+27
Change-Id: Id3ab68276b25ad06c22b34412cf841e4209a17f6 Issue-ID: SDC-1621 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)4-3/+34
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)24-14/+6030
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-10Inconsistent behavior in license model xmlsshrikantawachar5-88/+34
Removing toggle and fix for Inconsistent behavior in license model xmls Change-Id: I2fd032f25afbdcc17547224beaecf626ed6322bb Issue-ID: SDC-1625 Signed-off-by: shrikantawachar <shrikant.awachar@amdocs.com>
2018-08-09Corrected relative path to parent POMvempo21-21/+0
Change-Id: I48ac8bbc9ed8a7c15401a3af44696be93c5a4d7c Issue-ID: SDC-1065 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-08-07Remove filter and archive toggleayalaben1-6/+0
Change-Id: I7d2a213bbf57897cf7231556798bcc92b59bdbed Issue-ID: SDC-1615 Signed-off-by: ayalaben <ayala.benzvi@amdocs.com>
2018-08-07Add FabricConfiguration capabilityManzon, Inna (im453s)1-0/+2
Change-Id: Ic1c25a1310f3f285d57c86a1645ab0d5ecd02876 Issue-ID: SDC-1593 Signed-off-by: Manzon, Inna (im453s) <im453s@intl.att.com>
2018-08-06Minor improvements to logging for servletsvempo16-56/+198
Fixed import order, more resilient statuses for Spring, cleaner code and tests, more convenient APIs. Change-Id: I6493c81d9c3c1c543c354562e074876268794438 Issue-ID: SDC-1580 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-08-06Add HEAT validation for generated artifactseleonorali12-26/+2870
Add heat validation for generated artifacts, like vendor-license-model.xml, vf-license-model.xml, HEAT.meta Change-Id: Ie256b19679b5aebea1290f6b3f67692dfad5e980 Issue-ID: SDC-1600 Signed-off-by: eleonorali <eleonoral@amdocs.com>
2018-08-06Added logging interceptor for Springvempo3-0/+259
Change-Id: I1de1f6baca48f36f05e32231f5a7e900738bd900 Issue-ID: SDC-1580 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-08-05Simplified logging code for servletsvempo26-1135/+1017
Added and simplified unit tests, organized imports, refactored for simplicity and reuse. Change-Id: I4c4837447329528ae855f2e8d1a1f4b883617f33 Issue-ID: SDC-1580 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-08-02Removed forced dependencies in commonvempo8-22/+31
Moved dependencies from "dependencies" to "dependencyManagement" so that they aren't inherited unconditionally to child modules. Organized and cleaned up dependencies, aligned versions. Change-Id: I27c7792135ec5b7b2b5b49527bc0ac0d09b024b1 Issue-ID: SDC-1065 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-07-29re base codeMichael Lando219-1484/+699
Change-Id: I12a5ca14a6d8a87e9316b9ff362eb131105f98a5 Issue-ID: SDC-1566 Signed-off-by: Michael Lando <ml636r@att.com>
2018-07-27Refactoring Consolidation Servicesiddharth090520-1041/+1409
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 Krysiak2-2/+9
Issue-ID: SDC-1401 Change-Id: I92cf8184ab50cb1d3b1ba2f71eab8f5701e1ee57 Signed-off-by: Piotr Krysiak <piotr.krysiak@nokia.com>
2018-07-23Added zip-slip assertPiotr Krysiak1-1/+9
Solution is not perfect. more robust one requires refactor which will be handled in separate Epic for utils cleanuop Issue-ID: SDC-1401 Change-Id: I536b187c9907fb979b13847c1b67fc3bd0abdc48 Signed-off-by: Piotr Krysiak <piotr.krysiak@nokia.com>
2018-07-20Deployment Flavour created incorrect Component Idsiddharth09051-0/+1
Deployment flavour created with incorrect component id Change-Id: I463a74b8139ec9689457e01602faf37384d01993 Issue-ID: SDC-1548 Signed-off-by: siddharth0905 <siddharth.singh4@amdocs.com>
2018-07-19Handle logs in ExternalArtifactEnrichermojahidi3-16/+15
removed try catch from both classes ToscaEnricher and ExternalArtifactEnricher methods and Handled exception in EnrichmentManagerImpl Change-Id: I7562185272e2a62d71a1c66208b711c3e30fcb3d Issue-ID: SDC-836 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2018-07-19Modules built together use same snapshot versionvempo16-65/+23
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-16Removed dependency on snapshot if same versionvempo6-17/+9
Dependencies that are part of the same project must be referenced using ${project.version} instead of 1.3.0-SNAPSHOT. Change-Id: I1e6563052a762b9b6fc7103279d77fb76a85265e Issue-ID: SDC-1065 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-07-16fix maven warningsMichael Lando1-1/+1
maven is warning of the use of release version in the version tag. this is deprecated since maven 3.x because it creates inconsistent builds. Change-Id: I7bdbf5bd28c36b34e006b5ddfd8635064f29392f Issue-ID: SDC-1511 Signed-off-by: Michael Lando <ml636r@att.com> Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-07-15Upgraded servlet-api version to 3.0.1vempo4-90/+65
Change-Id: I50b258e8843d85384e89e4ceb16d687d247dbe11 Issue-ID: SDC-1472 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-07-15Nested input params appears in MainServiceTemplateeleonorali33-108/+4652
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-07-12Response changedsiddharth09054-58/+101
Error Response changed while collaboration changes Change-Id: I1e634c5da3b2bfb3cf385efe1a015bc3c2cd890f Issue-ID: SDC-1496 Signed-off-by: siddharth0905 <siddharth.singh4@amdocs.com>
2018-07-11Add support for CapabilityDefinition isTypeOfshiria3-8/+59
Change-Id: Id84b5b67ef85b6e252676f1004184fb3180cd053 Issue-ID: SDC-1475 Signed-off-by: shiria <shiri.amichai@amdocs.com>
2018-07-10Enhance MRN in EP & LKGshrikantawachar10-90/+173
Enhance MRN in EP & LKG , handling healing , unit tests Change-Id: I60b9ec73bfcdd9a53aa507c6401deab372fdcf58 Issue-ID: SDC-1485 Signed-off-by: shrikantawachar <shrikant.awachar@amdocs.com>
2018-07-09Update ServiceModel element during healingtalig1-13/+14
In order to fix service model which was saved without property "base" with the EntryDefinitionServiceTemplate, causing failure at submit Change-Id: Iecb9a377f324040c3b3283f6799af3462a84ceb9 Issue-ID: SDC-1481 Signed-off-by: talig <talig@amdocs.com>
2018-07-08Add commands to clean zusammen datatalig9-10/+47
Expose REST to clean item version data of specific user. Add 2 commands to zusammen tool: 1. clean item data of specific user 2. delete public version Change-Id: I8630142bf34846359153eacc1556b10acecefa05 Issue-ID: SDC-1444 Signed-off-by: talig <talig@amdocs.com>
2018-07-08Specified test scope for junit/testng/mockitovempo5-8/+10
In some modules junit, testng, and mockito where included with default scope. Also, fixed the versions to reference a property from a parent pom. Change-Id: I2477bc631a7593c7176087c9088d2c9f2c2a34ee Issue-ID: SDC-1065 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-07-05Fix node filter get methodsshiria2-32/+41
Support normative properties and capabilities as regular get methods Issue-ID: SDC-1455 Change-Id: I1ab709a17a2e03f81a7ae789b8c8fb83a1d03e81 Signed-off-by: shiria <shiri.amichai@amdocs.com>
2018-07-02Fix getFlat for datatypeshiria6-138/+404
Fix getFlat when we driven from primitive type like string Adding support for service filter as tosca extension Issue-ID: SDC-1455 Change-Id: I57f05af13b394239ca55b71a946d69f56675bf19 Signed-off-by: shiria <shiri.amichai@amdocs.com>
2018-06-27Improvements in audit logger for onboardingvempo29-631/+686
A few optimizations, more unit-tests, log via the handling resource's logger instead of filter's logger. Change-Id: I40cef2c86a82b25ded1f8fdca1ec3b0f2fe062d8 Issue-ID: SDC-1451 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>