summaryrefslogtreecommitdiffstats
path: root/catalog-be
AgeCommit message (Collapse)AuthorFilesLines
2019-05-23Fix service proxy node type4.0.0-ONAP1.4.1ojasdubey6-173/+647
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 coveragetalio2-30/+76
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 Islam25-497/+1521
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-12Workflow artifact missing in CSAR for PNFavigaffa1-1/+10
Artifact Delivery call failing in SDC for PNF commited on behalf of siddharth0905 <siddharth.singh4@amdocs.com> Change-Id: Ie397bd2f0c14148b633124e7b6a7361c79b15610 Issue-ID: SDC-2274 Signed-off-by: avigaffa <avi.gaffa@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-07Update SDC version 1.4.1Sonsino, Ofir (os0695)1-1/+1
Change-Id: Ied1680cb89bdc4d00d0977bef2a26bb5b8a0381e Issue-ID: SDC-1913 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com>
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>