summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-08-06Minor feature by checking for status code in addition to error codeilanap2-23/+31
Issue-ID: SDC-2483 Signed-off-by: ilanap <ilanap@amdocs.com> Change-Id: Ib26ef4f303f4b996ff0511344507692cdda69e04
2019-08-06Validate PM Dictionary and VES Events YAML Filesandre.schmid13-130/+792
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-08-06Added unit tests for AbstractPropertyConstraintPiotr Borelowski2-1/+114
Improved the unit test coverage in the package org.openecomp.sdc.be.model.tosca.constraints Issue-ID: SDC-2327 Signed-off-by: Piotr Borelowski <p.borelowski@partner.samsung.com> Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: I094ab463cc010ecd48e062a1a806b3b907223228
2019-08-06RestConf - Policy model supportVidyashree Rama3-0/+125
Adding policy model for restconf collector Issue-ID: SDC-2101 Change-Id: Id41f2acfe02e955a066ceadddd1eb576fff3fdcf Signed-off-by: Vidyashree Rama <vidyashree.rama@huawei.com>
2019-08-05Additional unit testsTomasz Golabek5-520/+157
Some tests for catalog-fe Change-Id: I383021c7d1e85131adebd559e4763e12e36cba67 Issue-ID: SDC-2326 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-08-05Set ES port to 9300 explicitlyOfir Sonsino1-0/+1
Change-Id: Ic98a7e3f07a581b3e655d4f8b800431e4991ad9a Issue-ID: SDC-2485 Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
2019-08-04Fix test docker readiness checkkaihlavi3-8/+36
- add probe_test_docker function to check test docker readiness - minor improvements to docker_run and test docker startup scripts Issue-ID: SDC-2376 Change-Id: If1ee25e8c7850c8e65a520f645ff80c7d5d36373 Signed-off-by: kaihlavi <l.kaihlavirt@partner.samsung.com>
2019-08-04Issue-ID: SDC-2483ilanap30-358/+575
Adding https support for cucumber tests and slight refactoring Signed-off-by: ilanap <ilanap@amdocs.com> Change-Id: Ib772d18cd4278238571daf54bcb6372c553d6e4b
2019-07-28Update SDC version 1.5.1Ofir Sonsino165-166/+166
Change-Id: Id2182099210982248584c1fcf4569a1360d82f1d Issue-ID: SDC-2478 Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
2019-07-25fixing warnings from checkstyle in ui-ciBartosz Gardziejewski149-17509/+17765
Issue-ID: SDC-2454 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I84b1c0206b7a7c5e12d40582d97411b138eebc4e
2019-07-25fixing warnings from checkstyle in common-beBartosz Gardziejewski92-5623/+5903
Issue-ID: SDC-2454 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I1ee7d055f865eef209e621ec45eba33eef69736f
2019-07-24Fix for ResourceInstanceBusinessLogicTestTomasz Golabek1-0/+1
ConfigurationManager pre-initialized to avoid null pointer Change-Id: I7f81ce6cd56f5e35a57f4ba9fa29f08aa17c5260 Issue-ID: SDC-2400 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-07-24Autowired annotation for catalog-beTomasz Golabek98-772/+1449
Injection of the properties moved to the constructors/setters replacing field annotations. Change-Id: I766ff67e466bec5a91db1035f29e7f919d32e0ea Issue-ID: SDC-2400 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-07-24Refactor ConfigurationRepositoryTest to remove the powermock.k.kedron2-18/+8
Refactor the ConfigurationRepositoryTest to doesn't affect to other tests. Removed powermock. Issue-ID: SDC-2473 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: Iad67cdce365fef89da8b56499d86139d6927da07
2019-07-24Fix view attachment for onboarded CSAR packagesandre.schmid4-4/+29
Fixes the problem to view attachments for a onboarded CSAR package. Every time the attachments link was clicked the process package was being called. The package processing can only happen once, while uploading the package. This solution changes the Attachment link action to a view action without package processing. Change-Id: I5bded800c060adfb8cc80a8512bc8eecf07557b8 Issue-ID: SDC-2443 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2019-07-23Migrate swagger to openapi v3Wojciech Sliwka68-857/+923
Issue-ID: SDC-2261 Change-Id: I614c15878b9d165a4468570e8318867632c88434 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
2019-07-23File name calculation refactoringPiotr Darosz2-29/+75
FSConfigurationSource file name calculation refactoring and tests Change-Id: Idf1c45f860e12c14cfe88417500f2169b5dc86f7 Issue-ID: SDC-2474 Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
2019-07-22Improved test for ReportManger, ArtifactValidationUtils and Sonar fixes.k.kedron4-100/+290
Add new ReportManagerHelper to read files with reports. Fixed log.info to print the types of exception in the messages. Removed redundant new lines in the report files. Issue-ID: SDC-2327 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: If0135f01a05b0936dad681d16e846a6c6560cc80
2019-07-22update INFO.yamlavigaffa1-0/+8
update INFO.yaml withOjas Dubey as committer Change-Id: I0980ff0080527b3abfdaf5b9094d0272c8341d80 Issue-ID: CIMAN-267 Signed-off-by: avigaffa <avi.gaffa@amdocs.com>
2019-07-22Improved unit tests for the DaoUtils class.k.kedron1-33/+35
Issue-ID: SDC-2327 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: I634fc1ccccbfa5b1fec5f2612782f00990438c6b
2019-07-22Improved the CsarGenerator unit tests.k.kedron3-50/+305
Improved the CsarGeneratoryTest. Checkstyle for CsarGenerator and fixed typos. Issue-ID: SDC-2327 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: I8159dd47540ee3f5ed8b46f99c494c0cb24ed1d6
2019-07-22Improved unit tests for ArtifactValidationUtils and Sonar fixes.k.kedron6-158/+314
Added new tests for ArtifactValidationUtils. Checkstyle in the ValidationConfigManager and ArtifactValidationUtils. Added private constructor to ValidationConfigManager. Added logger for ArtifactValidationUtils and simplified code. Updated the ValidationConfigManagerTest and ReportManagerTests to not influence on each other. Issue-ID: SDC-2327 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: I9c7c725792737b6cfa6bba20eeeb3b1d4ef1e471
2019-07-22update info.yamlOfir Sonsino1-8/+28
Change-Id: Id27dea659edee60351fb6ae001b507933eb48a6e Issue-ID: SDC-2448 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-21Added unit tests for AbstractStringPropertyConstraintPiotr Borelowski1-0/+85
Improved the unit test coverage in the package org.openecomp.sdc.be.model.tosca.constraints Issue-ID: SDC-2327 Signed-off-by: Piotr Borelowski <p.borelowski@partner.samsung.com> Change-Id: I79c3ecaa6aae9b9c3011d332444b072d7c1dc460
2019-07-21Can't set property for VFPiotr Darosz2-1/+34
Can't set property for VF due to missing setter for schemaType property Change-Id: I829a3c81586280b91634fa03f3a023b1452bcdda Issue-ID: SDC-2420 Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
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.iqbal9-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-17Remove duplicated entries on error-configuration.yamlvasraz1-1780/+1769
Change-Id: Ie9caf4a01283df368fd441f8ddecc82b84caa861 Issue-ID: SDC-2455 Signed-off-by: vasraz <vasyl.razinkov@est.tech>
2019-07-17catalog-be servlets refactoringPiotr Darosz73-919/+1390
Add constructor injection to servlets inside catalog-be project Change-Id: I46c85f932cbcc275ce82ce64ec1978ffec98ea9b Issue-ID: SDC-2442 Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
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-17fixing warnings from checkstyle in catalog-feBartosz Gardziejewski22-813/+830
Issue-ID: SDC-2454 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I1fbeccb8c661233b81fea787457631f4a898fd46
2019-07-17fixing warnings from checkstyle in common-app-apiBartosz Gardziejewski130-6837/+6990
Issue-ID: SDC-2454 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I17c562380e39f3eab6b3bff45a4a12fe8a586cec
2019-07-17Fix checkstyle violations in sdc-main/commonmichal.banka30-126/+155
Change-Id: I3e132cf4bffd77f9910bf6eff2026c3267873b11 Issue-ID: SDC-2454 Signed-off-by: michal.banka <michal.banka@nokia.com>
2019-07-17upgrade to ONAP-UIArielk60-83/+91
Change-Id: Iddc6a62cc0b7981daa5ceb2422b967c95b031422 Issue-ID: SDC-2411 Signed-off-by: Arielk <Ariel.Kenan@amdocs.com>
2019-07-16Fixing buildWojciech Sliwka2-3/+11
Change-Id: Ia75cdf511e44347294bb646add89b6c1f60f239c Issue-ID: SDC-2403 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
2019-07-16Constructor injection in asdctoolPiotr Darosz39-176/+405
Use constructor injection where possible Change-Id: Ibc80850166406a6e3230f555818988109e6ca776 Issue-ID: SDC-2403 Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
2019-07-16Add Lombok support to Repositorynoahs1-27/+6
add @Data annotation Change-Id: I0a56a2f1978035a00eb4edafd5ecc7db6a7301a4 Issue-ID: SDC-2401 Signed-off-by: noahs <noah.shogan@amdocs.com>
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-14ComponentCache & ComponentCassandraDao removalTomasz Golabek38-4268/+4
Also removed all classes uses these two. Change-Id: I6793c3c935ae61c5c65f70d3541c542edf188ab4 Issue-ID: SDC-2389 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-07-14Maven staging plugin removedTomasz Golabek1-18/+0
Required by global-jjb Change-Id: I0ceca8fabd5e6c67cf702fbfb4d78866c0df4027 Issue-ID: SDC-2444 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-07-12Fixed banned dependencyPiotr Darosz1-1/+1
Upgrade onap-tosca-datatype snapshot dependency version to non-snapshot Change-Id: I54f1dae17b8c9bb13407a6313581b682fbadbefc Issue-ID: SDC-2447 Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
2019-07-11Added oparent to sdc mainTomasz Golabek1707-1272/+33354
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-10Corrected typos in chef scripts.k.kedron5-27/+27
Corrected typos and checkstyles. Issue-ID: SDC-2424 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: If2464645dad7da3fa7706e35e4ccace3ece6aeb4
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-09Incrrct intrfc type populated in tosca for S proxyMojahidul Islam8-55/+107
Incorrect interface type is populated in tosca for Service proxy for Local interface operations Change-Id: If7933d6537a14567297e716f154c2a48f7f34797 Issue-ID: SDC-2423 Signed-off-by: Mojahidul Islam <mojahidul.islam@amdocs.com>
2019-07-08Move import handling to service templateojasdubey13-130/+292
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>