summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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-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
2023-04-03Merge "Persist SubscriptionEvent"Priyank Maheshwari12-20/+430
2023-04-03500 Error Response on NCMP ID-Searches Testingseanbeirne1-1/+43
Issue-ID: CPS-1563 Signed-off-by: seanbeirne <sean.beirne@est.tech> Change-Id: Idc393e90d31b369095bc2b122537e17a4464a364
2023-03-31Remove docs/conf.yamldanielhanrahan1-25/+0
Change to ONAP pipeline is causing docs-rules job to fail if docs/conf.yaml file exists. So we remove it. Issue-ID: CPS-1596 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I4aa576c698162b2a99ca1459d9d192b88c3ac9b6
2023-03-30Merge "Update performance test timings"Toine Siebelink2-28/+28
2023-03-30Merge "[CPS] Improve code coverage for Class 'SubscriptionModelLoader'"Toine Siebelink2-57/+68
2023-03-30Persist SubscriptionEventlukegleeson12-20/+430
- Updated subscription.yang to subscription name instead of client name - Implemented Mapper for SubscriptionEvent to yang model version - Implemented Subscription Persistence for storing subscriptions - Minor changes to existing variable names Issue-ID: CPS-1394 Signed-off-by: lukegleeson <luke.gleeson@est.tech> Change-Id: Ibe066006a913cb7f6e52b6fa8a851e976a338ac3
2023-03-30Fix assertion in integration-test performance testsdanielhanrahan1-1/+1
Issue-ID: CPS-1587 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I044e4c81ce9972bb7979b494496d74beb733c5ed
2023-03-30Update performance test timingsdanielhanrahan2-28/+28
Issue-ID: CPS-1524 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Iaa8e9a0ca3170a2b487df312834245d609fdfe13
2023-03-30[CPS] Improve code coverage for Class 'SubscriptionModelLoader'raviteja.karumuri2-57/+68
Issue-ID: CPS-1584 Signed-off-by: raviteja.karumuri <raviteja.karumuri@est.tech> Change-Id: Ief2b14cc90c24db50a95f1c62661b1918413408e
2023-03-28[CPS] Fix SonarQube Violations / Improve Coverage - Recurring taskraviteja.karumuri1-7/+21
Issue-ID: CPS-475 Signed-off-by: raviteja.karumuri <raviteja.karumuri@est.tech> Change-Id: Id3507fb24c4c6eb002a9ae6fed553daa2fca7895
2023-03-27Enhanced logging for bugmpriyank1-3/+4
- Added minor logging and temporarily converted some debug logs to info level Issue-ID: CPS-1566 Change-Id: I2c706ecd601b06f2a92388b318a44640c682bdd1 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2023-03-27Merge "Fixes for CM-handle de-registration test script"Toine Siebelink3-14/+7
2023-03-23Prepare the next drop by bumping patch versionhalil.cakal20-19/+48
- Bumping modules up to 3.2.7-SNAPSHOT - Update version.properties and release notes Issue-ID: CPS-1577 Change-Id: Ib223c8bea164c42caceaba31a13f43c77d55c48c Signed-off-by: halil.cakal <halil.cakal@est.tech>
2023-03-23Merge "Add 3.2.6-container.yaml file to releases folder"Priyank Maheshwari1-0/+8
2023-03-23Add 3.2.6-container.yaml file to releases folderhalil.cakal1-0/+8
- Add container yaml for cps maven docker stage master Issue-ID: CPS-1576 Change-Id: Iee530e0cd679f98013475b1d706d8d217dd074fa Signed-off-by: halil.cakal <halil.cakal@est.tech>
2023-03-23Add 3.2.6.yaml file to releases folderhalil.cakal1-0/+4
- Add yaml file for cps maven stage master Issue-ID: CPS-1575 Change-Id: I04b2285b4011c72dd8b15008d271bdaf5852271c Signed-off-by: halil.cakal <halil.cakal@est.tech>
2023-03-22NCMP Inventory documentation updateseanbeirne5-11/+189
- Updated release notes Issue-ID: CPS-1494 Signed-off-by: seanbeirne <sean.beirne@est.tech> Change-Id: I43fc285da9d6699326d5e0a933fdb3c5c7abcb12
2023-03-22Fixes for CM-handle de-registration test scriptdanielhanrahan3-14/+7
- Fixed dmi-plugin-stub port - Removed unneeded test cases - Added pushd/popd so script can be run from any directory - Added metrics-reports to .gitignore Issue-ID: CPS-1552 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I0ff3549449687a919faf1c2f3172fbea6178a658
2023-03-22Merge "500 Error Reponse on NCMP inventory cmhandle search"Luke Gleeson1-1/+4
2023-03-22500 Error Reponse on NCMP inventory cmhandle searchseanbeirne1-1/+4
Issue-ID: CPS-1563 Signed-off-by: seanbeirne <sean.beirne@est.tech> Change-Id: I5579e8e852c20ce61a6684140198e989f7876d79
2023-03-22Update documnetationmpriyank2-760/+783
- update release notes and sync the openapi specs as per the latest changes Issue-ID: CPS-1572 Change-Id: I1dedad736664e3bdd164ba371270c1cf4586515d Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2023-03-22Merge "Subscription model with status and predicates"Priyank Maheshwari1-4/+19
2023-03-22Merge "Add event to mapper as well"Luke Gleeson5-4/+13
2023-03-22Merge "Query data nodes across all anchors under one dataspace"Priyank Maheshwari22-11/+448
2023-03-21Subscription model with status and predicatesemaclee1-4/+19
Issue-ID: CPS-1497 Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech> Change-Id: I4a81389797620eac9b67f31ddcbb4d5168d742ce
2023-03-21Add event to mapper as wellmpriyank5-4/+13
- Explicitly add event to the mapper - Also parameterized the cm-events topic to be overridden later Issue-ID: CPS-1554 Change-Id: Ia6e75117dbb4214648d40318989c4c5fe6fd69f1 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2023-03-21Query data nodes across all anchors under one dataspacerajesh.kumar22-11/+448
Issue-ID: CPS-1396 Change-ID: I73f97f986a817d423f93a8d922dcd9647b1412ab Signed-off-by: rajesh.kumar <rk00747546@techmahindra.com>
2023-03-20Script to fully automate CM-handle de-registrationsourabh_sourabh1-0/+162
Issue-ID: CPS-1552 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Ie1ea0cf410f78f1a8675c30d2e278a407afc0d0a Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2023-03-20Script to diff metrics reportsdanielhanrahan2-0/+80
- Added Python script to subtract metrics reports - Moved scripts to test-tools/ folder Issue-ID: CPS-1551 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I4547eb523135dfc0441b5d47ab7f81b184bf836a
2023-03-20Merge "CPS-1526 Fix response message for PATCH operation"Luke Gleeson6-8/+31
2023-03-20CPS-1526 Fix response message for PATCH operationarpitsingh6-8/+31
- Fixed the Response code and message when trying to update multiple data trees at once - Response code changed to 400 - Since the patch operation across multiple data trees is not supported when xpath is set to root node xpath, appropriate message is returned in response - Existing functionality of updating one data node with root node xpath remains as it is. - Updated API documentation and release notes Issue-ID: CPS-1526 Signed-off-by: arpitsingh <as00745003@techmahindra.com> Change-Id: I5d25a06bb5d407316ccfb2f85877cbe56a9f6f31
2023-03-20Avc Event prop renamempriyank4-6/+6
- rename the eventTarget property as eventSource as per the schema in the spike - fixed the integration test and sample file Issue-ID: CPS-1554 Change-Id: Ieb8b749c6f64d69d87cacadae17a4589e9908cf2 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2023-03-20Merge "Enable all Sphinx build warnings as errors"Toine Siebelink6-15/+17
2023-03-15Enable all Sphinx build warnings as errorsCédric Ollivier6-15/+17
It also fixes several issues to pass the gate. Please note that .. code-block :: json content must be json. Issue-ID: DOC-798 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: I38a751b67ab70a5ed5d61cdd49fe914c7b9270cd
2023-03-15Merge "Enhance DMI Data AVC Event schema"Luke Gleeson1-2/+5
2023-03-15Merge "Forward Subscription Information to DMI Plugin(s)"Priyank Maheshwari12-42/+359
2023-03-14Reduce dataspace/anchor lookups in CpsDataServicedanielhanrahan7-103/+100
- Use Anchor object instead of names in processDataUpdatedEventAsync - Use Anchor object instead of names in buildDataNodes - Avoid unnecessary ArrayList copy in updateDataNodesAndDescendants Issue-ID: CPS-1536 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I46936a655a3d151357e55b68e1c4161e07100e84
2023-03-14Merge "Fetch fragment entities using recursive SQL query"Toine Siebelink12-168/+122
2023-03-14Merge "subscription-registry node in subscription loader"Priyank Maheshwari2-1/+50
2023-03-14Enhance DMI Data AVC Event schemampriyank1-2/+5
- Enhancing the DMI Data Avc Event to have the event section as Object at the moment. Issue-ID: CPS-1554 Change-Id: I7f9e1d66ab146f4133886188cd3e4049ac17c76b Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2023-03-14subscription-registry node in subscription loaderlukegleeson2-1/+50
Adding top node subscription-registry for the adding of subscriptions Issue-ID: CPS-1548 Signed-off-by: lukegleeson <luke.gleeson@est.tech> Change-Id: I4107293ce023e4c53dbb8b5d3feb0922cc3d4817
2023-03-13Forward Subscription Information to DMI Plugin(s)lukegleeson12-42/+359
Note: Implemented common EventsPublisher class Issue-ID: CPS-1431 Signed-off-by: lukegleeson <luke.gleeson@est.tech> Change-Id: I292a95f2c990a140f5fd63622ca4eba3f8284b9e
2023-03-13Fetch fragment entities using recursive SQL querydanielhanrahan12-168/+122
- Add SQL query that can fetch needed fragments to any given depth - Update getFragmentEntities to use new query - Remove now unused FragmentRepositoryMultiPathQuery - Remove unused TempTableCreator method - Result: getDataNodesForMultipleXpaths is up to 10 times faster Issue-ID: CPS-1525 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I07cbc9da5ab994ce7e0c2b02d7ca05089f05dab0
2023-03-13Merge "Reduce dataspace/anchor lookups in CpsDataPersistenceService"Toine Siebelink4-194/+110
2023-03-13Merge "Add new metrics to the get data node method"Toine Siebelink4-1/+21
2023-03-13Reduce dataspace/anchor lookups in CpsDataPersistenceServicedanielhanrahan4-195/+111
- Remove unneeded calls to DataspaceRepository::getByName - Remove unneeded calls to AnchorRepository::getByDataspaceAndName - Refactor FragmentRepository Issue-ID: CPS-1536 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I2121f6247070ee4a7c000e06ec66a6278b758540