summaryrefslogtreecommitdiffstats
path: root/catalog-be/src/test/java
AgeCommit message (Collapse)AuthorFilesLines
2019-06-30Fix artifact implementation proxy node typeojasdubey1-2/+31
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-23Fixed bug - implementation path under interfacesMojahidul Islam1-0/+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-23refactoring CsarUtilsTestBartosz Gardziejewski1-68/+136
Issue-ID: SDC-1795 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: Ia25a7b4fa8837c5c06e29cfa46386347f3af0c80
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 Graphshrikantawachar96-743/+769
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.kedron1-0/+126
Issue-ID: SDC-2327 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: Icda5004063b9a5e52b9308a164bf1e1477361c92
2019-06-10Fix Service proxy node templateojasdubey2-44/+127
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 Golabek15-145/+352
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-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-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 typeojasdubey3-116/+387
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-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 coveragetalio1-0/+105
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 coveragetalio1-24/+67
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 Islam8-26/+568
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-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 Fujii1-0/+51
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 Fukuda14-189/+1594
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-06Some unit tests for catalog-beTomasz Golabek11-536/+424
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-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-30Some unit tests for catalog-beTomasz Golabek7-80/+326
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-24ArtifactsBusinessLogic handlePayload() method refactoring and code coveragedermot1233-65/+363
Change-Id: I256520e3921c445b9972c78305af615155f7a2c7 Issue-ID: SDC-2239 Signed-off-by: dermot123 <dermot.melia@est.tech>
2019-04-22Some unit tests for catalog-beTomasz Golabek15-11/+582
Code coverage for some classes from catalog-be increased. Some refactor made if needed. Change-Id: I1b292cfbe4b0d2aa4fbe22871da3228aa434b823 Issue-ID: SDC-2220 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-04-21Fix property name regextalio1-0/+128
property name should contain only letters, numbers and / or underscores Change-Id: Ic6b8d627a30f5f157bed1617a8af819b66352136 Issue-ID: SDC-2243 Signed-off-by: talio <tali.orenbach@amdocs.com>
2019-04-17Some unit tests for catalog-beTomasz Golabek3-30/+250
Code coverage for some classes from catalog-be increased. Some refactor made if needed. Change-Id: I5cd63fe61425f5eb05336545d714cbe2df83e116 Issue-ID: SDC-2220 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-04-14Declare properties as policiestalio8-323/+930
Change-Id: I54dc7b444e08117097c314cf5f51bd356ac5287d Issue-ID: SDC-2240 Signed-off-by: talio <tali.orenbach@amdocs.com>
2019-04-11Apply Valid Value Constraints validationsiddharth09051-0/+317
Apply Valid Value Constraints validation for FE and BE in Property Assignment, Input, Service Consumption screen Change-Id: I01c7523bad702f003cd52fd88bc69fe950b2b4f3 Issue-ID: SDC-2224 Signed-off-by: siddharth0905 <siddharth.singh4@amdocs.com>
2019-04-10Some unit tests for catalog-beTomasz Golabek4-146/+162
Code coverage for some classes from catalog-be increased. Some refactor made if needed. Change-Id: I1c5a35f99fcc0ace2f7b6ba4f7ef4f41acbed5e7 Issue-ID: SDC-2220 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-04-10Workflow artifact in distribution notificationpriyanshu2-9/+38
1. Support workflow artifact in distribution notification. 2. Only save unique artifacts by name per component in SDC irrespective of it being used in multiple operations under same component. 3. Any other call to save same artifact as part of same component will not upload a new artifact and will update the new operation to refer to existing artifact. 4. The generated CSAR and distribution notification will only have unique artifacts. 5. Delete or Update operation will only delete artifact if it is not being used in any other operation under same component. Change-Id: I74d4ee4f8e543ea9e730301a210deb08b00c64bc Issue-ID: SDC-2233 Signed-off-by: priyanshu <pagarwal@amdocs.com>
2019-04-10Tosca artifacts - Error 500priyanshu2-8/+7
Tosca artifacts - Error 500 - Service proxy with WF assigned Change-Id: I1d75c0b9980ab42c7c825e4423ff4994600dd6fa Issue-ID: SDC-2232 Signed-off-by: priyanshu <pagarwal@amdocs.com>
2019-04-08show cloud specific artifacts IDs in vf module metaLiang.Ding1-0/+15
Change-Id: I42c54b2b94513c1dd69c3ec662a05a71a89fd3d0 Issue-ID: SDC-2041 Signed-off-by: Liang.Ding <liang.ding@intel.com>
2019-04-08Yaml parser exposed via SDC endpointTomasz Golabek1-0/+115
GAB parser exposed as POST /v1/catalog/gab/searchFor endpoint. Introduced OWASP ESAPI initial configuration Change-Id: I2ee575b6092a97bc6acb1a5378bc66321e9fb182 Issue-ID: SDC-2209 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-04-08Some unit tests for catalog-beTomasz Golabek4-292/+152
Code coverage for some classes from catalog-be increased. Some refactor made if needed. Change-Id: I33114eed03d4e176896fd803b54fb77787c34283 Issue-ID: SDC-2220 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-03-30Heal Vertex Datashrek20004-65/+127
Enable healing of vertex information when reading it. Issue-ID: SDC-2213 Change-Id: I907beeb25bd231d9e05d3a5b8e070d6bdf9cb781 Signed-off-by: shrek2000 <orenkle@amdocs.com>
2019-03-18Service Consumption BEojasdubey10-36/+328
1. Service consumption feature backend implementation 2. Operation output bug fix for delete operation not allowed for mapped operation output Change-Id: Ib2554eed4f940b003955263a0c8bf795a23cac9a Issue-ID: SDC-1990 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2019-03-07Fix too many method parameterArindam Mondal1-0/+65
Implement builder to fix too many method parameter issue Issue-ID: SDC-2164 Change-Id: I6f071a7c704002ba523efca942ab51a00c0272ee Signed-off-by: Arindam Mondal <arind.mondal@samsung.com>
2019-03-04Requirement and capabilities featuremojahidi5-1/+1171
1. Enhance Service/VF/PNF to support Req & Cap 2. Added Type fetch APIs to fetch types from global types Change-Id: I2b749ec9da34e488421b8ebe311ccf03c4b7c0fd Issue-ID: SDC-2142 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2019-02-26Add unit testOren Kleks1-0/+63
Add dependent child service to service Issue-ID: SDC-1987 Change-Id: I0aa172db1aceb08f8246c1e79b255a63b03bd036 Signed-off-by: shrek2000 <orenkle@amdocs.com>
2019-02-20Add new testcases to the existing class.isaac.manuelraj1-1/+90
Added new testcases to improve the coverage. Issue-ID: SDC-1774 Change-Id: I08f18ca947891c596c32b867e444e72b56c9db39 Signed-off-by: isaac.manuelraj <isaac.manuelraj@huawei.com>
2019-02-07Add dependent child service to serviceshrek20005-0/+304
Add dependent child service to service Issue-ID: SDC-1987 Change-Id: I5a650f57a27587c4ce6f33059719060ffa1f13de Signed-off-by: shrek2000 <orenkle@amdocs.com>