summaryrefslogtreecommitdiffstats
path: root/common-app-api/src/test/java
AgeCommit message (Collapse)AuthorFilesLines
2020-02-18Configuration file runtime reloadandre.schmid2-16/+12
Reloads the backend configuration file when the file listener catches a change. Forces validations errors when the configuration file could not be parsed. Remove not used configurations. Change-Id: Ic6fcb2b557d52ec53074c38ab8e0fcfa96e9be67 Issue-ID: SDC-2758 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2020-01-22Catalog alignmentys969320-1538/+71
Issue-ID: SDC-2724 Signed-off-by: ys9693 <ys9693@att.com> Change-Id: I52b4aacb58cbd432ca0e1ff7ff1f7dd52099c6fe
2019-11-27Add API to retrieve UI configurationilanap2-0/+61
Added configuration file with the menu configuration from catalog-ui. Added to the configuration manager. to chef and to the ui rest APIs. Issue-ID: SDC-2663 Signed-off-by: ilanap <ilanap@amdocs.com> Change-Id: Ia5e014a273238981241821c0d81b0455bd662b28 Signed-off-by: ilanap <ilanap@amdocs.com>
2019-11-25Fix Sonar issuevasraz1-1/+1
Major SmellCode: Replace StringBuffer with StringBuilder Change-Id: I0283e5160e5c1f23423c66110015f18c8163411e Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-2670
2019-11-03Create new non-mano Artifact Type entry for pnf software informationaribeiro1-12/+0
Issue-ID: SDC-2615 Change-Id: I4dd879d50b1dec58aceeaf0c265901c62d038071 Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
2019-10-30Fix zip slip security flawandre.schmid2-67/+172
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-09-03unit tests - common-app-apiTomasz Golabek4-0/+236
Additional junit tests for common Change-Id: I79dd83e4de767652c019db292bdf7a23d9dca8a4 Issue-ID: SDC-2326 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-09-02testing common-app-api utils YamlToObjectConverterBartosz Gardziejewski1-0/+176
Issue-ID: SDC-2326 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I10fc2d7a35150e97b90a1c69c4faac949e439db3
2019-08-30testing common-app-api utils ValidationUtilBartosz Gardziejewski1-356/+780
Issue-ID: SDC-2326 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I49339dd340b2262f81d750ae7fe6165f3fabca14
2019-08-29refactoring tests in Common-App-Api utilBartosz Gardziejewski9-102/+832
Issue-ID: SDC-2326 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: Id2c3d3ade4ec176eaee6302c46ddc4009eb40931
2019-08-23increasing test coverage in common-app-api common catalogBartosz Gardziejewski7-4/+450
Issue-ID: SDC-2326 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: Ida905fc6f0f28d75522c865d33abf636c1fb7fdb
2019-08-23increasing test coverage in common-app-api exception catalogBartosz Gardziejewski10-0/+507
Issue-ID: SDC-2326 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I0dd6bc60c88acbcf1b3755627a7b10b874a549ba
2019-08-23increasing test coverage in common-app-api fe catalogBartosz Gardziejewski5-482/+299
Issue-ID: SDC-2326 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: Ib4ca69ef881ea5db4f1d186b00f9a1cfbc603259
2019-08-23increasing test coverage in common-app-apiBartosz Gardziejewski6-2028/+289
Issue-ID: SDC-2326 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I7ae64864734e7246681ca6ef6d6bb71b3d3df158
2019-07-23File name calculation refactoringPiotr Darosz1-0/+61
FSConfigurationSource file name calculation refactoring and tests Change-Id: Idf1c45f860e12c14cfe88417500f2169b5dc86f7 Issue-ID: SDC-2474 Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
2019-07-17fixing warnings from checkstyle in common-app-apiBartosz Gardziejewski1-4/+5
Issue-ID: SDC-2454 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I17c562380e39f3eab6b3bff45a4a12fe8a586cec
2019-07-11Added oparent to sdc mainTomasz Golabek44-37/+917
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-12Upgrade SDC from Titan to Janus Graphshrikantawachar2-34/+34
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 unit tests for MutableHttpServletRequestm.kowalski31-0/+75
Issue-ID: SDC-2327 Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com> Change-Id: Ic6e68ff3bc10eefa9143a5c7fcac9dcb91d384af
2019-06-02Improve unit tests for ESTimeBasedEventm.kowalski31-108/+96
Issue-ID: SDC-2327 Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com> Change-Id: I4e53f5f4cf14c5b44d72b10de53e5641e75a98b1
2019-06-02Improve unit tests for EcompErrorConfigurationm.kowalski31-49/+94
Issue-ID: SDC-2327 Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com> Change-Id: I8ddaa70b02eeda837e5f74cd105a3e803d8652e6
2019-05-30Add unit tests for ConfigurationManagerm.kowalski31-0/+73
Issue-ID: SDC-2327 Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com> Change-Id: I2acfba224c46ffa743a254b1c560767b947f8fdd
2019-05-27Add unit test for ErrorConfigurationm.kowalski31-40/+79
Issue-ID: SDC-2327 Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com> Change-Id: I7e324be0b75238bb782004ac1659d51e2c1f3ffc
2018-11-26SDC can not handle complex string in tosca yamlTal Gitelman1-1/+1
Issue-ID: SDC-1918 Change-Id: I86957b5d4bf0dab5ca749623efbccd6f4b535f10 Signed-off-by: Tal Gitelman <tal.gitelman@att.com>
2018-11-13vCPE Tunnel XConn : allottedResourcEtype isTal Gitelman1-1/+1
- failing to match SO trigger Change-Id: I5e56408f619487c436e7547c0935b3791d24016d Issue-ID: SDC-1909 Signed-off-by: Tal Gitelman <tal.gitelman@att.com>
2018-11-01Add test case for RestUtil.javaisaac.manuelraj1-0/+21
Add test case for RestUtil.java class. Issue-ID: SDC-1774 Change-Id: Ic048bcbac46514d08ec2328b0ab488fbdc606e0a Signed-off-by: isaac.manuelraj <isaac.manuelraj@huawei.com>
2018-09-05add ability to disable tenant isolation.Tal Gitelman1-547/+24
Change-Id: I35b6db5ec0d3aa91295f57b60c04243b3f3d2208 Issue-ID: SDC-1571 Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
2018-08-15maven improvements and clean upMichael Lando1-1/+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-05add removed unit testsMichael Lando25-0/+4571
Change-Id: Iabd593d8d9ab0efeb32032d5c4d72b8fa1c27e63 Issue-ID: SDC-1590 Signed-off-by: Michael Lando <ml636r@att.com>
2018-07-29re base codeMichael Lando53-4707/+990
Change-Id: I12a5ca14a6d8a87e9316b9ff362eb131105f98a5 Issue-ID: SDC-1566 Signed-off-by: Michael Lando <ml636r@att.com>
2018-05-10Add common-app-api unit testsLior Nachmias14-12/+1788
Change-Id: I93cffb47273ddcdc2c11777c3ed0185f85829b9a Issue-ID: SDC-1317 Signed-off-by: Lior Nachmias <ln699k@att.com>
2018-04-24Create on boarding dockerAvi Ziv1-28/+0
Add BE and Cassandra init docker images Change-Id: Id9d767c73fc946819cec821b4634ce650cbb22fd Issue-ID: SDC-781 Signed-off-by: Michael Lando <ml636r@att.com>
2018-03-07Sync Integ to MasterMichael Lando4-188/+84
Change-Id: I71e3acc26fa612127756ac04073a522b9cc6cd74 Issue-ID: SDC-977 Signed-off-by: Gitelman, Tal (tg851x) <tg851x@intl.att.com>
2017-12-10Final commit to master merge fromTal Gitelman35-80/+8
Change-Id: Ib464f9a8828437c86fe6def8af238aaf83473507 Issue-ID: SDC-714 Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
2017-10-23add unit tests to componentsYuli Shlosberg1-0/+2
Change-Id: I665ad7f9f25c15cfaaa8deb38dd2390fd823a438 Issue-Id: SDC-467 Signed-off-by: Yuli Shlosberg <ys9693@att.com> (cherry picked from commit a78ce5b07f10c6160152a017675b71cca36fb049)
2017-10-22add more unit tests to BE componentsYuli Shlosberg2-0/+96
Change-Id: I23a72857d669f03e8cb7e543c006fed3318670b0 Issue-Id: SDC-467 Signed-off-by: Yuli Shlosberg <ys9693@att.com> (cherry picked from commit 6dc570c66839fe239b63f1aa8da489c520fb215d)
2017-10-22add unit tests to sdc componentsYuli Shlosberg28-0/+5496
Change-Id: Ia6b18b223dc79906289f856fee3bf18d75e28232 Issue-Id: SDC-467 Signed-off-by: Yuli Shlosberg <ys9693@att.com> (cherry picked from commit 4bc2f0f7d26f0c8eb1d32c9be97e83070f196abe)
2017-07-17[SDC] rebase 1710 codeMichael Lando1-3/+3
Change-Id: I532ed68979fee7840ea8a5395e7e965b155fb9f9 Signed-off-by: Michael Lando <ml636r@att.com>
2017-07-12Replace CapList with EvictingQueueGary Wu1-126/+0
The functionality of CapList is already provided by com.google.common.collect.EvictingQueue, so there's no need to implement our own. This change replaces CapList with a synchronized EvictingQueue. Change-Id: I2f7b72bf27169bb90d0bd20f289686685e7f06bf Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2017-06-09[SDC-29] catalog 1707 rebase commit.Michael Lando3-76/+80
Change-Id: I43c3dc5cf44abf5da817649bc738938a3e8388c1 Signed-off-by: Michael Lando <ml636r@att.com>
2017-02-19Initial OpenECOMP SDC commitMichael Lando8-0/+1381
Change-Id: I0924d5a6ae9cdc161ae17c68d3689a30d10f407b Signed-off-by: Michael Lando <ml636r@att.com>