DylanB95EST [Mon, 11 Apr 2022 08:24:59 +0000 (09:24 +0100)]
Fix Sonar Qube Violations
Immediately return expression
Issue-ID: CPS-475
Change-Id: I2c33c94bef1ff097786299d3a037feea2b4ebbff
Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
DylanB95EST [Fri, 8 Apr 2022 14:53:50 +0000 (15:53 +0100)]
Fix Sonar Qube Violations - Recurring task
Fix sonar issues in CPS.
- Remove Unnecessary cast to List
- Immediately return expession
Issue-ID: CPS-475
Change-Id: Ic3fa2f3f92784682045a780d87c6737d04f37659
Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
Joseph Keenan [Fri, 8 Apr 2022 13:18:12 +0000 (13:18 +0000)]
Merge "Refactoring/ Adding Tests for Validation"
DylanB95EST [Mon, 4 Apr 2022 12:09:22 +0000 (13:09 +0100)]
Refactoring/ Adding Tests for Validation
Refactored classes affected by validation
Have added tests for anywhere where validation is used
Have refactored the parse and sync modules validation
to be validated at the public api method
Issue-ID: CPS-322
Change-Id: I4989cfd03300fbdca41571d0aa2d0b96978858ba
Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
Toine Siebelink [Fri, 8 Apr 2022 07:40:42 +0000 (07:40 +0000)]
Merge "Fix to stop build failure on CopyrightCheck Error"
Toine Siebelink [Fri, 8 Apr 2022 07:37:55 +0000 (07:37 +0000)]
Merge "Update info.yml for new Committer"
JosephKeenan [Thu, 7 Apr 2022 15:06:31 +0000 (16:06 +0100)]
Update info.yml for new Committer
-Updating INFO.yaml to include new committer for CPS (JosephKeenan)
Issue-ID: CPS-985
Signed-off-by: JosephKeenan <joseph.keenan@est.tech>
Change-Id: I08ca90749e13a977f83d173f2cd72146753c2370
lukegleeson [Thu, 7 Apr 2022 10:37:39 +0000 (11:37 +0100)]
Fix to stop build failure on CopyrightCheck Error
- This will make the maven build see an error thrown by the python script as a success and won't fail the build
Issue-ID: CPS-911
Signed-off-by: lukegleeson <luke.gleeson@est.tech>
Change-Id: Ibc5311de8a2f173a92e44c20c1c244f016a99588
Bruno Sakoto [Wed, 6 Apr 2022 18:57:06 +0000 (18:57 +0000)]
Merge "dmi plugin version updated to 1.2.0-SNAPSHOT-latest"
JosephKeenan [Mon, 28 Mar 2022 11:26:07 +0000 (12:26 +0100)]
Query based on Public CM Properties
-Updated OpenAPI for new Endpoint
-Will replace SQL with CPSPathQuery once investigation is complete
-Functionality in place to determine if public properties match -
-Added Unit and CSIT tests - small modifications may need to be made
-CSIT tests enhanced to add additional nodes and tests
Issue-ID: CPS-731
Change-Id: I403e603ce79c4a4a6994d51b459b5703510d5a83
Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
Signed-off-by: JosephKeenan <joseph.keenan@est.tech>
puthuparambil.aditya [Wed, 6 Apr 2022 13:44:22 +0000 (14:44 +0100)]
dmi plugin version updated to 1.2.0-SNAPSHOT-latest
CSIT updated to test the changes on Accept header
Issue-ID: CPS-957
Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca>
Change-Id: I2fb4abd5dff5ab7b02345ad6b4899987c2553130
sourabh_sourabh [Mon, 28 Mar 2022 12:21:55 +0000 (13:21 +0100)]
Async: NCMP Rest impl. including Request ID generation
- Restructured code and moved some of them at controller and service
layer.
- Unit is fixed and organized to it's belonging classes.
Issue-ID: CPS-828
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
Change-Id: I0919218e35b1d11cb579d707f376b76de80409da
puthuparambil.aditya [Tue, 29 Mar 2022 10:03:52 +0000 (11:03 +0100)]
[cps] Fix getResourceDataForPassthroughOperational endpoint
Get endpoint only accepts application/json.
Issue-ID: CPS-957
Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca>
Change-Id: Ifc7426fbcd6073a39554014dc18b2107b6343b16
Bruno Sakoto [Tue, 5 Apr 2022 12:30:00 +0000 (12:30 +0000)]
Merge "Structured Exception details for DMI"
mpriyank [Mon, 28 Mar 2022 10:17:47 +0000 (15:47 +0530)]
Structured Exception details for DMI
- Introduced DmiErrorMessage in API docs with 502 Bad Gateway
- HttpClientRequestException will be thrown which will be exposed as 502 BAD Gateway for the client from NCMP
Issue-ID: CPS-917
Change-Id: Iba8f159e8216bc1f63a9ab86208e5c802437e2e8
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
Renu Kumari [Mon, 28 Mar 2022 14:22:41 +0000 (10:22 -0400)]
Update CM-Handle registration response
- update openapi.yml with new response structure
- send only details of failed cm-handle operations
- updated csit to validate 200 status
Issue-ID: CPS-896
Signed-off-by: Renu Kumari <renu.kumari@bell.ca>
Change-Id: I3b868bcc5b8ff488c31faef51edc82c771452234
ToineSiebelink [Fri, 1 Apr 2022 08:00:44 +0000 (09:00 +0100)]
Fix issue around duplicate build tag
Fixes failing build after merge of CPS-322.
Duplicate build tag found in checkstyle POM
Issue-ID: CPS-322
Change-Id: I099e4242e419d7b393e7787d3f75f9909dce52ac
Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
Toine Siebelink [Thu, 31 Mar 2022 13:08:13 +0000 (13:08 +0000)]
Merge "Additional validation for names/identifiers"
Toine Siebelink [Wed, 30 Mar 2022 13:17:09 +0000 (13:17 +0000)]
Merge "Copyright Check Script"
DylanB95EST [Tue, 8 Mar 2022 17:26:34 +0000 (17:26 +0000)]
Additional validation for names/identifiers
Implementing additional regex validation for names/identifiers
in CPS
- Introduces a CpsValidator
- Applies to relevent java public API's
- Tests have been updated where necessary
Issue-ID: CPS-322
Change-Id: I29ab8820bb1fe0eee247e425d6bb018bcd38f28e
Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
Toine Siebelink [Mon, 28 Mar 2022 11:03:31 +0000 (11:03 +0000)]
Merge "Updated the Documentation with sample yang and json"
Renu Kumari [Wed, 23 Mar 2022 20:50:14 +0000 (16:50 -0400)]
Registration Response for Create cmhandles operations
- Changed implementation to register each cm-handle at a time
instead of registering all at once
- Removed YangCMHandleList class and using String format to
generated expected JSON
- Response of all three operation types is returned in the
updateDmiRegistrationAndSyncModule method
- Changed parseAndRemoveCmHandlesInDmiRegistration to protected
to keep in sync with create flow
- Refactored existing create CMHandle test cases
Issue-ID: CPS-896
Signed-off-by: Renu Kumari <renu.kumari@bell.ca>
Change-Id: I5b0c01b3b8e31ca7c257b1e04069e35268be1132
Toine Siebelink [Fri, 25 Mar 2022 18:29:31 +0000 (18:29 +0000)]
Merge "Add Start and Stop sessions on JAVA API"
lukegleeson [Tue, 8 Mar 2022 11:41:52 +0000 (11:41 +0000)]
Copyright Check Script
- Prints warnings to build log if copyright issues detected
- File ignore included for checkstyle folder and common extensions which don't have copyrights
- Included Tests
Issue-ID: CPS-911
Signed-off-by: lukegleeson <luke.gleeson@est.tech>
Change-Id: Idbdd050af964335cc32218e3c11c77d4101f9ecd
Renu Kumari [Fri, 18 Mar 2022 18:32:10 +0000 (14:32 -0400)]
Registration Response for Update and Delete cmhandles operations
- Process registration in the delete, create and update order
- updateRegistration returns DMIRegistartionRespons that contains
response for all operations
- Added logic to not delete cmhandle if schemaset deletion fails
Issue-ID: CPS-896
Signed-off-by: Renu Kumari <renu.kumari@bell.ca>
Change-Id: I907ff678d478894e7d4d3cc24b23a979c02ed97a
emaclee [Wed, 23 Mar 2022 11:02:03 +0000 (11:02 +0000)]
Add Start and Stop sessions on JAVA API
Issue-ID: CPS-899
Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech>
Change-Id: Idbeb922790824b1ca601d6d4798df45efa57d685
Toine Siebelink [Fri, 25 Mar 2022 14:03:47 +0000 (14:03 +0000)]
Merge "Update maven build deploy version"
Lathish [Tue, 15 Mar 2022 12:03:53 +0000 (12:03 +0000)]
Updated the Documentation with sample yang and json
Issue-ID: CPS-940
Change-Id: I66b2f0cc1007a23498803cca695aa3d19c0eb433
Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
JosephKeenan [Wed, 23 Mar 2022 15:01:33 +0000 (15:01 +0000)]
Update SpringBoot when approved version has Log4J 2.17.1 or higher
-Updated cps-dependencies/pom.xml SpringBoot to v2.6.4
-Updated cps-parent/pom.xml springboot maven to v2.6.4
-Updated spring cloud dependencies to 2021.0.1
Issue-ID: CPS-958
Change-Id: I37aca89edf6da83501414b4f202d3bb88464c801
Signed-off-by: JosephKeenan <joseph.keenan@est.tech>
emaclee [Thu, 24 Mar 2022 10:10:37 +0000 (10:10 +0000)]
Update maven build deploy version
Issue-ID: CPS-953
Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech>
Change-Id: Icc79e3836a186a2a9ce79c0e97965bc7e1fbb347
Toine Siebelink [Wed, 23 Mar 2022 08:26:22 +0000 (08:26 +0000)]
Merge "Update log4j dependency version from 2.17.1 to 2.17.2"
Bruno Sakoto [Tue, 22 Mar 2022 18:00:25 +0000 (18:00 +0000)]
Merge "Update docs to add info on providing additional config"
Toine Siebelink [Tue, 22 Mar 2022 17:31:18 +0000 (17:31 +0000)]
Merge "Return Registration response for updating cmhandles"
Renu Kumari [Mon, 21 Mar 2022 13:18:41 +0000 (09:18 -0400)]
Update docs to add info on providing additional config
- Added information on overriding values of spring-supported properties
Issue-ID: CPS-918
Signed-off-by: Renu Kumari <renu.kumari@bell.ca>
Change-Id: I660cd9ea0c4c73d972f9c1645f5ed28308282fdc
emaclee [Tue, 22 Mar 2022 10:09:42 +0000 (10:09 +0000)]
Update log4j dependency version from 2.17.1 to 2.17.2
Issue-ID: CPS-953
Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech>
Change-Id: I1f97b1864128c9e1105ecef2bfa5e598eefcd5d5
ToineSiebelink [Mon, 21 Mar 2022 16:17:23 +0000 (16:17 +0000)]
Update versions for next release
Update Minor version number (on master) for next release as part of creating
Jakarta release branch
Issue-ID: CPS-952
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
Change-Id: Ie96ae7ce8997774d3ea27275c73e7d0703257e5e
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
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>