aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be
AgeCommit message (Collapse)AuthorFilesLines
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
2019-06-27Upgrade jackson-databindPiotr Darosz1-1/+1
Upgrade jackson-databind version. Change-Id: Ica3cd492404150786f212f126463af51fc95b071 Issue-ID: SDC-2262 Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
2019-06-27Fix for Cassandra initOfir Sonsino1-1/+15
Change-Id: If266342c3c126d79e5d99a70f4ed3908e4e7a166 Issue-ID: SDC-2371 Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
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-06-19Optimize Dockerfile to reduce SDC image sizeSatoshi Fujii1-4/+2
Use --chown flag at ADD command instead of executing chown Issue-ID: SDC-2366 Signed-off-by: Satoshi Fujii <fujii-satoshi@jp.fujitsu.com> Change-Id: I5aa36da91e45bad5f6ae0bd817a3cdf8186668d8
2019-06-19Upgrade jetty versionPiotr Darosz1-1/+1
Upgrade jetty-http component to current version. Change-Id: I0bc8636b31973a865ffa1205866828c33cc15e4b Issue-ID: SDC-2268 Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
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 Golabek2-55/+33
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 Graphshrikantawachar3-11/+11
Upgrade SDC from Titan to Janus Graph Change-Id: I67fb8b8e60cc6751697bc5ff2f06754c92803786 Issue-ID: SDC-2296 Signed-off-by: shrikantawachar <shrikant.awachar@amdocs.com>
2019-06-12Add lombok support to simple classesavigaffa1-38/+16
Change-Id: Iec40668537af0fad0d43a599af9ed65d4e5aefbd Issue-ID: SDC-2354 Signed-off-by: avigaffa <avi.gaffa@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>