aboutsummaryrefslogtreecommitdiffstats
path: root/common-be
AgeCommit message (Collapse)AuthorFilesLines
2020-02-25Policies import when import VSPDmitry Puzikov1-1/+1
Polices import implemented. Error type added for invalid policies. Import tests added. Fix test failures. Got rid of Either in the new code. Change-Id: I3e91cc6d24433c2b3862f407348e71e1e67c3b4e Issue-ID: SDC-2728 Signed-off-by: Dmitry Puzikov <d.puzikov2@partner.samsung.com>
2020-02-13Fix PropertyConvertor initialization (use spring)talig2-295/+9
refactor static InterfacesOperationsToscaUtil to be non-static InterfacesOperationsConverter (as it uses PropertyConvertor), move logic from static ToscaExportUtils to ToscaExportHandler (as it uses PropertyConvertor) Change-Id: I917351ca59ee1e792c7b0850d6a8b246b71b4b03 Issue-ID: SDC-2765 Signed-off-by: talig <talig@amdocs.com>
2020-02-06Increase code coverage1.6.21.6.1shrek20001-544/+114
Moving to lombok. ComponentMetadataDataDefinition did not use lombok. The Equal, hashCode and toString functions were too completed to maintain. Issue-ID: SDC-2690 Change-Id: Ie83b6754579d2776cd0222d61ad4eb9be9e35e6c Signed-off-by: shrek2000 <oren.kleks@amdocs.com>
2020-02-06Increase code coverageshrek20001-186/+24
Moving to lombok. ServiceMetadataDataDefintion did not use lombok. The Equal, hashCode and toString functions were too completed to maintain. Issue-ID: SDC-2690 Change-Id: I2e361ca790df8a271602c36bc57912ba2b7ed5fe Signed-off-by: shrek2000 <oren.kleks@amdocs.com>
2020-02-02Move to version 1.6.1shrek20001-1/+1
Move SDC to version 1.6.1 Issue-ID: SDC-2755 Signed-off-by: shrek2000 <oren.kleks@amdocs.com> Change-Id: If5c55fdebb5bc2591190ee4389487f6dbb0e1831 Signed-off-by: shrek2000 <oren.kleks@amdocs.com>
2020-01-22Catalog alignmentys969332-401/+892
Issue-ID: SDC-2724 Signed-off-by: ys9693 <ys9693@att.com> Change-Id: I52b4aacb58cbd432ca0e1ff7ff1f7dd52099c6fe
2019-12-11Add service creation API as an External APIDivyang Patel2-0/+239
Issue-ID: SDC-2383 Change-Id: I8490163310e892a7ebb6d7e7275edfdeba24045e Signed-off-by: Atif Husain <atif.husain@team.telstra.com>
2019-11-20Validate non-mano software information artifactandre.schmid8-6/+424
Change-Id: Ie9fabd6af821b830e211ff1068fb287357fd38ee Issue-ID: SDC-2619 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2019-11-20Onboard PNF software versionandre.schmid8-0/+308
Change-Id: Id9e32e01f6c2f4c39c8ff10816d982cbb3063bf7 Issue-ID: SDC-2589 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2019-10-30Fix zip slip security flawandre.schmid1-1/+1
Apply zip slip checking in zip operations throughout the system. Centralizes most of the zip logic in one class. Create tests to zip functionalities and zip slip problem. Change-Id: I721f3d44b34fe6d242c9537f5a515ce1bb534c9a Issue-ID: SDC-1401 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2019-10-30add artifacts support in TOSCA exported yml fileLiang Ding4-321/+369
Change-Id: I56f8a6a1ce758876e83a7ee8318b79644ae7d5cb Issue-ID: SDC-1952 Signed-off-by: Liang Ding <liang.ding@intel.com>
2019-10-29Bump SDC version 1.6.0Ofir Sonsino1-1/+1
Change-Id: Ibacb46d19d49023a62caa8f5217086cea6c91ac4 Issue-ID: SDC-2560 Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
2019-10-04Revert "Sonar fix NullPointerException"Ofir Sonsino1-2/+4
This reverts commit b0f96a46e2720c75eb035bbe94015e5a1c6b0b32. Issue-ID: SDC-2542 Change-Id: I63b5349670c8e5fa814d686cfa93173d0ea6297e Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
2019-10-03Sonar fix NullPointerExceptionArindam Mondal1-4/+2
Issue-ID: SDC-2542 Change-Id: I08a93932d2776c40a982bb802aeac994c1f35841 Signed-off-by: arindamm <arind.mondal@samsung.com>
2019-09-10Bump SDC version 1.5.2Ofir Sonsino1-1/+1
Change-Id: Ib672dc8d60a0b6f4b37fd94afe84bc27dfba4c44 Issue-ID: SDC-2560 Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
2019-08-22unit tests - catalog-modelTomasz Golabek2-163/+13
Additional junit tests Change-Id: I9952933895ba22114fb0bf19a51e54f1a232c8f3 Issue-ID: SDC-2326 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-08-18Handle 'get_input' syntax for layer_protocols in PnfExtCp typevasraz1-2/+5
Change-Id: I52f91e47dbda20c8c0701ee25f2eec5a83815112 Issue-ID: SDC-2427 Signed-off-by: vasraz <vasyl.razinkov@est.tech>
2019-07-28Update SDC version 1.5.1Ofir Sonsino1-1/+1
Change-Id: Id2182099210982248584c1fcf4569a1360d82f1d Issue-ID: SDC-2478 Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
2019-07-25fixing warnings from checkstyle in common-beBartosz Gardziejewski83-5613/+5893
Issue-ID: SDC-2454 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I1ee7d055f865eef209e621ec45eba33eef69736f
2019-07-21Can't set property for VFPiotr Darosz2-1/+34
Can't set property for VF due to missing setter for schemaType property Change-Id: I829a3c81586280b91634fa03f3a023b1452bcdda Issue-ID: SDC-2420 Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
2019-07-11Added oparent to sdc mainTomasz Golabek72-60/+1480
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-06-02Unit tests for sdc-be-utilsTomasz Golabek6-101/+309
utils from common-be covered by tests Change-Id: I63cda35fc00c3c9c751302babea04ad8c3c144eb Issue-ID: SDC-2326 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-05-07Change to enable SDC list type inputToshimichi Fukuda3-32/+64
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-07Update SDC version 1.5.0Sonsino, Ofir (os0695)1-1/+1
Change-Id: I22d2273103230bd9ee7c3655b5f33e4308bb9f92 Issue-ID: SDC-1913 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com>
2019-04-14Declare properties as policiestalio5-34/+79
Change-Id: I54dc7b444e08117097c314cf5f51bd356ac5287d Issue-ID: SDC-2240 Signed-off-by: talio <tali.orenbach@amdocs.com>
2019-04-11Apply Valid Value Constraints validationsiddharth09052-1/+30
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-03-30Heal Vertex Datashrek20001-1/+4
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 BEojasdubey5-7/+82
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 featuremojahidi4-7/+17
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-07Add dependent child service to serviceshrek20003-3/+27
Add dependent child service to service Issue-ID: SDC-1987 Change-Id: I5a650f57a27587c4ce6f33059719060ffa1f13de Signed-off-by: shrek2000 <orenkle@amdocs.com>
2019-02-05fix review comments on property assignmentTalio2-19/+13
Change-Id: Ia986294cb552f4e26b3ebf1d1b50c9b7941553ab Issue-ID: SDC-2097 Signed-off-by: Talio <tali.orenbach@amdocs.com>
2019-02-04Add property mapping feature to ONAPTalio3-0/+203
Add service property assignment Change-Id: I29748ce12bacab06b8bc27f8875b39d80ffe5af7 Issue-ID: SDC-1988 Signed-off-by: Talio <tali.orenbach@amdocs.com>
2019-01-30Add dependent child service to serviceshrek20005-0/+179
Add dependent child service to service Issue-ID: SDC-1987 Change-Id: Ic542fe1bc13f2b77df9944f05421a42b4b21c437 Signed-off-by: shrek2000 <orenkle@amdocs.com>
2019-01-14Interface operation feature enhancementspriyanshu7-656/+205
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"priyanshu7-11/+460
This reverts commit 01f825bc Change-Id: I9e41da46a410be335283a27758cb1e77a087046f Issue-ID: SDC-1999 Signed-off-by: priyanshu <pagarwal@amdocs.com>
2018-12-24Interface operation feature enhancementspriyanshu7-460/+11
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-11-29Fix critical sonar issuesParshad Patel1-0/+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-15update sdc version in masterMichael Lando1-1/+1
update sdc version to 1.4.0 for master Change-Id: Ia3b16b397b6e01dc185549dd20be399ee67a791a Issue-ID: SDC-1913 Signed-off-by: Michael Lando <michael.lando@intl.att.com>
2018-11-05bump sdc version to 1.3.3Michael Lando1-1/+1
Change-Id: I703591a9985f9792649622b16f2a05aa89d1d8ea Issue-ID: SDC-1865 Signed-off-by: Michael Lando <michael.lando@intl.att.com>
2018-11-01update sdc to version 1.3.2Michael Lando1-1/+1
Change-Id: Ibd1a6a23f061c23e8bb0bb603f6ac315581564f6 Issue-ID: SDC-1865 Signed-off-by: Michael Lando <michael.lando@intl.att.com>
2018-10-24update sdc version to 1.3.1Michael Lando1-1/+1
Change-Id: I195d96ddf5bd6257ade7eb56c65f9e4bc2d602b6 Issue-ID: SDC-1865 Signed-off-by: Michael Lando <michael.lando@intl.att.com>
2018-10-16Added support for AssociateWorkflowTypemojahidi3-0/+20
Added support for AssociateWorkflowType Change-Id: I9ddda919dc51457ad57c69abdc95b7b188915f9b Issue-ID: SDC-1814 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2018-09-25Fix header info of be enum datatypesseshukm14-50/+61
Change-Id: I19721ae47c4daadee9ad37c398d46ebcfcf370ec Issue-ID: SDC-1770 Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2018-09-13Interface operation support for service - BEpriyanshu2-12/+12
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-26json/yaml validation for modelsdekstroza1-0/+33
Introduced yaml-json-validator-maven-plugin a. Runs in validate phase b. For now only validate /import/tosca subfolders c. Validates both yml and json files Change-Id: I53513321c4378485dd821c251de5555050313911 Issue-ID: SDC-1343 Signed-off-by: dekstroza <dejan.kitic@ericsson.com>
2018-08-15maven improvements and clean upMichael Lando1-15/+1
update plugging to latest available versions, remove un needed files from source control clean up commented sections. disable verbose for docker plug in. add logback file for tests to disable out put by default. update logging calls to new api. disable logging on debug level. update docker run to include simulator on demand Change-Id: Icc0fb7add6dd4fe65f5f3d8dd309fd8dae2681fc Issue-ID: SDC-1639 Signed-off-by: Michael Lando <ml636r@att.com>
2018-08-06Fixes of sonar violations sdc and refactorkoblosz1-1/+1
Issue-ID: SDC-1484 Change-Id: I3cf17454c533d3419c97af63cc6b5412976726fb Signed-off-by: Sandra Koblosz <sandra.koblosz@nokia.com>
2018-08-05add removed unit testsMichael Lando3-0/+165
Change-Id: Iabd593d8d9ab0efeb32032d5c4d72b8fa1c27e63 Issue-ID: SDC-1590 Signed-off-by: Michael Lando <ml636r@att.com>
2018-07-31Alligned operation ui modelmojahidi6-32/+65
Alligned operation ui model Change-Id: I88f8a443f1a7a7d2e5258ff0dee0f5dc9809d050 Issue-ID: SDC-1535 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2018-07-30Add support for workflowId and workflowVersionIdmojahidi3-1/+46
Enhance operation data model and APIs to support workflowId and workflowVersionId Change-Id: Ib8772027a3e0147ae0bb59811a9b31fe46975ac6 Issue-ID: SDC-1535 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>