aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-dao/src
AgeCommit message (Collapse)AuthorFilesLines
2019-08-22unit tests - catalog-beTomasz Golabek8-30/+196
Additional junit tests Change-Id: Ief7f445521f7821e47715a44c423fd11a17568e1 Issue-ID: SDC-2326 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-07-24Autowired annotation for catalog-beTomasz Golabek2-5/+4
Injection of the properties moved to the constructors/setters replacing field annotations. Change-Id: I766ff67e466bec5a91db1035f29e7f919d32e0ea Issue-ID: SDC-2400 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-07-22Improved unit tests for the DaoUtils class.k.kedron1-33/+35
Issue-ID: SDC-2327 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: I634fc1ccccbfa5b1fec5f2612782f00990438c6b
2019-07-14ComponentCache & ComponentCassandraDao removalTomasz Golabek8-1250/+0
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 Golabek151-123/+3142
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-07Remove field injection in catalog-daoWojciech Sliwka3-7/+8
Change-Id: I96ac13d3b50737518924a3aaa9b320adbba241eb Issue-ID: SDC-2398 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
2019-07-07Remove field injection in catalog-daoWojciech Sliwka7-18/+42
Change-Id: I24c3a898fa34491e80074944614722fbb3085515 Issue-ID: SDC-2398 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
2019-06-12Upgrade SDC from Titan to Janus Graphshrikantawachar30-1001/+1003
Upgrade SDC from Titan to Janus Graph Change-Id: I67fb8b8e60cc6751697bc5ff2f06754c92803786 Issue-ID: SDC-2296 Signed-off-by: shrikantawachar <shrikant.awachar@amdocs.com>
2019-06-03fix inputs declaration on complex typetalio1-1/+11
Change-Id: I86172caf032f4936f98525830ed8aac2ea30567f Issue-ID: SDC-2347 Signed-off-by: talio <tali.orenbach@amdocs.com>
2019-05-14Support Capability PropertiesMojahidul Islam1-0/+1
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-07Change to enable SDC list type inputToshimichi Fukuda2-2/+5
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-04-21Fix property name regextalio1-0/+2
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-11Apply Valid Value Constraints validationsiddharth09051-1/+2
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-04Make Cassandra port configurable.Tal Gitelman3-9/+30
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-03-30Heal Vertex Datashrek200023-23/+1118
Enable healing of vertex information when reading it. Issue-ID: SDC-2213 Change-Id: I907beeb25bd231d9e05d3a5b8e070d6bdf9cb781 Signed-off-by: shrek2000 <orenkle@amdocs.com>
2019-03-18Service Consumption BEojasdubey3-8/+11
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-04Requirement and capabilities featuremojahidi5-154/+179
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-18fix a typoLiang Ding1-1/+1
ALRADY --> ALREADY Signed-off-by: Liang Ding <liang.ding@intel.com> Issue-ID: SDC-2124 Change-Id: I6dc337b7b6b9229253107aca461bf32129601ed8
2019-02-07Add dependent child service to serviceshrek20001-0/+2
Add dependent child service to service Issue-ID: SDC-1987 Change-Id: I5a650f57a27587c4ce6f33059719060ffa1f13de Signed-off-by: shrek2000 <orenkle@amdocs.com>
2019-02-04Add property mapping feature to ONAPTalio1-1/+2
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 BEojasdubey1-2/+2
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 serviceshrek20003-2/+16
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 BEojasdubey1-0/+1
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-14Interface operation feature enhancementspriyanshu1-5/+9
1. API restructuring to enhance model and provide more capabilities. 2. Allowed multiple interface creation under same resource/service. 3. Enhanced validations to align with updated model. 4. API restructuring to align UI model with Tosca model. 5. Enhanced Junit and code coverage. 6. Added BDD and CI-API tests. Change-Id: I2d8ac8a6154fd9be8254836ba0da1540210031c0 Issue-ID: SDC-1999 Signed-off-by: priyanshu <pagarwal@amdocs.com>
2018-12-27Revert "Interface operation feature enhancements"priyanshu1-6/+3
This reverts commit 01f825bc Change-Id: I9e41da46a410be335283a27758cb1e77a087046f Issue-ID: SDC-1999 Signed-off-by: priyanshu <pagarwal@amdocs.com>
2018-12-24Interface operation feature enhancementspriyanshu1-3/+6
1. API restructuring to enhance model and provide more capabilities. 2. Allowed multiple interface creation under same resource/service 3. Enhanced validations to align with updated model 4. API restructuring to align UI model with Tosca model 5. Enhanced Junit and code coverage. Change-Id: Ieb5a5d72bc752774f9d702c587efaa127e43bd24 Issue-ID: SDC-1999 Signed-off-by: priyanshu <pagarwal@amdocs.com>
2018-12-19API for get all interface lifecycle typesshrikantawachar1-1/+4
API for get all interface lifecycle types Change-Id: I64471c98ff9626ac53562a075a34f506c2e263ab Issue-ID: SDC-1999 Signed-off-by: shrikantawachar <shrikant.awachar@amdocs.com>
2018-11-29Fix critical sonar issuesParshad Patel1-1/+1
Fix rethrow the "InterruptedException" and Use "isAssignableFrom" sonar issues Issue-ID: SDC-1895 Change-Id: I2cadc08b9e7acdc84cf25a3ce9d22199711afa5d Signed-off-by: Parshad Patel <pars.patel@samsung.com>
2018-11-22Solve BE issues from sonarSonsino, Ofir (os0695)4-15/+17
Change-Id: Ide67cbc4418e94907437053e2db16b94c51da4ee Issue-ID: SDC-1948 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com>
2018-11-22DAO sonar fixesSonsino, Ofir (os0695)7-45/+48
Change-Id: I453fdb5f2aa1488adbf0664a624a98b239d4a927 Issue-ID: SDC-1954 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com>
2018-11-19Fix sonar blocker issue in catalog-daoParshad Patel1-0/+18
Override equals() method in GraphRelation.java Issue-ID: SDC-1895 Change-Id: Ib6538043f81173336c30d6a97545ef036431c79f Signed-off-by: Parshad Patel <pars.patel@samsung.com>
2018-10-16Single node copy paste keyboard shorcut on canvasSindhuri.A1-1/+1
Keyboard Shortcut copy paste for single node on Composition page canvas for services Issue-ID: SDC-1736 Change-Id: I669a728d3641a59ba7a4d8cc18fdae1000a0377f Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2018-09-13fix security vilation CVE-2018-1000134Tal Gitelman1-2/+1
Change-Id: Id93a27648c622460db2e86689b64bfa7dc425ef4 Issue-ID: SDC-1726 Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
2018-09-13Interface operation support for service - BEpriyanshu1-4/+4
1. Interface operation support for service 2. Refactored common code of operationspa 3. ONAP Bug fixes VF operations Change-Id: If1c4fd5f17626dbe568ee66ad997eb8ffb772e29 Issue-ID: SDC-1739 Signed-off-by: priyanshu <pagarwal@amdocs.com>
2018-08-29Add tests for SdcSchema classesPiotr Darosz6-211/+407
Introduce Cassandra Unit tool and tests for schema-related classes Change-Id: I14da602c42056730e7992dd92b4da8b87dd9fb0d Issue-ID: SDC-1358 Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
2018-08-20Fix sonars in SdcSchemaBuilderTal Gitelman2-121/+109
Issue-ID: SDC-1438 Change-Id: If243a30607a42a44e70a4de7520fd2006af9ed05 Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
2018-08-06Interface operations Model updatepriyanshu2-2/+6
1. Interface operations Model update 2. Removed unnecessary dependencies on resource 3. Fixed the broken code after merge Change-Id: I2b6381493530f1d61f0803ee1d1d688648356f73 Issue-ID: SDC-1535 Signed-off-by: priyanshu <pagarwal@amdocs.com>
2018-08-05add removed unit testsMichael Lando23-0/+1636
Change-Id: Iabd593d8d9ab0efeb32032d5c4d72b8fa1c27e63 Issue-ID: SDC-1590 Signed-off-by: Michael Lando <ml636r@att.com>
2018-08-01Catalog-dao dead code removalPiotr Krysiak9-568/+15
Issue-ID: SDC-1551 Change-Id: I4947b3f8219f20c543abf06798caf69035ed7aa0 Signed-off-by: Piotr Krysiak <piotr.krysiak@nokia.com>
2018-07-29re base codeMichael Lando297-7908/+7725
Change-Id: I12a5ca14a6d8a87e9316b9ff362eb131105f98a5 Issue-ID: SDC-1566 Signed-off-by: Michael Lando <ml636r@att.com>
2018-07-24Refactor tests inside the catalog-dao modelPiotr Darosz5-170/+40
Use Hamcrest matchers to simplify getter/setter tests structure Change-Id: Icee88395034ffb61e60a9190d2a9e77571e6fac3 Issue-ID: SDC-1434 Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
2018-07-02first attempt to fix vulnerabilitiesYuli Shlosberg4-53/+52
Change-Id: Iaf5f7db54511f730e09a8af8921d52ebf7f6c078 Issue-ID: SDC-1457 Signed-off-by: Yuli Shlosberg <ys9693@att.com>
2018-06-26Add output parameter support in Operation screenmojahidi1-1/+2
Added code to support Output parameter, fixed UTs, Added flow test Change-Id: I4ff869d120cefd7645a407278caeea6ee695c73b Issue-ID: SDC-1440 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2018-06-03new unit tests for sdc-daoTal Gitelman28-83/+742
Change-Id: I78124626e54cf578f0cb4459ee26591cab4af24f Issue-ID: SDC-1333 Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
2018-06-02tine out configuration not usedMichael Lando2-0/+30
Change-Id: I55c81975cd40b81510b18865e32e2f5394718349 Issue-ID: SDC-1344 Signed-off-by: Michael Lando <ml636r@att.com>
2018-05-31new unit tests for sdc-daoTal Gitelman51-25/+1035
Change-Id: Ibf37c20c3d07f3cd2962e324f3e37354adad9870 Issue-ID: SDC-1333 Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
2018-05-30new unit tests for sdc-daoTal Gitelman10-62/+340
Change-Id: I734ad9a0ef636ed6a2d70ff68dd06036bf2447e3 Issue-ID: SDC-1333 Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
2018-05-30new unit tests for sdc-daoTal Gitelman2-37/+54
Change-Id: I2ec09504aee1ab315dbc8e1d02ac85ed76e24c9b Issue-ID: SDC-1333 Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
2018-05-30new unit tests for sdc-daoTal Gitelman16-1129/+2555
Change-Id: I00ac8b1bd58fd952b7c23d402ce71436658403b8 Issue-ID: SDC-1333 Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
2018-05-27new unit tests for sdc-daoTal Gitelman69-252/+630
Change-Id: I2f754832fd4557ba1aa7375ac036aa777d199c3e Issue-ID: SDC-1333 Signed-off-by: Tal Gitelman <tg851x@intl.att.com>