aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be/src/main/java
AgeCommit message (Collapse)AuthorFilesLines
2019-05-23Fix service proxy node type4.0.0-ONAP1.4.1ojasdubey3-57/+260
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 coveragetalio1-6/+9
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 Islam16-470/+933
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-08Properties 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>
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-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 sahoo1-3/+4
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 Darosz1-0/+2
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-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-22Some unit tests for catalog-beTomasz Golabek3-4/+67
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 regextalio3-59/+59
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 Golabek2-15/+15
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 policiestalio23-318/+1198
Change-Id: I54dc7b444e08117097c314cf5f51bd356ac5287d Issue-ID: SDC-2240 Signed-off-by: talio <tali.orenbach@amdocs.com>
2019-04-11Apply Valid Value Constraints validationsiddharth09051-11/+22
Service consumption scenario fix Change-Id: I5ad7beb18b0490385d24ce30b750ca5c2ebb28a8 Issue-ID: SDC-2224 Signed-off-by: siddharth0905 <siddharth.singh4@amdocs.com>
2019-04-11Apply Valid Value Constraints validationsiddharth090511-167/+853
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 Golabek3-23/+29
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 notificationpriyanshu7-100/+200
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 500priyanshu5-33/+53
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-10Supporting PNFD (SOL001) mapping to Internal AID modeldermot1232-13/+65
This maps the PNF descriptor containing etsi defined types according to SOL001 v2.5.1 to openecomp internal model. The transformation is done in the "Create VSP" stage. As the main PNF type gets mapped to the outer container in internal ecomp model, it is possible to have no "resource instances" when importing the PNF model into the catalog. The code was updated to allow this for PNFs. Change-Id: I961e91746ca638d858dd468e6c82aeb57993f7a3 Issue-ID: SDC-1976 Issue-ID: SDC-2160 Signed-off-by: dermot123 <dermot.melia@est.tech>
2019-04-10Internal API for interface artifact uploadpriyanshu1-0/+52
Internal API for interface artifact upload Change-Id: I9934a6d6aa11680b883f51ba8f231aeb866f2487 Issue-ID: SDC-2226 Signed-off-by: priyanshu <pagarwal@amdocs.com>
2019-04-08show cloud specific artifacts IDs in vf module metaLiang.Ding1-1/+23
Change-Id: I42c54b2b94513c1dd69c3ec662a05a71a89fd3d0 Issue-ID: SDC-2041 Signed-off-by: Liang.Ding <liang.ding@intel.com>
2019-04-08Yaml parser exposed via SDC endpointTomasz Golabek4-0/+240
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-08updating the VNFD (SOL001) type based on SOL001 v2.5.1sarada prasad sahoo1-1/+14
updated VNFD types (tosca*.*nfv.) based on latest v2.5.1 version, not supported backward compatibility of SOL draft version, will be documented as limitation while upgrading from SOL draft version, updated importscript for new nodes, Also fixed java files for policyType having groupType reference Change-Id: I8b8175ec908809608e6bdac990052d909792a2ba Issue-ID: SDC-2170 Signed-off-by: sarada prasad sahoo <sarada.prasad.sahoo@huawei.com>
2019-04-08Some unit tests for catalog-beTomasz Golabek2-3/+11
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 Datashrek20002-6/+5
Enable healing of vertex information when reading it. Issue-ID: SDC-2213 Change-Id: I907beeb25bd231d9e05d3a5b8e070d6bdf9cb781 Signed-off-by: shrek2000 <orenkle@amdocs.com>
2019-03-27add properties on VNF BUGmojahidi1-0/+4
added properties on VNF SELF still not exist after update version of vsp Change-Id: I594d7965fcbbc8fe9dded5f00cd80360011ff45a Issue-ID: SDC-2210 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2019-03-26fix a typoLiang Ding4-14/+14
contenType --> contentType Change-Id: Ide62e942c689719aa768865d742dc7c6fe4e8cfd Issue-ID: SDC-2197 Signed-off-by: Liang Ding <liang.ding@intel.com>
2019-03-25fix a typoLiang Ding3-3/+3
retrive -- > retrieve Change-Id: Ic6bce5b991c042cc2d19f1f72dd827644111b105 Issue-ID: SDC-2207 Signed-off-by: Liang Ding <liang.ding@intel.com>
2019-03-18Service Consumption BEojasdubey19-271/+1402
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 Mondal2-13/+140
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-06Bug Fix - Requirement and capabilities featuremojahidi3-26/+41
Fixed - bugs Change-Id: I6d5dea6ff1e508caf6580c86c430a0bfcbc23c88 Issue-ID: SDC-2142 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2019-03-04Fix Sonar Issueshrek20001-11/+1
Add dependent child service to service Issue-ID: SDC-1987 Change-Id: If9a4d534b45aecc8f827e5d2ce80c35c13876078 Signed-off-by: shrek2000 <orenkle@amdocs.com>
2019-03-04Requirement and capabilities featuremojahidi17-45/+2764
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-24fix a POL500 issueLiang Ding1-3/+7
when creating a VSPfrom a tosca VNF, a POL500 was reported Change-Id: I8d942b81689f35cdeb16aa4b0925371394bb639c Issue-ID: SDC-1983 Signed-off-by: Liang Ding <liang.ding@intel.com>
2019-02-20fix a typoLiang Ding1-3/+3
VfModuleArtifacGenerator -> VfModuleArtifactGenerator Change-Id: I58fa51c74974adef1f32c52eb3eee61fb56cb2ee Issue-ID: SDC-2087 Signed-off-by: Liang Ding <liang.ding@intel.com>
2019-02-19Fix Logger CreationOren Kleks1-20/+22
Add dependent child service to service Issue-ID: SDC-1987 Change-Id: Ibfac137cbdc296d4b3fc97937054f879aeeaf46f Signed-off-by: shrek2000 <orenkle@amdocs.com>
2019-02-18fix a typoLiang Ding2-6/+6
ALRADY --> ALREADY Signed-off-by: Liang Ding <liang.ding@intel.com> Issue-ID: SDC-2124 Change-Id: I6dc337b7b6b9229253107aca461bf32129601ed8
2019-02-13Fix duplicated constantsshrek20001-44/+40
Add dependent child service to service Issue-ID: SDC-1987 Change-Id: I630c4c84c705f9af7d346598de9b478d3dda940a Signed-off-by: shrek2000 <orenkle@amdocs.com>
2019-02-11Fix critical sonar issues in sdc/catalog-beParshad Patel1-6/+6
Fix Cast one of the operands of this integer division to a "double" issues Issue-ID: SDC-1895 Change-Id: If880270321fed4c4fdc6b1de8db110253fe8d8d8 Signed-off-by: Parshad Patel <pars.patel@samsung.com>
2019-02-10Fix Null Pointer Issueshrek20002-1/+3
Add dependent child service to service Issue-ID: SDC-1987 Change-Id: I99418251ffc45f025fe9cd4505159a20ea115e86 Signed-off-by: shrek2000 <orenkle@amdocs.com>
2019-02-07Add dependent child service to serviceshrek200013-14/+840
Add dependent child service to service Issue-ID: SDC-1987 Change-Id: I5a650f57a27587c4ce6f33059719060ffa1f13de Signed-off-by: shrek2000 <orenkle@amdocs.com>
2019-02-05fix review comments on property assignmentTalio7-120/+63
Change-Id: Ia986294cb552f4e26b3ebf1d1b50c9b7941553ab Issue-ID: SDC-2097 Signed-off-by: Talio <tali.orenbach@amdocs.com>
2019-02-04Add property mapping feature to ONAPTalio16-619/+1427
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-28/+65
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 serviceshrek20009-0/+1280
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 BEojasdubey3-97/+339
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-22Template-Interface file fixOren Kleks1-178/+178
If there are no component instance in composition, the template interface file is not presented in import section Change-Id: Icd0682fbf5cfc539c3b6dd3d37558804d704348e Issue-ID: SDC-2055 Signed-off-by: shrek2000 <orenkle@amdocs.com>
2019-01-15Interface operation feature enhancementspriyanshu1-14/+7
Issue with DELETE API Change-Id: I20214a35c88a8f91f9e778454b498f5933c2accf Issue-ID: SDC-1999 Signed-off-by: priyanshu <pagarwal@amdocs.com>