summaryrefslogtreecommitdiffstats
path: root/cps-ri
AgeCommit message (Collapse)AuthorFilesLines
2020-12-17Merge "Redirecting logs to console"Toine Siebelink1-48/+0
2020-12-17Redirecting logs to consoleniamhcore1-48/+0
Issue-ID: CPS-10 Signed-off-by: niamhcore <niamh.core@est.tech> Change-Id: Ib10a813cf33ad634fc9992b3b3a54a20e2323be1
2020-12-17Associate anchor to schema setRuslan Kashapov8-30/+191
- db schema updated - db layer tests provided for ancor create and reading by dataspace - anchor model is removed from rest api as extra - api/spi updated to use string references instead of object Issue-ID: CPS-99 Change-Id: Ideeb83fa9e91ec1816308d8327a6589b999c64c5 Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
2020-12-16List all modules references in a given dataspace and schemas set nameClaudio David Gasparini2-1/+36
Issue-ID: CPS-21 Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech> Change-Id: I525f780987a201f0c1583367a2c3609488f25290
2020-12-16Few Sonar Fixesputhuparambil.aditya1-2/+0
Add spock-spring testing Issue-ID: CPS-89 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: I1e12fb56916e2123fc1d29bdf1524accbb9eeffd
2020-12-14Yang resource name persistenceRuslan Kashapov5-35/+53
Issue-ID: CPS-125 Change-Id: I5ee2e893dd7c30abe86287150e8bef62966dd909 Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
2020-12-10Retrieve All anchors for a given Dataspaceputhuparambil.aditya3-0/+28
Issue-ID: CPS-8 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: Idb2e4f83d390f078345e556d89781e0bf4a9a41f
2020-12-10Fixing Merge IssueToineSiebelink1-3/+4
Issue-ID: N/A Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: I03ccd5f2dd260af6ef28524d8a44114c516dfb19
2020-12-10Merge "Improve CPS Exception handling"Bruno Sakoto4-40/+33
2020-12-10Improve CPS Exception handlingToineSiebelink4-40/+33
- 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-12-08Persistence layer testing incl CpsModulePersistenceService testingRuslan Kashapov7-0/+278
Issue-ID: CPS-95 Change-Id: I5eba5f6953f483304ff3864914e7a6c9b2bb3f56 Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
2020-12-07Create Common Model objects in SPIniamhcore2-74/+75
Issue-ID: CPS-100 Signed-off-by: niamhcore <niamh.core@est.tech> Change-Id: I8ba54cc5d881d9d5f18b77a54ae28d3dda8412c1
2020-12-07Merge "CPS Exception handling - extending the CPSValidationException"Toine Siebelink1-2/+2
2020-12-07CPS Exception handling - extending the CPSValidationExceptionputhuparambil.aditya1-2/+2
Issue-ID: CPS-8 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: Id0728dad26edd79e3853c0d32c8e27dc7bedd369
2020-12-03Schema Set persistence (store) implementationRuslan Kashapov6-16/+297
Issue-ID: CPS-92 Change-Id: I11257726e4f847e3337d8bafad824853e6a458e2 Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
2020-12-02Fix checkstyle violations for "final" keywordClaudio David Gasparini4-8/+7
Issue-ID: CPS-119 Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech> Change-Id: I871a361937ed30047fe89ff2d2b17499cddad56c
2020-11-19Adding & Testing method for breaking JSON Data into 'fragments'ToineSiebelink1-2/+2
Improving Bookstore test model https://jira.onap.org/browse/CPS-32 Issue-ID: CPS-32 Change-Id: Ie03e03c041233aa908ab55902c1b387f96eb1c2e Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
2020-11-19Fix code smellRishi.Chail1-2/+2
Issue-ID: CPS-89 Signed-off-by: Rishi.Chail <rishi.chail@est.tech> Change-Id: I57fbcc57f0d9c03d5757279429afec107d79f49b
2020-11-19Fix HTTP response for duplicate moduleniamhcore1-2/+9
Issue-ID: CPS-80 Signed-off-by: niamhcore <niamh.core@est.tech> Change-Id: I27b83d671a9f235a4e926ebe9897add36080fd6f
2020-11-19Fix name inconsistency of classesRishi.Chail6-21/+24
Issue-ID: CPS-90 Signed-off-by: Rishi.Chail <rishi.chail@est.tech> Change-Id: I13196084a6ff4a7c4cd23e9e8ba58fa8fffd43bf
2020-11-18VSE: Create an anchor in the given dataspaceRishi.Chail8-76/+222
Issue-ID: CPS-42 https://jira.onap.org/browse/CPS-42 Signed-off-by: Rishi Chail <rishi.chail@est.tech> Change-Id: If67be6f13889808da4d9fe830595766af67e4fdf
2020-11-16Fix init db schema scriptBruno Sakoto1-62/+63
Issue-ID: CPS-82 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: I8c719935b78aaeab9d2f7a0af91b2192df897eb1
2020-11-06Move cps files to root dirJessica Wagantall14-0/+645
Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>