summaryrefslogtreecommitdiffstats
path: root/catalog-be/src/main
AgeCommit message (Collapse)AuthorFilesLines
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>
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 regextalio4-59/+65
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-16Adds a new artifact for controller blueprintagileone1-0/+16
Defines CONTROLLER_BLUEPRINT_ARCHIVE artifact type for PNF and VF. Issue-ID: SDC-2139 Change-Id: Ib28bb25a6751b053ffe50323bb7c16576bc181f4 Signed-off-by: agileone <serge@agilitae.com>
2019-04-16Support BBS Modeling in SDCVictor Gao7-1/+121
Change-Id: I9d5e960ed7ae46ea94d52fd14438f01948ff53dc Issue-ID: SDC-2228 Signed-off-by: Victor Gao <victor.gao@huawei.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-11sdc-backend-init docker container exits unsuccessfully with 404 error in ↵sarada prasad sahoo2-31/+23
importNormativeAll.py import of osca.policies.nfv.AffinityRule and tosca.policies.nfv.AntiAffinityRule getting failed at first attempt, comment execute , then un-comment execute it is working, strange issue Change-Id: Ia8799b4221b771ed34d61d09f87e2d9973861ebe Issue-ID: SDC-2231 Signed-off-by: sarada prasad sahoo <sarada.prasad.sahoo@huawei.com>
2019-04-11Apply Valid Value Constraints validationsiddharth090512-167/+859
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-10add file extentions for cloud specific artifactsLiang Ding1-0/+2
Change-Id: I23c98ac6963bc4f708461d40dbda40a97a6939bc Issue-ID: SDC-2041 Signed-off-by: Liang Ding <liang.ding@intel.com>
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 Golabek5-0/+692
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 sahoo3-24/+27
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, also updated with review comments Change-Id: I1e128098cd1ebd602fe5aa01e617363634b25148 Issue-ID: SDC-2170 Signed-off-by: sarada prasad sahoo <sarada.prasad.sahoo@huawei.com>
2019-04-08updating the VNFD (SOL001) type based on SOL001 v2.5.1sarada prasad sahoo24-415/+1488
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-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-04-03Add artifact typeskooper1-0/+19
Change-Id: I48f2926623441d0729c5d5b476f3e72f962b64f8 Issue-ID: SDC-2156 Signed-off-by: kooper <sergey.sachkov@est.tech>
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-29Fixing invalid characters in normativesojasdubey3-3/+3
Remove invalid characters from normative yaml files Change-Id: Ida5c119ba4be036ea69781c324ac24093fd74e6f Issue-ID: SDC-2215 Signed-off-by: ojasdubey <ojas.dubey@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-26Add policy and data types to SDCMarco Platania3-0/+168
- Define policy and data types for control loop - Onboard them as normative types in SDC Change-Id: I5188229ba91d5ddeabd43c4ac0b869abba7c42a0 Issue-ID: SDC-2203 Signed-off-by: Marco Platania <platania@research.att.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-22Add CDS Model Properties for VNF and PNFagileone2-2/+25
Issue-ID: SDC-2172 Adds properties to the GenericVF and GenericPNF entity definitions. Change-Id: I936cb5bc141424dcdc86a246e051cd5d37b81b44 Signed-off-by: agileone <serge@agilitae.com>
2019-03-19Display PNF/VNF Type for PNF (backend)kooper1-1/+9
Change-Id: Ie3fabe2a91c1e9040939e2bfe97705cfee15b201 Issue-ID: SDC-2157 Signed-off-by: kooper <sergey.sachkov@est.tech>
2019-03-18Service Consumption BEojasdubey20-275/+1412
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-13Add Deployment Artifacts to PNFdermot1231-1/+17
Add support for PM_Dictionary and VES Events Deployment Artifacts to PNF Change-Id: Ief85d40bd180aae0662cfb58f794f5b0d7e5ec9c Issue-ID: SDC-2109 Issue-ID: SDC-2155 Signed-off-by: dermot123 <dermot.melia@est.tech>
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-06add cloud specific typeLiang Ding1-0/+7
Change-Id: I9fed3476405ff8fd13b8980e65eef76bfa48187b Issue-ID: SDC-2041 Signed-off-by: Liang Ding <liang.ding@intel.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 featuremojahidi23-76/+2895
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 Ding3-7/+7
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>