summaryrefslogtreecommitdiffstats
path: root/cps-rest/src/test
AgeCommit message (Collapse)AuthorFilesLines
2020-12-16Few Sonar Fixesputhuparambil.aditya1-13/+18
Add spock-spring testing Issue-ID: CPS-89 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: I1e12fb56916e2123fc1d29bdf1524accbb9eeffd
2020-12-11Remove depredcated code/classesniamhcore1-5/+5
Issue-ID: CPS-93 Signed-off-by: niamhcore <niamh.core@est.tech> Change-Id: I49db5244400d5eb4206d59e73aaf801b7f90c61c
2020-12-10Improve CPS Exception handlingToineSiebelink1-21/+54
- Removing unnecessary level of CPS(Validation)Exception - Moved exception inside spi package - Rename exceptions are per agreed new exception hierarchy - Use new exceptions - Added SchemaSetAlreadDefined Exception - Added AnchorAlreadyDefined Exception - Ensure unique serialVersionUIDs - Fixed CpsAdmin(Persistence)ServiceImplSpec tests (there was a mix-up about what this class was testing) - Replaced exception builder with dedicated exception (constructors) Issue-ID: CPS-8 Change-Id: I9cb80af4951e69ee7b0e99303853955de9d4399f Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
2020-11-09Exception handling on REST unit testRuslan Kashapov1-0/+115
Issue-ID: CPS-41 JIRA: https://jira.onap.org/browse/CPS-41 Change-Id: Ieda9c14b7e9c5962bf0b39c168de4c5cc7929d80 Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>