aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be/src/test
AgeCommit message (Collapse)AuthorFilesLines
2019-05-23Fix service proxy node type4.0.0-ONAP1.4.1ojasdubey3-116/+387
Added properties, interfaces and requirements of the child service to the node type of proxy in the parent Change-Id: I23bb2ddce6cf621d166ffec3031148860d0f4321 Issue-ID: SDC-2313 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2019-05-14Fix test coveragetalio7-41/+82
Fix license in test files Change-Id: I817c7be5013d4cc56d933360520a291feb735dd7 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: Ib96a7c0277860dd1896a914f3e29492597a09bbf Issue-ID: SDC-2298 Signed-off-by: talio <tali.orenbach@amdocs.com>
2019-05-14Fix test coveragetalio2-108/+249
Fix test coverage for PropertyDeclarationOrchestrator.java Change-Id: Iecf25e2e2d6410a3adc9f8edd6c234c1c0989c33 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: I4613c1a2f835ec776328cad25c8684b3395a5e59 Issue-ID: SDC-2298 Signed-off-by: talio <tali.orenbach@amdocs.com>
2019-05-14Fix test coveragetalio1-1/+74
Fix test coverage for ComponentInstancePropertyDeclarator.java Change-Id: Ia47d9c0ad0e68469a2e0cb932673272a68991d8d Issue-ID: SDC-2298 Signed-off-by: talio <tali.orenbach@amdocs.com>
2019-05-14Fix test coveragetalio1-0/+118
Fix test coverage for ComponentPropertyDeclarator.java Change-Id: I421a6c3cae0a7e2735e82114adf550d8e1ba041e Issue-ID: SDC-2298 Signed-off-by: talio <tali.orenbach@amdocs.com>
2019-05-14Fix test coveragetalio1-12/+63
Fix test coverage for ComponentInstanceInputPropertyDeclarator.java Change-Id: Ie7125bb8107031db1362ba6a616fc4150bf99fca 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: Ief3fae59be706cacd2ca64be5c80d02974f9e855 Issue-ID: SDC-2298 Signed-off-by: talio <tali.orenbach@amdocs.com>
2019-05-14Fix test coveragetalio1-13/+96
Fix test coverage for InputsBusinessLogic.java Change-Id: Ib394841f919be5ff33c4cd189003522184e4d56a 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: I2ff8cc69e3bbd5693199d3fe71d9f913d0719c2e Issue-ID: SDC-2298 Signed-off-by: talio <tali.orenbach@amdocs.com>
2019-05-13Support Capability PropertiesMojahidul Islam8-26/+572
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: I7e21691beedfa8831ecf78c01ed501804f81ec78 Issue-ID: SDC-2295 Signed-off-by: Mojahidul Islam <mojahidul.islam@amdocs.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 validationsiddharth09053-0/+722
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-04-04Make Cassandra port configurable.Tal Gitelman1-0/+1
SDC-BE & Onboarding - BE. Reviewer: Evgenia A & Areli F. Change-Id: Iaf86d647b0560764ef65d9148c85bffaf934992d Issue-ID: SDC-2077 Signed-off-by: Tal Gitelman <tal.gitelman@att.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-04Add manifest non mano set supportkooper1-0/+0
Issue-ID: SDC-2141 Change-Id: I056e8f7c1da8f17ce8583207660882f85a4d11a4 Signed-off-by: kooper <sergey.sachkov@est.tech>
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-18fix a typoLiang Ding1-1/+1
ALRADY --> ALREADY Signed-off-by: Liang Ding <liang.ding@intel.com> Issue-ID: SDC-2124 Change-Id: I6dc337b7b6b9229253107aca461bf32129601ed8
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>
2019-02-04Add property mapping feature to ONAPTalio7-165/+138
Add service property assignment Change-Id: I29748ce12bacab06b8bc27f8875b39d80ffe5af7 Issue-ID: SDC-1988 Signed-off-by: Talio <tali.orenbach@amdocs.com>
2019-01-31Operation Outputs - Operation screen BEojasdubey2-4/+54
1. Fixed bug in tosca generation for mapped outputs 2. Fixed issues in validation of modified mapped outputs and tosca generation 3. Unit tests Change-Id: I2cb9a55d58d8e9a8d2a4a064646d6ef7ec93e61f Issue-ID: SDC-2085 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2019-01-30Add dependent child service to serviceshrek20002-0/+463
Add dependent child service to service Issue-ID: SDC-1987 Change-Id: Ic542fe1bc13f2b77df9944f05421a42b4b21c437 Signed-off-by: shrek2000 <orenkle@amdocs.com>
2019-01-29Operation Outputs - Operation screen BEojasdubey5-244/+517
1. Added implementation for using operation outputs as mapping to input from create/update operation screen 2. Handled populating the mapped outputs to Tosca 3. Unit tests Change-Id: I3d4761b07be0d4e363ff84710e92438e694a3b07 Issue-ID: SDC-2085 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2019-01-14Interface operation feature enhancementspriyanshu9-670/+700
1. API restructuring to enhance model and provide more capabilities. 2. Allowed multiple interface creation under same resource/service. 3. Enhanced validations to align with updated model. 4. API restructuring to align UI model with Tosca model. 5. Enhanced Junit and code coverage. 6. Added BDD and CI-API tests. Change-Id: I2d8ac8a6154fd9be8254836ba0da1540210031c0 Issue-ID: SDC-1999 Signed-off-by: priyanshu <pagarwal@amdocs.com>
2019-01-10Add new test cases to GroupBusinessLogicTest.Michael Lando1-1/+94
Added new test cases on top of existing test cases. Issue-ID: SDC-1774 Change-Id: I7012d427c58d46e1d91f7f9e7994b131faa8bb10 Signed-off-by: isaac.manuelraj <isaac.manuelraj@huawei.com>
2019-01-08Add new test cases on existing test class.isaac.manuelraj1-0/+113
Added new test cases for more coverage on top of existing class. Issue-ID: SDC-1774 Change-Id: Ibbf33eb594e1cc4db6dc233bc89fc1f63ab3a1c2 Signed-off-by: isaac.manuelraj <isaac.manuelraj@huawei.com>
2018-12-27Revert "Interface operation feature enhancements"priyanshu8-493/+654
This reverts commit 01f825bc Change-Id: I9e41da46a410be335283a27758cb1e77a087046f Issue-ID: SDC-1999 Signed-off-by: priyanshu <pagarwal@amdocs.com>
2018-12-24Interface operation feature enhancementspriyanshu8-654/+493
1. API restructuring to enhance model and provide more capabilities. 2. Allowed multiple interface creation under same resource/service 3. Enhanced validations to align with updated model 4. API restructuring to align UI model with Tosca model 5. Enhanced Junit and code coverage. Change-Id: Ieb5a5d72bc752774f9d702c587efaa127e43bd24 Issue-ID: SDC-1999 Signed-off-by: priyanshu <pagarwal@amdocs.com>
2018-12-19API for get all interface lifecycle typesshrikantawachar1-1/+22
API for get all interface lifecycle types Change-Id: I64471c98ff9626ac53562a075a34f506c2e263ab Issue-ID: SDC-1999 Signed-off-by: shrikantawachar <shrikant.awachar@amdocs.com>
2018-12-02update sdc portal integrationTal Gitelman2-31/+47
Issue-ID: SDC-1749 Change-Id: Ia6a143bfc0a1511909bc83cb5ea1c1b3f8789b08 Signed-off-by: Tal Gitelman <tal.gitelman@att.com>
2018-11-29update sdc portal integrationTal Gitelman1-46/+1
Issue-ID: SDC-1749 Change-Id: Ic8162af62583dd5d1d81662ef555d2267514f107 Signed-off-by: Tal Gitelman <tal.gitelman@att.com>
2018-11-29update sdc portal integrationTal Gitelman2-0/+152
Issue-ID: SDC-1749 Change-Id: Ie306076357cb572402ac80b4be9eb9c5cfa960dd Signed-off-by: Tal Gitelman <tal.gitelman@att.com>