summaryrefslogtreecommitdiffstats
path: root/docs
AgeCommit message (Collapse)AuthorFilesLines
2024-08-21Update openapi for 3.5.2danielhanrahan3-24/+59
- update info.version to 3.5.2 for openapi yamls - update read-the-docs copies of openapi docs Issue-ID: CPS-2374 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I7f726f610fe8eff43e281edfe2fc6d9b08f5fc15
2024-08-21Merge "Release notes for moduleSetTag perf improvement"Priyank Maheshwari1-0/+1
2024-08-21Merge "Release notes for Cm Subscriptions"Daniel Hanrahan1-0/+1
2024-08-21Release notes for moduleSetTag perf improvementdanielhanrahan1-0/+1
Issue-ID: CPS-2353 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Ic6c281934c8be8f85cf20b6c65e447a31a35ecc3
2024-08-21Release notes for Cm Subscriptionsmpriyank1-0/+1
- Added release notes for the CM Data Subscriptions epic for the positive scenarios. Issue-ID: CPS-2324 Change-Id: I1b61113a6bfa365a5856b97433098420dbf59c90 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-08-21[BUG] Blank alternateId overwrites existingdanielhanrahan1-0/+1
During CM-handle update, a blank "" alternateId will overwrite an already-set alternateId. Additionally during registration, if an alternateId consisting of whitespace is supplied, it will be persisted with whitespace. This fixes both issues by using isBlank/isNotBlank consistently. Issue-ID: CPS-2372 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I44e536cf87a31c6e975a82ed37769c1d2548653a
2024-08-20Faster alternate-id checks during registration (CPS-2366 #2)danielhanrahan1-0/+1
This improves performance when using alternate ID in registration. Instead of one CPS path query for each alternate ID, it sends one query for the whole batch using OR operator, e.g. /dmi-registry/cm-handles[@alternate-id='A' or @alternate-id='B'] Issue-ID: CPS-2366 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I5b10437f4a01c886b3c84e46ac727e0e79917589
2024-08-14new onap logothmsdt2-1/+1
Issue-ID: DOC-826 Change-Id: I7da5ba787243fb50a0f332e24825ae4967b5432c Signed-off-by: thmsdt <thomas.kulik@telekom.de>
2024-08-07Merge "Cm Subscriptions Docs"Sourabh Sourabh4-0/+185
2024-08-06Cm Subscriptions Docsmpriyank4-0/+185
- Included documentation for an overview of Cm Data Subscription for the Create and Delete use case. - Only included the json schemas for the events that are coming in and going out of NCMP. - Not mentioning anything abt the internal events we use between DMIs. - The docs can later be used to explain abt the notifications when they are implemented. Issue-ID: CPS-2324 Change-Id: I2497656e0e56c93054b7e92b1742a668463c3ffc Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-08-01Update OpenAPI Policy ExecutorToineSiebelink1-12/+0
- remove conflict error response in OpenAPI (mistakenly added here but only need for NCMP interface) Issue-ID: CPS-2335 Change-Id: Ib24a4d0853fff2104958879f7d247197725b5870 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
2024-07-31Refactor OpenAPI Policy ExecutorToineSiebelink5-38/+140
- replace payload with request(s) - replace payloadType with schema (one schema for each operation) - include conflict error response in OpenAPI - introduce 4 schemas in NCMP (doc module) for create, update, patch & delete - udpate stub & test to follow new API and use one schema for testign purposes Issue-ID: CPS-2335 Change-Id: Ifc40062ae83429a9ffba350ec3bcc28cb7147293 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
2024-07-30Uplift liquibase-core dependencympriyank1-0/+1
- upgraded from 4.21.0 to 4.28.0 - updated the release notes Issue-ID: CPS-2326 Change-Id: I8734fd8005438ec682e8b2f458ec84bbabb4be56 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-07-25Release notes update for CPS-2306 and CPS-2319Arpit Singh1-0/+2
Issue-ID: CPS-2319 Change-Id: I2ab58437c133521fdce10ade61b16e34cfdec0bc Signed-off-by: Arpit Singh <as00745003@techmahindra.com>
2024-07-15Bump CPS to 3.5.2 Snapshotmpriyank1-1/+29
- bump CPS to 3.5.2-SNAPSHOT - updated the release notes and prepared for the next release Issue-ID: CPS-2318 Change-Id: I584faf6218e60ad62e32ef8c3cb0deb4047149a2 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-07-15Release notes CPS 3.5.1mpriyank1-0/+1
- Added release notes and syncd the openapi files. Issue-ID: CPS-2318 Change-Id: I1982e31f3bcb9337ed9814cb55a4db885b157158 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-07-11Documentation updated in docs/ncmp-inventory-querying.rstsourabh_sourabh1-0/+20
- Existing API docs in docs/ncmp-cmhandle-querying.rst is updated where CPS Path is now supported as ancestor axis. Issue-ID: CPS-2289 Change-Id: I065179fe7c294588580448a8467765e9d116d33a Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2024-07-10Policy Executor API, make Authorization header optionalToineSiebelink1-1/+1
Issue-ID: CPS-22291 Change-Id: I2b8f9b97c92dfc640c8b40b7053c609bbdcb2f6e Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
2024-07-09Merge "Create PolicyExecutor Stub"Sourabh Sourabh1-12/+20
2024-07-08Create PolicyExecutor StubToineSiebelink1-12/+20
- Generate interface from OpenApi in RTD docs - Fixed Content Type in OpenAPI - Fixed Paths in OpenAPI - Made Authorization header compulsory in OpenAPI - All 'enum' values in OpenAPI lowercase (in linr with CPS/NCMP conventions) - Added impl with some basic functionality - Added testware - Pom includes docker image creation - Docker compose updated to deploy stub Issue-ID: CPS-2301 Change-Id: I462ad5c70474b2813fc04005c0d20a1b15b574ec Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2024-07-05[BUG] Fix handling of special characters in moduleSetTagdanielhanrahan1-0/+1
During CM-handle registration, moduleSetTag is sent as part of the JSON request body when getting modules from DMI. However, it incorrectly parses the moduleSetTag as JSON, instead of encoding to JSON. This results in parsing errors when moduleSetTag includes characters such as ':' Issue-ID: CPS-2302 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Ie38008e0effac2423a4d069a91587e47d8747d66
2024-07-04Release notes for Web Client prometheus metricssourabh_sourabh1-0/+1
- Release notes updated as we enabled http client prometheus metrics. Issue-ID: CPS-2121 Change-Id: I6918da7cd4e4523c1ec0ab6060bdc1686c141a9d Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2024-07-03Add Policy Executor Open API Interface definitionToineSiebelink3-4/+250
- OPenApi in RTD only (for now) - Bear authentication included in OpenApi - Placeholder RTD page (to be completed upon feature delivery) - For consistency (and color coding in editors) I put all Description and Example strings inside double qoutes "..." Issue-ID: CPS-2291 Change-Id: I7f16cdce2a06cb011997005fa8b86b54c044304a Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
2024-06-20Bump CPS version to 3.5.1-SNAPSHOTmpriyank1-1/+29
- bump cps version to 3.5.1-SNAPSHOT - updated release notes to make it ready for the next release Issue-ID: CPS-2283 Change-Id: I242cae7c95a87c1a9e225cce3eb7b36097f1e5ba Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-06-20Release notes and OpenApi syncmpriyank2-10/+151
- Release notes updated and openapi syncd for CPS-Core and NCMP Issue-ID: CPS-2283 Change-Id: Iafdebc65cbcec01bf0d6e6963bd9601fea5f5081 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-06-06CPS Delta API 2: Delta between anchor and payloadArpit Singh1-0/+2
- Second API to get Delta between an anchor and JSON payload - added new API getDeltaByDataspaceAnchorAndPayload - added controller and service layer methods getDeltaByDataspaceAnchorAndPayload - Core Delta algorithm remains same as the first API. getDeltaByDataspaceAnchorAndPayload will call getDeltaBetweenDataNodes Issue-ID: CPS-1836 Signed-off-by: Arpit Singh <as00745003@techmahindra.com> Change-Id: Id74cd930ce48e5cb414aa62c5381b79675788a37
2024-05-27CmDataSubscription status code updatempriyank1-6/+2
- Removing the unused NcmpRespnseStatus internal codes and messages - Introducing statusCode 1 for ACCEPTED and 104 for REJECTED of CmSubscription - Added check for status code and message both in the flow Issue-ID: CPS-2238 Change-Id: Id99f099a398392dbef1504f9d7c658665d163902 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-05-22Remove allowReserved from Swagger definitions for CPS & NCMPToineSiebelink1-24/+10
- this option was used on some URL parameters (by accident) - does not seem to affect production code but is at least misleading Issue-ID: CPS-2230 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: I32712a840346715f4891304c2059d49f10e959d6
2024-05-14CPS Bump to 3.4.10-SNAPSHOTmpriyank1-1/+28
- bumping CPS to 3.4.10-SNAPSHOT version Issue-ID: CPS-2221 Change-Id: I8513582791078762bfb9d828966028c233e031db Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-05-09Release note for cps-change-event togglempriyank1-0/+1
- Release notes to enable and disable the toggle functionality introduced. - If the CPS change events are of no interest to them then they can be disabled by the environment variable CPS_CHANGE_EVENT_NOTIFICATIONS_ENABLED Issue-ID: CPS-2211 Change-Id: If2fddb6a499e24194b3eeca2ecdf99b8fb5ec687 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-05-03Release notes is updated for error hanndling related to upgradesourabh_sourabh1-0/+1
operation Issue-ID: CPS-2204 Change-Id: Iaa3f61c53e4120cdf19b7ad1c3313fc32f904866 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2024-05-01Bump CPS versiondanielhanrahan1-1/+28
- bump cps to 3.4.9-SNAPSHOT - also updated the release notes Issue-ID: CPS-2205 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Ifd7feb413baac30e3cbbdf2aeaac5fbb5ae2e463
2024-05-01Update OpenAPI docs for 3.4.8danielhanrahan2-18/+42
Issue-ID: CPS-2205 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Ib520a55b099b7a89751dab7032cabeba19b6a934
2024-04-30Release notes update for 3.4.8danielhanrahan1-0/+2
Add release notes updates for bug fix CPS-2190 (slow module search) Issue-ID: CPS-2190 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I9c4500727640040593aacbd209c2d5ec6a86a315
2024-04-23[BUG] Make failed async task report failure on Kafka topicdanielhanrahan2-2/+7
- In event of async task timeout, error code 102 (DMI_SERVICE_NOT_RESPONDING) is sent to client topic. - In event of unexpected error (such as database unavailable), error code 108 (UNKNOWN_ERROR) is sent to client topic. - The default timeouts have been adjusted so that the task timeout (60s) is longer than the HTTP and Database timeouts (30s), so that expected codes are returned. Issue-ID: CPS-2186 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I84c3447a625e084c445ab2f5c01e2b32a0c971ac
2024-04-10Document new NCMP Status Code: 112, message too largeToineSiebelink1-0/+2
- Updated RTD - Added new value to relevant Enum (although not used in our code) Issue-ID: CPS-2178 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: I4ba8c1622921919ae253a292d96307439ef20e2a
2024-03-29Bump CPS versionmpriyank1-1/+24
- bump cps to 3.4.8-SNAPSHOT - also updated the release notes Issue-ID: CPS-2168 Change-Id: Iee7f1e2febbf28b0d5a2855d3128d9eb8bb3c490 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-03-29Release notes for 3.4.7 CPSmpriyank1-0/+1
- updated release notes for CPS 3.4.7 version Issue-ID: CPS-2168 Change-Id: I3a6689234e63db301787d49a5c76063c0b6203ae Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-03-26Merge "Condense Liquibase steps"Toine Siebelink1-0/+2
2024-03-26Condense Liquibase stepsdavid.mcweeney1-0/+2
Change-Id: I1493f49bb93c359df3ff7d4f928f9a94fb8b2604 Signed-off-by: david.mcweeney <david.mcweeney@est.tech> Issue-ID: CPS-2061
2024-03-19Update deployment docs for Postgres shared_buffers valuedanielhanrahan1-0/+7
- update deployment.rst to include info on Postgres shared_buffers Issue-ID: CPS-2156 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Ia6e896e066227477a4824c03336de270800698d2
2024-03-15Merge "[Bug] Removing inner TaskExecutor to call DMI"Sourabh Sourabh2-0/+5
2024-03-14[Bug] Removing inner TaskExecutor to call DMImpriyank2-0/+5
- Removing TaskExecutor from cps-ncmp-service package as anyways the call coming over from the cps-ncmp-rest layer is managed by a different thread executor(CpsNcmpTaskExecutor) - Provided 60secs timeout value. - Spawning new thread from a different executor might not be needed - Removing @Async from a non spring managed method as its of no use Issue-ID: CPS-2150 Change-Id: Ic99632983aff2c40df81421d782cf98ec600fc41 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-03-13Modify the get cmHandle api to return dataProducerIdentifier, moduleSetTag, ↵JvD_Ericsson2-0/+20
and alternateId (CPS-1964 2) Issue-ID: CPS-2113 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I672e5c8408e77a5fa15d6fc2f41438aca705484c
2024-02-29Bump CPS to 3.4.7-SNAPSHOTmpriyank1-1/+28
- bump cps to 3.4.7-snapshot - updated the relese notes Issue-ID: CPS-2135 Change-Id: Ib166ebae2e3de9a727b3d0d4d21832c8858f4108 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-02-29Release notes added for 3.4.6mpriyank4-490/+53
- added the release notes and openapi documentation Issue-ID: CPS-2135 Change-Id: Ib224353ca5a529b6788ecb67c6432b806acdf557 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-02-27Bump CPS to 3.4.6-SNAPSHOTmpriyank1-1/+29
- bumping CPS to 3.4.6-SNAPSHOT - updated the release notes Issue-ID: CPS-2124 Change-Id: Id28af9340da9c1ce118b2122e97b8717860c7932 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-02-27Release notes updatempriyank1-0/+1
- Added the spring boot uplift ticket Issue-ID: CPS-2124 Change-Id: I55b1e246d5bce92ed0a34deb19afe4903db4a7bc Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-02-27update link to upper-constraints.txtthmsdt1-3/+3
Issue-ID: DOC-823 Change-Id: I797b8e1058e8afe511bb9b140c75c887728ba311 Signed-off-by: thmsdt <thomas.kulik@telekom.de>
2024-02-23Bump CPS to 3.4.5-SNAPSHOTdanielhanrahan1-1/+30
- bump CPS to 3.4.5-SNAPSHOT and update the docs Issue-ID: CPS-2120 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Ia2ea81b40ec19b87d3b25359fbb25ffdcc3285dd