cps.git
2 years agoSupport 'public' Cm Handle Properties 59/126359/24
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>
2 years agoMerge "Added CPS enhanced health check"
aditya puthuparambil [Thu, 27 Jan 2022 14:03:06 +0000 (14:03 +0000)]
Merge "Added CPS enhanced health check"

2 years agoAdded CPS enhanced health check 20/126720/2
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>
2 years agoMerge "Improve logging in NCMP"
Toine Siebelink [Thu, 27 Jan 2022 09:29:21 +0000 (09:29 +0000)]
Merge "Improve logging in NCMP"

2 years agoImprove logging in NCMP 82/126682/6
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

2 years agoReplace gson mapper with jackson mapper 33/126633/8
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>
2 years agoMerge "patch operation for ncmp running"
aditya puthuparambil [Fri, 21 Jan 2022 12:23:11 +0000 (12:23 +0000)]
Merge "patch operation for ncmp running"

2 years agopatch operation for ncmp running 92/126592/3
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

2 years agoMerge "Add CSIT Test for Registration of a cm-handle endpoint"
Toine Siebelink [Thu, 20 Jan 2022 17:00:25 +0000 (17:00 +0000)]
Merge "Add CSIT Test for Registration of a cm-handle endpoint"

2 years ago[TECHDEBT] Remove deprecated API methods related to NCMP 31/126631/6
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>
2 years agoAdd CSIT Test for Registration of a cm-handle endpoint 40/126540/6
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>
2 years agoMerge "Send operation information in existing notification events"
Toine Siebelink [Wed, 12 Jan 2022 14:20:13 +0000 (14:20 +0000)]
Merge "Send operation information in existing notification events"

2 years agoSend operation information in existing notification events 21/126521/7
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

2 years agoRegister cm-handle returns 500 internal server error 09/126509/2
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>
2 years agoMerge "CPS-Core: Unable to parse JSON input with space for POST endpoint"
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"

2 years agoRemove Niamh as committer 08/126508/1
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

2 years agoCPS-Core: Unable to parse JSON input with space for POST endpoint 83/126483/3
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

2 years agocps-core update release notes 78/126478/5
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

2 years agocps-core Upgrade log4j to 2.17.1 38/126438/1
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

2 years agoRemove compulsory body from delete passthrough request 76/126376/3
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

2 years agoFix Sonar Qube Violations - Recurring task 55/126355/1
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

2 years agoMerge "Update log4j version due to security vulnerability for CPS"
Bruno Sakoto [Wed, 15 Dec 2021 16:15:18 +0000 (16:15 +0000)]
Merge "Update log4j version due to security vulnerability for CPS"

2 years agoUpdate log4j version due to security vulnerability for CPS 56/126256/1
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

2 years agoAdding unit tests and robuestness for DMI registration 25/126225/4
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

2 years agoMerge "Changing putOperationWithJson to postOperationWithJson"
Toine Siebelink [Tue, 14 Dec 2021 16:23:49 +0000 (16:23 +0000)]
Merge "Changing putOperationWithJson to postOperationWithJson"

2 years agoChanging putOperationWithJson to postOperationWithJson 73/126173/15
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

2 years agoMerge "Add exception handling to delete schema set when a registration is removed"
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"

2 years agoAdd exception handling to delete schema set when a registration is removed 10/126210/4
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

2 years agoMerge "Define response objects(schemas) in cps-ncmp"
Niamh Core [Mon, 13 Dec 2021 15:05:19 +0000 (15:05 +0000)]
Merge "Define response objects(schemas) in cps-ncmp"

2 years agoDefine response objects(schemas) in cps-ncmp 58/126158/7
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

2 years agoMerge "CSIT Tests for NCMP Delete on Passthrough Running. 3/3"
Niamh Core [Fri, 10 Dec 2021 10:15:50 +0000 (10:15 +0000)]
Merge "CSIT Tests for NCMP Delete on Passthrough Running. 3/3"

2 years agoCSIT Tests for NCMP Delete on Passthrough Running. 3/3 92/126092/8
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>
2 years agoDelete anchor and schema set when a registration is removed 54/126154/2
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

2 years agoAdd CSIT Tests for Update Operation on Passthrough-running 2/3 53/125853/15
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>
2 years agoMerge "Upgrade event schema to support delete operation"
Bruno Sakoto [Wed, 8 Dec 2021 12:09:40 +0000 (12:09 +0000)]
Merge "Upgrade event schema to support delete operation"

2 years agoSupport Delete operation for ds Passtrough-Running in NCMP 1/3 91/126091/8
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>
2 years agoUpgrade event schema to support delete operation 98/126098/6
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

2 years agoMerge "Undo manipulation of YangResource string as this is now handled correctly...
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"

2 years agoUndo manipulation of YangResource string as this is now handled correctly in DMI... 05/126105/1
ToineSiebelink [Tue, 7 Dec 2021 11:30:10 +0000 (11:30 +0000)]
Undo manipulation of YangResource string as this is now handled correctly in DMI PLugin

Issue-ID: CPS-788

Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
Change-Id: I7d308a62699709770f3629cbc55a26fb0e382010

2 years agoMerge "https://jira.onap.org/browse/CPS-788 Test Disable removing of redundant escape...
Niamh Core [Tue, 7 Dec 2021 11:19:45 +0000 (11:19 +0000)]
Merge "https://jira.onap.org/browse/CPS-788 Test Disable removing of redundant escape characters"

2 years agohttps://jira.onap.org/browse/CPS-788 24/126024/2
ToineSiebelink [Wed, 1 Dec 2021 13:11:21 +0000 (13:11 +0000)]
https://jira.onap.org/browse/CPS-788
Test Disable removing of redundant escape characters

Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
Change-Id: I688cb7e0cee939bbbb5ffad637fb5c071c54bd1e

2 years agoMerge "CPS-723: Add Examples in the NCMP openapi"
Niamh Core [Tue, 7 Dec 2021 10:00:18 +0000 (10:00 +0000)]
Merge "CPS-723: Add Examples in the NCMP openapi"

2 years agoCPS-723: Add Examples in the NCMP openapi 42/126042/2
emaclee [Wed, 1 Dec 2021 09:42:37 +0000 (09:42 +0000)]
CPS-723: Add Examples in the NCMP openapi

Issue-ID: CPS-723
Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech>
Change-Id: I1263402595c0f97db7390716fcf8e086edc0a78a

2 years agoMerge "Changing putOperationWithJson to postOperationWithJson"
aditya puthuparambil [Fri, 3 Dec 2021 13:22:51 +0000 (13:22 +0000)]
Merge "Changing putOperationWithJson to postOperationWithJson"

2 years agoMerge "Adding examples in openapi for cps-core"
Toine Siebelink [Fri, 3 Dec 2021 10:14:19 +0000 (10:14 +0000)]
Merge "Adding examples in openapi for cps-core"

2 years agoAdding examples in openapi for cps-core 69/125869/8
puthuparambil.aditya [Wed, 24 Nov 2021 13:35:10 +0000 (13:35 +0000)]
Adding examples in openapi for cps-core

1. Added examples for all parameters, request body and response body
2. Changed the response/request type to Object from String for all json objects
3. Passed json format data in all tests
4. PUT and PATCH operations at present return empty response, hence examples are changed to be in sync

Issue-ID: CPS-780
Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca>
Change-Id: If6dd5bb48df4e1bbf1026eaadf315df8f972e282

2 years agoChanging putOperationWithJson to postOperationWithJson 69/125969/7
JosephKeenan [Mon, 29 Nov 2021 14:48:34 +0000 (14:48 +0000)]
Changing putOperationWithJson to postOperationWithJson

Issue-ID: CPS-736
Change-Id: I3fd2e0b6d6c20683b18f79ed78ed5c8990aee6d8
Signed-off-by: JosephKeenan <joseph.keenan@est.tech>
2 years agoPatch operation passthrough running 66/125866/3
niamhcore [Wed, 24 Nov 2021 10:53:51 +0000 (10:53 +0000)]
Patch operation passthrough running

Issue-ID: CPS-640
Signed-off-by: niamhcore <niamh.core@est.tech>
Change-Id: I6badf241bbec265800d6b316da7ab8ad7782eb17

2 years agoMerge "Allow separate registration of DMIDataPlugin and DmiModelPugin"
Niamh Core [Fri, 26 Nov 2021 09:37:46 +0000 (09:37 +0000)]
Merge "Allow separate registration of DMIDataPlugin and DmiModelPugin"

2 years agoAllow separate registration of DMIDataPlugin and DmiModelPugin 20/125720/12
JosephKeenan [Tue, 23 Nov 2021 12:18:28 +0000 (12:18 +0000)]
Allow separate registration of DMIDataPlugin and DmiModelPugin

Moved relevant code from NetworkCmProxyDataServiceImp to DmiOperations
Split DmiOperations into DMiData... and DMIModelOperations
Merged update-operation changes
Added tests for error message validation in NetworkCmProxyDataServiceImplSpec
Removede @Service from DMIOperations and added @component to
DmiDataOperations & DmiModelOperations
Verify sync robot test is now hardened
Added exitonfailure so robot tests stop after first encountered failed
test

Issue-ID: CPS-736
Change-Id: I0b40931cc8cd4fc0452328a0a7e0f60e6fc38d0a
Signed-off-by: JosephKeenan <joseph.keenan@est.tech>
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
2 years agoMerge "CPS-314: Delete Dataspace"
Toine Siebelink [Tue, 23 Nov 2021 14:56:49 +0000 (14:56 +0000)]
Merge "CPS-314: Delete Dataspace"

2 years agoCPS-314: Delete Dataspace 95/125795/4
niamhcore [Mon, 22 Nov 2021 11:44:38 +0000 (11:44 +0000)]
CPS-314: Delete Dataspace

Issue-ID: CPS-314
Change-Id: I778e2b784c7b1ff3fecc1036425708dc4ec73227
Signed-off-by: niamhcore <niamh.core@est.tech>
2 years agoUpdate release notes for NCMP 80/125780/3
niamhcore [Wed, 17 Nov 2021 11:02:07 +0000 (11:02 +0000)]
Update release notes for NCMP

Issue-ID: CPS-636
Signed-off-by: niamhcore <niamh.core@est.tech>
Change-Id: Ie55ffc94ab671eed682a3e8f3ee058ae4759e01c

2 years agoMerge "Update operation passthrough running - Service Layer"
Toine Siebelink [Mon, 15 Nov 2021 17:39:04 +0000 (17:39 +0000)]
Merge "Update operation passthrough running - Service Layer"

2 years agoUpdate operation passthrough running - Service Layer 45/125645/3
niamhcore [Mon, 8 Nov 2021 16:40:28 +0000 (16:40 +0000)]
Update operation passthrough running - Service Layer

Issue-ID: CPS-636
Signed-off-by: niamhcore <niamh.core@est.tech>
Change-Id: I13334df383a23e59b3368b8664c10e086b1eb4a8

2 years agoFix for get cm handle identifiers response body 76/125676/2
niamhcore [Wed, 10 Nov 2021 12:13:51 +0000 (12:13 +0000)]
Fix for get cm handle identifiers response body

Issue-ID: CPS-636
Signed-off-by: niamhcore <niamh.core@est.tech>
Change-Id: I35dabf8e5839c56a9ae1851495cc9bf15e633c21

2 years agoMerge "Fix for get anchor identifiers by module names"
Toine Siebelink [Tue, 9 Nov 2021 10:57:21 +0000 (10:57 +0000)]
Merge "Fix for get anchor identifiers by module names"

2 years agoFix for get anchor identifiers by module names 41/125641/4
niamhcore [Mon, 8 Nov 2021 14:27:18 +0000 (14:27 +0000)]
Fix for get anchor identifiers by module names

Issue-ID: CPS-762
Signed-off-by: niamhcore <niamh.core@est.tech>
Change-Id: Idf93f89f8427c5906c9f6b018633c8852b111821

2 years agoMerge "Improve internal documentation links"
Toine Siebelink [Mon, 8 Nov 2021 17:32:03 +0000 (17:32 +0000)]
Merge "Improve internal documentation links"

2 years agoMerge "CPS-475: Fix Sonar Qube Violations"
aditya puthuparambil [Mon, 8 Nov 2021 17:19:11 +0000 (17:19 +0000)]
Merge "CPS-475: Fix Sonar Qube Violations"

2 years agoImprove internal documentation links 44/125644/2
lukegleeson [Mon, 8 Nov 2021 15:53:12 +0000 (15:53 +0000)]
Improve internal documentation links

Issue-ID: CPS-749
Signed-off-by: lukegleeson <luke.gleeson@est.tech>
Change-Id: I449d14cfb6b5463394a80a8ef23180dd31a1ad50

2 years agoCPS-475: Fix Sonar Qube Violations 17/125617/5
emaclee [Mon, 8 Nov 2021 10:15:48 +0000 (10:15 +0000)]
CPS-475: Fix Sonar Qube Violations

Issue-ID: CPS-475
Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech>
Change-Id: I85ff6dc91c63bd7869712509a7a6f284a0631603

2 years agoDocumentations CPS-Path conditions mistake 25/125625/1
lukegleeson [Tue, 2 Nov 2021 09:42:46 +0000 (09:42 +0000)]
Documentations CPS-Path conditions mistake

Issue-ID: CPS-749
Signed-off-by: lukegleeson <luke.gleeson@est.tech>
Change-Id: I63895f5ec3cfdf16c75b416d6a51a40c72c82878
(cherry picked from commit d02d69a3d0ae4bb03017f18678a2dbb402b75abb)

2 years agoMerge "Update operation passthrough running - openapi"
Toine Siebelink [Mon, 8 Nov 2021 15:04:21 +0000 (15:04 +0000)]
Merge "Update operation passthrough running - openapi"

2 years agoUpdate operation passthrough running - openapi 52/125552/6
niamhcore [Tue, 2 Nov 2021 14:08:16 +0000 (14:08 +0000)]
Update operation passthrough running - openapi

Issue-ID: CPS-636
Signed-off-by: niamhcore <niamh.core@est.tech>
Change-Id: I16d7d84ae6897e3901f5f5a5a59dbc5deae7d4e8

2 years agoMerge "Clean up commented sections to include CPS-CORE in variable names"
Toine Siebelink [Fri, 5 Nov 2021 16:47:51 +0000 (16:47 +0000)]
Merge "Clean up commented sections to include CPS-CORE in variable names"

2 years agoClean up commented sections to include CPS-CORE in variable names 61/125561/3
DylanB95EST [Wed, 3 Nov 2021 13:55:44 +0000 (13:55 +0000)]
Clean up commented sections to include CPS-CORE in variable names

Clean up commented out sections to include CPS_CORE in variable name as
part of CPS-759 bug.

Issue-ID: CPS-759
Change-Id: I40bbe0407a4e4589be8f7563733de2355ea5b8b9
Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
2 years agoMerge "Delete DataNode (xpath) for a given Anchor"
Niamh Core [Wed, 3 Nov 2021 14:37:12 +0000 (14:37 +0000)]
Merge "Delete DataNode (xpath) for a given Anchor"

2 years agoMerge "Cps & ncmp docker compose failing"
Niamh Core [Wed, 3 Nov 2021 13:18:42 +0000 (13:18 +0000)]
Merge "Cps & ncmp docker compose failing"

2 years agoCps & ncmp docker compose failing 51/125551/1
DylanB95EST [Wed, 3 Nov 2021 11:20:07 +0000 (11:20 +0000)]
Cps & ncmp docker compose failing

Add default value to db hostname variable in docker compose file.

Issue-ID: CPS-759
Change-Id: Ib1aaa7f054c1a29f858ebaca3da31ed05d217713
Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
2 years agoDelete DataNode (xpath) for a given Anchor 45/125545/1
DylanB95EST [Tue, 2 Nov 2021 17:25:18 +0000 (17:25 +0000)]
Delete DataNode (xpath) for a given Anchor

Delete Datanode within CPS. Deprecates delete functionality of
/v1/dataspaces/{dataspace-name}/anchors/{anchor-name}/list-nodes.
New api is backwards compatible with this API

Issue-ID: CPS-313
Change-Id: I110c4ab1446e8a1399a0d9bf89c0be614a9104df
Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
2 years agoAdd get cm handles by modules names - service layer 73/125473/6
niamhcore [Thu, 28 Oct 2021 12:39:24 +0000 (13:39 +0100)]
Add get cm handles by modules names - service layer

Issue-ID: CPS-644
Signed-off-by: niamhcore <niamh.core@est.tech>
Change-Id: Ic2a57df02d533a0066382c12c35be8d524b6cdad

2 years agoMerge "Clean Up Code around List Nodes"
Toine Siebelink [Tue, 2 Nov 2021 14:15:17 +0000 (14:15 +0000)]
Merge "Clean Up Code around List Nodes"

2 years agoClean Up Code around List Nodes 41/125441/7
DylanB95EST [Fri, 29 Oct 2021 16:33:06 +0000 (17:33 +0100)]
Clean Up Code around List Nodes

Make sure code refers clearly to List (whole) nodes or List elements
incl. method names, parameter names,  test descriptions etc.

Issue-ID: CPS-756
Change-Id: Ic9dae6565c0e84c1ba4c2d6e891d3ea307f589da
Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
2 years agoMerge "Remove org.jetbrains.annotations dependency"
Niamh Core [Fri, 29 Oct 2021 14:36:48 +0000 (14:36 +0000)]
Merge "Remove org.jetbrains.annotations dependency"

2 years agoMerge "Add get cm handles by modules names - persistence layer"
Toine Siebelink [Fri, 29 Oct 2021 13:37:42 +0000 (13:37 +0000)]
Merge "Add get cm handles by modules names - persistence layer"

2 years agoAdd get cm handles by modules names - persistence layer 13/125213/11
niamhcore [Thu, 21 Oct 2021 14:19:04 +0000 (15:19 +0100)]
Add get cm handles by modules names - persistence layer

- Add sql query to anchor repository
- Add sql query to yang resource repository

Issue-ID: CPS-644
Signed-off-by: niamhcore <niamh.core@est.tech>
Change-Id: I85ab1fcb343e6be77628695153d8d9f303dc3112

2 years agoRemove org.jetbrains.annotations dependency 30/125430/3
Bruno Sakoto [Thu, 28 Oct 2021 09:23:31 +0000 (11:23 +0200)]
Remove org.jetbrains.annotations dependency

It is not part of spring boot 2.5.5 anymore
and using it to enforce code invariant is not consistent
in the overall code base.

Issue-ID: CPS-582
Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca>
Change-Id: I6b2c1b8340cda376b70daa2ac092b3d02daa8960

2 years agoChange jacoco-report module parent for cps-parent 24/125324/2
Bruno Sakoto [Mon, 25 Oct 2021 10:41:40 +0000 (12:41 +0200)]
Change jacoco-report module parent for cps-parent

Issue-ID: CPS-582
Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca>
Change-Id: I57d654edb70a3bbf913c158698aee4149390d75d

2 years agoMerge "Upgrade maven dependencies"
Toine Siebelink [Fri, 22 Oct 2021 07:26:15 +0000 (07:26 +0000)]
Merge "Upgrade maven dependencies"

2 years agoMerge "Add missing doc label (for NCMP modelling)"
Niamh Core [Thu, 21 Oct 2021 15:19:08 +0000 (15:19 +0000)]
Merge "Add missing doc label (for NCMP modelling)"

2 years agoMerge "fix docker-compose for ncmp"
Niamh Core [Thu, 21 Oct 2021 15:00:53 +0000 (15:00 +0000)]
Merge "fix docker-compose for ncmp"

2 years agoAdd missing doc label (for NCMP modelling) 10/125210/1
ToineSiebelink [Thu, 21 Oct 2021 12:35:34 +0000 (13:35 +0100)]
Add missing doc label (for NCMP modelling)

Issue-ID: CPS-721
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
Change-Id: Ib379c4e80a3caf312658146b088926de1d8145ea

2 years agofix docker-compose for ncmp 34/125134/7
tragait [Tue, 19 Oct 2021 15:46:21 +0000 (16:46 +0100)]
fix docker-compose for ncmp

Issue-ID: CPS-725
Signed-off-by: tragait <rahul.tyagi@est.tech>
Change-Id: Ibd646c225b4b9b205fdc34012f10a627e7827513

2 years agoMerge "Prepare for links accross different name-spaces"
Niamh Core [Thu, 21 Oct 2021 11:36:35 +0000 (11:36 +0000)]
Merge "Prepare for links accross different name-spaces"

2 years agoPrepare for links accross different name-spaces 78/125178/1
ToineSiebelink [Thu, 21 Oct 2021 11:11:25 +0000 (12:11 +0100)]
Prepare for links accross different name-spaces

-add intersphinx mapping
-add labels for re-use in other CPS components

Issue-ID: CPS-721

Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
Change-Id: Ib45716e75f85bd3ba28295ffe79db95e3575daaa

2 years agoMerge "Add get cm handles by modules to open api"
Toine Siebelink [Thu, 21 Oct 2021 10:01:54 +0000 (10:01 +0000)]
Merge "Add get cm handles by modules to open api"

2 years agoUpgrade maven dependencies 74/125174/1
Bruno Sakoto [Wed, 20 Oct 2021 15:30:29 +0000 (17:30 +0200)]
Upgrade maven dependencies

* Spring boot dependencies is upgraded to 2.5.5
* Springdoc openapi ui is upgraded to 1.5.11
* Jetbrains annotations dependency is added as it is not coming
  anymore with spring boot dependencies

Issue-ID: CPS-582
Change-Id: I1c4fd54a11216eb2a14b73a1e0461ef7f4252e69
Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca>
2 years agoTest links accross different name-spaces 72/125172/1
ToineSiebelink [Thu, 21 Oct 2021 08:35:48 +0000 (09:35 +0100)]
Test links accross different name-spaces
(includes .gitignore update for log.zip files)

Issue-ID: CPS-721
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
Change-Id: I837db878288ca8d630fb2d0952d5d726d68b1c73

2 years agoAdd get cm handles by modules to open api 20/125120/5
niamhcore [Tue, 19 Oct 2021 10:07:02 +0000 (11:07 +0100)]
Add get cm handles by modules to open api

Issue-ID: CPS-644
Signed-off-by: niamhcore <niamh.core@est.tech>
Change-Id: I228782027cafcf59843ff4b8de1dd5ea3988ddba

2 years agoFixing ciruclar dependency issue 23/125123/1
puthuparambil.aditya [Tue, 19 Oct 2021 11:06:57 +0000 (12:06 +0100)]
Fixing ciruclar dependency issue

Issue-ID: CPS-738
Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca>
Change-Id: I74a0aefb477d36ba2320332fd82e91cf8324bd84

2 years agoCPS-475 - fix sonar smells 70/125070/2
JosephKeenan [Mon, 18 Oct 2021 11:58:01 +0000 (12:58 +0100)]
CPS-475 - fix sonar smells

Issue-ID: CPS-475

Change-Id: Ifbf14eaa93a8befa262a24499ab72b6c4cc2441c
Signed-off-by: JosephKeenan <joseph.keenan@est.tech>
2 years agoMerge "CPS-615 - CSIT for model sync & passthrough"
Toine Siebelink [Sun, 17 Oct 2021 16:10:59 +0000 (16:10 +0000)]
Merge "CPS-615 - CSIT for model sync & passthrough"

2 years agoCPS-615 - CSIT for model sync & passthrough 43/124643/34
JosephKeenan [Fri, 1 Oct 2021 09:40:47 +0000 (10:40 +0100)]
CPS-615 - CSIT for model sync & passthrough

This commit contains
-Registration and sync test cases
-Passthrough read and  write test case

Issue-ID: CPS-615
Change-Id: I1ad70dbc8c0af96bd5cf69476acdad42cf3c179d
Signed-off-by: JosephKeenan <joseph.keenan@est.tech>
2 years agoStep 10 : Bumping origin/master version cps-2.1.0 93/124993/1
puthuparambil.aditya [Thu, 14 Oct 2021 12:36:41 +0000 (13:36 +0100)]
Step 10 : Bumping origin/master version cps-2.1.0

Issue-ID: CPS-727
Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca>
Change-Id: I2b287e4443be9214f89e90880af3c33ec0424e92

2 years agoStep 6 : Bumping version cps-2.0.2 46/124946/1
puthuparambil.aditya [Thu, 14 Oct 2021 09:05:11 +0000 (10:05 +0100)]
Step 6 : Bumping version cps-2.0.2

Issue-ID: CPS-727
Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca>
Change-Id: I83035b8e504a1c52e222ba1bd247cbc26ea01ff5

2 years agoStep 5 : Release docker artifacts cps-2.0.1 06/124906/3
puthuparambil.aditya [Wed, 13 Oct 2021 15:35:22 +0000 (16:35 +0100)]
Step 5 : Release docker artifacts cps-2.0.1

Issue-ID: CPS-727
Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca>
Change-Id: I977219083ff3c6f93a759623710bba76164fcfaf

2 years agoStep-4 : Release maven artifacts cps-core 2.0.1 89/124889/2
puthuparambil.aditya [Wed, 13 Oct 2021 14:12:47 +0000 (15:12 +0100)]
Step-4 : Release maven artifacts cps-core 2.0.1

Issue-ID: CPS-727
Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca>
Change-Id: I623519e36d92400169c84379ea59be5b3a0deeac

2 years agoVersion to be updated when the bump is done 80/124880/1
puthuparambil.aditya [Wed, 13 Oct 2021 10:44:23 +0000 (11:44 +0100)]
Version to be updated when the bump is done

Issue-ID: CPS-727
Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca>
Change-Id: I09373539a8af78129694220e24ba37f620e0056e

2 years agoMerge "Updating release notes and openapi.yaml for I release final image"
Niamh Core [Tue, 12 Oct 2021 16:14:35 +0000 (16:14 +0000)]
Merge "Updating release notes and openapi.yaml for I release final image"