summaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src
AgeCommit message (Collapse)AuthorFilesLines
2022-01-13Improve testing stabilityvasraz4-4/+4
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I3f631642a97e65d6628816767e0a5408f02f4bc6 Issue-ID: SDC-3839
2021-11-29Add VNFD to NSD when using S3 storagevasraz1-3/+3
Change-Id: I8eb810fadfe54b335647e71e21115514963b4be7 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3792
2021-03-26Improve test coveragexuegao2-48/+58
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-24Reformat openecomp-bevasraz17-860/+608
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3449 Change-Id: I13e02322f8e00820cc5a1d85752caaeda9bf10d1
2021-03-12Adding unit testsxuegao1-10/+4
Adding unit tests to improve test coverage. Issue-ID: SDC-3428 Signed-off-by: xuegao <xue.gao@intl.att.com> Change-Id: I685f01886b314dea9b8507afd93937e070d7501d
2021-02-23Upgrade Vulnerable Direct Dependencies [snakeyaml]JulienBe1-2/+6
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-04-20Fix Tosca properties declarationaribeiro1-1/+1
Remove duplicated entries Default value for Boolean type should not be a String According to the description for the keyname 'attachments:' it should be of type List rather than String Issue-ID: SDC-2870 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: Iac2b4f89dac16a6aef9dcabea74def5cacff99a6
2020-04-05Fix data type properties declarationaribeiro2-2/+2
According to TOSCA Network properties definition the keyname 'ip_version:' should have Integer as valid_values rather than String Where the keyname 'count:' is declared as a String type the default value should be String rather than Integer Fix misspelled ONAP types 'onap.datatypes.monitoring.measurementType' and 'onap.datatypes.monitoring.managedObjectDNsBasic' Fix the keynames 'upstream:' and 'downstream:' as both are declared as a String type the valid_values should be String rather than Integer Issue-ID: SDC-2864 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: I56afdf2818b5f2463fb6088cd8b468fd38ef5086
2019-11-03Centralize onboarding package validationandre.schmid1-1/+1
Change-Id: I3cc58cf15f62008e83cfc7ddb095d07ab216b82a Issue-ID: SDC-2583 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2019-10-30Fix zip slip security flawandre.schmid1-9/+16
Apply zip slip checking in zip operations throughout the system. Centralizes most of the zip logic in one class. Create tests to zip functionalities and zip slip problem. Change-Id: I721f3d44b34fe6d242c9537f5a515ce1bb534c9a Issue-ID: SDC-1401 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2019-10-29Fix for status properties value.aribeiro41-2936/+2936
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 Golabek3-0/+60
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-04-10Supporting PNFD (SOL001) mapping to Internal AID modeldermot1231-22/+28
This maps the PNF descriptor containing etsi defined types according to SOL001 v2.5.1 to openecomp internal model. The transformation is done in the "Create VSP" stage. As the main PNF type gets mapped to the outer container in internal ecomp model, it is possible to have no "resource instances" when importing the PNF model into the catalog. The code was updated to allow this for PNFs. Change-Id: I961e91746ca638d858dd468e6c82aeb57993f7a3 Issue-ID: SDC-1976 Issue-ID: SDC-2160 Signed-off-by: dermot123 <dermot.melia@est.tech>
2018-12-13Fix - nfc_naming_code and nfc_functionojasdubey20-43/+29374
1. Fix for nfc_naming code not getting populated for more than one instance of same vm type 2. Added and updated the unit test cases and test data 3. Sonar fixes Change-Id: I50ddb7d388a5e6b2d4370dedfbbe23ba31a4b61d Issue-ID: SDC-2001 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2018-11-08Removed dead and duplicate code in onboardingvempo1-26/+21
Change-Id: I2ca0f1a4b00938838213ba2d615ab72c80d6dda3 Issue-ID: SDC-1903 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-11-01Sorted out unit-test libraries in onboardingvempo4-47/+107
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-10-31Add NFC naming code to the csar of manual vsptalig1-69/+70
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-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-08-16Fixed logback test config for multiple modulesvempo1-4/+4
Also removed unused logging code. Change-Id: Iee9a74638e889142f1bb4e01c75c8ed3377357a8 Issue-ID: SDC-1656 Signed-off-by: vempo <vitaliy.emporopulo@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-02Removed forced dependencies in commonvempo1-0/+0
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 Lando6-71/+26
Change-Id: I12a5ca14a6d8a87e9316b9ff362eb131105f98a5 Issue-ID: SDC-1566 Signed-off-by: Michael Lando <ml636r@att.com>
2018-07-19Handle logs in ExternalArtifactEnrichermojahidi2-11/+3
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-06-13Fix for nfcparameters in component questionnairesheetalm4-26/+58
issue - nfc naming code and nfc function fields' values are wiped out with a VSP update Moved the above fields from composition to questionnaire Add BDD test. Add license to java files Change-Id: I2b746fedc17c19b716df35bf0dad2c212f15df30 Issue-ID: SDC-1419 Signed-off-by: sheetalm <sheetal.mudholkar@amdocs.com>
2018-06-13CR Port Mirroring: add new propertieseleonorali15-10/+67
Add new properties nfc_naming_code and nf_naming_code. Merge from release/1806. Change-Id: I25abd4036e34ab43980ec433df9a3510926e4f8b Issue-ID: SDC-1417 Signed-off-by: eleonorali <eleonoral@amdocs.com>
2018-06-05fix get flat node typeshiria1-184/+196
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-05-16Renamed classes to include skipped testsojasdubey1-235/+229
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-15Removed logger.debug(, exception)mojahidi1-30/+27
Removed logger.debug(, exception) from code Change-Id: I27ace75d9e9a1d89e6e1c681531ea6dff46cb647 Issue-ID: SDC-836 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2018-05-15Handle logger.debug(, exception)mojahidi1-25/+6
Removed logger.debug(, exception) from code Change-Id: Iec304267d0f113f7a7efa302bc36a7073995ad3d Issue-ID: SDC-836 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2018-05-14Refactored code as a part of guild weekojasdubey1-151/+156
1. Fixed static analysis issues 2. Refactored methods for code smells Change-Id: If06c4301ca327635b6894ac07f55674b609abf68 Issue-ID: SDC-359 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2018-04-30Rename packages from openecomp to onap.amitjai5-16/+16
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-04Added new nodes typesiddharth09052-0/+121
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-29Component Dependency create VF bug fixojasdubey17-47/+6966
1. Fixed create VF issues for scenarios where dependencies were added from the UI 2. Added supporting tests and fixed existing Change-Id: Ib8bb0074183567c263855f8723028646c9629038 Issue-ID: SDC-1184 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2018-03-06Fixed issue in Port mirroringsiddharth090511-86/+142
Issue fixing for the Port mirroring story to support new global type Change-Id: I61a9105e349b6ac164239d5ee9ef87a472ff3d6b Issue-ID: SDC-1069 Signed-off-by: siddharth0905 <siddharth.singh4@amdocs.com>
2018-03-04Code change to support new global typesiddharth090512-257/+223
Code change to support new global type for VMI port Change-Id: I30427a8ec784c8d314c3df0e34178587dda0351c Issue-ID: SDC-1070 Signed-off-by: siddharth0905 <siddharth.singh4@amdocs.com>
2018-03-04Global Type for External Port of VMI Typesiddharth09051-0/+65
Replace external port of VMI with new global type Change-Id: Ibbaacb63bdc70d81c7ad8eac3b69da276c128fd1 Issue-ID: SDC-1069 Signed-off-by: siddharth0905 <siddharth.singh4@amdocs.com>
2018-02-04change capabilities datatypetalio16-23/+19
change node template capabilities datatype from list of map to map Change-Id: Ie0fa71b8a41ec732ae5290a72c4d8e908701ce17 Issue-ID: SDC-968 Signed-off-by: talio <tali.orenbach@amdocs.com>
2018-01-10Fixed Lifefcycle operation issueamitjai2-5/+157
Artifact Process Entity is not populating with all filed hence nullpointer exception while writing artifact file. Change-Id: Ie26982471c25fc6c1a38bbe8a0e07efa7b33577d Issue-ID: SDC-896 Signed-off-by: amitjai <amitjai@amdocs.com>
2018-01-09Fix sonar issues - ExternalArtifactEnrichersiddharth09051-1/+2
marked one variable as constant Change-Id: I9365af2de48e6c9e46a890aca2ebff99ae42ac94 Issue-ID: SDC-343 Signed-off-by: siddharth0905 <siddharth.singh4@amdocs.com>
2018-01-04Remove enter/exit debug #10vempo7-95/+0
Change-Id: I5d3e97ba5fe050e5420e02c92cddca6742e55c5e Issue-ID: SDC-875 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-01-02fix MIB assignmentmojahidi9-123/+349
Assign mib file to all of the components from the same VFC type Change-Id: Ia6a1a5a08b7383ec64ace085193b0c8daa399c7f Issue-ID: SDC-811 Signed-off-by: talio <tali.orenbach@amdocs.com>
2017-12-27Simplified the return conditionojasdubey1-1/+18
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-21Add collaboration featuretalig12-135/+80
Issue-ID: SDC-767 Change-Id: I14fb4c1f54086ed03a56a7ff7fab9ecd40381795 Signed-off-by: talig <talig@amdocs.com>
2017-11-15Casandra data center and consistency levelshalomb2-4/+4
remove enrichment test Change-Id: Id2a0eda0a78ae7711ec010248edaa6a1273c5a43 Issue-Id:SDC-656 Signed-off-by: shalomb <shalomb@amdocs.com>
2017-10-19Port mirroringtalio2-142/+976
check flat node types in port mirroring Issue - Id : SDC-468 Change-Id: Ieba42aeb7de6b253230eab80d9e9feaaee9538b7 Signed-off-by: talio <tali.orenbach@amdocs.com>
2017-09-27Bugfix - Create VF failed for Manual VSPsojasdubey1-13/+13
Excluded the manual onboarded VSP port type from port mirroring port collection Issue ID: SDC-399 Change-Id: I0c090375bc6ff1c935c01eb2c48793e3e196f808 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2017-09-25Merge "Add property"Vitaly Emporopulo1-21/+24
2017-09-24Add propertytalio1-21/+24
Add config property for port mirroring Issue - ID : SDC-351 Change-Id: I6b571e0bae2e26a3a1b9d20f9182943901a08d4c Signed-off-by: talio <tali.orenbach@amdocs.com>
2017-09-24Add testsTalio67-0/+38077
Add test and test files for port mirroring Issue - ID : SDC-351 Change-Id: I67fd8397a4fe41eb9979b8f1435fedb413328b70 Signed-off-by: talio <tali.orenbach@amdocs.com>
2017-09-19Port mirroringtalio3-0/+401
create port mirroring enricher and added corresponding global types Issue - ID : SDC-351 Change-Id: Iaffda0187a3529823cb1857b1272dc22b8005ab8 Signed-off-by: talio <tali.orenbach@amdocs.com>