summaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/main
AgeCommit message (Collapse)AuthorFilesLines
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 coveragexuegao1-48/+5
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
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-07-11Added oparent to sdc mainTomasz Golabek2-0/+40
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_functionojasdubey1-19/+21
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-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-07-29re base codeMichael Lando3-35/+15
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 questionnairesheetalm3-20/+52
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 propertieseleonorali2-1/+24
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-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.amitjai3-12/+12
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-03-29Component Dependency create VF bug fixojasdubey1-38/+61
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 mirroringsiddharth09051-2/+2
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 typesiddharth09051-109/+77
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-02-04change capabilities datatypetalio1-4/+0
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 issueamitjai1-1/+1
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 assignmentmojahidi5-100/+176
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 featuretalig7-65/+66
Issue-ID: SDC-767 Change-Id: I14fb4c1f54086ed03a56a7ff7fab9ecd40381795 Signed-off-by: talig <talig@amdocs.com>
2017-10-19Port mirroringtalio1-21/+29
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-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-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>
2017-09-18Fixed SONAR issuesDivesh Mirchandani3-2/+5
Fixed blocker, critical, major & minor SONAR issues. Issue-ID: SDC-343 Change-Id: I72e5a3a7fa7d7407a92f98f77e4334827f70f926 Signed-off-by: dd4616 <Divesh.Mirchandani@amdocs.com>
2017-09-13Bugfix - Missing SNMP Trap artifact in VF levelojasdubey1-1/+5
Updated the path for storing the Mib artifacts in onboarding csar Issue ID: SDC-320 Change-Id: I61f76ed98d1a598a88a63c5a0d6c641424a012fc Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2017-09-12Fixed component display name retrieval for nestedkaty.rotman1-3/+8
Change-Id: I77d9f2755d55a03d969c8f85d2b1a4b0ba9b306f Issue-ID: SDC-311 Signed-off-by: katy.rotman <katy.rotman@amdocs.com>
2017-09-07Fixed a few static analysis violationsvempo1-6/+2
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-07-18[SDC] Onboarding 1710 rebase.Avi Ziv4-66/+112
Change-Id: If3b6b81d221fde13908f1e8160db6f7d9433c535 Signed-off-by: Avi Ziv <avi.ziv@amdocs.com>
2017-06-11[SDC-29] rebase continue work to align sourceMichael Lando3-3/+9
Change-Id: I218f1c5ee23fb2c8314f1c70921d3ad8682c10f4 Signed-off-by: Michael Lando <ml636r@att.com>
2017-06-09[SDC-29] Amdocs OnBoard 1707 initial commit.AviZi18-372/+1019
Change-Id: Ie4d12a3f574008b792899b368a0902a8b46b5370 Signed-off-by: AviZi <avi.ziv@amdocs.com>
2017-02-19push addional codeMichael Lando12-0/+682
Change-Id: Ia427bb3460cda3a896f8faced2de69eaf3807b74 Signed-off-by: Michael Lando <ml636r@att.com>