summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2024-03-06Merge "Log all incoming HTTP requests to NCMP with Authorization Header"Toine Siebelink2-0/+53
2024-03-06Merge "Update postman collection to utilize newest yang files"Toine Siebelink1-19/+60
2024-03-06Merge "Error reporting when registering cm handle with alternate id 2 - ↵Toine Siebelink7-126/+147
update scenario"
2024-03-05Error reporting when registering cm handle with alternate id 2 - update scenariohalil.cakal7-126/+147
- added error collection to cmhandle update Issue-ID: CPS-2109 Change-Id: I751cad7c35ec53e914888760dd66eb52054da36e Signed-off-by: halil.cakal <halil.cakal@est.tech>
2024-03-05Integration test of Bearer Token pass-through (CPS-2126 #5)danielhanrahan3-2/+132
This covers REST endpoints of GET, POST, PUT, PATCH, DELETE of /ncmp/v1/ch/{cmHandleId}/data/ds/{datastoreName} and the async REST endpoint of POST /ncmp/v1/data It verifies that: - bearer token is passed from NCMP to DMI - basic auth header is not passed from NCMP to DMI Issue-ID: CPS-2137 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Ie4761a848904175a9d8cd5b917817e85f5b69813
2024-02-29Bump CPS to 3.4.7-SNAPSHOTmpriyank25-25/+52
- 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-29Merge "Add container yaml for release"Sourabh Sourabh1-0/+8
2024-02-29Add container yaml for releasempriyank1-0/+8
- add container yaml to relase CPS 3.4.6 version Issue-ID: CPS-2135 Change-Id: Iabf6b3de1e29c894e95bb5659c0a357dd9876991 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-02-29Add maven stage yamlmpriyank1-0/+4
- maven stage yaml to release 3.4.6 version of CPS Issue-ID: CPS-2135 Change-Id: Icce73ceece62c889596bd757abe74844cd2f9531 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-02-29Merge "Release notes added for 3.4.6"Sourabh Sourabh4-490/+53
2024-02-29Add bearer token to NCMP async batch data passthrough (CPS-2126 #4)danielhanrahan8-29/+44
Async processing was not passing bearer token. Issue-ID: CPS-2128 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I75da35cce555c49cca638b68f106a9daba79c24a
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-29Update postman collection to utilize newest yang filesJvD_Ericsson1-19/+60
Issue-ID: CPS-2054 Change-Id: Id7aec68922157b1e662418de880742114b6ccc9e Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
2024-02-29Add bearer token to NCMP passthrough operations (CPS-2126 #2)danielhanrahan19-91/+164
For NCMP resource data passthrough operations, accept an authorization header and propagate it to outgoing DMI request if it has a bearer token, otherwise use same behaviour as before Issue-ID: CPS-2128 Change-Id: Ib3bf401abce4221a8b706989fb6f07618aa33fe2 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
2024-02-29Merge "Remove Http Status 401 for cps core and NCMP(CPS-2126 #3)"Sourabh Sourabh10-92/+0
2024-02-29Remove Http Status 401 for cps core and NCMP(CPS-2126 #3)mpriyank10-92/+0
- Removing Unauthorized Http Status code 401 from the repo for CPS-Core and NCMP Issue-ID: CPS-2134 Change-Id: I535156fa30dd4292ad390177c217ddb3e8942d34 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-02-29Disable Spring Security and HTTP Basic Auth (CPS-2126 #1)danielhanrahan3-112/+4
This allows any authorization header to be passed in. Issue-ID: CPS-2127 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Ib1c5bd7024eed39afd1ae6e19325ed4733c853d4
2024-02-28Revert Spring Boot Upliftmpriyank18-44/+69
- reverting back to spring 3.1.2 - manual changes to revert as other apps not fully ready for the delivery Issue-ID: CPS-2133 Change-Id: I670b67916fa4a5d4e5bced6548b7fcd5ee12e855 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-02-28Log all incoming HTTP requests to NCMP with Authorization Headersourabh_sourabh2-0/+53
- Enabled configuration to log NCMP request header and payload. - Enabled the DEBUG level log into application.yml. Issue-ID: CPS-2131 Change-Id: I458b1148894b8f460b013f0fa93032231ac47938 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2024-02-27Bump CPS to 3.4.6-SNAPSHOTmpriyank25-25/+53
- 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-27Add maven container yamlmpriyank1-0/+8
- maven container yaml for the cps 3.4.5 release Issue-ID: CPS-2124 Change-Id: I185562247b39b7eed0f489be2f1cabd432a53a9b Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-02-27Add maven stage yamlmpriyank1-0/+4
- maven stage yaml for 3.4.5 version of CPS Issue-ID: CPS-2124 Change-Id: I61aadcf6400ba47ee511b4da1e324909473d6860 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-26Merge "Populate cmSubscription cache"Priyank Maheshwari8-27/+293
2024-02-26Merge "Create shared postman collections"Sourabh Sourabh8-0/+2154
2024-02-26Merge "Add passthrough read operation (synchronous) to DMI stub"Lee Anjella Macabuhay2-6/+118
2024-02-26Populate cmSubscription cacheemaclee8-27/+293
- Create subscription cache handler - Add unit tests Issue-ID: CPS-2025 Change-Id: I54d505369a8429d6f6a87a2af0b169f9530622c3 Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech>
2024-02-26Merge "Get Subscription Delta"Priyank Maheshwari6-8/+134
2024-02-26Merge "Limit max connections in DMI stub"Priyank Maheshwari1-0/+3
2024-02-26Merge "Use default values for timers in docker-compose"Priyank Maheshwari1-3/+0
2024-02-26Add passthrough read operation (synchronous) to DMI stubdanielhanrahan2-6/+118
- Implement DMI stub endpoint needed for for NCMP passthrough data operation, returning a fixed JSON response and adding delay. POST /dmi/v1/ch/{cmHandleId}/data/ds/{datastoreName} - Add script to measure average overhead for many requests Test results indicate the NCMP adds up to 150ms per request. Issue-ID: CPS-2099 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I2aba8285f8a52f3570fc1699a8687caffa9d9c77
2024-02-26Merge "Remove subscriptionModelLoader flag"Lee Anjella Macabuhay7-52/+17
2024-02-26Merge "Uplift Spring Boot to 3.2.2"Priyank Maheshwari18-67/+40
2024-02-26Merge "Add health check endpoint to DMI stub"Priyank Maheshwari2-3/+13
2024-02-23Remove subscriptionModelLoader flagmpriyank7-52/+17
- removed the flag as the functionality around model loader is stable now - removed the config parameter from the application yaml file as well Issue-ID: CPS-2112 Change-Id: Ie4e3317c0689615b900dcd9bbf1896bc3a5f37b3 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-02-23Bump CPS to 3.4.5-SNAPSHOTdanielhanrahan25-25/+54
- 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
2024-02-23Add container yaml for CPS 3.4.4danielhanrahan1-0/+8
- added container yaml to release the docker images for CPS 3.4.4 Issue-ID: CPS-2120 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I9786dd5a3fc4d1597e24304236c427c0658c44b1
2024-02-23Add maven stage yaml for CPS 3.4.4danielhanrahan1-0/+4
- maven stage yaml to release 3.4.4 Issue-ID: CPS-2120 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Iad423641f9fb214d195a6376d5c0496dff52bc79
2024-02-23Update release notes for CPS 3.4.4danielhanrahan1-0/+3
- updated release notes for 3.4.4 - no openapi changes Issue-ID: CPS-2120 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I1634ed15b058e50c205dcf15ad59c21cce0e4972
2024-02-23Create shared postman collectionsJvD_Ericsson8-0/+2154
Issue-ID: CPS-2054 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I0a7e941bc4accfe00edaf7157df5a8ebabadb187
2024-02-23Limit max connections in DMI stubdanielhanrahan1-1/+4
DMI plugin in a real deployment could only handle a limited number of parallel connections. From CPS-1968 of testing in a realistic deployment, 25 max connections is chosen as a reasonable default. This allows us to simulate rate limiting with DMI stub. Functionality has been verified by changing the max connections and registering 5000 CM-handles. It takes: - 120 seconds with 8 max DMI connections - 80 seconds with 16 max DMI connections Issue-ID: CPS-2117 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I6aaf43f721d6f2e6dcff45929fc9699e26980cdb
2024-02-23Get Subscription Deltaseanbeirne6-8/+134
-Added @AllArgsConstructor to improve readability Issue-ID: CPS-1953 Change-Id: Id457561edb8ce8c00c9c93a1453ec37da5174b38 Signed-off-by: seanbeirne <sean.beirne@est.tech>
2024-02-23Merge "CmNotificationSubscription event from Dmi Plugin"Lee Anjella Macabuhay3-0/+153
2024-02-23Use default values for timers in docker-composedanielhanrahan1-3/+0
docker-compose.yml is overriding NCMP timers, e.g. module sync timer is overridden from default of 5 seconds to 30 seconds, which negatively affects performance testing. Issue-ID: CPS-2119 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Ic664169ddeed9cce59416dde50ec919cfcea522a
2024-02-23Add health check endpoint to DMI stubdanielhanrahan2-3/+13
DMI stub health check endpoint /actuator/health is needed for NCMP to set trust level. Can be verified using: curl "http://localhost:8784/actuator/health" which reports: {"status":"UP"} Issue-ID: CPS-2118 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I4477a389a585280d36028b72d280028705e0f8f2
2024-02-23Error reporting when registering cm handle with alternate idhalil.cakal11-205/+221
- refactored registration code all use cases; 1 method for each action - introduce new cps error code; 111 - TODO: error reporting registration, UPDATE Issue-ID: CPS-2100 Change-Id: I5049777ee4e08fdc94aa1db09e668e952ed8e1c3 Signed-off-by: halil.cakal <halil.cakal@est.tech>
2024-02-23Merge "NCMP to DMI CmSubscription Event"Lee Anjella Macabuhay2-0/+138
2024-02-22Uplift Spring Boot to 3.2.2waqas.ikram18-67/+40
- Upgraded hypersistence-utils-hibernate-60 to hypersistence-utils-hibernate-63 - Introduced @Qualifier annotations where needed Issue-ID: CPS-2101 Change-Id: I8303592ed91584deb6ca5cd4e49800210b6ea989 Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
2024-02-22Merge "NCMP to Client Cm Subscription Event"Lee Anjella Macabuhay2-0/+119