aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be
AgeCommit message (Collapse)AuthorFilesLines
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-19Optimize Dockerfile to reduce SDC image sizeSatoshi Fujii1-3/+1
Use --chown flag at ADD command instead of executing chown Issue-ID: SDC-2366 Signed-off-by: Satoshi Fujii <fujii-satoshi@jp.fujitsu.com> Change-Id: I5aa36da91e45bad5f6ae0bd817a3cdf8186668d8
2019-06-19Upgrade libthriftPiotr Darosz1-0/+9
Upgrade libthrift to the newest version. Change-Id: I371acaec6d2e3f79f997c86a0b6051d3612f88db Issue-ID: SDC-2264 Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
2019-06-18Issue-ID: SDC-2370Avi Ziv5-0/+313
Signed-off-by: dfx1971 <avi.ziv@amdocs.com> Change-Id: Ibfe11277ab9a6f9eb0c402190e41ef94e6ae55f3
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 Graphshrikantawachar200-1333/+1354
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>
2019-06-06Fix static list value issuetalio3-4/+10
Change-Id: I976404e172aae756248cb4e3fe367e1c00c72168 Issue-ID: SDC-2355 Signed-off-by: talio <tali.orenbach@amdocs.com>
2019-06-05Add new unit and refactor tests for YamlTemplateParsingHandler.k.kedron2-121/+193
Issue-ID: SDC-2327 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: Id3c8b6df65beddedf822748f517bd48585014df9
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-06-02Add new unit test for CsarBusinessLogic.k.kedron1-13/+112
Issue-ID: SDC-2327 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: I9f0951a83545f53e75b9bd3ac17703d7331ec4ca
2019-05-27Updated ArtifactBussinessLogicTest to improve code coverage1.5.0bilal.iqbal1-1434/+1735
Change-Id: Icde66ca3606522c13f1ac75c44875081b1cb2e77 Issue-ID: SDC-2279 Signed-off-by: bilal.iqbal <bilal.iqbal@est.tech>
2019-05-23Fix service proxy node typeojasdubey6-186/+645
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 coveragetalio7-41/+83
Fix license in test files Change-Id: I27207ca5b3e5482c9545c02de28eebdb599e6f76 Issue-ID: SDC-2298 Signed-off-by: talio <tali.orenbach@amdocs.com>
2019-05-14Fix test coveragetalio2-159/+295
Fix test coverage for PropertyDeclarationOrchestrator.java Change-Id: I8f787017713dc2218ecfadbe31aee0831c303e2b Issue-ID: SDC-2298 Signed-off-by: talio <tali.orenbach@amdocs.com>
2019-05-14Fix test coveragetalio2-0/+113
Fix test coverage for PolicyUtils.java Change-Id: I7fc4fd36ced11706a867f9b8b5e29f9c0f75b368 Issue-ID: SDC-2298 Signed-off-by: talio <tali.orenbach@amdocs.com>
2019-05-14Fix test coveragetalio2-30/+76
Fix test coverage for UiComponentDataConverter.java Change-Id: I745acb3bd3e40c58c12d1d359bb3b06c8bc95f09 Issue-ID: SDC-2298 Signed-off-by: talio <tali.orenbach@amdocs.com>
2019-05-14Fix test coveragetalio1-35/+114
Fix test coverage for InputsBusinessLogic.java Change-Id: I6e140a08cf7d3c605b5446117617b7a574eaca88 Issue-ID: SDC-2298 Signed-off-by: talio <tali.orenbach@amdocs.com>
2019-05-14Fix test coveragetalio1-2/+72
Fix test coverage for PolicyBusinessLogic.java Change-Id: I98f5918b2e25599747ac0feb0d7ecf7ab76bf0f6 Issue-ID: SDC-2298 Signed-off-by: talio <tali.orenbach@amdocs.com>
2019-05-14Fix test coveragetalio1-14/+64
Fix test coverage for ComponentInstanceInputPropertyDeclarator.java Change-Id: Ie52b56ce07ad8eaec47166311cd8e7942b153bd0 Issue-ID: SDC-2298 Signed-off-by: talio <tali.orenbach@amdocs.com>
2019-05-14Fix test coveragetalio1-16/+91
Fix test coverage for ComponentInstancePropertyDeclarator.java Change-Id: I8c504990863147af421bc7e0333241d1a9bcc746 Issue-ID: SDC-2298 Signed-off-by: talio <tali.orenbach@amdocs.com>
2019-05-14Fix test coveragetalio1-0/+48
Fix test coverage for GetInputUtils.java Change-Id: Ibc9137b3087beb4fac48cd57fa440da2c23ce8f6 Issue-ID: SDC-2298 Signed-off-by: talio <tali.orenbach@amdocs.com>
2019-05-14Fix test coveragetalio1-12/+86
Fix test coverage for ComponentPropertyDeclarator.java Change-Id: I1a065460a5c1816b2cc1c3146aefa4a82e597ff7 Issue-ID: SDC-2298 Signed-off-by: talio <tali.orenbach@amdocs.com>
2019-05-14Support Capability PropertiesMojahidul Islam25-497/+1517
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-12Workflow artifact missing in CSAR for PNFsiddharth09051-1/+10
Artifact Delivery call failing in SDC for PNF Change-Id: I8fde881d4364974ec77b4f2523773a57a3d8aeba Issue-ID: SDC-2274 Signed-off-by: siddharth0905 <siddharth.singh4@amdocs.com>
2019-05-10Added JUnit Test for coveragebilal.iqbal4-561/+914
Change-Id: I7bbd5fca6847f30f64cba6d9beb521c3ba61d1cb Issue-ID: SDC-2279 Signed-off-by: bilal.iqbal <bilal.iqbal@est.tech>
2019-05-08Fixed properties merge logic not to lose properties from inputsSatoshi Fujii2-1/+55
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 Fukuda31-302/+2658
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-07Update SDC version 1.5.0Sonsino, Ofir (os0695)1-1/+1
Change-Id: I22d2273103230bd9ee7c3655b5f33e4308bb9f92 Issue-ID: SDC-1913 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com>
2019-05-07Revert "Workflow artifact missing in CSAR for PNF"Ofir Sonsino2-2/+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 Golabek15-538/+454
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 PNFsiddharth09052-0/+2
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-05-01Added JUnit Test for code coveragebilal.iqbal5-46/+489
Change-Id: I21527430218d00cbc0760bbf8415fa7205d75f90 Issue-ID: SDC-2238 Signed-off-by: bilal.iqbal <bilal.iqbal@est.tech>
2019-04-30Upgrade SDC to use common cassandra clustermahendrr1-16/+7
Change-Id: Ib6a45de3b10cb57466b7b3ef2e18b2fe07639c0f Issue-ID: SDC-2199 Signed-off-by: mahendrr <mahendra.raghuwanshi@amdocs.com>
2019-04-30Some unit tests for catalog-beTomasz Golabek12-105/+374
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 Darosz3-0/+34
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>