summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2023-03-23Release cps3.2.6jenkins-releng18-18/+18
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-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
2023-03-13Make single deleteDataNode use plural deleteDataNodesdanielhanrahan3-90/+49
- Make deleteDataNode and deleteListDataNode call deleteDataNodes - Add onlySupportListDeletion option to deleteDataNodes to support original deleteListDataNode behaviour - Allow delete root xpath in deleteDataNodes - Fix incorrect use of PathParsingException in deleteDataNode - Update performance tests timings Issue-ID: CPS-1523 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I92c3c3ce606a5ab2cb8e6779d1ee0f9853529982
2023-03-10Add schema_set_yang_resources index to testsdanielhanrahan1-0/+15
- Add missing index to liquibase test-changelog.yaml Issue-ID: CPS-1535 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I2f8ee9f66b3f433be2f61e17759f0f6c9f2e4707
2023-03-10Bump CPS versionmpriyank20-19/+48
- bump cps version to 3.2.6-snapshot Issue-ID: CPS-1547 Change-Id: I397b8e5f22269c270c2fa7823713869b478622f9 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2023-03-10Add container yamlmpriyank1-0/+8
- add container yaml for 3.2.5 Issue-ID: CPS-1546 Change-Id: I1d505c67cfdfbc83f461fb561557783b43615df3 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2023-03-10maven stage yamlmpriyank1-0/+4
- add maven stage yaml file for 3.2.5 cps-core Issue-ID: CPS-1546 Change-Id: Ic167b58b2770de6e025e704311cf32435ad27e5c Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2023-03-10Release notes updatempriyank1-2/+2
- add release notes for introduction of the control switch Issue-ID: CPS-1545 Change-Id: I738b2f8ceea089af5eebd362c03ca2eb13f351d8 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2023-03-10Introduce control switchmpriyank4-4/+20
- introduced a control switch and keeping it as false due to init issues Issue-ID: CPS-1537 Change-Id: I8455a5ff6fea09527c6f810ffbc620b4e38c488c Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2023-03-09Bump CPS versionmpriyank20-19/+48
- bump the CPS version from 3.2.4-SNAPSHOT to 3.2.5-SNAPSHOT Issue-ID: CPS-1543 Change-Id: I28e46fdeff86c71bd1ad89ae9aaef8ddb4994bfc Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2023-03-09Add container yamlmpriyank1-0/+8
- Step 6 of the release process to add container YAML file Issue-ID: CPS-1542 Change-Id: I244dfaec50828e0135350589d848ca79b300971f Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2023-03-09Add Maven yamlmpriyank1-0/+4
- Step 5 of the release process to add maven yaml Issue-ID: CPS-1542 Change-Id: I793c942af949a4be1c1d9c0efd573e30158fea8e Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2023-03-09Release notes for the bugsmpriyank1-2/+7
- Release notes Issue-ID: CPS-1541 Change-Id: I0339dff64c695cb0c9b605a38572696895a09683 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2023-03-09Bug:SubscriptionModelLoader.getFileContentAsStringemaclee1-1/+1
Issue-ID: CPS-1537 Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech> Change-Id: Icc88a8bf40830853a208e79658f3c590185ad051
2023-03-09Merge "Create Base and Sample Performance Integration Tests"Sourabh Sourabh22-70/+33139
2023-03-09Create Base and Sample Performance Integration TestsToineSiebelink22-70/+33139
- added data (folders) for different models and json data - added base and data for cps-ncmp (registry) specific test cases - integrated Ahila's (large) openroadm model and data (corrected version provided by Lee Anjella) - created profiles to exclude/include *PerfTest - fixed dependency test check - included integration test for overall coverage - increased margings in existing perf test to reduce nordix intermitten failures Issue-ID: CPS-1516 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: Ia82826f610636c14aa7e8939b385c278e5039817
2023-03-09Add new metrics to the get data node methodkissand4-1/+21
Issue-ID: CPS-1509 Change-Id: I2eded9a23b56f5263591c710c7a707cf281f93d7 Signed-off-by: kissand <andras.zoltan.kiss@est.tech>
2023-03-08Merge "[CPS] Add configurable params for topic"Toine Siebelink2-1/+4
2023-03-08[CPS] Add configurable params for topicmpriyank2-1/+4
- Configurable parameter for topic dmi-cm-events Issue-ID: CPS-1538 Change-Id: I5396ee8f50f33ea3c117291a314f10c1870966bc Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2023-03-08Merge "Add index to schema_set_yang_resources table"Sourabh Sourabh2-2/+19
2023-03-08Merge "Update CPSarchitecture release notes"Luke Gleeson1-1/+1
2023-03-08Add index to schema_set_yang_resources tabledanielhanrahan2-2/+19
Currently, the database is sequentially scanning when deleting from schema_set_yang_resources table as there are no indexes on the table. Adding an index doubles performance of NCMP CM-handle deregistration. Issue-ID: CPS-1535 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Ia6ac7ef95d1662f49a77fc72112f1e29a67079ff