aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be/src
AgeCommit message (Collapse)AuthorFilesLines
2020-02-13Update to Portal SDK v2.6Ofir Sonsino2-13/+2
Change-Id: I602891d783ce4c80fca6e9da3c765218d19da993 Issue-ID: SDC-2684 Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
2020-02-05Fix sdc-backend-init heat type upgradeandre.schmid4-118/+98
Removes all heat and normative items from typesToUpgrade.json. Add verbose to pycurl if is in debug mode, to print request information. Adjust to upgradeONAPNormative.py to the correct python syntax and removing unused imports. Change-Id: Id4ee601dd70b337c5eeb84965843305300ef7fe3 Issue-ID: SDC-2752, SDC-2753 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2020-02-05Remove ES & Kibanavasraz1-0/+0
Change-Id: I983a0fe570b1a2cbf641f4285ef030be686bed32 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-2724
2020-01-30Upgrade to Cassandra 3shrek20001-3/+3
Creating base dockers suitable for Cassandra 3 remove cqlsh version Change-Id: I996bad2341410cdf45c49f191e998acf4781fc5d Issue-ID: SDC-2596 Signed-off-by: shrek2000 <oren.kleks@amdocs.com>
2020-01-26Increase junit TCsvasraz2-1543/+1634
1. Re-enable disabled TCs (enable = true) 2. Enable @Ignored TCs 3. Add some Assert when missing 4. Remove old unused TCs (covered in UI) Change-Id: I900e52f4860b1fdc5bd1e529a1fe7f5c3491465b Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-2672
2020-01-22Catalog alignmentys9693655-48272/+48560
Issue-ID: SDC-2724 Signed-off-by: ys9693 <ys9693@att.com> Change-Id: I52b4aacb58cbd432ca0e1ff7ff1f7dd52099c6fe
2019-12-18Increased code coverage using junitsAnnick Boghossian5-54/+323
Issue-ID: SDC-2699 Change-Id: Ifb0b9616a0218028b06755d6ef7150d54a82ecbb Signed-off-by: Atif Husain <atif.husain@team.telstra.com>
2019-12-15Add PMSH Modelsdfarrelly3-0/+132
*Add PM Subscription Handler monitoring policy Issue-ID: DCAEGEN2-1940 Change-Id: I82bd1d8d686365e124cd7b4438de583215e9fc0a Signed-off-by: dfarrelly <david.farrelly@est.tech>
2019-12-11Added datatypes for 3rd Party PartnersAtif Husain3-1/+639
Issue-ID: SDC-2385 Change-Id: Iedc5d5b9b30e7cccd3654a1b6e84514643b6d62f Signed-off-by: Atif Husain <atif.husain@team.telstra.com>
2019-12-11Add service creation API as an External APIDivyang Patel8-618/+976
Issue-ID: SDC-2383 Change-Id: I8490163310e892a7ebb6d7e7275edfdeba24045e Signed-off-by: Atif Husain <atif.husain@team.telstra.com>
2019-11-25Fix Sonar issuevasraz1-2/+2
Major SmellCode: Replace StringBuffer with StringBuilder Change-Id: I0283e5160e5c1f23423c66110015f18c8163411e Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-2670
2019-11-20Validate non-mano software information artifactandre.schmid8-299/+14
Change-Id: Ie9fabd6af821b830e211ff1068fb287357fd38ee Issue-ID: SDC-2619 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2019-11-20Onboard PNF software versionandre.schmid23-316/+1065
Change-Id: Id9e32e01f6c2f4c39c8ff10816d982cbb3063bf7 Issue-ID: SDC-2589 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2019-11-12add SDC Meta Data for CDS IntegrationAhmed Abbas4-1/+43
Issue-ID: SDC-2631 Signed-off-by: Ahmed Abbas <ahmad.helmy@orange.com> Change-Id: Ie691e323f771b786d154c0614d0cd724635a5ec2
2019-11-06Fix sonarqube issues introduced by ZipSlip changeandre.schmid2-18/+17
Fix major and critical sonarqube issues introduced by ZipSlip change id I721f3d44b34fe6d242c9537f5a515ce1bb534c9a Change-Id: I3aa2cd4116936d715baba99a38d43aa40fd62a29 Issue-ID: SDC-1401 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2019-11-03Create new non-mano Artifact Type entry for pnf software informationaribeiro2-0/+14
Issue-ID: SDC-2615 Change-Id: I4dd879d50b1dec58aceeaf0c265901c62d038071 Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
2019-10-30Fix for missing import merge issueandre.schmid1-26/+21
Some imports from SDC-1952 were lost during the merge of SDC-1401, they were re-added. Change-Id: Ie3af8290f98afe4fd9278c218a47376abcdd1a3c Issue-ID: SDC-1952, SDC-1401 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2019-10-30Fix zip slip security flawandre.schmid9-1100/+1007
Apply zip slip checking in zip operations throughout the system. Centralizes most of the zip logic in one class. Create tests to zip functionalities and zip slip problem. Change-Id: I721f3d44b34fe6d242c9537f5a515ce1bb534c9a Issue-ID: SDC-1401 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2019-10-30add artifacts support in TOSCA exported yml fileLiang Ding8-67/+245
Change-Id: I56f8a6a1ce758876e83a7ee8318b79644ae7d5cb Issue-ID: SDC-1952 Signed-off-by: Liang Ding <liang.ding@intel.com>
2019-10-29Fix for status properties value.aribeiro30-684/+684
These changes were made to align the normative types to the TOSCA property definition requirements. Issue-ID: SDC-322 Change-Id: I32e815dd26990dd6c82c859ad051b271db3c8029 Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
2019-10-16Changes for new service categoryatif husain1-0/+3
Introduced new service category, Partner Domain Service Added logic to disable composition for Partner Domain Service category Issue-ID: SDC-2382 Change-Id: I6ed135733c6f05914e102c037ebe9057ad731e75 Signed-off-by: Atif Husain <atif.husain@team.telstra.com>
2019-10-03Fix for error message.aribeiro4-16/+16
Fixing error message for invalid values across SDC backend API. Issue-ID: SDC-2324 Change-Id: If01307138baf7692e398abf20eb75bbe9a8aa394 Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
2019-09-06fix a nested node type issueLiang Ding1-1/+4
the newly added node type is considered as nested when substitution_mapping is enabled in TOSCA yaml file Change-Id: Ibdee29d7a553c7b1ce085cbe971ceace6c4488f5 Issue-ID: SDC-2282 Signed-off-by: Liang Ding <liang.ding@intel.com>
2019-09-06Revert "Basic authorization for unsecured endpoint"andre.schmid2-144/+0
This reverts commit 34e04405 Change-Id: I6e27ce2d04b50417c3b0c9e5da217cbc57f8d277 Issue-ID: SDC-2556 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2019-09-04catalog-be code coverage increasePiotr Darosz3-29/+527
Add tests for DistributionCatalogServlet class Change-Id: I3da0460f09c803a0ec5a26bd2c7f70f36c6998a1 Issue-ID: SDC-2326 Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
2019-09-03Onboard Package Handlingaribeiro1-0/+1
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-03catalog-be code coverage increasePiotr Darosz1-27/+777
Increase code coverage in ResourcesServlet class Change-Id: I633da1a41d7266dd1b218814bf5d52de73c8d264 Issue-ID: SDC-2326 Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
2019-09-03catalog-be code coverage increasePiotr Darosz1-183/+955
Increase test code coverage in ElementServletTest Change-Id: I65d08d901f30c218e60b5630132d9eb8b4a90a9a Issue-ID: SDC-2326 Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
2019-09-02Basic authorization for unsecured endpointm.kowalski32-0/+144
Issue-ID: OJSI-90 Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com> Change-Id: I3423d316e4853cfd5fa4aee50ad6506937bd6381
2019-09-02catalog-be code coverage increasePiotr Darosz2-0/+1007
Added tests for ArtifactExternalServlet Change-Id: Ic20e172e910f9c5e18d3f43f78a10a36c588f16d Issue-ID: SDC-2326 Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
2019-09-01General sonar fixesArindam Mondal2-5/+1
+) Removed empty method ++)Removed unused import Issue-ID: SDC-2542 Change-Id: I9081e7c5f2b9329101c231ae18b4075e33219535 Signed-off-by: arindamm <arind.mondal@samsung.com>
2019-08-30Fully HTTPS support in the catalog-bek.kedron4-152/+165
Fully HTTPS support: -Updated jvm configuration to support call to the SDC components using HTTPS. -Checkstyle in the recipes -Add support for disableHttp flag in the chef script -Add support for change the http to https in the python script -Fixed the --schema param in the importONAPNormativeALL and upgradeONAPNormative python scripts -Checkstyle in the importX python script -Disabled pycurl.SSL_VERIFYHOST to fix communication with the be component Issue-ID: SDC-2501 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: I588ba21638083694932a1af272f3bcbaa98268a7
2019-08-29catalog-be code coverage increasePiotr Darosz2-6/+142
Increase test code coverage in catalog-be ServiceBusinessLogic - part 1 Change-Id: I1ef29b46f41bfe7d41219ddbe5dbb0dd5a6649ad Issue-ID: SDC-2326 Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
2019-08-28BRG CategoryOfir Sonsino1-0/+3
Change-Id: I9ac88bae14227fb687d0520da349b2c72c7b1ead Issue-ID: SDC-2535 Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
2019-08-27increasing test code coverage in catalog be ArtifactBusinessLogicBartosz Gardziejewski1-7/+603
Issue-ID: SDC-2326 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I1283a3901a9056589cfffea381391d7307d26425
2019-08-26Upgrade swaggerArindam Mondal43-14704/+16529
Issue-ID: SDC-2154 Change-Id: I95f6326a088f9a29c4ccb3b7a741d57ecf27ae7a Signed-off-by: arindamm <arind.mondal@samsung.com>
2019-08-26unit tests - catalog-beTomasz Golabek7-21/+279
Additional junit tests Change-Id: Icc7dd508204094643c4796eaef01febd112a7869 Issue-ID: SDC-2326 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-08-26unit tests - resource business logicTomasz Golabek1-0/+347
Additional junit tests Change-Id: I2a6e4f67f725343ac789361c2de45354ae817fb9 Issue-ID: SDC-2326 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-08-25Fix in RestConf - Policy model idVidyashree Rama2-2/+2
Bug fix in policy model id of restconf collector Change-Id: Ifd3a4298ee7d0a0ce00602f777878a202fe89eaa Issue-ID: SDC-2101 Signed-off-by: Vidyashree Rama <vidyashree.rama@huawei.com>
2019-08-23unit tests - catalog-beTomasz Golabek7-0/+505
Additional junit tests Change-Id: Id83ab89115bd7bec471f42d3b96a2054ff4ead53 Issue-ID: SDC-2326 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-08-22unit tests - catalog-beTomasz Golabek2-0/+71
Additional junit tests Change-Id: Ief7f445521f7821e47715a44c423fd11a17568e1 Issue-ID: SDC-2326 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-08-19Update PM Mapper Data Typedfarrelly1-2/+29
*Update PM Mapper Data Type to include full filter schema Issue-ID: DCAEGEN2-1605 Change-Id: I5aea43ddef798d14b445ee0ab4275370db08e011 Signed-off-by: dfarrelly <david.farrelly@est.tech>
2019-08-18Handle 'get_input' syntax for layer_protocols in PnfExtCp typevasraz2-10/+11
Change-Id: I52f91e47dbda20c8c0701ee25f2eec5a83815112 Issue-ID: SDC-2427 Signed-off-by: vasraz <vasyl.razinkov@est.tech>
2019-08-12Fix PM Mapper policy IDdfarrelly2-2/+2
*Change policy ID to match onap.policies.monitoring naming convention Issue-ID: DCAEGEN2-1605 Change-Id: If5e61692c19d344714704bf411631dec01b3226a Signed-off-by: dfarrelly <david.farrelly@est.tech>
2019-08-07Fix in RestConf - Policy modelVidyashree Rama1-1/+1
Bug fix in policy model of restconf collector Change-Id: I66ece74e05b898c24dc62da85ee2f596ae4c40fe Issue-ID: SDC-2101 Signed-off-by: Vidyashree Rama <vidyashree.rama@huawei.com>
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-07-25fixing warnings from checkstyle in common-beBartosz Gardziejewski5-6/+6
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 Golabek86-676/+1436
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-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>