aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib
AgeCommit message (Collapse)AuthorFilesLines
2019-09-03openecomp-be code coverage increasePiotr Darosz5-6/+34
Add tests for classes in vendorsoftwareproduct.types.composition package Change-Id: I2b05536a4fd80021bfedd2e7ff0f1747f6227935 Issue-ID: SDC-2326 Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
2019-09-01Fix artifacts references in main TOSCA descriptorandre.schmid6-96/+469
During package conversion, artifacts can have their path changed. References for those artifacts inside the main TOSCA descriptor must be updated accordingly. Change-Id: Idcffb0724c20875ff1decebfec7c47605bfe20dc Issue-ID: SDC-2540 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2019-08-30unit tests - openecomp-beTomasz Golabek18-0/+551
Additional junit tests for vendor-license-api-types Change-Id: I343d04f001a92d47aa411e6bda498fa772040e5b Issue-ID: SDC-2326 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-08-28remove duplicated dependenciesvasraz2-11/+0
Change-Id: I60962892f035d81943567a0b3d7819ef3cab52f7 Issue-ID: SDC-2388 Signed-off-by: vasraz <vasyl.razinkov@est.tech>
2019-08-18Handle 'get_input' syntax for layer_protocols in PnfExtCp typevasraz8-98/+358
Change-Id: I52f91e47dbda20c8c0701ee25f2eec5a83815112 Issue-ID: SDC-2427 Signed-off-by: vasraz <vasyl.razinkov@est.tech>
2019-08-08Additional unit testsTomasz Golabek1-0/+77
Tests for ItemVersionConflictConverter Change-Id: I5bf7ac9322e44d7021f87c9853ae250024172f0c Issue-ID: SDC-2326 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-08-08Additional unit testsTomasz Golabek4-7/+165
Tests for ConflictsDaoImpl Change-Id: I7fd472b55a96a314992be0e49725d8844167ff4d Issue-ID: SDC-2326 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-08-08Additional unit testsTomasz Golabek7-2/+170
Tests for conflict-api mostly bean matchers for getters and setters Change-Id: I924b17986dfbc419da391fae0d33bb458d97f465 Issue-ID: SDC-2326 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-08-06Validate PM Dictionary and VES Events YAML Filesandre.schmid2-4/+14
Validate, during the package onboarding, YAML files declared in the manifest as type onap_ves_events or onap_pm_dictionary under non_mano_artifact_sets. Check if the file is not empty, if has a yaml extension and if it has a valid yaml content. Change-Id: I260d0f5355e9e77b6499f553f8aa9f7e6d0693da Issue-ID: SDC-2475 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2019-07-28Update SDC version 1.5.1Ofir Sonsino77-77/+77
Change-Id: Id2182099210982248584c1fcf4569a1360d82f1d Issue-ID: SDC-2478 Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
2019-07-23Migrate swagger to openapi v3Wojciech Sliwka8-11/+11
Issue-ID: SDC-2261 Change-Id: I614c15878b9d165a4468570e8318867632c88434 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
2019-07-21Remove Proprietary noticesOfir Sonsino3-18/+3
Change-Id: I038ed4b764d592d013d8b4b2ae3b69b2961c518a Issue-ID: SDC-2471 Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
2019-07-21Allow relative path for SOL004 descriptors importandre.schmid22-63/+843
Allow the use of relative path on SOL004 descriptors imports. Resolves imports with "/", "../" or "./" entries during validation and package processing. Validate if the reference is inside the package. Fix problem where imported descriptor files, described as a non string scalar yaml entry, were not being checked by the validator. Change-Id: Ie5a32736b6090b4adf178e8714f7460bcd068def Issue-ID: SDC-2422 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2019-07-19SDC alignment SOL004 2.6.1bilal.iqbal2-3/+3
Updating TOSCA.meta metadata Created-by key to Created-By Issue-ID: SDC-2402 Change-Id: Ice17dac288d745292bdd8d296bd1ae3eedbff223 Signed-off-by: bilal.iqbal <bilal.iqbal@est.tech>
2019-07-11Added oparent to sdc mainTomasz Golabek291-143/+5124
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-07-08Move import handling to service templateojasdubey7-150/+11
Moving the handling of all import formats parsing to ServiceTemplate class to make it generic and reusable Change-Id: I80595c3654a625275549a3bb3afe8ba7c9455aff Issue-ID: SDC-2421 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2019-07-08Add validation of non referenced file in packageandre.schmid6-25/+38
Add the validation specified in SOL004, that all files in the package should be listed in the Manifest file. Fix Validator related Test class, adapting to the new validation. Create a manifest builder to help the tests. Fix minor typos. Update .gitignore to remove ajcore files. Change-Id: Ib9a99bf3d7905349e0ec8fef8fd960028bb83f8d Issue-ID: SDC-2412 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2019-06-19fix sonar null pointerk.kazak4-3/+63
NoveServerNamingConventionGuideLineValidator: potential null pointer fixed Test for this use-case added Change-Id: I3180bc6c159d1b690f0be0370abbd1fefe70045f Issue-ID: SO-1811 Signed-off-by: k.kazak <k.kazak@samsung.com>
2019-06-17BeanUtils upgrade to 1.9.xOren Kleks1-16/+0
Transitive dependency to beanutils 1.8.3 removed. Refactor of existing usage of beanutils proposed. Change-Id: Ice5a996dc6f782d787309bd9c604335710627b2c Issue-ID: SDC-2269 Signed-off-by: shrek2000 <orenkle@amdocs.com>
2019-06-16BeanUtils upgrade to 1.9.xTomasz Golabek1-32/+5
Transitive dependency to beanutils 1.8.3 removed. Refactor of existing usage of beanutils proposed. Change-Id: I6614a5794979225376338c778b25f71911ae9c50 Issue-ID: SDC-2269 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-06-12Upgrade SDC from Titan to Janus Graphshrikantawachar1-5/+5
Upgrade SDC from Titan to Janus Graph Change-Id: I67fb8b8e60cc6751697bc5ff2f06754c92803786 Issue-ID: SDC-2296 Signed-off-by: shrikantawachar <shrikant.awachar@amdocs.com>
2019-06-11Add lombok support to simple classesavigaffa3-131/+37
Change-Id: I02d45d887e0bfe5838ad2f492f4220f5bbee5eca Issue-ID: SDC-2354 Signed-off-by: avigaffa <avi.gaffa@amdocs.com>
2019-05-29Improved test coverage.James Guistwite8-32/+80
Reorganized some of the tests due to comments Issue-ID: SDC-2238 Change-Id: I6b3bcc674c792f3c5c06e851a2cfe2d92eead07c Signed-off-by: James Guistwite <jguistwite@iconectiv.com>
2019-05-07Update SDC version 1.5.0Sonsino, Ofir (os0695)77-77/+77
Change-Id: I22d2273103230bd9ee7c3655b5f33e4308bb9f92 Issue-ID: SDC-1913 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com>
2019-04-17VSP Compliance Check for Compute Flavor-BE Code-Review fixesVodafone2-72/+80
Change-Id: Iec0e76518e669effdb9d2ca860d108f564f9253f Issue-ID: SDC-2051 Co-authored-by: jguistwite@iconectiv.com Signed-off-by: Vodafone <onap@vodafone.com>
2019-04-10VSP Compliance Check for Compute Flavor-BEVodafone19-579/+701
Change-Id: Ife3eb83ab49e50fde1b0eb128e7e1abd5043432f Issue-ID: SDC-2051 Co-authored-by: jguistwite@iconectiv.com Signed-off-by: Vodafone <onap@vodafone.com>
2019-04-10Supporting PNFD (SOL001) mapping to Internal AID modeldermot12323-260/+955
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>
2019-04-10specify a new type to cloud specific artifactsLiang3-1/+52
Change-Id: I26e9533989a377d407290451063d97263a814d6b Issue-ID: SDC-2041 Signed-off-by: Liang Ding <liang.ding@intel.com>
2019-04-04Make Cassandra port configurable.Tal Gitelman4-37/+58
SDC-BE & Onboarding - BE. Reviewer: Evgenia A & Areli F. Change-Id: Iaf86d647b0560764ef65d9148c85bffaf934992d Issue-ID: SDC-2077 Signed-off-by: Tal Gitelman <tal.gitelman@att.com>
2019-04-03Add artifact typeskooper1-1/+1
Change-Id: I48f2926623441d0729c5d5b476f3e72f962b64f8 Issue-ID: SDC-2156 Signed-off-by: kooper <sergey.sachkov@est.tech>
2019-04-02Verify signaturekooper1-1/+2
Change-Id: I8fc5d50d74d3dd8031c96ee16708489dc7c789b8 Issue-ID: SDC-2163 Signed-off-by: kooper <sergey.sachkov@est.tech>
2019-04-01List of Input Parameters for VSPVodafone48-0/+2907
Change-Id: Ie913ead731e120bd69349a4ebec13f4521eaac4d Issue-ID: SDC-2049 Co-authored-by: jguistwite@iconectiv.com Signed-off-by: Vodafone <onap@vodafone.com>
2019-03-26Load tosca with no imports sectionshiria4-3/+39
Change-Id: I50df2a149bd8d27973bb66e41f80a3260b8a9b8b Issue-ID: SDC-2192 Signed-off-by: shiria <shiri.amichai@amdocs.com>
2019-03-25Change SOL004 baseline from v2.5.1 to v2.6.1bilal.iqbal13-32/+84
Change-Id: Ic524e25a5f0a9952dd0a2c578034c60e51c7a290 Issue-ID: SDC-2190 Signed-off-by: bilal.iqbal <bilal.iqbal@est.tech>
2019-03-20Process CSARbilal.iqbal10-458/+773
1. Handle Main service Template 2. keep copy of the onboarded package 3. Sonar fixes Issue-ID: SDC-2153 Issue-ID: SDC-2112 Change-Id: I7f84d5d6d7a4c6eeed317a7ddd19b53272182fd8 Signed-off-by: bilal.iqbal <bilal.iqbal@est.tech>
2019-03-19Display PNF/VNF Type for PNF (backend)kooper4-106/+20
Change-Id: Ie3fabe2a91c1e9040939e2bfe97705cfee15b201 Issue-ID: SDC-2157 Signed-off-by: kooper <sergey.sachkov@est.tech>
2019-03-18Load TOSCA package fixshiria1-1/+1
Change-Id: I10ce085ce76c20f5861d86c6c336f44b88250a48 Issue-ID: SDC-2192 Signed-off-by: shiria <shiri.amichai@amdocs.com>
2019-03-18Fix flat node type interfaceshiria3-3/+41
Change-Id: I45457f1f33f2197c11d0711cedca82f53db5df79 Issue-ID: SDC-2198 Signed-off-by: shiria <shiri.amichai@amdocs.com>
2019-03-17Load TOSCA package into Tosca model objectshiria14-39/+576
Change-Id: I24360bcd988df48359eb6092f6a80e989e35f026 Issue-ID: SDC-2192 Signed-off-by: shiria <shiri.amichai@amdocs.com>
2019-03-14Add source supportbilal.iqbal9-260/+440
Change-Id: I71f578764f666dd33c4aa42c7e8613b58ecb2f93 Issue-ID: SDC-2173 Signed-off-by: bilal.iqbal <bilal.iqbal@est.tech>
2019-03-12Get manifest location from Meta filekooper1-14/+38
Change-Id: Ibdf3e3c0a5c045d19e207c7e48f3404ff099fb3c Issue-ID: SDC-2152 Signed-off-by: kooper <sergey.sachkov@est.tech>
2019-03-10CSAR Package validationbilal.iqbal9-20/+121
Change-Id: I11af8d93f5a2cd0566a5caf0dad0519d70bd57d7 Issue-ID: SDC-2147 Issue-ID: SDC-2148 Issue-ID: SDC-2149 Issue-ID: SDC-2150 Signed-off-by: bilal.iqbal <bilal.iqbal@est.tech>
2019-03-07Parse Tosca.meta filekooper9-0/+239
Change-Id: I50521fb62999322c99b39024097ab5729f3c1580 Issue-ID: SDC-2151 Signed-off-by: kooper <sergey.sachkov@est.tech>
2019-03-04Add manifest non mano set supportkooper21-0/+976
Issue-ID: SDC-2141 Change-Id: I056e8f7c1da8f17ce8583207660882f85a4d11a4 Signed-off-by: kooper <sergey.sachkov@est.tech>
2019-02-06Remove FC toggleManzon, Inna (im453s)3-11/+7
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-18MainServiceTemplate multiple location supportshaheen_vz1-0/+3
Issue-ID: SDC-1744 Signed-off-by: Shaheen Shaik<shaheen.shaik@verizon.com>: Change-Id: I77e4ede6b2177ba66a4de8da824d9c7fd86f5705
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-12-13Fabric configuration changeManzon, Inna (im453s)48-22/+10285
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>