aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be
AgeCommit message (Collapse)AuthorFilesLines
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.schmid9-299/+21
Change-Id: Ie9fabd6af821b830e211ff1068fb287357fd38ee Issue-ID: SDC-2619 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2019-11-20Onboard PNF software versionandre.schmid24-316/+1068
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 informationaribeiro3-0/+21
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-29Bump SDC version 1.6.0Ofir Sonsino1-1/+1
Change-Id: Ibacb46d19d49023a62caa8f5217086cea6c91ac4 Issue-ID: SDC-2560 Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
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-10Bump SDC version 1.5.2Ofir Sonsino1-1/+1
Change-Id: Ib672dc8d60a0b6f4b37fd94afe84bc27dfba4c44 Issue-ID: SDC-2560 Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
2019-09-09Updated the sdc cert for ONAP namespace in the kubernetes.k.kedron4-4/+4
Issue-ID: SDC-2539 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: I4dba563d5dd8b041a2a61076a9ccbabcc4d22316
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 Handlingaribeiro2-0/+2
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-03Fixed ready-probe filek.kedron1-1/+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-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-30Update ready-probe filek.kedron2-1/+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-30Fully HTTPS support in the catalog-bek.kedron13-188/+242
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-27Fixed swagger dependencyk.kedron1-0/+6
Fixed ClassNotFoundException after the jetty server start. Issue-ID: SDC-2543 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: Ice9d58ceb74e5d261f9296c804c13881db9f3b94
2019-08-26remove duplicated dependencies from catalog-be/pom.xmlvasraz1-1084/+1070
Change-Id: I8a5cecd6e5d8a1db8229431ed4ac32d005a52e0b Issue-ID: SDC-2388 Signed-off-by: vasraz <vasyl.razinkov@est.tech>
2019-08-26Upgrade swaggerArindam Mondal44-15788/+17613
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-20HTTPS calls for catalog-ber.bogacki7-10/+10
Implement HTTPS calls into catalog-be -Added p12 keystore certificate. -Updated application configuration. -Added trust-store. Issue-ID: SDC-2501 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com> Change-Id: Iecdff1010f763489395e9d67d3a0cecd22d09c88
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-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-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>