summaryrefslogtreecommitdiffstats
path: root/openecomp-be/api
AgeCommit message (Collapse)AuthorFilesLines
2019-11-05Align logging to Onap-ELS 2019.11Ben David, Elad (eb7504)2-39/+40
Change-Id: I1750493d5c9f2eab8c1395f0fbc9ae66cf74b0a6 Issue-ID: SDC-2639 Signed-off-by: Ben David, Elad (eb7504) <eb7504@intl.att.com>
2019-11-03Centralize onboarding package validationandre.schmid13-388/+43
Change-Id: I3cc58cf15f62008e83cfc7ddb095d07ab216b82a Issue-ID: SDC-2583 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2019-10-30Fix zip slip security flawandre.schmid1-2/+2
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-29Bump SDC version 1.6.0Ofir Sonsino44-44/+44
Change-Id: Ibacb46d19d49023a62caa8f5217086cea6c91ac4 Issue-ID: SDC-2560 Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
2019-10-25Avoid duplicated verification if package is signedvasraz1-26/+29
Fix potential thread leak by using try-with-resource. Change-Id: I20eda524cd028b9dfdfa83207a059f4e1dfeff5e Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-2580
2019-09-10Bump SDC version 1.5.2Ofir Sonsino44-44/+44
Change-Id: Ib672dc8d60a0b6f4b37fd94afe84bc27dfba4c44 Issue-ID: SDC-2560 Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
2019-09-04openecomp-be code coverage increasePiotr Darosz8-0/+279
Add tests for classes in sdc.vendorsoftwareproduct.types.schemagenerator package Change-Id: Iabd22f88a5106c881ee687a4b57a62f59c0bc10e Issue-ID: SDC-2326 Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
2019-09-04openecomp-be code coverage increasePiotr Darosz5-0/+422
Add tests for classes in openecomp.core.model.types package Change-Id: I1c8044b2c8d422468dba610b2012e1cb34a75835 Issue-ID: SDC-2326 Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
2019-09-03Implement PNFD Model driven conversionandre.schmid1-0/+41
Change-Id: I7427e82353cac17817457294d78953f867d2d6e8 Issue-ID: SDC-2509 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2019-09-03Onboard Package Handlingaribeiro3-71/+126
Retain the original onboarded package when it comes in zip/csar format. Issue-ID: SDC-2510 Change-Id: Ie293db25eca8872be26ffc8475b25ccace1aab6f Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
2019-09-03openecomp-be code coverage increasePiotr Darosz6-0/+306
Add tests for classes in generator.datatypes.tosca package Change-Id: Ic21b4e05d15e881016fa5f25113625bc441924c9 Issue-ID: SDC-2326 Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
2019-09-03openecomp-be code coverage increasePiotr Darosz13-0/+491
Add tests for classes in vendorsoftwareproduct.types.composition package Change-Id: I2b05536a4fd80021bfedd2e7ff0f1747f6227935 Issue-ID: SDC-2326 Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
2019-09-02unit tests - openecomp-bePiotr Darosz8-0/+335
Additional junit tests for dao-types Issue-ID: SDC-2326 Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com> Change-Id: I195610e66628d5d8546846592c98c726ba81824d
2019-08-30unit tests - openecomp-beTomasz Golabek46-0/+2114
Additional junit tests for vendor-software-product-rest-types Change-Id: I757fe0eed085b6ce880dda143ad1fceac220aafe Issue-ID: SDC-2326 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-08-29unit tests - openecomp-beTomasz Golabek10-134/+656
Additional junit tests for item-rest-services and unique-type-rest-services Change-Id: I330954ad4eb432c126c7f163f9fdea30d3173cd9 Issue-ID: SDC-2326 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-08-29unit tests - openecomp-beTomasz Golabek27-22/+836
Additional junit tests for conflict-rest-types and vendor-license-rest-types Change-Id: I3e58d8a85f40e0f3a2e64c2b3195c97bb71a8fbd Issue-ID: SDC-2326 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-08-28remove duplicated dependenciesvasraz2-12/+0
Change-Id: I60962892f035d81943567a0b3d7819ef3cab52f7 Issue-ID: SDC-2388 Signed-off-by: vasraz <vasyl.razinkov@est.tech>
2019-08-26Fixed pom spring version configurationk.kedron1-2/+1
Fixed pom configuration in the application-config-rest-service Issue-ID: SDC-2326 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: I1ea39c42dcb0d257ee3c47e2920550dda07010ce
2019-08-21unit tests - sdc-common-restTomasz Golabek6-5/+244
Additional junit tests Change-Id: Ieeb6f02e1d5abf131882c530a0ba3a395d56c6cd Issue-ID: SDC-2326 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-08-21increasing test coverage in openecomp-be apiBartosz Gardziejewski29-4/+1217
Issue-ID: SDC-2326 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I93cc5183190fcbada2349b18f14fbec9c28f1ae5
2019-08-21Unit tests - togglz-rest-typesTomasz Golabek3-0/+83
Tests for org.openecomp.sdcrests.togglz Change-Id: Ic507eee3e77fbbe727b0deeb3912103d0c7737db Issue-ID: SDC-2326 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-08-20Removed dummy subprojectTomasz Golabek4-72/+0
Change-Id: Idb5d33229c76bec9768c8c6c1d73faa96fff2225 Issue-ID: SDC-2326 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-07-28Update SDC version 1.5.1Ofir Sonsino45-45/+45
Change-Id: Id2182099210982248584c1fcf4569a1360d82f1d Issue-ID: SDC-2478 Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
2019-07-23Migrate swagger to openapi v3Wojciech Sliwka59-844/+910
Issue-ID: SDC-2261 Change-Id: I614c15878b9d165a4468570e8318867632c88434 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
2019-07-11Added oparent to sdc mainTomasz Golabek101-14/+1816
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-07Autowired annotation for openecomp-beTomasz Golabek5-6/+37
Injection of the properties moved to the constructor replacing field annotations. Change-Id: I5ea031c9ab414859d810cb8686de3ce6ccebfd0a Issue-ID: SDC-2406 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-06-19Upgrade jetty versionPiotr Darosz1-1/+1
Upgrade jetty-http component to current version. Change-Id: I0bc8636b31973a865ffa1205866828c33cc15e4b Issue-ID: SDC-2268 Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
2019-06-16BeanUtils upgrade to 1.9.xTomasz Golabek1-23/+28
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-12Add lombok support to simple classesavigaffa1-38/+16
Change-Id: Iec40668537af0fad0d43a599af9ed65d4e5aefbd Issue-ID: SDC-2354 Signed-off-by: avigaffa <avi.gaffa@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-05Add lombok support to simple classesavigaffa2-19/+17
Change-Id: I2d1a7d63e7f80aa766ac71df9c808dcda35d68e3 Issue-ID: SDC-2354 Signed-off-by: avigaffa <avi.gaffa@amdocs.com>
2019-06-05Add lombok support to simple classesavigaffa1-119/+19
Change-Id: I04ba3d45335933f9a8547267e99ec163543a3a8e Issue-ID: SDC-2354 Signed-off-by: avigaffa <avi.gaffa@amdocs.com>
2019-06-05Add lombok support to simple classesavigaffa2-16/+13
Change-Id: Ibaa1711ff6b2a64e6e591f0938874e31f713bfe8 Issue-ID: SDC-2354 Signed-off-by: avigaffa <avi.gaffa@amdocs.com>
2019-05-29Improved test coverage.James Guistwite1-66/+119
Reorganized some of the tests due to comments Issue-ID: SDC-2238 Change-Id: I6b3bcc674c792f3c5c06e851a2cfe2d92eead07c Signed-off-by: James Guistwite <jguistwite@iconectiv.com>
2019-05-15Update test coveragekooper2-0/+49
Change-Id: Ib92d00266d17635b53593eaa544ca3b312c7ddb2 Issue-ID: SDC-2310 Signed-off-by: kooper <sergey.sachkov@est.tech>
2019-05-07Update SDC version 1.5.0Sonsino, Ofir (os0695)45-45/+45
Change-Id: I22d2273103230bd9ee7c3655b5f33e4308bb9f92 Issue-ID: SDC-1913 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com>
2019-04-30Added some JUnit tests to improve coverage. Additional work could be added ↵James Guistwite10-6/+1838
to improve results checking in the future. Issue-ID: SDC-2238 Change-Id: Ief48b90eff33f166ca5f3fa5abb921e0e8c34d26 Signed-off-by: James Guistwite <jguistwite@iconectiv.com>
2019-04-10VSP Compliance Check for Compute Flavor-BEVodafone4-12/+61
Change-Id: Ife3eb83ab49e50fde1b0eb128e7e1abd5043432f Issue-ID: SDC-2051 Co-authored-by: jguistwite@iconectiv.com Signed-off-by: Vodafone <onap@vodafone.com>
2019-04-02Verify signaturekooper14-10/+470
Change-Id: I8fc5d50d74d3dd8031c96ee16708489dc7c789b8 Issue-ID: SDC-2163 Signed-off-by: kooper <sergey.sachkov@est.tech>
2019-04-01List of Input Parameters for VSPVodafone9-0/+640
Change-Id: Ie913ead731e120bd69349a4ebec13f4521eaac4d Issue-ID: SDC-2049 Co-authored-by: jguistwite@iconectiv.com Signed-off-by: Vodafone <onap@vodafone.com>
2019-03-19Display PNF/VNF Type for PNF (backend)kooper2-0/+2
Change-Id: Ie3fabe2a91c1e9040939e2bfe97705cfee15b201 Issue-ID: SDC-2157 Signed-off-by: kooper <sergey.sachkov@est.tech>
2019-03-12Get manifest location from Meta filekooper1-1/+1
Change-Id: Ibdf3e3c0a5c045d19e207c7e48f3404ff099fb3c Issue-ID: SDC-2152 Signed-off-by: kooper <sergey.sachkov@est.tech>
2019-03-06Fix sonar issue in sdc/openecomp-beParshad Patel1-2/+2
Fix Cast one of the operands of this multiplication operation to a "long" issue Issue-ID: SDC-1895 Change-Id: I3e87b13e132dafd90558395089111dcf22b75a6e Signed-off-by: Parshad Patel <pars.patel@samsung.com>
2019-01-10Add restriction filter to onboardingYuli Shlosberg6-0/+273
Change-Id: Ief36760c8d89ac3443c8b12bfdef09c2f83abfc3 Issue-ID: SDC-2039 Signed-off-by: Yuli Shlosberg <ys9693@att.com>
2018-11-27Improved notification on item archive/restorevempo6-37/+186
Addressed code review comments, added unit-tests. Change-Id: I2a74e9969540cb636658aa012f82a81e0fd2eac2 Issue-ID: SDC-1667 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-11-26error when trying to archive\restoreavigaffa18-198/+1074
fix bug: getting server error when trying to archive\restore VLM\VSP Change-Id: I7abefd2d8ac368d590329071a56f200c203cf966 Issue-ID: SDC-1667 Signed-off-by: avigaffa <avi.gaffa@amdocs.com>
2018-11-18Unit-tested mappers of action libraryvempo1-0/+69
Change-Id: I4e3af94682b1575b6d76b4791c5533d5ebe3a471 Issue-ID: SDC-1917 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-11-18Unit-tests for mappers in application configvempo3-0/+96
Change-Id: Ic529125ab2f44f5000e39eb3dd724bd977605ccb Issue-ID: SDC-1917 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-11-18Unit-test for mappers in conflict libraryvempo3-3/+101
Change-Id: I6136fa7491b34d9f3fb8df78a55b8d992e2d27fe Issue-ID: SDC-1917 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-11-18Unit-test for mappers in item permissionsvempo2-7/+51
Change-Id: I047da38c9345aba1079e9ce360587a8d0650d10e Issue-ID: SDC-1917 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>