summaryrefslogtreecommitdiffstats
path: root/docs
AgeCommit message (Collapse)AuthorFilesLines
2024-01-09Remove inefficient saveListElementsBatch APIdanielhanrahan1-0/+5
CpsDataService::saveListElementsBatch method is not needed as saveListElements supports saving multiple list elements in a single operation. This both simplifies implementation and greatly improves performance when saving list elements, as the Yang parser need only run once for the whole batch. - Change InventoryPersistence to save CM-handles in batches of 100 using existing CpsDataService::saveListElements method. - Remove not needed CpsDataService::saveListElementBatch. Issue-ID: CPS-2019 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I8b74dda2917e094d064b42f2c0e4d57029b90395
2024-01-05Merge "Normalize JSON attributes during update"Toine Siebelink1-1/+2
2024-01-05Merge "Amend http status for CM Handles Data Enpoints in Documentation"Sourabh Sourabh1-5/+5
2024-01-05Amend http status for CM Handles Data Enpoints in Documentationdavid.mcweeney1-5/+5
Change-Id: I4b2778e9e1107fc2934df292bee99d36030c8093 Signed-off-by: david.mcweeney <david.mcweeney@est.tech> Issue-ID: CPS-1998
2024-01-04Normalize JSON attributes during updatedanielhanrahan1-1/+2
This change fixes a few issues related to JSON encoding of FragmentEntity attributes (data leaves). This significantly improves update performance in cases of partial updates. - Normalize JSON and order leaves by name when comparing data leaves during update operations. - Update performance test timings. Issue-ID: CPS-2018 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Ia764a353bf96c05758827845e1358745247ee237
2023-12-20Bump CPS to 3.4.2-SNAPSHOTdanielhanrahan1-1/+30
- bump CPS to 3.4.2-SNAPSHOT and update the docs Issue-ID: CPS-2017 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Iea58c1134bc9d25c76ef7ccc2c1d2de1c7aa0bfd
2023-12-20Release notes and OpenAPI docs updated for 3.4.1danielhanrahan6-0/+153
- Update release notes - Update OpenAPI docs - Made RST files not executable Issue-ID: CPS-2017 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I85bd7cb68d960c9522b80048007cfe913cd49ed4
2023-12-20Documenting optional properties for the HTTP clientwaqas.ikram2-119/+132
Issue-ID: CPS-2016 Change-Id: Iae3d612548032dfbb4a7d4325eb3fbed4f20ab78 Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
2023-12-18Remove Notification code for updated eventsmpriyank2-3/+1
- removed existing code for sending notifications to topic cps.dataupdated events formerly used by cps-temporal - corresponding testware removed or updated - unnecessary to fetch anchor details for delete and replace operation removed which might gain minor performance boost - yaml configurations , documentation removal and update - Added missing test for AsyncConfig to comply with coverage check Issue-ID: CPS-2005 Change-Id: I1848f7f229cb713fe8c0302ea50328e7451652ee Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2023-12-06[BUG] Dminame to valid topic suffixmpriyank1-0/+1
- dmi name can be in the form of URL , and we are using dmi-name as topic suffix , which results in the invalid topic name. - fix to extract out domain name excluding port from the url - test case for the same - updated the documentation - fix only supports ipv4 addresses at the moment Issue-ID: CPS-1979 Change-Id: I9c6ea113afae816f727b45a30c94070af013a16d Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2023-12-05Merge "Added docs for hz healthchecks"Lee Anjella Macabuhay1-0/+1
2023-12-04Add documentation for the epic: Trust Levelhalil.cakal1-1/+29
- Request body enriched with the new condition name - Trust level section added and explained Issue-ID: CPS-1982 Change-Id: Iddeeae4101169fff0e5de8865f9a627e152ab472 Signed-off-by: halil.cakal <halil.cakal@est.tech>
2023-12-01Added docs for hz healthchecksmpriyank1-0/+1
- cluster state and health checks are now been exposed to be leveraged Issue-ID: CPS-1980 Change-Id: Ibe0fdd0ca2d7b8397dc2c3449f395d5f4bbc0cba Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2023-11-29Merge "Expose hazelcast cluster info"Toine Siebelink2-0/+15
2023-11-27Expose hazelcast cluster infompriyank2-0/+15
- exposing hazelcast cluster and health related rest endpoints to be used in the testware - added test to support it - also added RTD docs Issue-ID: CPS-1980 Change-Id: I926013bee05603a43050b861f677885a2511fffc Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2023-11-27Udpate release notes about end of CPS-TemporalToineSiebelink1-0/+5
Issue-ID: CPS-1927 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: I23bcd7f91f20dd574d23bd22cc9cb3c1ac241963
2023-11-09Bump CPS to 3.4.1-SNAPSHOTmpriyank1-1/+24
- bumped CPS to 3.4.1-SNAPSHOT - updated the release notes Issue-ID: CPS-1962 Change-Id: Iee9fa03a1890ac5d4c1204d0851a255c5b897720 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2023-11-09Release notes updatempriyank1-10/+12
- Added section for new delhi release now for the latest code Issue-ID: CPS-1962 Change-Id: I43ebad1095831490ce6722dd535da31cfad24516 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2023-11-09Remove CPS-Temporal from RTDToineSiebelink10-41/+6
- Remove CPS-Temporal references - Removed never implemented interface such as AA&I - Updated diagrams accordingly - moved all images to _static folder - restored -W flag for tox and link-check section so errors will lead to build failures! Issue-ID:CPS-1927 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: Ib291b0904472dd32b5458dec3c78391cd1c018d9
2023-11-06Bump cps to 3.3.10-SNAPSHOTmpriyank1-1/+28
- bump cps to 3.3.10-SNAPSHOT and update the docs Issue-ID: CPS-1954 Change-Id: Id62f59d4b3c42ea6f791fad85f0700089e3125b9 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2023-11-06Step 1 and 2 of release processmpriyank2-0/+12
- Sync the openapi docs and the release notes - Also commenting a test scenario coz of unrelated failure. will be fixed later Issue-ID: CPS-1949 Change-Id: I27c955e569acdfe1f699f345fa583f7bce95e76a Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2023-11-06[BUG] CPS NCMP management endpoints updatempriyank2-6/+7
- CPS and NCMP management endpoint updated from /manage to /actuator now - The management port is same as application port now - CSIT test cases update - Update in Security params to allow the changed URL. - Admin guid update - Release notes updated - Local docker-compose and prometheus updated Issue-ID: CPS-1923 Change-Id: I013d35fd96d393dec8cf067bbeae0f92b6b8d8db Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2023-10-17[BUG] Fix for Swagger UI generationegernug2-3/+34
Issue-ID: CPS-1913 Signed-off-by: egernug <gerard.nugent@est.tech> Change-Id: Ib8a1b5fddc9957bd371fbb4dc54d018b25af3679
2023-10-16Adding NCMP Stubs documentationwaqas.ikram1-7/+94
Issue-ID: CPS-1858 Change-Id: I90017d9d9c6e937292e9de45c0e8228357414e16 Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
2023-10-16Add NCMP Stub documentation to RTDToineSiebelink8-14/+136
-add new pages fot Stubs -fixed spleeting erros -added file with accepatbel cps terms for spell check Issue-ID: CPS-1858 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: I71fdeb29b015067d208e404bed8ac53b03810c00
2023-10-09RTD Doc update with error codesourabh_sourabh2-3/+19
-RTD doc is updated with new error codes. Issue-ID: CPS-1904 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech> Change-Id: Id234655abe88e3348abc148f8c1eedd36bf58379
2023-09-29Update release version in release notesegernug1-1/+28
Issue-ID: CPS-1903 Signed-off-by: egernug <gerard.nugent@est.tech> Change-Id: If28a979513ed48a4382e8069b8b365f4f7f35135
2023-09-28Update RTD for Spring Boot 3.1.2egernug1-1/+2
Issue-ID: CPS-1888 Signed-off-by: egernug <gerard.nugent@est.tech> Change-Id: I8ef41d3f5563fb6aa2a3090b9164523fed538933
2023-09-26Introduce and use new Hazelcast map for module set tagleventecsanyi1-1/+3
- added new IMap for moduleSetTags, updated SynchronizationCacheConfigSpec - updated deployment.rst Issue-ID: CPS-1859 Signed-off-by: leventecsanyi <levente.csanyi@est.tech> Change-Id: I5233c5150fd784974d7c1e5ba387119c1eaba194
2023-09-25Merge "RTD change to document migration to Spring Boot 3.0"Toine Siebelink1-0/+5
2023-09-20Bump pom file versionsdanielhanrahan1-1/+28
Issue-ID: CPS-1882 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Iec6b6e8fed17ad8250a39436c7b4fd5572e5c916
2023-09-20openapi yml update for 3.3.7 releasedanielhanrahan1-0/+8
Issue-ID: CPS-1882 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I2d34631e5a3f8832adb577c0b19384b62b4dd24d
2023-09-20Merge "Use YangParserFactory to generate schema context"Toine Siebelink1-0/+1
2023-09-20Use YangParserFactory to generate schema contextdanielhanrahan1-0/+1
This is presented as a fix for ClassDefNotFoundErrors from opendaylight yang parser Issue-ID: CPS-1866 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: If2d1a8f0319cad0a9517ea3652446e2e43f51fd4
2023-09-19RTD change to document migration to Spring Boot 3.0egernug1-0/+5
Issue-ID: CPS-1789 Signed-off-by: egernug <gerard.nugent@est.tech> Change-Id: Iade4f3feb4ac00874f977e0154c7fca65b30106c
2023-09-14Docs for the distributed datastructures in cps and ncmpmpriyank1-0/+28
- listed the distributed datastructures that we use in cps and ncmp. - summary of the usage in the product. Issue-ID: CPS-1867 Change-Id: I6535f7cfc6ef68731d22c81500ba4b876e7db0f4 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2023-08-23Bump pom file versionsleventecsanyi1-1/+28
Issue-ID: CPS-1851 Signed-off-by: leventecsanyi <levente.csanyi@est.tech> Change-Id: I15c1a9577ac940abfaae60689e3082f55455c28c
2023-08-22Release notes and openapi yml updatempriyank4-1395/+1414
- add to rst file and update the rest api changes Issue-ID: CPS-1846 Change-Id: I242fc98c025ffe0bf654640ad16dfef2bb0fcbaf Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2023-08-22Document async eror 107, southbound system is busyToineSiebelink1-0/+2
Issue-ID: CPS-1844 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: Iff8a8b7a88ce8404f541b3dfa73305541bc09056
2023-08-17Update of top-level data node fails with SQL errordanielhanrahan1-0/+1
The error is caused by the fetch-descendants code using ResultSet.getLong which returns a 'long' primitive instead of a 'Long' object. Thus a parent ID of 'NULL' becomes '0', which causes an error during update. To preserve the NULL value, ResultSet.getObject must be used. Issue-ID: CPS-1841 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Ida6837a04954cd3c23f0f2faabd7d0712d8ee19d
2023-08-16Modify data operation schema to accommodate additional informationsourabh_sourabh1-0/+8
- Data operation schema is updated to add resourceIdentifier and options. - dmi plugin stub is modified to add both the attributes into kafka response message. Issue-ID:CPS-1837 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech> Change-Id: I624c32d07ccf396f3090766049622f43f5c3f44f
2023-08-04Ability to disable sending auth headermpriyank1-0/+1
- introduced configurable parameter to disable sending auth header in the request to dmi-plugin - default is to include the auth header - DMI_AUTH_ENABLED flag can be set to true/false to control the behaviour - Also added the env variables to the CSITs - updated release-notes Issue-ID: CPS-1819 Change-Id: If97c06e33f06e391d2190b7300d73210ed2f4e27 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2023-08-03Merge "Support pagination in query across all anchors(ep4)"Luke Gleeson1-1/+20
2023-08-02Support pagination in query across all anchors(ep4)rajesh.kumar1-1/+20
Add pagination query parameters in query across all anchors API pagination parameters (pageIndex and pageSize) are optional default is to query all fragments each pageSize represents number of records(number of anchors) TotalRecords is returned in response header to find number of pages. - If pagination option is provided in request then query number of anchors equal to pageSize. pageIndex is used for setting offset. - return number of records(one anchor per record) as per pagesize and pageSize Issue-ID: CPS-1605 Change-ID: I73f97f986a817d423f93a8d922dcd9647b2504bc Signed-off-by: rajesh.kumar <rk00747546@techmahindra.com>
2023-07-28Add 'direct' keyword to descendants option to query direct children (ep1)Rudrangi Anupriya1-8/+8
-added 'direct' keyword also to Fetch Descendants Option along with 'all' and 'none' to Query direct child. -added unit tests to test direct keyword Issue-ID:CPS-1784 Change-Id: Iab7f59fbeebb03703626132c6d5c2afde0e5ab4d Signed-off-by: Rudrangi Anupriya <ra00745022@techmahindra.com>
2023-07-27Update RTD (CPS-1515: Spike: Support Multiple CM-Handles for NCMP Get Operation)sourabh_sourabh8-151/+514
- Added information about data operation NCMP endpoint and kafka event details. - Re-structured "CPS-Events" and "Modeling" page. Issue-ID:CPS-1785 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech> Change-Id: I2b077ccd7ccd6144a8f9f2183d927f922075f532 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2023-07-27Allow getDataNodes to read whole lists(ep 1)danielhanrahan1-1/+1
- getDataNodes can now retrieve list data nodes. Issue-ID: CPS-1696 Signed-off-by: arpitsingh <as00745003@techmahindra.com> Change-Id: I320a368d6cb73599d3f7c13fe9b8ab7d0cc69470
2023-07-21Prepare for next CPS-NCMP releaseegernug1-1/+30
Issue-ID: CPS-1797 Signed-off-by: egernug <gerard.nugent@est.tech> Change-Id: Ib2b840b6b37131f16afd879720658d2e45387d6a
2023-07-20Apostrophe handling in CpsPathParserdanielhanrahan2-2/+2
Apostrophe is not currently handled correctly, and having apostrophe in the xpath will lead to various errors. For example, normalizing this xpath works: /path[@name="I'm quoted"] -> /path[@name='I\'m quoted'] However the resulting xpath will throw a PathParsingException if parsed! (Thus path normalization is not idempotent.) - Use '' for escaping apostrophe in single quoted leaf value, to comply with XPath standard (and use "" for escaping in "). - Use Liquibase to make existing data comply with new rules. - Leaf values in data leaves are now unescaped, e.g. "I'm quoted" - Quoting is now consistent for leaf/text/contains conditions. Issue-ID: CPS-1769 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Iafc287f738254d7f99706c6bc548091c0ecd5aa0
2023-07-19Prepare for next CPS-NCMP releaseegernug1-1/+28
Issue-ID: CPS-1791 Signed-off-by: egernug <gerard.nugent@est.tech> Change-Id: Ide0fcdfa41656e25395ac8478da1bb489fd8663e