summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2023-04-21Use exact type for objectUnderTest in groovy testsdanielhanrahan6-7/+13
Intelli-J doesn't know the type of objectUnderTest since it is assigned in setup function. Thus many IDE features such as as JavaDocs and error detection of wrong arguments are unavailable. By setting the exact type, all IDE features are enabled. Issue-ID: CPS-1621 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I3dabf82ef9d07b3c18f9820fa768344c2eeec1b6
2023-04-21Add contains condition support to cps-pathRudrangi Anupriya6-1/+64
Issue-ID: CPS-1272 Change-Id: Ic81d1322cacc64a8752916324b801d02be47d34f Signed-off-by: Rudrangi Anupriya <ra00745022@techmahindra.com>
2023-04-20Align dependencies with DMI-PluginToineSiebelink3-15/+4
- Use bom for testcontainer versions - Remove 'version' jib-maven-plugin.version (i.e. use latest or defined by oparent?) - remove 'version from swagger-codegen-maven-plugin (i.e. use latest or defined by oparent?) Issue-ID: CPS-1627 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: Ic76302ae39e9ed723af3d6d496046daa9eccbd42
2023-04-20Merge "Correct documentation for GET node API"Luke Gleeson4-11/+232
2023-04-20Merge "3.0.0 Release Step 7"Priyank Maheshwari19-30/+30
2023-04-20Merge "3.3.0 Release Step 6"Priyank Maheshwari1-0/+8
2023-04-203.0.0 Release Step 7lukegleeson19-30/+30
Issue-ID: CPS-1631 Signed-off-by: lukegleeson <luke.gleeson@est.tech> Change-Id: I9d9ea58a769d7b577a90bacf29191aaf4efb6b41
2023-04-20Merge "3.3.0 Release Step 5"Priyank Maheshwari1-0/+4
2023-04-203.3.0 Release Step 6lukegleeson1-0/+8
Issue-ID: CPS-1631 Signed-off-by: lukegleeson <luke.gleeson@est.tech> Change-Id: I1ab690a2f43666328be9bf420aacc1d66760ae28
2023-04-203.3.0 Release Step 5lukegleeson1-0/+4
Issue-ID: CPS-1631 Signed-off-by: lukegleeson <luke.gleeson@est.tech> Change-Id: I7fa3efa3d3fd79eb9a14710832d88ff81cf001a6
2023-04-20Migrate hibernate-types to hypersistence-utilsdanielhanrahan3-7/+7
There is newer release of the dependency that provides JSONB support. The newer version provides additional features, such as Postgres arrays. It was renamed from hibernate-types to hypersistence-utils. Issue-ID: CPS-1573 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Iab556850041b592a8c4d515270dfe4bd9547957a
2023-04-20Merge "3.3.0 Release Steps 1 & 2"Priyank Maheshwari1-8/+42
2023-04-203.3.0 Release Steps 1 & 2lukegleeson1-8/+42
Issue-ID: CPS-1631 Signed-off-by: lukegleeson <luke.gleeson@est.tech> Change-Id: I69e8725dd54b3e21718ae0f9da8b7d262845f579
2023-04-20Correct documentation for GET node APIemaclee4-11/+232
- Add new section on documentation to describe XPath - Correct doc description on GET node API Issue-ID: CPS-1607 Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech> Change-Id: I23e4ccd1185a2d93fbb0b9e02e9daab949c0f952
2023-04-19Upgrade Liquibase to 4.16.0lukegleeson2-2/+1
Issue-ID: CPS-1627 Signed-off-by: lukegleeson <luke.gleeson@est.tech> Change-Id: I3f45948b3a483e450b84c53da2e35dd5dc5f686e
2023-04-19Addtional dependency updatesToineSiebelink3-2/+6
-Allign org.onap.oparent.checkstyle version with oparent version -Move org.springdoc version control to dependcy mgmt module Issue-ID: CPS-1627 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: I0ce3e6bb18341fac1e3d4bd6d7290bcc3bf28f50
2023-04-18Update spingboot dependenciesToineSiebelink2-2/+2
Issue-ID: CPS-1627 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: I9a9b4a9593ae2800270dafd319e8b4d27d9e0b3b
2023-04-17Merge "Add patch operation for update node leaves"Priyank Maheshwari2-1/+29
2023-04-17Remove CollectionUtils dependencylukegleeson1-2/+1
Remove dependency creating pipeline issue Issue-ID: CPS-1626 Signed-off-by: lukegleeson <luke.gleeson@est.tech> Change-Id: I64a6019a8196aa98dd3874d08f373c4fb9e3b8c9
2023-04-17[CPS] Removing the duplicate producer coderaviteja.karumuri6-118/+29
# Using the existing 'EventPublisher' class and deleting the duplicated producer classes. Issue-ID: CPS-1557 Signed-off-by: raviteja.karumuri <raviteja.karumuri@est.tech> Change-Id: I6dd8e9c9d9dbec06a2c9464fc2d382fa89f6fc32
2023-04-17Merge "[CPS] Re-structuring the packages for better understanding"Toine Siebelink27-45/+42
2023-04-14Use cascade delete in fragments tabledanielhanrahan4-30/+40
- Add Liquibase change to cascade delete fragments - Remove cascade delete logic from FragmentNativeRepository - Remove unused method deleteFragmentEntity Issue-ID: CPS-1617 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Iecf4f3022b402e0328609ddc11a879c83e5d7f30
2023-04-14Remove @NotNull from repository methodsdanielhanrahan4-29/+23
Issue-ID: CPS-1573 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I55312bdc5454ed9ca60441b3968d19a61028eb66
2023-04-14Add tests for 32K limit for collection parametersdanielhanrahan3-10/+113
SQL queries taking collection parameters currently create a seperate query parameter for each collection element. There is a limit of around 2^15 (32,768) query parameters. - Add tests for cps-service methods exceeding the collection size limit Issue-ID: CPS-1573 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I7169b3604f4dd0bb23bba8ff33f0102c43052c03
2023-04-14Add OR operator to cps-pathRudrangi Anupriya8-62/+179
Issue-ID: CPS-1215 Change-Id: I91fdf5bddcc4fc12a8cf9dbce75f77c832c55871 Signed-off-by: Rudrangi Anupriya <ra00745022@techmahindra.com>
2023-04-14[CPS] Re-structuring the packages for better understandingraviteja.karumuri27-45/+42
Issue-ID: CPS-1557 Signed-off-by: raviteja.karumuri <raviteja.karumuri@est.tech> Change-Id: I16be74808eea6e3ce24574ae24ce082063bd0de9
2023-04-13Add patch operation for update node leaveshalil.cakal2-1/+29
Issue-ID: CPS-1602 Change-Id: Ie67e6cb6810cd6ea05f3a11f7b195f0f23d39138 Signed-off-by: halil.cakal <halil.cakal@est.tech>
2023-04-13Migrate query tests to integration-test module #6danielhanrahan9-223/+112
- Remove old tests and broken test data, where fragments in ANCHOR-005 have parent fragments in ANCHOR-004 - Migrate tests to new test framework using bookstore model - Add two bookstore anchors to test querying across both - Add bookstore data to another test dataspace, to verify querying across anchors should be limited to one dataspace - Lower minimum module coverage, since cps-ri tests are now in integration-test - @Ignore failing tests for now Issue-ID: CPS-1595 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I808de288961cb84a486052f9e1dc8fed5f2afe03
2023-04-13Merge "Remove "isTagged" mapping method"Priyank Maheshwari1-6/+1
2023-04-12Migrate query tests to integration-test module #5danielhanrahan6-25/+56
- Migrate query tests for composite keys to integration-test - Add addresses with composite key to bookstore model Issue-ID: CPS-1597 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I6f8dfc2c44ae6ba3bac1cce804841671ef5a009d
2023-04-12Remove "isTagged" mapping methodlukegleeson1-6/+1
Remove redundant mapping method causing sonarqube violation Issue-ID: CPS-1394 Signed-off-by: lukegleeson <luke.gleeson@est.tech> Change-Id: Ie3ed1411c05fcc3671e547b80b41826dcd6e1fab
2023-04-12Merge "Expose endpoint to accept bulk request"Sourabh Sourabh8-2/+55
2023-04-12Migrate query tests to integration-test module #3danielhanrahan4-24/+35
Issue-ID: CPS-1597 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I1d92355f272271424a7014057d251cf88eac0203
2023-04-12Merge "Migrate query tests to integration-test module #2"Sourabh Sourabh7-110/+143
2023-04-11Performance tests for getDataNodes and queryDataNodesdanielhanrahan6-10135/+568
- Generate openroadm data from a single innerNode.json template - Double the number of openroadm device nodes (25 -> 50) in tests - Add new performance tests for getDataNodes and queryDataNodes to integration-test module, using openroadm and bookstore data - Remove old performance tests from cps-ri Issue-ID: CPS-1524 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Id9ec2a86d984d6c50c9ae6093e7a62729cb851da
2023-04-11Migrate query tests to integration-test module #2danielhanrahan7-110/+143
- Migrate some query tests to integration-test - Edit bookstore model to add integer leaf-list 'editions' - Lower cps-ri code coverage Issue-ID: CPS-1597 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: If50bf15ad7d7f147448f6b60d464efc1cdc91005
2023-04-11Merge "Migrate query tests to integration-test module #1"Toine Siebelink2-56/+43
2023-04-11Merge "Populate Dataspace field of DataNode"Toine Siebelink3-2/+27
2023-04-11Migrate query tests to integration-test module #1danielhanrahan2-56/+43
Issue-ID: CPS-1597 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I0403641e2e5293571c61a58aa2b67b144cf68ac4
2023-04-11Merge "[CPS] Fix SonarQube Violations / Improve Coverage - Recurring task"Toine Siebelink2-21/+29
2023-04-11[CPS] Fix SonarQube Violations / Improve Coverage - Recurring taskraviteja.karumuri2-21/+29
Issue-ID: CPS-475 Signed-off-by: raviteja.karumuri <raviteja.karumuri@est.tech> Change-Id: I7429e1563608159b5592a2dc52ab5383f11a8ab3
2023-04-11Populate Dataspace field of DataNodedanielhanrahan3-2/+27
Issue-ID: CPS-1603 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I85aca8bccc28d36aa4cefa0a32cb9bdf2156618a
2023-04-11Merge "Migrate query tests to integration-test module #4"Sourabh Sourabh2-35/+50
2023-04-07[CPS] Bump minor version - Step12mpriyank19-20/+20
- bump minor cps version from 3.2.7-SNAPSHOT to 3.3.0-SNAPSHOT which is step11 of the release process Issue-ID: CPS-1610 Change-Id: I74f20a7a7fa1edad417c40a09a60fecc0a96ccb7 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2023-04-06Toggle subscription persistence for model loaderlukegleeson2-6/+15
Current implementation will attempt to persist the subscription model for subscription create events even when the model loader is disabled which causes a persistence error. Subscription Model will now be persisted based on whether the model loader is enabled Issue-ID: CPS-1394 Signed-off-by: lukegleeson <luke.gleeson@est.tech> Change-Id: I8f8cfc47996eed6b95fd3958996f16c8395dc341
2023-04-05Migrate query tests to integration-test module #4danielhanrahan2-35/+50
Issue-ID: CPS-1597 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Id3b4a3829b6f9aec1a649ed0001d7c11db91ccfe
2023-04-05Expose endpoint to accept bulk requestleventecsanyi8-2/+55
- added wiremock mapping for testing/demo Issue-ID: CPS-1555 Change-Id: I82af6c43e80a346efcd84aae8945572aa37a6875 Signed-off-by: leventecsanyi <levente.csanyi@est.tech>
2023-04-04Merge "Add Query Spec to integration-test package"Priyank Maheshwari1-0/+48
2023-04-04Merge "500 Error Response on NCMP ID-Searches Testing"Luke Gleeson1-1/+43
2023-04-04Add Query Spec to integration-test packagelukegleeson1-0/+48
Issue-ID: CPS-1598 Signed-off-by: lukegleeson <luke.gleeson@est.tech> Change-Id: Ifab8863eae4a3ee07ba3d6096e73f9f98077584d