summaryrefslogtreecommitdiffstats
path: root/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager
AgeCommit message (Collapse)AuthorFilesLines
2019-09-03Implement PNFD Model driven conversionandre.schmid1-2/+2
Change-Id: I7427e82353cac17817457294d78953f867d2d6e8 Issue-ID: SDC-2509 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2019-09-03Onboard Package Handlingaribeiro12-179/+296
Retain the original onboarded package when it comes in zip/csar format. Issue-ID: SDC-2510 Change-Id: Ie293db25eca8872be26ffc8475b25ccace1aab6f Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
2019-09-01Fix artifacts references in main TOSCA descriptorandre.schmid5-383/+276
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-28remove duplicated dependenciesvasraz1-6/+0
Change-Id: I60962892f035d81943567a0b3d7819ef3cab52f7 Issue-ID: SDC-2388 Signed-off-by: vasraz <vasyl.razinkov@est.tech>
2019-08-26Add unit test for DuplicateComputeInComponentErrorBuilder and refactor ↵m.kowalski34-7/+42
ComponentDependencyModelErrorBuilder Issue-ID: SDC-2327 Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com> Change-Id: Icb6cf51f7777a8a9d3b237ecd98579edc11f9ebb
2019-08-21Unit tests - openecomp-sdc-vsp-managerTomasz Golabek9-0/+347
Tests for org.openecomp.sdc.vendorsoftwareproduct Change-Id: I737b8ca71219c3e241f902a34419c685435e467c Issue-ID: SDC-2326 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-08-13Add unit tests for NicInternalNetworkErrorBuilderm.kowalski31-2/+28
Issue-ID: SDC-2327 Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com> Change-Id: I8a6127218edf895b8b43d973348cc47794e212c1
2019-08-06Validate PM Dictionary and VES Events YAML Filesandre.schmid10-126/+777
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 Sonsino1-1/+1
Change-Id: Id2182099210982248584c1fcf4569a1360d82f1d Issue-ID: SDC-2478 Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
2019-07-21Add unit test for TranslationFileCreationErrorBuilderm.kowalski31-0/+49
Issue-ID: SDC-2327 Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com> Change-Id: Iedb570e14fdf1169da45321d97807aedad2c16d0
2019-07-21Allow relative path for SOL004 descriptors importandre.schmid3-81/+125
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.iqbal4-7/+7
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-17Add unit test for PackageNotFoundErrorBuilderm.kowalski31-0/+52
Issue-ID: SDC-2327 Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com> Change-Id: I7b553f8eb03b7a1bd8d059ea12dcbdff79100f03
2019-07-15Add unit tests for UploadInvalidErrorBuilderm.kowalski31-0/+56
Issue-ID: SDC-2327 Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com> Change-Id: Icf5f64c77f373d27df438bc6bc89a9e1e67eaf0c
2019-07-15Add unit tests for NicInternalNetworkErrorBuilder and ↵m.kowalski32-0/+83
OnboardingMethodErrorBuilder Issue-ID: SDC-2327 Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com> Change-Id: I46e64b3a7a533a20c4e0e5a98aa99c488fa71a6b
2019-07-11Added oparent to sdc mainTomasz Golabek42-10/+749
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-09Add unit test for PackageInvalidErrorBuilderm.kowalski31-0/+48
Issue-ID: SDC-2327 Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com> Change-Id: I3ca7aa5ac07acd472e9ddd359e74064bf29186c0
2019-07-08Add validation of non referenced file in packageandre.schmid7-177/+823
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-07-07Add unit test for OrchestrationTemplateNotFoundErrorBuilderm.kowalski31-0/+45
Issue-ID: SDC-2327 Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com> Change-Id: Ia8f606848a7ebe405b4ac4a7935d7df1c001452f
2019-07-04Add unit tests for:m.kowalski33-0/+145
-MonitoringUploadErrorBuilder -NicErrorBuilder -VendorSoftwareProductInvalidErrorBuilder Issue-ID: SDC-2327 Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com> Change-Id: I4e34f6f511e27a5f33e96f5bc482cca7765a66e8
2019-07-03Add unit test for InformationArtifactCreationErrorBuilderm.kowalski31-0/+47
Issue-ID: SDC-2327 Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com> Change-Id: I1c2f53de62ac9dcbc264b900769a68eab1749b49
2019-07-03Add unit test for ProcessManagerImplm.kowalski31-0/+9
Issue-ID: SDC-2327 Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com> Change-Id: I16dc6f67707d520e0e6678255ab70c726be596c5
2019-06-30Add unit tests for:m.kowalski34-0/+217
-DeploymentFlavorErrorBuilder -DuplicateComputeInComponentErrorBuilder -FileCreationErrorBuilder -ImageErrorBuilder Issue-ID: SDC-2327 Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com> Change-Id: I0af9da852bb953e93f6e4383725c1c56944d8f33
2019-06-30Add unit tests for OrchestrationTemplateCandidateManagerImplm.kowalski31-0/+22
Issue-ID: SDC-2327 Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com> Change-Id: I80b9e404a98e23e135ae12e4d24ee2c7f66fef11
2019-06-27Add unit tests for ComponentDependencyModelErrorBuilderm.kowalski31-0/+52
Issue-ID: SDC-2327 Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com> Change-Id: I48a1b56d3d193dd5a85d4331c31b1913d0997ec3
2019-06-25Add unit tests for:m.kowalski33-0/+134
-ComponentErrorBuilder -ComputeErrorBuilder -CreatePackageForNonFinalVendorSoftwareProductErrorBuilder Issue-ID: SDC-2327 Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com> Change-Id: I465619c8e4b9819c4706a38633a9e1d6bf5551ab
2019-06-25Add unit test for CompositionEntityDataManagerImplm.kowalski31-2/+13
Issue-ID: SDC-2327 Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com> Change-Id: I77efe6d3da88de11ea41484d5ce17d736d6d142b
2019-05-07Update SDC version 1.5.0Sonsino, Ofir (os0695)1-1/+1
Change-Id: I22d2273103230bd9ee7c3655b5f33e4308bb9f92 Issue-ID: SDC-1913 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com>
2019-04-30Fixing expiry date for package certkooper4-57/+57
Change-Id: I6d893f3ba67aefe1250ac4746fcb7221c594bcbd Issue-ID: SDC-2256 Signed-off-by: kooper <sergey.sachkov@est.tech>
2019-04-29SecurityManager test failing the buildkooper13-136/+117
Change-Id: I8ff3be7cdc2a1ebf2b3c8b55ac4199bd849865c9 Issue-ID: SDC-2256 Signed-off-by: kooper <sergey.sachkov@est.tech>
2019-04-10fix a typo: enzble --> enableLiang Ding1-1/+1
Change-Id: I9639fe1777b98eed3fc340044d57d6f007ed58f0 Issue-ID: SDC-2212 Signed-off-by: Liang Ding <liang.ding@intel.com>
2019-04-10Supporting PNFD (SOL001) mapping to Internal AID modeldermot1232-93/+54
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-03Add artifact typeskooper1-1/+1
Change-Id: I48f2926623441d0729c5d5b476f3e72f962b64f8 Issue-ID: SDC-2156 Signed-off-by: kooper <sergey.sachkov@est.tech>
2019-04-02Verify signaturekooper12-53/+483
Change-Id: I8fc5d50d74d3dd8031c96ee16708489dc7c789b8 Issue-ID: SDC-2163 Signed-off-by: kooper <sergey.sachkov@est.tech>
2019-03-25Change SOL004 baseline from v2.5.1 to v2.6.1bilal.iqbal8-115/+161
Change-Id: Ic524e25a5f0a9952dd0a2c578034c60e51c7a290 Issue-ID: SDC-2190 Signed-off-by: bilal.iqbal <bilal.iqbal@est.tech>
2019-03-25fix a typoLiang Ding1-4/+4
retrive -- > retrieve Change-Id: Ic6bce5b991c042cc2d19f1f72dd827644111b105 Issue-ID: SDC-2207 Signed-off-by: Liang Ding <liang.ding@intel.com>
2019-03-24Retrieve issuer certificatekooper6-2/+238
Change-Id: I22b9ed99d9b19ed300b5671826bd5cd369417f06 Issue-ID: SDC-2162 Signed-off-by: kooper <sergey.sachkov@est.tech>
2019-03-20Process CSARbilal.iqbal4-16/+44
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)kooper6-12/+63
Change-Id: Ie3fabe2a91c1e9040939e2bfe97705cfee15b201 Issue-ID: SDC-2157 Signed-off-by: kooper <sergey.sachkov@est.tech>
2019-03-14Add source supportbilal.iqbal9-27/+57
Change-Id: I71f578764f666dd33c4aa42c7e8613b58ecb2f93 Issue-ID: SDC-2173 Signed-off-by: bilal.iqbal <bilal.iqbal@est.tech>
2019-03-12Get manifest location from Meta filekooper24-459/+738
Change-Id: Ibdf3e3c0a5c045d19e207c7e48f3404ff099fb3c Issue-ID: SDC-2152 Signed-off-by: kooper <sergey.sachkov@est.tech>
2019-03-10CSAR Package validationbilal.iqbal30-125/+1427
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 filekooper6-124/+45
Change-Id: I50521fb62999322c99b39024097ab5729f3c1580 Issue-ID: SDC-2151 Signed-off-by: kooper <sergey.sachkov@est.tech>
2019-03-04Add manifest non mano set supportkooper13-361/+43
Issue-ID: SDC-2141 Change-Id: I056e8f7c1da8f17ce8583207660882f85a4d11a4 Signed-off-by: kooper <sergey.sachkov@est.tech>
2018-12-18MainServiceTemplate multiple location supportOren Kleks1-5/+4
Change-Id: I0b2fb3389ebbe5f1bd8ae86421711a08b5614827 Issue-ID: SDC-1744 Signed-off-by: shrek2000 <orenkle@amdocs.com>
2018-12-18MainServiceTemplate multiple location supportshaheen_vz6-1/+161
Issue-ID: SDC-1744 Signed-off-by: Shaheen Shaik<shaheen.shaik@verizon.com>: Change-Id: I77e4ede6b2177ba66a4de8da824d9c7fd86f5705
2018-11-15update sdc version in masterMichael Lando1-1/+1
update sdc version to 1.4.0 for master Change-Id: Ia3b16b397b6e01dc185549dd20be399ee67a791a Issue-ID: SDC-1913 Signed-off-by: Michael Lando <michael.lando@intl.att.com>
2018-11-08Removed dead and duplicate code in onboardingvempo1-44/+19
Change-Id: I2ca0f1a4b00938838213ba2d615ab72c80d6dda3 Issue-ID: SDC-1903 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-11-05bump sdc version to 1.3.3Michael Lando1-1/+1
Change-Id: I703591a9985f9792649622b16f2a05aa89d1d8ea Issue-ID: SDC-1865 Signed-off-by: Michael Lando <michael.lando@intl.att.com>
2018-11-01Sorted out unit-test libraries in onboardingvempo14-1642/+83
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>