Renu Kumari [Fri, 11 Mar 2022 13:05:11 +0000 (08:05 -0500)]
Return Registration response for updating cmhandles
- Added CMHandleRegistrationResponse class for registration response
- Send response in the case of success and failure
- Each update operation in the request is independent on previous one
Issue-ID: CPS-896
Signed-off-by: Renu Kumari <renu.kumari@bell.ca>
Change-Id: Ic6cc69da48bd2078029784cabede4f5965054c03
Bruno Sakoto [Wed, 16 Mar 2022 21:14:39 +0000 (17:14 -0400)]
Upgrade to next snapshot version
Issue-ID: CPS-933
Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca>
Change-Id: I5ba87c850aa932737cc62e312a825c69a3db5a02
Bruno Sakoto [Wed, 16 Mar 2022 15:24:12 +0000 (11:24 -0400)]
Release container artifact for version 3.0.0
Issue-ID: CPS-933
Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca>
Change-Id: I3131b12f025248250755360fd1e3221c8fc89278
Bruno Sakoto [Wed, 16 Mar 2022 04:52:31 +0000 (00:52 -0400)]
Release maven artifacts for version 3.0.0
Issue-ID: CPS-933
Change-Id: I8bede2dfd5f230e42096d54c5f6644a588c15110
Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca>
Bruno Sakoto [Tue, 15 Mar 2022 12:09:07 +0000 (08:09 -0400)]
Create primary documentation for Jakarta release
* Update release notes
* Update openapi documentation
* Fix section title hierarchy
* Fix admin container directive not found
Issue-ID: CPS-935
Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca>
Change-Id: Iabdc357aa0168c1becafd6de1ac7703ec3bd1afa
efiacor [Tue, 15 Mar 2022 11:26:46 +0000 (11:26 +0000)]
[STRIMZI] Add strimzi kafka notes
Signed-off-by: efiacor <fiachra.corcoran@est.tech>
Change-Id: Id85d2708bdb2eb1ddfaa72740a5a9df5599f298b
Issue-ID: DMAAP-1681
sourabh_sourabh [Sat, 12 Mar 2022 17:11:10 +0000 (22:41 +0530)]
Async: NCMP Rest impl. including Request ID generation
- In case of invalid topic return http status 400 with error message
- Unit test is modified to handle/validate InvalidTopicException
Issue-ID: CPS-828
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
Change-Id: I05645c92ccebb8aa422a47f6edcde7b64088a118
Toine Siebelink [Mon, 14 Mar 2022 09:47:27 +0000 (09:47 +0000)]
Merge "Replacing ModelMapper with MapStruct"
Bruno Sakoto [Fri, 11 Mar 2022 22:32:13 +0000 (22:32 +0000)]
Merge "Async: NCMP Rest impl. including Request ID generation"
Toine Siebelink [Fri, 11 Mar 2022 17:39:03 +0000 (17:39 +0000)]
Merge "Updated cmhandle registration openapi documentation"
Toine Siebelink [Fri, 11 Mar 2022 10:40:54 +0000 (10:40 +0000)]
Merge "Removed ExtendedModuleReference Object"
Renu Kumari [Thu, 10 Mar 2022 21:02:55 +0000 (16:02 -0500)]
Updated cmhandle registration openapi documentation
- Fixed the cmhandle registration request example
Issue-ID: CPS-896
Signed-off-by: Renu Kumari <renu.kumari@bell.ca>
Change-Id: If4a7c820add676adb9637ce56678da3f5607bbcd
lukegleeson [Wed, 2 Mar 2022 14:32:47 +0000 (14:32 +0000)]
Replacing ModelMapper with MapStruct
- Removed Model Mapper from pom files
- Replaced ModelMapper with MapStruct
- Added Tests for MapStruct
- Changed mapstruct annotations for individual variables to be null safe rather than all variables
- Excluded generated code from code coverage
- Set ModuleReferences input to required for SchemaSet so that ModuleReferences list set to empty list rather than null
Issue-ID: CPS-127
Signed-off-by: lukegleeson <luke.gleeson@est.tech>
Change-Id: I43f874aea79f58dda5526c6fdead27d8474d90af
sourabh_sourabh [Thu, 3 Mar 2022 19:01:07 +0000 (00:31 +0530)]
Removed ExtendedModuleReference Object
-Introduced ModuleReference with 2 prop name and revision
-Removed default constructor of ModuleReference
Issue-ID: CPS-592
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
Change-Id: I27a8a521f133c0773ef0aa0b9700ac42f6bc613b
sourabh_sourabh [Wed, 16 Feb 2022 16:23:41 +0000 (21:53 +0530)]
Async: NCMP Rest impl. including Request ID generation
- Based on topic api can be sync or async
- RequestId is generated using UUID
- Used UriComponentBuilder to populate dmi service url.
- New test cases are introduced to validate service url generation.
Issue-ID: CPS-828
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
Change-Id: I2696d5cb012d9274b0c1265f16aa9b2369657f05
Bruno Sakoto [Tue, 8 Mar 2022 11:44:54 +0000 (11:44 +0000)]
Merge "Dependency Injection using Lombok"
mpriyank [Mon, 7 Mar 2022 11:47:39 +0000 (17:17 +0530)]
Dependency Injection using Lombok
- NotificationService dependency injection using Lombok and populate
dataspace patterns post injection.
Issue-ID: CPS-906
Change-Id: Ia7d32903b18861d22cdd4e6809d9fe746181d389
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
DylanB95EST [Fri, 4 Mar 2022 11:57:51 +0000 (11:57 +0000)]
Updating sequences in db migration script
Added a dynamic set value changeset for sequence id
to both changelog 05 and 10.
Issue-ID: CPS-900
Change-Id: Ia3ec0b66a89b151435acfa4ebaed3886307b75ea
Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
Bruno Sakoto [Thu, 3 Mar 2022 23:28:44 +0000 (23:28 +0000)]
Merge "Update dmi-registry yang to support cmHandle State"
Renu Kumari [Thu, 3 Mar 2022 14:27:49 +0000 (14:27 +0000)]
Merge "Bug fix for delete data node not working for root node"
puthuparambil.aditya [Tue, 1 Mar 2022 11:51:20 +0000 (11:51 +0000)]
Bug fix for delete data node not working for root node
Fixing event for deletion of container node
Fixing event for deletion of root node when '' is passed as xpath
Issue-ID: CPS-895
Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca>
Change-Id: I0676aec29e7b7e12bef2300219207ddc22414daa
lukegleeson [Thu, 10 Feb 2022 10:58:29 +0000 (10:58 +0000)]
Update dmi-registry yang to support cmHandle State
- Added dmi-registry@2022-02-10 which contains the new dmi-registry yang model to support the cmHandle State.
- Added changelog 12 which removes previous dmi-registries from the db
- Added changelog 13 which adds new dmi-registry
- Edited yangResourceCsvGenerator.py so that it generates for each argument given and does not generate the module_name and revision for dmi-registry@2021-12-13.
- Updated rollback for changeset 11.1
Issue-ID: CPS-874
Signed-off-by: lukegleeson <luke.gleeson@est.tech>
Change-Id: I4ab949f0bc00a52376b42a5ac8a33d397eefcedf
ToineSiebelink [Wed, 2 Mar 2022 13:32:56 +0000 (13:32 +0000)]
Update dependencies as recommended by SECCOM
See also https://wiki.onap.org/display/SV/Jakarta+CPS
Issue-ID: CPS-815
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
Change-Id: I184eabd45a62a99bbb09f09b699b74a5d51939f7
Toine Siebelink [Wed, 2 Mar 2022 12:39:56 +0000 (12:39 +0000)]
Merge "CPS-475 - Fix SQ codesmells introduced as aprt of CPS-887"
JosephKeenan [Wed, 2 Mar 2022 11:42:47 +0000 (11:42 +0000)]
CPS-475 - Fix SQ codesmells introduced as aprt of CPS-887
Issue-ID: CPS-475
Change-Id: If277242bd84e6c53d1ce288ac2a3803f99740ab2
Signed-off-by: JosephKeenan <joseph.keenan@est.tech>
mpriyank [Wed, 2 Mar 2022 10:10:22 +0000 (15:40 +0530)]
Addressed refactoring comments related to method name
- YangRepository method names streamlined as per JPA
Issue-ID: CPS-647
Change-Id: Ifd514947944131894d849bdbf1b7ec52959b0164
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
Toine Siebelink [Tue, 1 Mar 2022 16:51:33 +0000 (16:51 +0000)]
Merge "Adding missing rollback for Liquibase change logs"
DylanB95EST [Thu, 27 Jan 2022 17:12:52 +0000 (17:12 +0000)]
Create Endpoint For Get Cm Handles By Name
Create endpoint and implement logic for
get cm handle details by cm handle name
Issue-ID: CPS-817
Change-Id: I83bd2da9219d13fac715a08b19108028ca6f6751
Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
lukegleeson [Wed, 23 Feb 2022 17:45:10 +0000 (17:45 +0000)]
Adding missing rollback for Liquibase change logs
Issue-ID: CPS-874
Signed-off-by: lukegleeson <luke.gleeson@est.tech>
Change-Id: I13a48b306761cbbe104ed5597b43de9fd3507a8f
Bruno Sakoto [Mon, 28 Feb 2022 23:25:49 +0000 (23:25 +0000)]
Merge "Bug fix for delete data node not working for root node"
DylanB95EST [Mon, 21 Feb 2022 12:57:08 +0000 (12:57 +0000)]
NCMP Java API depends on NCM-Rest-API (cyclic) through json properties on Java API
Using POJO and new converter class instead
of previous object mapper
Issue-ID: CPS-893
Change-Id: I75531f386f08cb172d2901a4bbe97ae22cc5937e
Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
JosephKeenan [Tue, 15 Feb 2022 18:23:05 +0000 (18:23 +0000)]
CPS-887 Decreasing performance of cmHandle registration
- Creating temporary table module references from the
node
- Query returning new moduleReferences for node to be added to CPS
- Modified registration for node to use new implementation (incl. tests)
- Refactored some interface to use collection instead of list
- Modified SQL statements to use String.format()
- Fixed tests
Issue-ID: CPS-887
Signed-off-by: JosephKeenan <joseph.keenan@est.tech>
Change-Id: I58b17d29e8b9d6f7a644d33bf6cf8bf46f892580
Toine Siebelink [Mon, 28 Feb 2022 15:08:57 +0000 (15:08 +0000)]
Merge "Updated openapi.yaml to match to changes in get data node API"
puthuparambil.aditya [Fri, 25 Feb 2022 10:37:24 +0000 (10:37 +0000)]
Bug fix for delete data node not working for root node
Issue-ID: CPS-895
Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca>
Change-Id: Ia82b0df8e2cfdb9b396315a9d0e6c8f2b4deadcf
puthuparambil.aditya [Fri, 25 Feb 2022 13:24:03 +0000 (13:24 +0000)]
Updated openapi.yaml to match to changes in get data node API
1. updated the pom version to 3.0.0-SNAPSHOT
2. modified the examples for get data node api to match the post api.
Issue-ID: CPS-865
Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca>
Change-Id: Icf03522e9ba7fb9c245fd9f09b3eb8bb6f3ee60d
mpriyank [Wed, 23 Feb 2022 09:47:23 +0000 (15:17 +0530)]
Fix success response code CM Handle Registration
- changed registartion response code to 204 NO_CONTENT
- improved exception handling for registration API
- fixed failing csit related to changed response code
- updated the release notes for CPS-892 and CPS-837
Issue-ID: CPS-892
Change-Id: I616e340debf1583b058e7ae6b8960972eec00f3e
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
puthuparambil.aditya [Mon, 14 Feb 2022 10:56:35 +0000 (10:56 +0000)]
Align JSON DataNode for Get and Post/Put API in CPS
Issue-ID: CPS-865
Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca>
Change-Id: I60b1f9c94e79bdd66d60fe6a68f5fc4adc718d35
mpriyank [Fri, 28 Jan 2022 11:03:56 +0000 (16:33 +0530)]
Core logic to update,add or remove cmHandle properties
Issue-ID: CPS-837
Change-Id: Ia078b6a0291ae916931259a309dd592b0554da28
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
aditya puthuparambil [Wed, 16 Feb 2022 06:47:43 +0000 (06:47 +0000)]
Merge "Fragment handling decreasing performance for large number of cmHandles"
Renu Kumari [Thu, 10 Feb 2022 14:31:17 +0000 (09:31 -0500)]
Fix to keep yang resource cache in sync
- Removed schemaset from cache when schemaset is deleted
- Added separate test cases for yang resource cache
Issue-ID: CPS-864
Signed-off-by: Renu Kumari <renu.kumari@bell.ca>
Change-Id: Ie1f9978406de1c92b513549216873cba4a98cdd7
DylanB95EST [Fri, 11 Feb 2022 12:46:27 +0000 (12:46 +0000)]
Fragment handling decreasing performance for large number of cmHandles
- allow fragmentEntity to set parent id (needed for optimization)
- updated addListAlement and addChildDataNode to use new common optimized metghod to add to exsiting children
- ensure methods are transactional
- Refactored test around adding list elements to clearly define test
checking the presence of grandchild element
Issue-ID: CPS-886
Change-Id: Ic4381f0f7170ebd666d5bc8aa6ef2c4548d81766
Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
sourabh_sourabh [Tue, 8 Feb 2022 17:32:27 +0000 (23:02 +0530)]
Improve logging in NCMP
- Code to change to apply logs at runtime
- Fix for minor code smell
Issue-ID: CPS-855
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
Change-Id: I93a556fe0fb7ca05a42e84eb5ec4f84afaa8fd92
aditya puthuparambil [Mon, 14 Feb 2022 14:06:59 +0000 (14:06 +0000)]
Merge "Update release notes"
Toine Siebelink [Mon, 14 Feb 2022 08:38:56 +0000 (08:38 +0000)]
Merge "Upgrade SDN-C"
Bruno Sakoto [Fri, 11 Feb 2022 20:05:29 +0000 (15:05 -0500)]
Update release notes
Adding Istanbul releases:
* 2.0.2
* 2.0.3
* 2.0.4
Issue-ID: CPS-891
Change-Id: I49c8c6160a9a501f8a2c46e4ee79a6c27fff9198
Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca>
emaclee [Thu, 3 Feb 2022 15:45:26 +0000 (15:45 +0000)]
Upgrade SDN-C
Issue-ID: CPS-802
Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech>
Change-Id: I29604d4e57160c346b5a2a8ce30bda816eae2ecb
Signed-off-by: JosephKeenan <joseph.keenan@est.tech>
Signed-off-by: lukegleeson <luke.gleeson@est.tech>
sourabh_sourabh [Tue, 1 Feb 2022 09:26:02 +0000 (14:56 +0530)]
Document Logging Guidelines
Issue-ID: CPS-604
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
Change-Id: I7bf1cf8b57595e6fe9def00777c294bb90c5dc11
Bruno Sakoto [Wed, 9 Feb 2022 16:53:20 +0000 (16:53 +0000)]
Merge "Fix for retry mechanism on concurrent CmHandle registration"
puthuparambil.aditya [Thu, 3 Feb 2022 16:42:13 +0000 (16:42 +0000)]
Fix for retry mechanism on concurrent CmHandle registration
Issue-ID: CPS-856
Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca>
Change-Id: Ie7c0033f2987166315611f8a286ae3978466c75f
Renu Kumari [Mon, 31 Jan 2022 19:01:42 +0000 (14:01 -0500)]
Add support for delete data-node event
- Changed process event input to address delete
- Send null data in the event if the operation is DELETE
Issue-ID: CPS-791
Signed-off-by: Renu Kumari <renu.kumari@bell.ca>
Change-Id: If851f7132e94bcbcaf4324d07a2a00c90d1882b7
Renu Kumari [Mon, 7 Feb 2022 13:44:29 +0000 (13:44 +0000)]
Merge "Refactor Delete Anchor functionality"
aditya puthuparambil [Thu, 3 Feb 2022 11:09:26 +0000 (11:09 +0000)]
Merge "Test Scenario for replaceListContent"
Bruno Sakoto [Thu, 3 Feb 2022 06:32:00 +0000 (06:32 +0000)]
Merge "[TECHDEBT] Align CPS NCMP REST API Specification"
Renu Kumari [Thu, 20 Jan 2022 18:30:05 +0000 (13:30 -0500)]
Refactor Delete Anchor functionality
- Added a delete DataNode functionality in the CpsDataService
- CpsAdminService uses CpsDataService to delete DataNodes
Issue-ID: CPS-791
Signed-off-by: Renu Kumari <renu.kumari@bell.ca>
Change-Id: I090500dbc4a2ccf061dc105f979472137d43b06d
Renu Kumari [Wed, 2 Feb 2022 15:16:19 +0000 (15:16 +0000)]
Merge "Refactored Delete SchemaSet functionality"
ToineSiebelink [Wed, 2 Feb 2022 12:17:15 +0000 (12:17 +0000)]
Test Scenario for replaceListContent
-Improved a test scenarios for replaceListContent in CpsDataPersistenceServiceSpec
-Removed redundant SQL Data
-Used groovy shortcuts where posisble (no need for get...() methods when using Groovy :-)
Issue-ID: CPS-868
Change-Id: I3d29bbb0c5d035c6f266cf31bf2886f1bcf5d48a
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
JosephKeenan [Fri, 28 Jan 2022 11:22:22 +0000 (11:22 +0000)]
[TECHDEBT] Align CPS NCMP REST API Specification
- Updated ncmp.yml to align implementation with specification
- Added new Exception classes to differentiate between server NCMP
issues and client based NCMP issues
- Added 500 error to specification
- To be merged after https://gerrit.onap.org/r/c/cps/+/126848
- Added excpetion handlers for SerNcmpException & DmiRequestException
Issue-ID: CPS-823
Signed-off-by: JosephKeenan <joseph.keenan@est.tech>
Change-Id: If1c9c6c29c6ea2daa07753d7f766ef15c1ba4ca0
aditya puthuparambil [Wed, 2 Feb 2022 10:51:58 +0000 (10:51 +0000)]
Merge "[TECHDEBT] Align CPS Core REST API Specification and Implementation"
Toine Siebelink [Wed, 2 Feb 2022 09:52:53 +0000 (09:52 +0000)]
Merge "Database port not configurable through env variable"
JosephKeenan [Fri, 28 Jan 2022 10:02:24 +0000 (10:02 +0000)]
[TECHDEBT] Align CPS Core REST API Specification and Implementation
Issue-ID: CPS-822
Signed-off-by: JosephKeenan <joseph.keenan@est.tech>
Change-Id: Idde7525628f7e1425602069e0d75506ac621113e
Renu Kumari [Thu, 20 Jan 2022 17:07:38 +0000 (12:07 -0500)]
Refactored Delete SchemaSet functionality
- Added get anchors by schemaset in cpsAdminService
- Changed DeleteSchemaSet functionality
- Use CPSAdminService to getAnchors associated with schemaset
- Use CPSAdminService to delete Anchors
- Moved Cascade allowed validation into Service from Persistence
Issue-ID: CPS-791
Signed-off-by: Renu Kumari <renu.kumari@bell.ca>
Change-Id: Ife7644551183cb8c3eb686a654b0a43a427ac1e5
DylanB95EST [Tue, 14 Dec 2021 16:34:38 +0000 (16:34 +0000)]
Support 'public' Cm Handle Properties
Add support for new Public Additional Properties list to Register CM Handles API
Issue-ID: CPS-677
Change-Id: I6efc88734da2416f72f71a403622e519398b502d
Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
puthuparambil.aditya [Fri, 28 Jan 2022 13:22:33 +0000 (13:22 +0000)]
Database port not configurable through env variable
Issue-ID: CPS-867
Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca>
Change-Id: I1f5e00c6b814a5ba087ba0cc1832152b2317ad57
aditya puthuparambil [Thu, 27 Jan 2022 14:03:06 +0000 (14:03 +0000)]
Merge "Added CPS enhanced health check"
Nagendra90287 [Mon, 24 Jan 2022 09:20:15 +0000 (14:50 +0530)]
Added CPS enhanced health check
-Added new test for enhanced health check
Issue-ID: CPS-840
Change-Id: I6800620ee2b16c21e99b37b2ce07b179e29f9798
Signed-off-by: Nagendra90287 <nagendrakumar.pal@amdocs.com>
Toine Siebelink [Thu, 27 Jan 2022 09:29:21 +0000 (09:29 +0000)]
Merge "Improve logging in NCMP"
sourabh_sourabh [Thu, 20 Jan 2022 20:16:12 +0000 (01:46 +0530)]
Improve logging in NCMP
Issue-ID: CPS-855
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
Change-Id: I5d8a6a711d1c6b13d5d8eeba52a1dcd689dbdae2
sourabh_sourabh [Tue, 18 Jan 2022 16:27:46 +0000 (21:57 +0530)]
Replace gson mapper with jackson mapper
We introduced JsonObjectMapper (wapper) as Spring component.
Issue-ID: CPS-751
Change-Id: I536b0771a3a263325e6907717baf6941d70c0d6c
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
aditya puthuparambil [Fri, 21 Jan 2022 12:23:11 +0000 (12:23 +0000)]
Merge "patch operation for ncmp running"
tragait [Thu, 13 Jan 2022 13:15:14 +0000 (13:15 +0000)]
patch operation for ncmp running
Signed-off-by: tragait <rahul.tyagi@est.tech>
Change-Id: Ib136291963a5d7f115c8637708a1d5a64c62c9f2
Issue-ID: CPS-641
Toine Siebelink [Thu, 20 Jan 2022 17:00:25 +0000 (17:00 +0000)]
Merge "Add CSIT Test for Registration of a cm-handle endpoint"
mpriyank [Mon, 17 Jan 2022 19:37:00 +0000 (01:07 +0530)]
[TECHDEBT] Remove deprecated API methods related to NCMP
CpsQueryService instantiation removed as it was not in use.
License Header updated for Nordix Foundation to 2021-2022.
Issue-ID: CPS-642
Change-Id: I1aa204730f5d347d379cfdaaf0740323a317a559
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
DylanB95EST [Mon, 10 Jan 2022 16:28:33 +0000 (16:28 +0000)]
Add CSIT Test for Registration of a cm-handle endpoint
Integration Test for Registering a CM-Handle through NCMP with both
public and additional properties
Issue-ID: CPS-853
Change-Id: I1ea3f11f02cd8339f354c9671c4cdf6d68040713
Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
Toine Siebelink [Wed, 12 Jan 2022 14:20:13 +0000 (14:20 +0000)]
Merge "Send operation information in existing notification events"
Renu Kumari [Sun, 9 Jan 2022 13:38:31 +0000 (08:38 -0500)]
Send operation information in existing notification events
Issue-ID: CPS-791
Signed-off-by: Renu Kumari <renu.kumari@bell.ca>
Change-Id: Ic68dd476942291cf03afed99e95a245dafde5be9
DylanB95EST [Fri, 7 Jan 2022 15:05:43 +0000 (15:05 +0000)]
Register cm-handle returns 500 internal server error
Fix for bug around cm handle registration.
Issue around duplicate modules between dummy modules
inserted through liquibase changelog and create schema
CSIT test
Yang resources name have been changed in the zipped file
cps-ran-schema-model@2021-01-28 -> cps-ran-schema-model-test@2021-01-28
ietf-inet-types.yang -> ietf-inet-types-test.yang
ietf-yang-types.yang -> ietf-inet-types-test.yang
Module names have also been changed accordingly as above too,
along with the import in the cps-ran-schema-model yang resource.
Issue-ID: CPS-797
Change-Id: I83d2aea6de2611d904b22f70329e1135b5a41d81
Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
Toine Siebelink [Fri, 7 Jan 2022 14:34:35 +0000 (14:34 +0000)]
Merge "CPS-Core: Unable to parse JSON input with space for POST endpoint"
ToineSiebelink [Fri, 7 Jan 2022 12:41:45 +0000 (12:41 +0000)]
Remove Niamh as committer
Issue-ID: CPS-846
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
Change-Id: Ic0fa53e3805aeb40b1a8c89cf357080efab657f1
sourabh_sourabh [Wed, 5 Jan 2022 18:20:20 +0000 (23:50 +0530)]
CPS-Core: Unable to parse JSON input with space for POST endpoint
Issue-ID: CPS-831
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
Change-Id: If2f5f7034f05763990001c9dd8ccd9d8dc0099cf
puthuparambil.aditya [Wed, 5 Jan 2022 13:39:31 +0000 (13:39 +0000)]
cps-core update release notes
Issue-ID: CPS-841
Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca>
Change-Id: I85c6fbec632dc6349d36c5f481588279b4865609
puthuparambil.aditya [Wed, 5 Jan 2022 10:46:35 +0000 (10:46 +0000)]
cps-core Upgrade log4j to 2.17.1
Issue-ID: CPS-841
Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca>
Change-Id: I07a7c81e07e374adb4eea4460b2f407c302fc0a7
ToineSiebelink [Thu, 23 Dec 2021 12:36:40 +0000 (12:36 +0000)]
Remove compulsory body from delete passthrough request
- yaml spec (please note how order of parameter changed!)
- Updated CSIT test
- Slight improvement of cist setup script to prevent double download
Issue-ID: CPS-836
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
Change-Id: Ic3510c9dfe28a3be09f5239ab5c8c4797d4f4792
sourabh_sourabh [Mon, 20 Dec 2021 17:58:49 +0000 (23:28 +0530)]
Fix Sonar Qube Violations - Recurring task
Issue-ID: CPS-475
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
Change-Id: I5c10360ec42bc9737ed86140398ef954109275dd
Bruno Sakoto [Wed, 15 Dec 2021 16:15:18 +0000 (16:15 +0000)]
Merge "Update log4j version due to security vulnerability for CPS"
niamhcore [Wed, 15 Dec 2021 13:05:08 +0000 (13:05 +0000)]
Update log4j version due to security vulnerability for CPS
This change excludes old log4j libraries and includes newer versions
that are not tagged with a security vulnerability.
Issue-ID: CPS-820
Signed-off-by: niamhcore <niamh.core@est.tech>
Change-Id: I4b5a950b7f9abafa3a3fe56200ad577ed01d9934
JosephKeenan [Tue, 14 Dec 2021 12:25:21 +0000 (12:25 +0000)]
Adding unit tests and robuestness for DMI registration
-Added more scenarios for combinations of plugins
-Made plugin registration more robust
Issue-ID: CPS-736
Signed-off-by: JosephKeenan <joseph.keenan@est.tech>
Change-Id: I7495eb802fec8708e7ea6b0a97a9d7fe4676c8c1
Toine Siebelink [Tue, 14 Dec 2021 16:23:49 +0000 (16:23 +0000)]
Merge "Changing putOperationWithJson to postOperationWithJson"
JosephKeenan [Wed, 8 Dec 2021 18:16:44 +0000 (18:16 +0000)]
Changing putOperationWithJson to postOperationWithJson
-Modified responseEntity<String> to reesponseEntity<Object>
-Changed behaviour of sync to use new repsonses and removed JSON parsing
-Updated tests to use new responsess
-Tests have been updated and added jira to docs
-Added messageConverters to RestTemplate to support plain text with
ResponseEntity<Object>
-Added docker log output for cps & dmi containers during CSIT teardown
-Moved reponse conversion from service into DMIModelOperations class
-Added response handling test (edgecases)
-Updated response request body for passthrough-running CSIT test to pass
Issue-ID: CPS-777
Signed-off-by: JosephKeenan <joseph.keenan@est.tech>
Change-Id: If2acf83a97b8aad5aa2c342154d807a47cace6a0
Toine Siebelink [Tue, 14 Dec 2021 15:10:08 +0000 (15:10 +0000)]
Merge "Add exception handling to delete schema set when a registration is removed"
niamhcore [Mon, 13 Dec 2021 10:34:52 +0000 (10:34 +0000)]
Add exception handling to delete schema set when a registration is removed
Issue-ID: CPS-783
Signed-off-by: niamhcore <niamh.core@est.tech>
Change-Id: Ief4c6727e788822bc29379a757d25dff14f68c94
Niamh Core [Mon, 13 Dec 2021 15:05:19 +0000 (15:05 +0000)]
Merge "Define response objects(schemas) in cps-ncmp"
puthuparambil.aditya [Wed, 8 Dec 2021 18:53:39 +0000 (18:53 +0000)]
Define response objects(schemas) in cps-ncmp
Issue-ID: CPS-559
Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca>
Change-Id: Id181f2a1b9554118f5e7464c95e873f09fc908eb
Niamh Core [Fri, 10 Dec 2021 10:15:50 +0000 (10:15 +0000)]
Merge "CSIT Tests for NCMP Delete on Passthrough Running. 3/3"
DylanB95EST [Tue, 30 Nov 2021 15:07:35 +0000 (15:07 +0000)]
CSIT Tests for NCMP Delete on Passthrough Running. 3/3
Adding Integration End To End tests for delete passthrough running with
SDNC.
Change-Id: I0e9aeefe3456d404f0f03b60bee0d08b3464cb6f
Issue-ID: CPS-769
Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
niamhcore [Wed, 8 Dec 2021 14:19:02 +0000 (14:19 +0000)]
Delete anchor and schema set when a registration is removed
Issue-ID: CPS-783
Signed-off-by: niamhcore <niamh.core@est.tech>
Change-Id: I9644949e00c4de900b2609c1e70744ae5a243582
DylanB95EST [Tue, 23 Nov 2021 15:16:15 +0000 (15:16 +0000)]
Add CSIT Tests for Update Operation on Passthrough-running 2/3
Add robot integration test for update scenario in Passthrough-running
Modify existing write data test json body to include better examples
Issue-ID: CPS-768
Change-Id: Ie769a33a86ec1a8384585484c54598189fdd5124
Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
Bruno Sakoto [Wed, 8 Dec 2021 12:09:40 +0000 (12:09 +0000)]
Merge "Upgrade event schema to support delete operation"
DylanB95EST [Tue, 30 Nov 2021 15:07:35 +0000 (15:07 +0000)]
Support Delete operation for ds Passtrough-Running in NCMP 1/3
Add delete operation for passthrough running within cps-ncmp.
Issue-ID: CPS-638
Change-Id: I360672adc1f0f5c8eb351391c94f2d4fa913d0b4
Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
Renu Kumari [Mon, 6 Dec 2021 17:37:10 +0000 (12:37 -0500)]
Upgrade event schema to support delete operation
Issue-ID: CPS-789
Signed-off-by: Renu Kumari <renu.kumari@bell.ca>
Change-Id: I2625f0cc068618bea820ad9503ee75c5a7ae4c5f
Niamh Core [Tue, 7 Dec 2021 11:38:07 +0000 (11:38 +0000)]
Merge "Undo manipulation of YangResource string as this is now handled correctly in DMI PLugin"