summaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib
AgeCommit message (Collapse)AuthorFilesLines
2017-10-24Merge "Upload"Avi Gaffa2-0/+24
2017-10-24Fixed resources not being closed in testsvempo7-140/+250
Fixed static analysis violations in a few modules of SDC onboarding - high-severity issues like not releasing resources (e.g. FileInputStream). Did some minor code cleanup. Change-Id: I89a229ad6bc150951f1f3cc437b3a175a663e203 Issue-ID: SDC-291 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2017-10-24Uploadtalio2-0/+24
enable upload of files with zip or csar extensions in uppercase, and throwing an appropriate exception in case that the extension is invalid. Issue - Id : SDC-526 Change-Id: I9e556ac41173132cc67d64cd8a9d332a061cc942 Signed-off-by: talio <tali.orenbach@amdocs.com>
2017-10-23Artifacts in CSARtalio2-2/+15
pack all artifact files under Artifacts/ directory, and not under Artifacts/Artifacts (in import CSAR scenario) Issue - Id : SDC-495 Change-Id: I65299d449ed87a6fb492a802c40e1ab12535453a Signed-off-by: talio <tali.orenbach@amdocs.com>
2017-10-23Fixed resources not being released, code cleanupvempo3-60/+50
Properly close input streams; code cleanup; fixed static analysis violations and coding convetions. Change-Id: I53dabcc9f8898a0ab25636735cb0b5f84b57c427 Issue-ID: SDC-291 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2017-10-23Merge "Additinal fixes for resources not being released"Avi Gaffa8-49/+187
2017-10-23Additinal fixes for resources not being releasedvempo8-49/+187
More fixes for input streams not being properly closed, with unit tests and other minor improvements (code cleanup and coding conventions). Change-Id: I6751f924a1469d49b996e4f1d6c61371af6714b1 Issue-ID: SDC-291 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2017-10-23Fix onboarding undo checkout impltalig5-68/+125
Fix reset in zusammen collaboration plugin, Throw explicit exception in case of zusammen db illegal state. Change-Id: Ic9463517b72c7a89a2de78b86da5679ac57371a6 Issue-ID: SDC-490 Signed-off-by: talig <talig@amdocs.com>
2017-10-22Merge "Fix occurences not deserialized properly"Vitaly Emporopulo3-9/+173
2017-10-22Fix occurences not deserialized properlyvempo3-9/+173
add json deserializer for RequirementDefinition Issue-Id : SDC-474 Change-Id: I734a671b02a319fc3e90239bb8b0202c898fe473 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2017-10-22Merge "Fix issues in resubmit"Vitaly Emporopulo1-1/+1
2017-10-22Fix issues in resubmitkaty.rotman1-1/+1
Issue-ID: SDC-434 Change-Id: I8cc416c7e5f798faf03c42da5a0aea77f8e0843f Signed-off-by: katy.rotman <katy.rotman@amdocs.com>
2017-10-22Merge "fix healers"Avi Gaffa5-10/+35
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-10-19fix healerstalio5-10/+35
fix failing healers during resubmitAll Issue - Id : SDC-480 Change-Id: Ie41c918d96271ff71f4dde00d22fdf3b23297044 Signed-off-by: talio <tali.orenbach@amdocs.com>
2017-10-19Merge "Refactoring of module in onboarding"Avi Gaffa64-6432/+0
2017-10-17Healingtalio1-68/+27
fixed CompositionDataHealer - send non unified data model to extract, instead of the unified one Issue - Id : SDC-473 Change-Id: I39ed1cb06f8a3b533f5ecd7fdc8a81187ea3b075 Signed-off-by: talio <tali.orenbach@amdocs.com>
2017-10-15Artifacts are not copiedtalio1-33/+34
packing uploaded artifacts into the generated CSAR, when uploading a CSAR file Issue - Id : SDC-457 Change-Id: I4cfc03082cc6fd29d1d95249fd6081207e9826c7 Signed-off-by: talio <tali.orenbach@amdocs.com>
2017-10-13Refactoring of module in onboardingshrikantawachar64-6432/+0
Removed ATT modules. Change-Id: I9f97b92a1f80483c3422b9b5e6643fdad1bb881d Issue-ID: SDC-456 Signed-off-by: shrikantawachar <shrikant.awachar@amdocs.com>
2017-10-06Code coverage using JaCoCOshrikantawachar11-11/+15
Adding JaCoCo configuration to have code coverage Change-Id: Ie42702b31bab8cd612d3516ab9eb4f3a2b7d8c16 Issue-ID: SDC-437 Signed-off-by: shrikantawachar <shrikant.awachar@amdocs.com>
2017-10-03Update group members idsvempo6-17/+121
Issue-Id: SDC-427 Change-Id: If7a476adfac7c56c97e14330e4fddcc6d9f2d293 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2017-10-02Change node template prefixtalio303-29962/+18915
Add "".compute" to nested compute node types in substitution service templates Issue - Id : SDC-425 Change-Id: I00902576a3adf8d0463ef1352961629663efd96c 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 Emporopulo2-21/+25
2017-09-24Fixed incorrect reconstruction of choice objectsvempo2-12/+1
Reverted a change introduced earlier, which supposedly broke re-construction of choice objects when loading them from a database. Issue-ID: SDC-381 Change-Id: Id896d79571c020c36a1cb33eff058858e73fc8b0 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2017-09-24Add propertytalio2-21/+25
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-23Port mirroringtalio2-0/+3
Add migration for port mirroring Issue - ID : SDC-351 Change-Id: I758e14e4acadfb4082ce7bf8df26da2e3fd0821d Signed-off-by: talio <tali.orenbach@amdocs.com>
2017-09-20Merge "Port mirroring"Vitaly Emporopulo7-5/+483
2017-09-19Port mirroringtalio7-5/+483
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-19change version of the master branchMichael Lando70-90/+90
Change-Id: I8520fd33c7d5ffef5330d1e7e51ee39fd8411094 Issue-ID: SDC-350 Signed-off-by: Michael Lando <ml636r@att.com>
2017-09-18Merge "Move jtosca version"Avi Gaffa1-2/+2
2017-09-18Fixed SONAR issuesDivesh Mirchandani145-473/+625
Fixed blocker, critical, major & minor SONAR issues. Issue-ID: SDC-343 Change-Id: I72e5a3a7fa7d7407a92f98f77e4334827f70f926 Signed-off-by: dd4616 <Divesh.Mirchandani@amdocs.com>
2017-09-18Move jtosca versiontalio1-2/+2
Move jtosca version to onboarding pom Issue - ID : SDC-344 Change-Id: I05ed27668f9a80d8afb35a533b532b5cf8d9ec6d Signed-off-by: talio <tali.orenbach@amdocs.com>
2017-09-14Removing service templates without node templatestalio29-170/+11293
Bugfix for cases where we have substitution service templates without node templates Issue - ID : SDC-330 Change-Id: Ia9f33ce90fe0dbcc8ca2596ca63da704a48c7e67 Signed-off-by: talio <tali.orenbach@amdocs.com>
2017-09-13Change healing manager logictalig5-42/+63
Execute all healers even if one/more have failed. Turn off vsp old version indication and log healers errors. This is a temporary solution that would fix non-heat issues only. Change-Id: I1fbcd3cc33a0520034b3dd373e2cfbe7339c06bd Issue-ID: SDC-332 Signed-off-by: talig <talig@amdocs.com>
2017-09-13Merge "Fixing requirements in substituable node templates"Avi Gaffa75-3023/+20208
2017-09-13Fixing requirements in substituable node templatestalio75-3023/+20208
Adding dependencies with correct dependency id for substituable node templates Change-Id: I696441bc62807cf2abd73963583d6198dfaea259 Issue-ID: SDC-313 Signed-off-by: talio <tali.orenbach@amdocs.com>
2017-09-13Bugfix - Missing SNMP Trap artifact in VF levelojasdubey2-10/+12
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-12Create new VSP, onboard from TOSCA file - UIshrek20003-12/+39
Issue-ID: SDC-230 Change-Id: I99db84eeef6e795f81d25fac31d17594d0071e69 Signed-off-by: shrek2000 <orenkle@amdocs.com>
2017-09-12Merge "Create new VSP, onboard from TOSCA file - UI"Avi Gaffa54-48/+2962
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-12Create new VSP, onboard from TOSCA file - UIshrek200054-48/+2962
Change-Id: I018c6d07a4b9ec7e6b1507ab37e2550865423cfe Issue-ID: SDC-230 Signed-off-by: shrek2000 <orenkle@amdocs.com>
2017-09-10Add latest bug fixes to masteravigaffa86-3441/+31985
Change-Id: Ieddc2330ad4e093984f14a69b52f2ca5cb465a10 Issue-ID: SDC-293 Signed-off-by: avigaffa <avi.gaffa@amdocs.com>
2017-09-07Fixed a few static analysis violationsvempo13-112/+108
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-09-03Fixed Maven warningsvempo6-33/+0
Removed duplicate dependencies. Removed redundant group IDs where inherited from parent. Replaced deprecated properties. Explicitly stated Maven plugin versions. Change-Id: I1933428ccbc362dec428d16c5e40ab0e906a7e5c Issue-Id: SDC-247 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2017-08-16Merge "Replace FileUtils.toByteArray() with IOUtils"Michael Lando3-40/+15
2017-08-10[SDC] OnBoard with enabled tests and featuresaz2497236-176/+5337
Change-Id: I4c1bbf6e1c854cf97a3561c736f83da44b58b7c0 Signed-off-by: az2497 <avi.ziv@amdocs.com> [SDC] OnBoard with enabled tests and features. Change-Id: Icd52f039aee4dd393a1404d530bb9fdd0b20e604 Signed-off-by: az2497 <avi.ziv@amdocs.com>
2017-07-26[SDC] Full OnBoard health-check and NFoD supportAvi Ziv87-3274/+1070
Change-Id: I606f8a52c7e6d2bd5558f824957d890e552c5423 Signed-off-by: Avi Ziv <avi.ziv@amdocs.com>
2017-07-18Replace FileUtils.toByteArray() with IOUtilsGary Wu3-40/+15
The in-house implementation of FileUtils.toByteArray() appears to be a literal copy-and-paste of IOUtils.toByteArray(). This change replaces the in-house implementation with a call to IOUtils. Change-Id: Ib33b64c4c0050acb0787915dd9df190e284b8cda Signed-off-by: Gary Wu <gary.i.wu@huawei.com>