summaryrefslogtreecommitdiffstats
path: root/cps-ri/pom.xml
AgeCommit message (Collapse)AuthorFilesLines
2023-02-08Release cps3.2.2jenkins-releng1-1/+1
2023-01-27Update version files for release processseanbeirne1-1/+1
- Updated version.properties - Updated release-notes - Updated pom files Issue-ID: CPS-1835 Signed-off-by: seanbeirne <sean.beirne@est.tech> Change-Id: I0f837ac41d24b41d7c2b9e3dfe2dacc550c0aafa
2022-12-23Organize performance testToineSiebelink1-1/+1
- Separated CpsPathUtil performance tests in dedicated file - Used smaller sample to speed up CpsPathUtil test - Increased margin on CpsModuleReferenceRepository performance test to rpevent accidental failures - Added profiles to cps path parser module - Use Regex to include any (future) perforamcne test using same naming Issue-ID: CPS-1421 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: I9da1614b6f067e946a4f088c6417479fa6c71988
2022-12-07Merge "Update outdated dependencies"Toine Siebelink1-0/+1
2022-12-04Update outdated dependenciesleventecsanyi1-0/+1
- Updated cps-dependecies spring-web & jackson-databind & postgres version numbers Signed-off-by: leventecsanyi <levente.csanyi@est.tech> Change-Id: I3c9e72cafafb734852a594d14184edfc459db9fb Issue-ID: CPS-1397
2022-12-01Filter on private properties of CM Handlesleventecsanyi1-1/+1
- Moved cm handle query validation to cps-ncmp-service (where it belongs!) - Added new enum type for private/public field types - Created new methods for private and public queries - Added new REST endpoint - Created service methods for filtering on different types of properties - Refactored getPublicPropertyPairs and queryCmHandleAnyProperties - Added unit test for the controller layer - Fixed refactoring suggestions - Imporved code coverage with unit tests - Refactoring - Added new functionality to NcmpRestInputMapper - Updated version number to 3.2.1-SNAPSHOT and updated release-notes.rst Issue-ID: CPS-1236 Change-Id: I0ddf6866473f7c3c6b8507d222d441bf97ca6bdc Signed-off-by: leventecsanyi <levente.csanyi@est.tech>
2022-11-04CPS-RI performance profiles implementaionseanbeirne1-0/+24
Reviewers: Joe, Levente, Luke Issie-ID: CPS-1351 Signed-off-by: seanbeirne <sean.beirne@est.tech> Change-Id: Ia7b9a4bbf103d6b54f6fde9dd2d80a3c825c3046
2022-11-02Ensure prefix is correct module prefixToineSiebelink1-4/+0
- Moved Prefix logic from RI to Service layer - Prefix is no PREFIX propety, not the moduel name! == RI (DB Layer) Changes - Removed prefix logic incl hazelcast - Added new basic ri-test for getDataNode and assert prefix is null - Updated exsiting ri-test to us getDataNode - Updated existing ri-test to only use " where really needed == CPS Service Layer Changes - Introduced PrefixResolver with clear and limited responsibility - Use PrefixResolver where needed - Cache prefix map per anchor, use cached entry when available - Disabled SONAR on new Regex == REST Layer - Use PrefixResolver where needed Issue-ID: CPS-1353 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: Ie16f0e1ee1c280f3eb69c9e64fab69a780fb692a
2022-10-26Creation of DataNodeBuilder with module name prefix is very slowToineSiebelink1-0/+4
- Created a new hazelcast distributed cache for anchor data config use cases. - Module name prefix is added for root data node only. - Cached module name prefix by anchor name on demand from database at first call. - Introduced a new cache holder to have module name prefix of diff. levels. Issue-ID: CPS-1326 Change-Id: I9072f5efdeea59843cd827ac556d3c0547a3a0cf Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech> Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2022-10-17Bump the minor CPS versionmpriyank1-1/+1
- Bumped the CPS version from 3.1.5-SNAPSHOT to 3.2.0-SNAPSHOT - Step 11 of the release process. Issue-ID: CPS-1318 Change-Id: I0dce0070afcc019d2562c2f3ab9fe02207dcd86b Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2022-10-05Bump CPS version to 3.1.5-SNAPSHOTmpriyank1-1/+1
- Bumped the version to 3.1.5-snapshot and updated the version properties file Issue-ID: CPS-1325 Change-Id: I61848166b94a5ce14651f2d0fe42e4cc39f5c5e2 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2022-09-30Bump CPS to 3.1.4-SNAPSHOTmpriyank1-1/+1
- bumping the cps version from 3.1.3-SNAPSHOT to 3.1.4-SNAPSHOT - Also updated the release notes to accomodate 3.1.4 version changes Issue-ID: CPS-1313 Change-Id: I487ab4301123cce6afb5a4086b8ebca24acf5e14 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2022-09-29Bump CPS to 3.1.3-SNAPSHOTmpriyank1-1/+1
- update cps to 3.1.3-SNAPSHOT Issue-ID: CPS-1309 Change-Id: I43b1442533d10c32a74808830239e83f4abed9c0 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2022-09-28Prep for 3.1.2 of CPSmpriyank1-1/+1
- updated release notes - bumbed cps version to 3.1.2-SNAPSHOT from 3.1.1-SNAPSHOT Issue-ID: CPS-1304 Change-Id: Ie65f76032b087dffc716e00fa3868f89f165a6b1 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2022-09-23Prepare for next CPS Core releasempriyank1-1/+1
- Bumping the CPS Core version from 3.1.0 to 3.1.1 Issue-ID: CPS-1295 Change-Id: I6bdff6dd3b266a24c3e89ba811be6bc64beb6e54 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2022-07-27Upgrade Liquibase to Version 4.14.0lukegleeson1-9/+1
liquibase-core 4.14.0 has been separated from commercial liquibase As such, license should be resolved Issue-ID: CPS-963 Signed-off-by: lukegleeson <luke.gleeson@est.tech> Change-Id: I319c4e33741164b509ed770b1ca095a763ef9fcb
2022-03-21Update versions for next releaseToineSiebelink1-1/+1
Update Minor version number (on master) for next release as part of creating Jakarta release branch Issue-ID: CPS-952 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: Ie96ae7ce8997774d3ea27275c73e7d0703257e5e
2022-03-16Upgrade to next snapshot versionBruno Sakoto1-1/+1
Issue-ID: CPS-933 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: I5ba87c850aa932737cc62e312a825c69a3db5a02
2022-03-10Replacing ModelMapper with MapStructlukegleeson1-5/+1
- Removed Model Mapper from pom files - Replaced ModelMapper with MapStruct - Added Tests for MapStruct - Changed mapstruct annotations for individual variables to be null safe rather than all variables - Excluded generated code from code coverage - Set ModuleReferences input to required for SchemaSet so that ModuleReferences list set to empty list rather than null Issue-ID: CPS-127 Signed-off-by: lukegleeson <luke.gleeson@est.tech> Change-Id: I43f874aea79f58dda5526c6fdead27d8474d90af
2022-02-28Updated openapi.yaml to match to changes in get data node APIputhuparambil.aditya1-1/+1
1. updated the pom version to 3.0.0-SNAPSHOT 2. modified the examples for get data node api to match the post api. Issue-ID: CPS-865 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: Icf03522e9ba7fb9c245fd9f09b3eb8bb6f3ee60d
2021-10-28Remove org.jetbrains.annotations dependencyBruno Sakoto1-4/+0
It is not part of spring boot 2.5.5 anymore and using it to enforce code invariant is not consistent in the overall code base. Issue-ID: CPS-582 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: I6b2c1b8340cda376b70daa2ac092b3d02daa8960
2021-10-21Upgrade maven dependenciesBruno Sakoto1-0/+4
* Spring boot dependencies is upgraded to 2.5.5 * Springdoc openapi ui is upgraded to 1.5.11 * Jetbrains annotations dependency is added as it is not coming anymore with spring boot dependencies Issue-ID: CPS-582 Change-Id: I1c4fd54a11216eb2a14b73a1e0461ef7f4252e69 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca>
2021-10-14Step 10 : Bumping origin/master version cps-2.1.0puthuparambil.aditya1-1/+1
Issue-ID: CPS-727 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: I2b287e4443be9214f89e90880af3c33ec0424e92
2021-10-14Step 6 : Bumping version cps-2.0.2puthuparambil.aditya1-1/+1
Issue-ID: CPS-727 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: I83035b8e504a1c52e222ba1bd247cbc26ea01ff5
2021-09-14Upgrade to next snapshot versionBruno Sakoto1-1/+1
Issue-ID: CPS-613 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: I3888d5b43d45c441a69b142489a8be1bd29dbd8c
2021-09-13Upgade the version to 2.0.0Renu Kumari1-1/+1
Issue-ID: CPS-613 Signed-off-by: Renu Kumari <renu.kumari@bell.ca> Change-Id: I248a6bd779356627940ac54a251445593e94058b
2021-09-03Ensure Leaf value retains Integer typelukegleeson1-0/+5
BUG GSON.fromJson() is unable to parse numerical values and defaults values to Doubles Added a datatype conversion which forces Double values which can be Integers to being Integers Issue-ID: CPS-591 Signed-off-by: lukegleeson <luke.gleeson@est.tech> Change-Id: I72d54ad06823a8755ee407f39104f3edf9a8cc75
2021-07-29CPS-503: liquibase self build optionJosephKeenan1-0/+9
- Upadated poms to use nordix liquibase core v4.4.2 rather than org.liquibase version Issue-ID: CPS-503 Change-Id: Id50ecf9fd968c58b96143d50755e31fb58d0b229 Signed-off-by: JosephKeenan <joseph.keenan@est.tech>
2021-07-13Editing of Nordix Licenses to ONAP guidelineslukegleeson1-1/+2
Issue-ID: CPS-489 Signed-off-by: lukegleeson <luke.gleeson@est.tech> Change-Id: I415534515b3d8325f41d5dc1d02c6e0ae70c6cf1
2021-07-09Support concurrent requests to create schema setsBruno Sakoto1-1/+13
Issue-ID: CPS-466 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: I2ecf98b9aa5a6097518e616c08f8bb2a2182a613
2021-07-07Sending Data Updated Event to kafkaRenu Kumari1-0/+15
Issue-ID: CPS-374 Signed-off-by: Renu Kumari <renu.kumari@bell.ca> Change-Id: I05fedcace42b84575411df26c586788bffe6b846
2021-06-18Missing licence info added in pom fileshivasubedi1-0/+19
- Added licence info to files that were missing it - Fixed licence info to match with the creator of the file Issue-ID: CPS-467 Signed-off-by: shivasubedi <shiva.subedi@est.tech> Change-Id: I1c0eaedb2c87743a61a1cd58f33b0d0d04b3a977
2021-06-01Introducing Antlr4 for cpsPath parsingToineSiebelink1-0/+5
-created new module for cpPathParser -added antlr rule for cpsPathWithSingleLeafCondition -added antlr rule for cpsPathWithDescendant (and with leaf conditions) -added antlr rule for ancestor axis -added unit test (copied from existing CpsPathQuerySpec) -udpated cps-ri to use new cpPathQuery from parser module -'imported' lexer rules from publix xPath grammar -Re-used existing CpsPathException but conversion happens in cps-ri to prevent additional dependency in cps-path-parser module Issue-ID: CPS-376 Change-Id: I2c5df98969402cbf69f6573c52705879450ce606 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
2021-03-11Fix for security hotspot related to wek cyptographyputhuparambil.aditya1-0/+4
https://sonarcloud.io/project/security_hotspots?id=onap_cps&hotspots=AXfObcurA2pnU4Plp4-j Issue-ID: CPS-286 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: I31012f81797396682dbccae0e4992a33bac806c7
2021-03-05Update versions for next releaseRishi.Chail1-1/+1
Issue-ID: CPS-256 Signed-off-by: Rishi.Chail <rishi.chail@est.tech> Change-Id: Ifce438495233edd7de9f42129ab60bebc365f0b9
2021-03-04Upgrade version numberBruno Sakoto1-1/+1
Honolulu RC0 will be version 1.0.0 Issue-ID: CPS-260 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: Ib4d464100b7b5814070d41dc911f342f58836442
2021-02-24Merge "Schema creation and Data pre-load to on cps-xnf-proxy start-up using ↵Toine Siebelink1-0/+4
liquibase"
2021-02-24Schema creation and Data pre-load to on cps-xnf-proxy start-up using liquibaseputhuparambil.aditya1-0/+4
1. Common change-log master used only to specify the different change sets. 2. Specific change set created for cpsTables creation and for loading data to each cps component like dataspace, schema-set, anchor and dataNode 3. The data load cabability is configurable in the sense, it will be trigered only if the label is specified in the application.yaml Issue-ID: CPS-173, CPS-242 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: I44c640ce50b7203f5799d722149397478a98bc05
2021-02-22Upgrade version numberBruno Sakoto1-1/+1
Issue-ID: CPS-175 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: I23bdd1b406e2076c612c06c1677af4440c0b883f
2021-01-29Introducing Spock/Groovy for Data Integration TestsToineSiebelink1-1/+32
Replaced CpsAdminPersistenceServiceTest with CpsAdminPersistenceServiceSpec Replaced CpsDataPersistenceServiceTest with CpsDataPersistenceServiceSpec Replaced CpsModulePersistenceServiceTest with CpsModulePersistenceServiceSpec Extracted out common integration test base Rationalised test (there was a lot of duplication already!) Issue-ID: CPS-160 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: I3311533fba1398feb00b6adf4209399cea8d3a1b
2021-01-14Fix code coverage for sonarClaudio David Gasparini1-4/+0
The get the multi module aggregate report to be consumed by sonar we are enforced to use full path to all reports. - 90.4 % coverage detected by sonar achieved Issue-ID: CPS-87 Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech> Change-Id: I91d81063e7234327cb4458c31fa27601ec22e9cd
2021-01-13Include aggregate xml report on sonar coverageClaudio David Gasparini1-0/+5
Issue-ID: CPS-87 Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech> Change-Id: I50de5df1bc79ff22c90a5cbe2f1b143164c8abea
2020-12-10Retrieve All anchors for a given Dataspaceputhuparambil.aditya1-0/+4
Issue-ID: CPS-8 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: Idb2e4f83d390f078345e556d89781e0bf4a9a41f
2020-12-08Persistence layer testing incl CpsModulePersistenceService testingRuslan Kashapov1-0/+11
Issue-ID: CPS-95 Change-Id: I5eba5f6953f483304ff3864914e7a6c9b2bb3f56 Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
2020-11-06Move cps files to root dirJessica Wagantall1-0/+40
Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>