summaryrefslogtreecommitdiffstats
path: root/catalog-be
AgeCommit message (Collapse)AuthorFilesLines
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>
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 coveragedermot1236-192/+726
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 Golabek18-15/+649
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 regextalio5-59/+193
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 Golabek5-45/+265
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 blueprintagileone2-1/+31
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 policiestalio32-641/+2133
Change-Id: I54dc7b444e08117097c314cf5f51bd356ac5287d Issue-ID: SDC-2240 Signed-off-by: talio <tali.orenbach@amdocs.com>
2019-04-14Revert "Upgrade SDC to use common cassandra cluster"Sonsino, Ofir (os0695)1-7/+16
This reverts commit 00a6a4d66b0d22d530314816b4b5697fbc975e37. Change-Id: I308844556aea66e91064d9067e3ba54179a0bb46 Issue-ID: SDC-2199 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.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 validationsiddharth090515-167/+1581
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 Golabek7-169/+191
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-10Upgrade SDC to use common cassandra clusterMahendra Raghuwanshi1-16/+7
Issue-ID: SDC-2199 Change-Id: I139f38f3f3d968b775c9962bfe3ad6d13ea7f678 Signed-off-by: Mahendra Raghuwanshi <mahendra.raghuwanshi@amdocs.com>
2019-04-10Add cds consumer to the SDC.prathamesh morde1-1/+1
Change-Id: Ib11a4d8806ecd3568e50d28f471655dea1d3cf9f Issue-ID: CCSDK-1213 Signed-off-by: prathamesh morde <prathamesh.morde@bell.ca>
2019-04-10Workflow artifact in distribution notificationpriyanshu9-109/+238
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 500priyanshu7-41/+60
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 Ding2-0/+4
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.Ding2-1/+38
Change-Id: I42c54b2b94513c1dd69c3ec662a05a71a89fd3d0 Issue-ID: SDC-2041 Signed-off-by: Liang.Ding <liang.ding@intel.com>
2019-04-08Yaml parser exposed via SDC endpointTomasz Golabek7-0/+814
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 Golabek6-295/+163
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 Gitelman5-0/+5
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 typeskooper2-0/+38
Change-Id: I48f2926623441d0729c5d5b476f3e72f962b64f8 Issue-ID: SDC-2156 Signed-off-by: kooper <sergey.sachkov@est.tech>
2019-03-30Heal Vertex Datashrek20006-71/+132
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-26add consumer for multicloudliboNet1-1/+1
add consumer to the SDC internal set up Change-Id: I4ffc8b7b380ac05a68c34387bdff35f39565739c Issue-ID: SDC-2045 Signed-off-by: liboNet <libo.zhu@intel.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)kooper2-2/+19
Change-Id: Ie3fabe2a91c1e9040939e2bfe97705cfee15b201 Issue-ID: SDC-2157 Signed-off-by: kooper <sergey.sachkov@est.tech>
2019-03-18Service Consumption BEojasdubey30-311/+1740
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>