aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be
AgeCommit message (Collapse)AuthorFilesLines
2019-09-03Fixed ready-probe filek.kedron1-2/+1
Fixed ready-probe script url endpoint. Issue-ID: SDC-2548 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: Ibfc2d9199bd01678766810540df594d70812bd9e
2019-09-03openecomp-be code coverage increasePiotr Darosz12-18/+336
Add tests for classes in generator.datatypes.tosca package Change-Id: Ic21b4e05d15e881016fa5f25113625bc441924c9 Issue-ID: SDC-2326 Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
2019-09-03openecomp-be code coverage increasePiotr Darosz18-6/+525
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-02unit tests - openecomp-beTomasz Golabek5-0/+171
Additional junit tests for zusammen models Change-Id: I4593d5c5dfd9619f36c69096462ed5de08b189f0 Issue-ID: SDC-2326 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-09-02unit tests - openecomp-bePiotr Darosz8-0/+335
Additional junit tests for dao-types Issue-ID: SDC-2326 Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com> Change-Id: I195610e66628d5d8546846592c98c726ba81824d
2019-09-01Fix artifacts references in main TOSCA descriptorandre.schmid11-479/+745
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-30unit tests - openecomp-beTomasz Golabek46-0/+2114
Additional junit tests for vendor-software-product-rest-types Change-Id: I757fe0eed085b6ce880dda143ad1fceac220aafe Issue-ID: SDC-2326 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-08-30Update ready-probe filek.kedron2-8/+13
Update ready-probe file to support the https mode. Issue-ID: SDC-2548 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: I78328d7575d202d1d241785e07fb57573ffe2739
2019-08-29unit tests - openecomp-beTomasz Golabek10-134/+656
Additional junit tests for item-rest-services and unique-type-rest-services Change-Id: I330954ad4eb432c126c7f163f9fdea30d3173cd9 Issue-ID: SDC-2326 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-08-29unit tests - openecomp-beTomasz Golabek27-22/+836
Additional junit tests for conflict-rest-types and vendor-license-rest-types Change-Id: I3e58d8a85f40e0f3a2e64c2b3195c97bb71a8fbd Issue-ID: SDC-2326 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-08-28remove duplicated dependenciesvasraz7-41/+0
Change-Id: I60962892f035d81943567a0b3d7819ef3cab52f7 Issue-ID: SDC-2388 Signed-off-by: vasraz <vasyl.razinkov@est.tech>
2019-08-26Fixed pom spring version configurationk.kedron1-2/+1
Fixed pom configuration in the application-config-rest-service Issue-ID: SDC-2326 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: I1ea39c42dcb0d257ee3c47e2920550dda07010ce
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-22unit tests - sdc-healthcheck-managerTomasz Golabek13-118/+210
Additional junit tests Change-Id: I6562e5085f7bfd692db129bf1706f3f569ebd793 Issue-ID: SDC-2326 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-08-22Unit tests - openecomp-sdc-validation-managerTomasz Golabek15-2/+426
Tests for org.openecomp.sdc.validation Change-Id: If0acdb2f453b5cd60d0ec49870f1467cdd212492 Issue-ID: SDC-2326 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-08-21unit tests - sdc-common-restTomasz Golabek6-5/+244
Additional junit tests Change-Id: Ieeb6f02e1d5abf131882c530a0ba3a395d56c6cd Issue-ID: SDC-2326 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-08-21increasing test coverage in openecomp-be apiBartosz Gardziejewski30-4/+1224
Issue-ID: SDC-2326 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I93cc5183190fcbada2349b18f14fbec9c28f1ae5
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-21Unit tests - togglz-rest-typesTomasz Golabek3-0/+83
Tests for org.openecomp.sdcrests.togglz Change-Id: Ic507eee3e77fbbe727b0deeb3912103d0c7737db Issue-ID: SDC-2326 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-08-20Removed dummy subprojectTomasz Golabek4-72/+0
Change-Id: Idb5d33229c76bec9768c8c6c1d73faa96fff2225 Issue-ID: SDC-2326 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
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-14HTTPS calls for sdc-onboardingr.bogacki8-11/+10
Implement HTTPS calls into sdc-onboarding -Added p12 keystore certificate. -Updated application configuration. -Added trust-store. Issue-ID: SDC-2498 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com> Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: Ia96c42cddee5fd94014963c9d2f584b098693a9a
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-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.schmid12-130/+791
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 Sonsino139-139/+139
Change-Id: Id2182099210982248584c1fcf4569a1360d82f1d Issue-ID: SDC-2478 Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
2019-07-23Migrate swagger to openapi v3Wojciech Sliwka67-855/+921
Issue-ID: SDC-2261 Change-Id: I614c15878b9d165a4468570e8318867632c88434 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.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-21Remove Proprietary noticesOfir Sonsino4-28/+5
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.schmid25-144/+968
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.iqbal6-10/+10
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 Golabek506-237/+8922
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-10Fixed the startup.sh script in the sdc-onboard-db-init-docker.k.kedron1-9/+9
Changed the instruction order to get the cqlsh command status. Issue-ID: SDC-2425 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: I173244af91e091d5cbb6979a8c5819b2646d6196
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-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.schmid13-202/+861
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-07Autowired annotation for openecomp-beTomasz Golabek5-6/+37
Injection of the properties moved to the constructor replacing field annotations. Change-Id: I5ea031c9ab414859d810cb8686de3ce6ccebfd0a Issue-ID: SDC-2406 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
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