summaryrefslogtreecommitdiffstats
path: root/catalog-be/src
AgeCommit message (Collapse)AuthorFilesLines
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>
2019-07-14ComponentCache & ComponentCassandraDao removalTomasz Golabek13-165/+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-11Added oparent to sdc mainTomasz Golabek455-185/+9104
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-09Incrrct intrfc type populated in tosca for S proxyMojahidul Islam4-55/+62
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-07Remove field injection in catalog-daoWojciech Sliwka2-2/+2
Change-Id: I96ac13d3b50737518924a3aaa9b320adbba241eb Issue-ID: SDC-2398 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
2019-07-07Remove field injection in catalog-daoWojciech Sliwka7-25/+53
Change-Id: I24c3a898fa34491e80074944614722fbb3085515 Issue-ID: SDC-2398 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
2019-07-07PM-Mapper Policy Model supportrajendrajaiswal3-0/+25
Change-Id: I3603c4a5b05b0dc528b0dd57eabea8947f9e8fbb Issue-ID: SDC-2104 Signed-off-by: rajendrajaiswal <rajendra.jaiswal@ericsson.com>
2019-06-30Fix artifact implementation proxy node typeojasdubey2-4/+49
Removing the operation implementation from proxy node type in parent service tosca as it will be present in the proxy node template Change-Id: Id414d6cdd5f5f4ccb1d7c235fbc8b7cdf1ec4147 Issue-ID: SDC-2395 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2019-06-24fixing CsarUtilsTestBartosz Gardziejewski1-0/+1
Issue-ID: SDC-1795 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: Id4a95fdc0ce9dee133ece1d2f105b2e28813e733
2019-06-24Fix node filter properties valuetalio3-11/+30
fix node filter properties value to be list<map<string, list>> Change-Id: Iafb31c4f94f10d0493ef2bce622019958a995639 Issue-ID: SDC-2381 Signed-off-by: talio <tali.orenbach@amdocs.com>
2019-06-23Fixed bug - implementation path under interfacesMojahidul Islam2-1/+2
the path of the implementation under interfaces points to a non-existing path Change-Id: Iec0c2119c405bf14a1ddec99a0462f29b91f8ea3 Issue-ID: SDC-2377 Signed-off-by: Mojahidul Islam <mojahidul.islam@amdocs.com>
2019-06-23refactoring CsarUtilsTestBartosz Gardziejewski1-68/+136
Issue-ID: SDC-1795 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: Ia25a7b4fa8837c5c06e29cfa46386347f3af0c80
2019-06-17Add property uid in declarationtalio1-0/+1
Add property uid when declaring property to policy, in order to get the policies list in UI Change-Id: I227bfcdcf40483b1e308877e9b2ae41106e20e29 Issue-ID: SDC-2369 Signed-off-by: talio <tali.orenbach@amdocs.com>
2019-06-16BeanUtils upgrade to 1.9.xTomasz Golabek1-13/+7
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-14Update the CsarInfoTest.k.kedron1-16/+5
Used common ZipUtil.readData instead local load method. Fix checkstyle (variable named). Issue-ID: SDC-2327 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: I6adaed83e45d43268b174fde0ba6ee991e3fb2b0
2019-06-12Upgrade SDC from Titan to Janus Graphshrikantawachar195-1288/+1330
Upgrade SDC from Titan to Janus Graph Change-Id: I67fb8b8e60cc6751697bc5ff2f06754c92803786 Issue-ID: SDC-2296 Signed-off-by: shrikantawachar <shrikant.awachar@amdocs.com>
2019-06-11Add new unit test for CsarInfo.Oren Kleks1-2/+2
Change-Id: Id624bddd7204a2fadae33f9f7b8aadebe9be2df6 Issue-ID: SDC-2327 Signed-off-by: shrek2000 <orenkle@amdocs.com>
2019-06-11Add new unit test for CsarInfo.k.kedron2-0/+126
Issue-ID: SDC-2327 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: Icda5004063b9a5e52b9308a164bf1e1477361c92
2019-06-11Add lombok support to simple classesavigaffa1-1/+4
Change-Id: I80c5a691f61c16ffc7d146e11a08cda317f31539 Issue-ID: SDC-2354 Signed-off-by: avigaffa <avi.gaffa@amdocs.com>
2019-06-10Fix Service proxy node templateojasdubey5-91/+170
Fixes for issues: 1. Declared properties of VFCs not appearing in proxy node template 2. Proper value resolution of proxy properties Change-Id: I4b5bedc7e2a4b4071f3adb4dfe909db80575c25a Issue-ID: SDC-2359 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2019-06-10Inheritance in ComponentExceptionTomasz Golabek45-477/+1125
ComponentException was split into ByActionStatus and ByResponseFormat exceptions. Test added for ComponentLockAspectTest in passing Change-Id: I89c9ee966b8b4445e791af897bd60cdb845b845b Issue-ID: SDC-2321 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>