aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be/src/main
AgeCommit message (Collapse)AuthorFilesLines
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 Darosz1-2/+3
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-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 Golabek2-0/+10
Additional junit tests Change-Id: Icc7dd508204094643c4796eaef01febd112a7869 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-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 Gardziejewski4-5/+5
Issue-ID: SDC-2454 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I1ee7d055f865eef209e621ec45eba33eef69736f
2019-07-24Autowired annotation for catalog-beTomasz Golabek42-370/+751
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 Darosz45-802/+963
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 Golabek6-52/+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 Golabek193-4/+3864
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 Islam2-9/+19
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-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 typeojasdubey1-2/+18
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-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 Islam1-1/+1
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-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-12Upgrade SDC from Titan to Janus Graphshrikantawachar97-534/+550
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 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 templateojasdubey3-47/+43
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 Golabek30-332/+773
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>
2019-06-06Fix static list value issuetalio2-4/+5
Change-Id: I976404e172aae756248cb4e3fe367e1c00c72168 Issue-ID: SDC-2355 Signed-off-by: talio <tali.orenbach@amdocs.com>
2019-06-05Add lombok support to simple classesavigaffa1-20/+7
Change-Id: I3d8a8e02d8c4b98bfda6367bb34b104edb930707 Issue-ID: SDC-2354 Signed-off-by: avigaffa <avi.gaffa@amdocs.com>
2019-06-03fix inputs declaration on complex typetalio1-1/+1
Change-Id: I86172caf032f4936f98525830ed8aac2ea30567f Issue-ID: SDC-2347 Signed-off-by: talio <tali.orenbach@amdocs.com>
2019-05-23Fix service proxy node typeojasdubey3-70/+258
Added properties, interfaces and requirements of the child service to the node type of proxy in the parent cherry picked commit from dublin: e50b5687b62edbafa12bf3825b0441077c5a4820 Change-Id: I2b4bb695c0b3819ada889b144d536b48dd9d1f30 Issue-ID: SDC-2313 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2019-05-17Properties are missing in TOSCA fixSonsino, Ofir (os0695)1-2/+4
Change-Id: Iacceb798cb24408e232b9b59c751b0e984871728 Issue-ID: SDC-2283 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com> (cherry picked from commit 08f1f67956928d52427d101607f2e11d578d4b82)
2019-05-14Fix test coveragetalio1-6/+9
Fix test coverage for UiComponentDataConverter.java Change-Id: I745acb3bd3e40c58c12d1d359bb3b06c8bc95f09 Issue-ID: SDC-2298 Signed-off-by: talio <tali.orenbach@amdocs.com>
2019-05-14Support Capability PropertiesMojahidul Islam17-471/+949
This change includes following changes 1. Get capability properties from global types- BE 2. Show capability properties in cap/req screen 3. Support Capability Properties in assingment, operation and consumption screens Change-Id: Ieb4fa5705007c8bed3d82eb4fe4604572aa202d7 Issue-ID: SDC-2294 Signed-off-by: Mojahidul Islam <mojahidul.islam@amdocs.com>
2019-05-08Fixed properties merge logic not to lose properties from inputsSatoshi Fujii1-1/+4
Change-Id: I9dbc244c667272062bc4de90d616ea1c5458ed0a Issue-ID: SDC-2255 Signed-off-by: Satoshi Fujii <fujii-satoshi@jp.fujitsu.com>
2019-05-07Change to enable SDC list type inputToshimichi Fukuda17-113/+1064
Change-Id: Ic3a9c6e714a5afd22b58bf2cb066932b1ec2a5c0 Issue-ID: SDC-2046 Signed-off-by: Toshimichi Fukuda <t_fukuda@jp.fujitsu.com> Signed-off-by: Satoshi Fujii <fujii-satoshi@jp.fujitsu.com> Signed-off-by: Ayumu Ueha <ueha.ayumu@jp.fujitsu.com>
2019-05-07Revert "Workflow artifact missing in CSAR for PNF"Ofir Sonsino1-1/+0
This reverts commit f2a0762e0a589f5e422efa0adb6caa1158d210ef. Issue-ID: SDC-2274 Change-Id: Iaabe39728418c79f179d1a20dd8c72c6a8dc4905 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com>
2019-05-06Some unit tests for catalog-beTomasz Golabek4-2/+30
This is the last part of tests for info-models so at least this package should be quite nice covered by test since now. Some refactor made if needed. Change-Id: I78303ae8c5976b4a2c97422517a6df0cbae88e26 Issue-ID: SDC-2220 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-05-05Fix license header typoSonsino, Ofir (os0695)1-1/+1
Change-Id: I10ddaec9888c60778adf0f7b92d9d3c810103f60 Issue-ID: SDC-2276 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com>
2019-05-03Workflow artifact missing in CSAR for PNFsiddharth09051-0/+1
Artifact Delivery call failing in SDC for PNF Change-Id: I4d5227d32debc4c13fe6d9c057d63fb09da47bb5 Issue-ID: SDC-2274 Signed-off-by: siddharth0905 <siddharth.singh4@amdocs.com>
2019-05-02Workflow artifact missing in CSARsiddharth09051-1/+1
Artifact Delivery call failing in SDC if any artifact in having artifact name as NULL Change-Id: I20212434a8fe0ea2960d5b55a7a6834679153526 Issue-ID: SDC-2273 Signed-off-by: siddharth0905 <siddharth.singh4@amdocs.com>
2019-05-01enabled NFV Affinity and Anti-affinity Rules1.4.0sarada prasad sahoo3-28/+36
Fix the issue tosca.policies.nfv.AffinityRule and tosca.policies.nfv.AntiAffinityRule which was getting failed at first attempt with 404 error Change-Id: I6630193343729051b41e4eb880832dee85b098ee Issue-ID: SDC-2231 Signed-off-by: sarada prasad sahoo <sarada.prasad.sahoo@huawei.com>
2019-04-30Some unit tests for catalog-beTomasz Golabek4-25/+40
Code coverage for some classes from catalog-be increased. Some refactor made if needed. Change-Id: Ia9348f624984ab7e5f9aa53c0adf33cf5867fa07 Issue-ID: SDC-2220 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-04-30Refactor hardcoded column configPiotr Darosz2-0/+18
Move hardcoded GAB columns configuration to configuration.yaml file Change-Id: Ie70a1d44c9a04a37c3ba0d3b5f64ad2989b11166 Issue-ID: SDC-2225 Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
2019-04-25add an option of 'direct' into vnic_type of DMLiang Ding1-1/+1
this modification is for vCPE use case to enable it work Change-Id: I54488a4e847fa21238f5d2279ad86145375258e8 Issue-ID: SDC-2254 Signed-off-by: Liang Ding <liang.ding@intel.com>
2019-04-25Update policy name in policyTypes.jsonMarco Platania1-1/+1
Change-Id: Ic85397e450293647b2f3d262a58848a7f2e952db Issue-ID: SDC-2251 Signed-off-by: Marco Platania <platania@research.att.com>
2019-04-24Fix policy definition in normative typesMarco Platania1-1/+1
Change "onap.policy.monitoring.cdap.tca.hi.lo.app" to "onap.policies.monitoring.cdap.tca.hi.lo.app" Change-Id: I354184909472fea07fe566a2f9fdb832aca5675d Issue-ID: SDC-2251 Signed-off-by: Marco Platania <platania@research.att.com>
2019-04-24ArtifactsBusinessLogic handlePayload() method refactoring and code coveragedermot1233-127/+363
Change-Id: I256520e3921c445b9972c78305af615155f7a2c7 Issue-ID: SDC-2239 Signed-off-by: dermot123 <dermot.melia@est.tech>
2019-04-22Fix property name regexshrek20001-1/+1
Error message number is invalid Issue-ID: SDC-2243 Change-Id: Ib3eb658fa2c97a34cb4c1c4fd20aa9ad1084e677 Signed-off-by: shrek2000 <orenkle@amdocs.com>