aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be/src/main
AgeCommit message (Collapse)AuthorFilesLines
2019-07-17catalog-be servlets refactoringPiotr Darosz45-802/+963
Add constructor injection to servlets inside catalog-be project Change-Id: I46c85f932cbcc275ce82ce64ec1978ffec98ea9b Issue-ID: SDC-2442 Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
2019-07-14ComponentCache & ComponentCassandraDao removalTomasz Golabek6-52/+4
Also removed all classes uses these two. Change-Id: I6793c3c935ae61c5c65f70d3541c542edf188ab4 Issue-ID: SDC-2389 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-07-11Added oparent to sdc mainTomasz Golabek193-4/+3864
Removed errors regarding to a missing license and others. Started locally and executed basic api tests Change-Id: Iea37613defc97f7b40613d60c10990841cb2a209 Issue-ID: SDC-2419 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-07-09Incrrct intrfc type populated in tosca for S proxyMojahidul Islam2-9/+19
Incorrect interface type is populated in tosca for Service proxy for Local interface operations Change-Id: If7933d6537a14567297e716f154c2a48f7f34797 Issue-ID: SDC-2423 Signed-off-by: Mojahidul Islam <mojahidul.islam@amdocs.com>
2019-07-07PM-Mapper Policy Model supportrajendrajaiswal3-0/+25
Change-Id: I3603c4a5b05b0dc528b0dd57eabea8947f9e8fbb Issue-ID: SDC-2104 Signed-off-by: rajendrajaiswal <rajendra.jaiswal@ericsson.com>
2019-06-30Fix artifact implementation proxy node typeojasdubey1-2/+18
Removing the operation implementation from proxy node type in parent service tosca as it will be present in the proxy node template Change-Id: Id414d6cdd5f5f4ccb1d7c235fbc8b7cdf1ec4147 Issue-ID: SDC-2395 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2019-06-24Fix node filter properties valuetalio3-11/+30
fix node filter properties value to be list<map<string, list>> Change-Id: Iafb31c4f94f10d0493ef2bce622019958a995639 Issue-ID: SDC-2381 Signed-off-by: talio <tali.orenbach@amdocs.com>
2019-06-23Fixed bug - implementation path under interfacesMojahidul Islam1-1/+1
the path of the implementation under interfaces points to a non-existing path Change-Id: Iec0c2119c405bf14a1ddec99a0462f29b91f8ea3 Issue-ID: SDC-2377 Signed-off-by: Mojahidul Islam <mojahidul.islam@amdocs.com>
2019-06-17Add property uid in declarationtalio1-0/+1
Add property uid when declaring property to policy, in order to get the policies list in UI Change-Id: I227bfcdcf40483b1e308877e9b2ae41106e20e29 Issue-ID: SDC-2369 Signed-off-by: talio <tali.orenbach@amdocs.com>
2019-06-16BeanUtils upgrade to 1.9.xTomasz Golabek1-13/+7
Transitive dependency to beanutils 1.8.3 removed. Refactor of existing usage of beanutils proposed. Change-Id: I6614a5794979225376338c778b25f71911ae9c50 Issue-ID: SDC-2269 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-06-12Upgrade SDC from Titan to Janus Graphshrikantawachar97-534/+550
Upgrade SDC from Titan to Janus Graph Change-Id: I67fb8b8e60cc6751697bc5ff2f06754c92803786 Issue-ID: SDC-2296 Signed-off-by: shrikantawachar <shrikant.awachar@amdocs.com>
2019-06-11Add lombok support to simple classesavigaffa1-1/+4
Change-Id: I80c5a691f61c16ffc7d146e11a08cda317f31539 Issue-ID: SDC-2354 Signed-off-by: avigaffa <avi.gaffa@amdocs.com>
2019-06-10Fix Service proxy node templateojasdubey3-47/+43
Fixes for issues: 1. Declared properties of VFCs not appearing in proxy node template 2. Proper value resolution of proxy properties Change-Id: I4b5bedc7e2a4b4071f3adb4dfe909db80575c25a Issue-ID: SDC-2359 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2019-06-10Inheritance in ComponentExceptionTomasz Golabek30-332/+773
ComponentException was split into ByActionStatus and ByResponseFormat exceptions. Test added for ComponentLockAspectTest in passing Change-Id: I89c9ee966b8b4445e791af897bd60cdb845b845b Issue-ID: SDC-2321 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-06-06Fix static list value issuetalio2-4/+5
Change-Id: I976404e172aae756248cb4e3fe367e1c00c72168 Issue-ID: SDC-2355 Signed-off-by: talio <tali.orenbach@amdocs.com>
2019-06-05Add lombok support to simple classesavigaffa1-20/+7
Change-Id: I3d8a8e02d8c4b98bfda6367bb34b104edb930707 Issue-ID: SDC-2354 Signed-off-by: avigaffa <avi.gaffa@amdocs.com>
2019-06-03fix inputs declaration on complex typetalio1-1/+1
Change-Id: I86172caf032f4936f98525830ed8aac2ea30567f Issue-ID: SDC-2347 Signed-off-by: talio <tali.orenbach@amdocs.com>
2019-05-23Fix service proxy node typeojasdubey3-70/+258
Added properties, interfaces and requirements of the child service to the node type of proxy in the parent cherry picked commit from dublin: e50b5687b62edbafa12bf3825b0441077c5a4820 Change-Id: I2b4bb695c0b3819ada889b144d536b48dd9d1f30 Issue-ID: SDC-2313 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2019-05-17Properties 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> (cherry picked from commit 08f1f67956928d52427d101607f2e11d578d4b82)
2019-05-14Fix test coveragetalio1-6/+9
Fix test coverage for UiComponentDataConverter.java Change-Id: I745acb3bd3e40c58c12d1d359bb3b06c8bc95f09 Issue-ID: SDC-2298 Signed-off-by: talio <tali.orenbach@amdocs.com>
2019-05-14Support Capability PropertiesMojahidul Islam17-471/+949
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: Ieb4fa5705007c8bed3d82eb4fe4604572aa202d7 Issue-ID: SDC-2294 Signed-off-by: Mojahidul Islam <mojahidul.islam@amdocs.com>
2019-05-08Fixed properties merge logic not to lose properties from inputsSatoshi Fujii1-1/+4
Change-Id: I9dbc244c667272062bc4de90d616ea1c5458ed0a Issue-ID: SDC-2255 Signed-off-by: Satoshi Fujii <fujii-satoshi@jp.fujitsu.com>
2019-05-07Change to enable SDC list type inputToshimichi Fukuda17-113/+1064
Change-Id: Ic3a9c6e714a5afd22b58bf2cb066932b1ec2a5c0 Issue-ID: SDC-2046 Signed-off-by: Toshimichi Fukuda <t_fukuda@jp.fujitsu.com> Signed-off-by: Satoshi Fujii <fujii-satoshi@jp.fujitsu.com> Signed-off-by: Ayumu Ueha <ueha.ayumu@jp.fujitsu.com>
2019-05-07Revert "Workflow artifact missing in CSAR for PNF"Ofir Sonsino1-1/+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 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-03Workflow artifact missing in CSAR for PNFsiddharth09051-0/+1
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-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 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>