aboutsummaryrefslogtreecommitdiffstats
path: root/common-be
AgeCommit message (Collapse)AuthorFilesLines
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>
2018-07-29re base codeMichael Lando92-1848/+2245
Change-Id: I12a5ca14a6d8a87e9316b9ff362eb131105f98a5 Issue-ID: SDC-1566 Signed-off-by: Michael Lando <ml636r@att.com>
2018-07-02first attempt to fix vulnerabilitiesYuli Shlosberg1-3/+3
Change-Id: Iaf5f7db54511f730e09a8af8921d52ebf7f6c078 Issue-ID: SDC-1457 Signed-off-by: Yuli Shlosberg <ys9693@att.com>
2018-06-26Add output parameter support in Operation screenmojahidi3-1/+57
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-02update sdc versionMichael Lando1-1/+1
update pom and version.properties to 1.3.0 Issue-ID: SDC-1370 Change-Id: I0dcf02f868dd263ba4523435e7be11bdc3851053 Signed-off-by: Michael Lando <ml636r@att.com>
2018-05-27Revert "update sdc version"Michael Lando1-1/+1
This reverts commit 5920d2c9e47958ed5f3197b7a16094e01e8d4bcd. Change-Id: I7906549d1fb7ba5d8d081870a9d976a3c8077438 Issue-ID: SDC-1370 Signed-off-by: Michael Lando <ml636r@att.com>
2018-05-26update sdc versionMichael Lando1-1/+1
update pom and version.properties to 1.3.0 Issue-ID: SDC-1370 Change-Id: Ib8f4e2859ee79dfd8e19e725b07c77d7d2bbdaf1 Signed-off-by: Michael Lando <ml636r@att.com>
2018-05-10Raise JUnit coverage common-beTal Gitelman69-116/+3340
Change-Id: Ibb1bd666ea8e6815f56da6e4991846202239d351 Issue-ID: SDC-1298 Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
2018-04-30Fix for fail submit service&recommit change 44091katy.rotman1-6/+7
Issue-ID: SDC-1267 Change-Id: I3439e8f4df8c17c3d3635e804473212f1a9aaf34 Signed-off-by: katy.rotman <katy.rotman@amdocs.com>
2018-04-26Revert "Delete workflow artifactMichael Lando1-7/+6
and add artifact to CSAR" This reverts commit d71a8de8c7b688eabb250e524dc4f6000b3233b6. Issue-ID: SDC-1060 Change-Id: I332a6afb8090491b011e3040e94ca2dc47bcc164 Signed-off-by: Michael Lando <ml636r@att.com>