cps.git
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 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"

2 years agoMerge "cps-core deployment document"
Toine Siebelink [Tue, 12 Oct 2021 16:02:31 +0000 (16:02 +0000)]
Merge "cps-core deployment document"

2 years agoUpdating release notes and openapi.yaml for I release final image 48/124848/1
puthuparambil.aditya [Tue, 12 Oct 2021 15:49:03 +0000 (16:49 +0100)]
Updating release notes and openapi.yaml for I release final image

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

2 years agocps-core deployment document 79/124679/6
puthuparambil.aditya [Tue, 5 Oct 2021 09:56:04 +0000 (10:56 +0100)]
cps-core deployment document

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

2 years agoMerge "fix for sync and passthough usecase"
Toine Siebelink [Tue, 12 Oct 2021 11:06:06 +0000 (11:06 +0000)]
Merge "fix for sync and passthough usecase"

2 years agofix for sync and passthough usecase 33/124833/4
tragait [Mon, 11 Oct 2021 15:31:59 +0000 (16:31 +0100)]
fix for sync and passthough usecase

fixed unknown modules issue, if unknown modules are size 0
dmi should not be called.

fixed 2xx issue for create resource.

fixed options = null issue.

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

2 years agoMerge "Cleanup naming conventions for CPS-NCMP"
Niamh Core [Mon, 11 Oct 2021 15:48:32 +0000 (15:48 +0000)]
Merge "Cleanup naming conventions for CPS-NCMP"

2 years agoCleanup naming conventions for CPS-NCMP 95/124795/2
DylanB95EST [Mon, 11 Oct 2021 15:29:16 +0000 (16:29 +0100)]
Cleanup naming conventions for CPS-NCMP

Change naming conventions in CPS-NCMP project

Issue-ID: CPS-626
Change-Id: Ie97c53ef50eb3d0947136db0606047150181ec1b
Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
2 years agoUpdate open api information 97/124797/1
niamhcore [Mon, 11 Oct 2021 15:38:53 +0000 (16:38 +0100)]
Update open api information

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

2 years agoMerge "Update Index and Path Documents"
Toine Siebelink [Mon, 11 Oct 2021 12:50:41 +0000 (12:50 +0000)]
Merge "Update Index and Path Documents"

2 years agoMerge "Update Release Notes Section of Documentation"
Toine Siebelink [Mon, 11 Oct 2021 12:43:58 +0000 (12:43 +0000)]
Merge "Update Release Notes Section of Documentation"

2 years agoUpdate Release Notes Section of Documentation 81/124681/3
lukegleeson [Thu, 30 Sep 2021 16:21:11 +0000 (17:21 +0100)]
Update Release Notes Section of Documentation

Updated Bug Fixes Section

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

2 years agoUpdate Index and Path Documents 61/124761/2
lukegleeson [Fri, 8 Oct 2021 13:16:49 +0000 (14:16 +0100)]
Update Index and Path Documents

Issue-ID: CPS-626
Change-Id: I1351fddee95cb2bc5314e9a7f4d0d5a0b36488c8
Signed-off-by: lukegleeson <luke.gleeson@est.tech>
2 years agoMerge "Update Admin Guide"
Toine Siebelink [Mon, 11 Oct 2021 10:45:15 +0000 (10:45 +0000)]
Merge "Update Admin Guide"

2 years agoUpdate Admin Guide 22/124522/9
lukegleeson [Tue, 28 Sep 2021 11:24:07 +0000 (12:24 +0100)]
Update Admin Guide

Update Admin Guide to add Logging, Health and Monitoring information as
part of finalized documentation

Issue-ID: CPS-626
Change-Id: Ic573935f86ed4c5757509805c850e43d731a39c9
Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
Signed-off-by: lukegleeson <luke.gleeson@est.tech>
2 years agoMerge "Update Architecture Section of Documentation"
Toine Siebelink [Mon, 11 Oct 2021 09:51:24 +0000 (09:51 +0000)]
Merge "Update Architecture Section of Documentation"

2 years agoMerge "Update Overview Section of Documentation"
Toine Siebelink [Mon, 11 Oct 2021 09:47:03 +0000 (09:47 +0000)]
Merge "Update Overview Section of Documentation"

2 years agoMerge "Update Design & Modeling Sections"
Toine Siebelink [Mon, 11 Oct 2021 09:44:11 +0000 (09:44 +0000)]
Merge "Update Design & Modeling Sections"

2 years agoUpdate Design & Modeling Sections 22/124622/7
lukegleeson [Thu, 30 Sep 2021 12:36:37 +0000 (13:36 +0100)]
Update Design & Modeling Sections

Update both Design and Modeling sections of Cps-Core Documentation

Issue-ID: CPS-626
Change-Id: I7b42e0bcedbec8d973557140c503828e33239847
Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
Signed-off-by: lukegleeson <luke.gleeson@est.tech>
2 years agoUpdate Overview Section of Documentation 59/124559/5
lukegleeson [Wed, 29 Sep 2021 10:43:34 +0000 (11:43 +0100)]
Update Overview Section of Documentation

Added descriptions for NCMP, NCMP-DMI-Plugin and Temporal

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

2 years agoMerge "Update get yang resource response body"
Toine Siebelink [Fri, 8 Oct 2021 14:45:43 +0000 (14:45 +0000)]
Merge "Update get yang resource response body"

2 years agoUpdate Architecture Section of Documentation 27/124527/3
lukegleeson [Mon, 27 Sep 2021 12:59:25 +0000 (13:59 +0100)]
Update Architecture Section of Documentation

Add new interfaces
Update CPS Architecture Diagram

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

2 years agoUpdate get yang resource response body 18/124718/4
niamhcore [Thu, 7 Oct 2021 09:38:50 +0000 (10:38 +0100)]
Update get yang resource response body

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

2 years agoSeparate ncmp south-bound endpoints in openapi specs 77/124677/8
Renu Kumari [Tue, 5 Oct 2021 00:59:18 +0000 (20:59 -0400)]
Separate ncmp south-bound endpoints in openapi specs

- existing ncmp-cps swagger ui shows only northbound endpoints
- added cps-ncmp-internal for southbound endpoints

Issue-ID: CPS-722
Signed-off-by: Renu Kumari <renu.kumari@bell.ca>
Change-Id: I6917a9c1cf6d033f7ed76f2172113d5e43ac84a7

2 years agofix fields and depth to option query 00/124700/2
tragait [Wed, 6 Oct 2021 10:04:18 +0000 (11:04 +0100)]
fix fields and depth to option query

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

2 years agoMerge "Changing resource identifier to a query param"
Renu Kumari [Wed, 6 Oct 2021 13:31:43 +0000 (13:31 +0000)]
Merge "Changing resource identifier to a query param"

2 years agoChanging resource identifier to a query param 74/124574/9
niamhcore [Wed, 29 Sep 2021 15:43:35 +0000 (16:43 +0100)]
Changing resource identifier to a query param

*Update dmi operations to build dmi url using query param

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

2 years agoMerge "CPS-594: Exception when updating list node PATCH"
Niamh Core [Thu, 30 Sep 2021 14:03:20 +0000 (14:03 +0000)]
Merge "CPS-594: Exception when updating list node PATCH"

2 years agoUpdate requirements for doc building 06/124606/1
lukegleeson [Thu, 30 Sep 2021 08:55:21 +0000 (09:55 +0100)]
Update requirements for doc building

Remove unecessary requirements
Allow lfdocs-conf to initialise at latest version (0.7.7)
It now loads all centralized upper contraints from ONAP doc

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

2 years agoMove Path Section of Documentation 35/124535/2
lukegleeson [Tue, 28 Sep 2021 15:07:25 +0000 (16:07 +0100)]
Move Path Section of Documentation

Moved the CPS-Path Page to be a subpage of the Modeling Page

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

2 years agoCPS-594: Exception when updating list node PATCH 29/124229/9
DylanB95EST [Wed, 29 Sep 2021 12:44:53 +0000 (13:44 +0100)]
CPS-594: Exception when updating list node PATCH

SQL ConstraintViolationException updating the list node element using PATCH List node API

- Took advantage of replaceDataNodeTree to replace list node children recursively
- Added functionality to exclude the updated dataNodes when removing the list node descendants

Issue-ID: CPS-594
Signed-off-by: lukegleeson <luke.gleeson@est.tech>
Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
Change-Id: Idbf580fab05581513b52327d6895b9e39b4cf470
Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
2 years agofix fetch modules request body 20/124420/6
tragait [Wed, 22 Sep 2021 12:59:33 +0000 (13:59 +0100)]
fix fetch modules request body

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

2 years agoopenapi.yaml should not be modified when the application is compiled requirements... 58/124458/2
DylanB95EST [Thu, 23 Sep 2021 16:42:33 +0000 (17:42 +0100)]
openapi.yaml should not be modified when the application is compiled requirements change

Change to requirments file. Build was failing previously without latest
Sphinx version, but issue is not fixed.

Issue-ID: CPS-674
Change-Id: I1a9218b7560f533cd426c0d7e69a0d48ecfce766
Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
2 years agoopenapi.yaml should not be modified when the application is compiled revert 47/124447/1
DylanB95EST [Thu, 23 Sep 2021 11:22:55 +0000 (12:22 +0100)]
openapi.yaml should not be modified when the application is compiled revert

Revert changes made to bug raised in CPS-674.
Files will now need to be added manually as part of the release process.
Extra step has been added here
https://wiki.onap.org/display/DW/CPS+Release+Process

Issue-ID: CPS-674
Change-Id: I3da6ca7aa8154c379d3f1c3b042b4c096275ca62
Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
2 years agoMerge "openapi.yaml should not be modified when the application is compiled"
Toine Siebelink [Wed, 22 Sep 2021 16:16:49 +0000 (16:16 +0000)]
Merge "openapi.yaml should not be modified when the application is compiled"

2 years agoopenapi.yaml should not be modified when the application is compiled 83/124383/5
DylanB95EST [Tue, 21 Sep 2021 12:46:47 +0000 (13:46 +0100)]
openapi.yaml should not be modified when the application is compiled

Make Changes to ignore generated yml files for API Specification for
CPS-Core

Issue-ID: CPS-674
Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
Change-Id: I0bff21ccf0353ebf5d0e3e3ffbf0aa9e9c141376
Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
2 years agoUpdate preliminary documentation CPS-Core with Admin Guide 13/124413/5
DylanB95EST [Wed, 22 Sep 2021 09:38:21 +0000 (10:38 +0100)]
Update preliminary documentation CPS-Core with Admin Guide

Add Admin Guide Page with Logging & Diagnostics section
to preliminary documentation for Istanbul releas

Issue-ID: CPS-676
Change-Id: Ie2ca89cca225ffc692eaf7ebc5880b92801062a1
Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
2 years agoAddress Sonar Qube issues 99/124399/1
ToineSiebelink [Tue, 21 Sep 2021 16:29:04 +0000 (17:29 +0100)]
Address Sonar Qube issues

- Add missing lombok.config to exclude lombok generated code in some modules
- Increased Coverage treshold where possible

Issue-ID: CPS-475

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

2 years agoMerge "Address Sonar Qube issues"
Niamh Core [Tue, 21 Sep 2021 13:04:11 +0000 (13:04 +0000)]
Merge "Address Sonar Qube issues"

2 years agoMerge "Updating fetch all yang modules queries and tests"
Toine Siebelink [Tue, 21 Sep 2021 10:51:45 +0000 (10:51 +0000)]
Merge "Updating fetch all yang modules queries and tests"

2 years agoAddress Sonar Qube issues 58/124358/6
ToineSiebelink [Mon, 20 Sep 2021 12:29:09 +0000 (13:29 +0100)]
Address Sonar Qube issues

- Add some basic test for missed coverage
- Refactored NetworkCmProxyDataServiceImpl to addres duplcaied code and code coverage
- Increased Coverage treshold where possible

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

2 years agoMerge "fix data from object to string"
Niamh Core [Tue, 21 Sep 2021 08:42:26 +0000 (08:42 +0000)]
Merge "fix data from object to string"

2 years agoMerge "Remove dependency on ci-management for robot framework configuration"
Toine Siebelink [Mon, 20 Sep 2021 14:07:30 +0000 (14:07 +0000)]
Merge "Remove dependency on ci-management for robot framework configuration"

2 years agoUpdating fetch all yang modules queries and tests 29/124329/2
niamhcore [Fri, 17 Sep 2021 09:30:56 +0000 (10:30 +0100)]
Updating fetch all yang modules queries and tests

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

2 years agoFix SonarQube (jacoco) code coverage reporting 34/124334/1
ToineSiebelink [Fri, 17 Sep 2021 14:07:38 +0000 (15:07 +0100)]
Fix SonarQube (jacoco) code coverage reporting

- Add report module for aggregating (as per jacocos current recommendation)(
- increased overall (cps-parent) minimum code coverage to 0.97
- set lower minimum in modules that are not at that level (yet)
- add exclude for cps-events generated code
- made xml identing consistentent some pom files

Issue-ID: CPS-475

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

2 years agofix data from object to string 49/124149/2
tragait [Tue, 14 Sep 2021 12:55:05 +0000 (13:55 +0100)]
fix data from object to string

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

2 years agoRemove dependency on ci-management for robot framework configuration 81/124181/2
puthuparambil.aditya [Tue, 14 Sep 2021 15:47:09 +0000 (16:47 +0100)]
Remove dependency on ci-management for robot framework configuration

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

2 years agoMerge "Create Preliminary Documentation for CPS-Core & NCMP"
Niamh Core [Tue, 14 Sep 2021 14:49:07 +0000 (14:49 +0000)]
Merge "Create Preliminary Documentation for CPS-Core & NCMP"

2 years agoUpgrade to next snapshot version 51/124151/1
Bruno Sakoto [Tue, 14 Sep 2021 13:33:38 +0000 (09:33 -0400)]
Upgrade to next snapshot version

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

2 years agoCreate Preliminary Documentation for CPS-Core & NCMP 74/123874/8
shivasubedi [Mon, 13 Sep 2021 14:16:30 +0000 (15:16 +0100)]
Create Preliminary Documentation for CPS-Core & NCMP

Create Preliminary documentation for Istanbul release
of the CPS-Core.
Added new plugins in POM to generate swagger doc for design page.
Added latest conf.py file from http://gerrit.onap.org/r/doc
Followed template from work done by Chaker here
https://wiki.onap.org/display/DW/Component+Documentation+Template

Issue-ID: CPS-633
Change-Id: I431776e4d052ec65bf1e1d7709d12d0100592cd5
Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
Signed-off-by: shivasubedi <shiva.subedi@est.tech>