cps.git
3 years agoMerge "Fix cps-nf-proxy standalone assembly."
Bruno Sakoto [Thu, 4 Mar 2021 16:15:38 +0000 (16:15 +0000)]
Merge "Fix cps-nf-proxy standalone assembly."

3 years agoTest CSIT Integration Tests 86/118786/7
Hanif Kukkalli [Thu, 4 Mar 2021 10:52:53 +0000 (11:52 +0100)]
Test CSIT Integration Tests

Updated README.md file
Issue-ID: CPS-272

Signed-off-by: Hanif Kukkalli <lte-ng@outlook.com>
Change-Id: If636cc34a83e0895e148597cb3a0812953db5aae

3 years agoFix cps-nf-proxy standalone assembly. 98/118798/2
Ruslan Kashapov [Thu, 4 Mar 2021 15:13:00 +0000 (17:13 +0200)]
Fix cps-nf-proxy standalone assembly.

Application dependency on cps-ri module moved from cps-rest module (indirect)
to cps-application (direct, using assembly profiles)

Issue-ID: CPS-274
Change-Id: Id246dc4c6d15343e4862f70151aa82c5020862c9
Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
3 years agoPublish Release Notes 62/118762/3
Rishi.Chail [Wed, 3 Mar 2021 16:36:26 +0000 (16:36 +0000)]
Publish Release Notes

Issue-ID: CPS-267

Signed-off-by: Rishi.Chail <rishi.chail@est.tech>
Change-Id: Ibb1228d9d48b3c2a02ada5804457cdb0fb612c13

3 years agoCSIT: Integration tests for CPS Core 83/118583/5
Ruslan Kashapov [Fri, 26 Feb 2021 09:42:29 +0000 (11:42 +0200)]
CSIT: Integration tests for CPS Core

+ also fixes issue with fragment_id sequence not reflecting data loaded

Issue-ID: CPS-261
Change-Id: If590d6a0859a1acc9005dd2da952b7dd93a23059
Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
3 years agoCPS-265 - updating cps path to support include-descendants option. 58/118658/6
niamhcore [Mon, 1 Mar 2021 13:25:13 +0000 (13:25 +0000)]
CPS-265 - updating cps path to support include-descendants option.

Issue-ID: CPS-265

Signed-off-by: niamhcore <niamh.core@est.tech>
Change-Id: I9e9b84760dbc8b5eb4b31ab972fdb2d186c6bb48

3 years agoAdding fixed security issues to Release Note 47/118647/1
ToineSiebelink [Mon, 1 Mar 2021 09:53:56 +0000 (09:53 +0000)]
Adding fixed security issues to Release Note
(required for silver badge)

Issue-ID: CPS-167

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

3 years agoMerge "CPS-240 - Create REST End-point on NF-Proxy for DataNode Update & cpsPath...
Bruno Sakoto [Fri, 26 Feb 2021 17:48:12 +0000 (17:48 +0000)]
Merge "CPS-240 - Create REST End-point on NF-Proxy for DataNode Update & cpsPath Query"

3 years agoCPS-240 - Create REST End-point on NF-Proxy for DataNode Update & cpsPath Query 00/118600/4
niamhcore [Fri, 26 Feb 2021 10:13:48 +0000 (10:13 +0000)]
CPS-240 - Create REST End-point on NF-Proxy for DataNode Update & cpsPath Query

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

3 years agoadding a placeholder release notes rst file 92/118592/2
ToineSiebelink [Fri, 26 Feb 2021 12:05:30 +0000 (12:05 +0000)]
adding a placeholder release notes rst file

Issue-ID: CPS-179

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

3 years agoMerge "Implement getDataNode(anchorName, xPath) in NF-Proxy"
Toine Siebelink [Fri, 26 Feb 2021 11:35:17 +0000 (11:35 +0000)]
Merge "Implement getDataNode(anchorName, xPath) in NF-Proxy"

3 years agoImplement getDataNode(anchorName, xPath) in NF-Proxy 32/118232/15
Hanif Kukkalli [Tue, 23 Feb 2021 11:26:39 +0000 (12:26 +0100)]
Implement getDataNode(anchorName, xPath) in NF-Proxy

Added spring-boot-starter-validation instead of cps-ri.
Added test 'Data node without leaves and without children.' to MultipartFileUtilSpec groovy test
Created a method getNodeByCmHandleIdAndXpath(cmHandleId, cpsPath)
Added hardcoded value of NFS DataspaceName as: "NFP-Operation".
Issue-ID: CPS-172

Signed-off-by: Hanif Kukkalli <lte-ng@outlook.com>
Change-Id: Ie8086ede01a9c5069b1ee75864b04a0ee5e8a4f6

3 years agoMerge "adding a placeholder architecture rst file"
Toine Siebelink [Fri, 26 Feb 2021 08:31:45 +0000 (08:31 +0000)]
Merge "adding a placeholder architecture rst file"

3 years agoadding a placeholder architecture rst file 79/118379/2
niamhcore [Wed, 24 Feb 2021 14:11:56 +0000 (14:11 +0000)]
adding a placeholder architecture rst file

Issue-ID: CPS-178

Signed-off-by: niamhcore <niamh.core@est.tech>
Change-Id: I54cb3a5f5325773988a12c29eb5ed9fe047bbe3c

3 years agoPublish openapi.yml for docs 99/118399/2
Rishi.Chail [Wed, 24 Feb 2021 15:10:58 +0000 (15:10 +0000)]
Publish openapi.yml for docs

Issue-ID: CPS-176

Signed-off-by: Rishi.Chail <rishi.chail@est.tech>
Change-Id: I77251a86e2a7816a5c97d7295b2d8cda68e46f28

3 years agoMerge "Initial/docs folder setup"
Toine Siebelink [Wed, 24 Feb 2021 13:16:22 +0000 (13:16 +0000)]
Merge "Initial/docs folder setup"

3 years agoMerge "Introduce CPS integration testing (CSIT)"
Toine Siebelink [Wed, 24 Feb 2021 13:11:55 +0000 (13:11 +0000)]
Merge "Introduce CPS integration testing (CSIT)"

3 years agoInitial/docs folder setup 45/118245/3
Rishi.Chail [Tue, 23 Feb 2021 12:14:24 +0000 (12:14 +0000)]
Initial/docs folder setup

Issue-ID: CPS-176

Signed-off-by: Rishi.Chail <rishi.chail@est.tech>
Change-Id: I765ac67703303982a28f301ece70d87605c2e835

3 years agoMerge "Schema creation and Data pre-load to on cps-xnf-proxy start-up using liquibase"
Toine Siebelink [Wed, 24 Feb 2021 11:54:43 +0000 (11:54 +0000)]
Merge "Schema creation and Data pre-load to on cps-xnf-proxy start-up using liquibase"

3 years agoSchema creation and Data pre-load to on cps-xnf-proxy start-up using liquibase 74/118274/4
puthuparambil.aditya [Tue, 23 Feb 2021 15:51:00 +0000 (15:51 +0000)]
Schema creation and Data pre-load to on cps-xnf-proxy start-up using liquibase

1. Common change-log master used only to specify the different change sets.
2. Specific change set created for cpsTables creation and for loading data to each cps component like dataspace, schema-set, anchor and dataNode
3. The data load cabability is configurable in the sense, it will be trigered only if the label is specified in the application.yaml

Issue-ID: CPS-173, CPS-242
Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca>
Change-Id: I44c640ce50b7203f5799d722149397478a98bc05

3 years agoMerge "Fix docker image generation when not profile is selected"
Bruno Sakoto [Tue, 23 Feb 2021 17:32:09 +0000 (17:32 +0000)]
Merge "Fix docker image generation when not profile is selected"

3 years agoMerge "Updating RAN Inventory tests to use the latest model and data"
Bruno Sakoto [Tue, 23 Feb 2021 17:13:12 +0000 (17:13 +0000)]
Merge "Updating RAN Inventory tests to use the latest model and data"

3 years agoUpdating RAN Inventory tests to use the latest model and data 65/118265/1
niamhcore [Tue, 23 Feb 2021 15:32:45 +0000 (15:32 +0000)]
Updating RAN Inventory tests to use the latest model and data

Issue-ID: CPS-200

Signed-off-by: niamhcore <niamh.core@est.tech>
Change-Id: I22fbfd66a2f355f38dc4502445df8041ed0db7c5

3 years agoIntroduce CPS integration testing (CSIT) 21/118221/4
Ruslan Kashapov [Tue, 23 Feb 2021 08:08:00 +0000 (10:08 +0200)]
Introduce CPS integration testing (CSIT)

Issue-ID: CPS-188
Change-Id: I4a225da73587d5276f302b05a0729d1127caddd9
Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
3 years agoUpgrade version number 83/118183/2
Bruno Sakoto [Mon, 22 Feb 2021 16:29:49 +0000 (11:29 -0500)]
Upgrade version number

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

3 years agoRelease cps docker 0.0.1 78/118178/1
Bruno Sakoto [Mon, 22 Feb 2021 15:57:44 +0000 (10:57 -0500)]
Release cps docker 0.0.1

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

3 years agoRelease cps maven 0.0.1 74/118174/2
Bruno Sakoto [Mon, 22 Feb 2021 15:26:41 +0000 (10:26 -0500)]
Release cps maven 0.0.1

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

3 years agoMerge "Update root pom"
Toine Siebelink [Mon, 22 Feb 2021 15:28:53 +0000 (15:28 +0000)]
Merge "Update root pom"

3 years agoMerge "Rest & Java API layer - Query Datanodes using cpsPath that contains contains...
Toine Siebelink [Mon, 22 Feb 2021 15:27:15 +0000 (15:27 +0000)]
Merge "Rest & Java API layer - Query Datanodes using cpsPath that contains contains a leaf name and a leaf value"

3 years agoSynchronize version.properties with pom version 68/118168/1
Bruno Sakoto [Mon, 22 Feb 2021 15:04:41 +0000 (10:04 -0500)]
Synchronize version.properties with pom version

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

3 years agoRest & Java API layer - Query Datanodes using cpsPath that contains contains a leaf... 12/118112/6
niamhcore [Fri, 19 Feb 2021 13:14:40 +0000 (13:14 +0000)]
Rest & Java API layer - Query Datanodes using cpsPath that contains contains a leaf name and a leaf value

Issue-ID: CPS-231

Signed-off-by: niamhcore <niamh.core@est.tech>
Change-Id: I3bf2a9946746ad06ddb4bc832206a36b78ff2175

3 years agoFix docker image generation when not profile is selected 38/118138/2
Claudio D. Gasparini [Sat, 20 Feb 2021 17:56:47 +0000 (18:56 +0100)]
Fix docker image generation when not profile is selected

- by use default profile (cps-xnf-docker)
- move jib-maven-plugin execution under each profile

Issue-ID: CPS-175
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Change-Id: I418d63ae5423bcaf612f3f280e8f69df78cd899e

3 years agoMerge "Persistence layer - Query Datanodes using cpsPath that contains contains a...
Toine Siebelink [Fri, 19 Feb 2021 11:25:15 +0000 (11:25 +0000)]
Merge "Persistence layer - Query Datanodes using cpsPath that contains contains a leaf name and a leaf value"

3 years agoMerge "Correct URL for Get a node using anchor and dataspace"
Toine Siebelink [Fri, 19 Feb 2021 11:18:12 +0000 (11:18 +0000)]
Merge "Correct URL for Get a node using anchor and dataspace"

3 years agoPersistence layer - Query Datanodes using cpsPath that contains contains a leaf name... 59/117759/8
niamhcore [Thu, 11 Feb 2021 14:49:11 +0000 (14:49 +0000)]
Persistence layer - Query Datanodes using cpsPath that contains contains a leaf name and a leaf value

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

3 years agoConfigure versions-maven-plugin 80/118080/3
Jessica Wagantall [Thu, 18 Feb 2021 20:20:49 +0000 (15:20 -0500)]
Configure versions-maven-plugin

This change is to fix stage-release whose maven goal
versions:update-child-modules is not updating child module
versions as expected.

See sub-task CPS-239 of story CPS-175 for more details.

Issue-ID: CPS-175
Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca>
Change-Id: Ieb0e8cd576522d0ba2fd448eacd68679a97688e1
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
3 years agoMerge "E2E RAN Schema Model - yang model vs data test"
Toine Siebelink [Thu, 18 Feb 2021 14:46:51 +0000 (14:46 +0000)]
Merge "E2E RAN Schema Model - yang model vs data test"

3 years agoE2E RAN Schema Model - yang model vs data test 29/118029/1
Ruslan Kashapov [Thu, 18 Feb 2021 10:31:24 +0000 (12:31 +0200)]
E2E RAN Schema Model - yang model vs data test

Issue-ID: CPS-196
Change-Id: I0171dfc2f82505c8ae8497ff49fe3eb28e1972a6
Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
3 years agoData fragment update by xpath #3 - rest and service layers 61/117661/12
Ruslan Kashapov [Tue, 9 Feb 2021 15:25:18 +0000 (17:25 +0200)]
Data fragment update by xpath #3 - rest and service layers

Issue-ID: CPS-58
Change-Id: Ie224da95b07748b63648226df6484cebae91cdec
Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
3 years agoUpdate root pom 55/118155/1
Rishi.Chail [Thu, 28 Jan 2021 13:22:43 +0000 (13:22 +0000)]
Update root pom

Issue-ID: CPS-167

Signed-off-by: Rishi.Chail <rishi.chail@est.tech>
Change-Id: Ic523a1ddb251f37ae62146fff2f7226007bf010c

3 years agoUpdate CPS dependencies as Required for Honolulu release 09/118109/1
Rishi.Chail [Thu, 28 Jan 2021 03:19:47 +0000 (03:19 +0000)]
Update CPS dependencies as Required for Honolulu release

Issue-ID: CPS-167

Signed-off-by: Rishi.Chail <rishi.chail@est.tech>
Change-Id: Icc35a53a98fd29bd3c5b4750b8d07c3f6f202cc7

3 years agoCorrect URL for Get a node using anchor and dataspace 53/118053/2
Rishi.Chail [Wed, 27 Jan 2021 04:27:34 +0000 (04:27 +0000)]
Correct URL for Get a node using anchor and dataspace

Issue-ID: CPS-252

Signed-off-by: Rishi.Chail <rishi.chail@est.tech>
Change-Id: I26bf4e30f49d1b47c38826360cd046ff41081aa8

3 years agoEnsure CPS REST API Specs conform to ONAP standards 03/117903/4
Rishi.Chail [Tue, 26 Jan 2021 05:58:39 +0000 (05:58 +0000)]
Ensure CPS REST API Specs conform to ONAP standards

Issue-ID: CPS-25

Signed-off-by: Rishi.Chail <rishi.chail@est.tech>
Change-Id: I17fec852cf2dcb824dfc0ab7f00ebe4cfd9e09b5

3 years agoMerge "Data fragment update by xpath #2 - persistence layer"
Toine Siebelink [Wed, 17 Feb 2021 10:23:48 +0000 (10:23 +0000)]
Merge "Data fragment update by xpath #2 - persistence layer"

3 years agoData fragment update by xpath #2 - persistence layer 31/117631/14
Ruslan Kashapov [Mon, 8 Feb 2021 09:02:39 +0000 (11:02 +0200)]
Data fragment update by xpath #2 - persistence layer

Issue-ID: CPS-58
Change-Id: Ifc4580936d06c6907d6b5ab20657063b6707ccbe
Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
3 years agoFix yang resource parse failure if filename matches IETF recommended format 41/117741/5
Ruslan Kashapov [Thu, 11 Feb 2021 11:36:30 +0000 (13:36 +0200)]
Fix yang resource parse failure if filename matches IETF recommended format

Issue-ID: CPS-237
Change-Id: I9a8f95552b9814f02886d1b5074aa6e7a09f582d
Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
3 years agoMerge "Update docker-compose"
Toine Siebelink [Mon, 15 Feb 2021 14:37:03 +0000 (14:37 +0000)]
Merge "Update docker-compose"

3 years agoMerge "Ensure CPS REST API Specs conform to ONAP standards"
Bruno Sakoto [Mon, 15 Feb 2021 14:29:22 +0000 (14:29 +0000)]
Merge "Ensure CPS REST API Specs conform to ONAP standards"

3 years agoUpdate docker-compose 30/117730/14
Claudio D. Gasparini [Thu, 11 Feb 2021 07:51:06 +0000 (08:51 +0100)]
Update docker-compose

- Add more documentation
- fix application.yml location for service

Issue-ID: CPS-236
Co-authored-by: Bruno Sakoto <bruno.sakoto@bell.ca>
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca>
Change-Id: I5a16f520c9536d2034c2afd1de947058d2fb13ee

3 years agoIntroduce cps-nf-proxy module 33/117833/3
Claudio D. Gasparini [Mon, 15 Feb 2021 09:38:21 +0000 (10:38 +0100)]
Introduce cps-nf-proxy module

- cps-nf-proxy module: Where NF Service resides
- cps-nf-proxy module-rest: Where NF REST Service resides

Issue-ID: CPS-244
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Change-Id: Ia6fdf70b004d751d5db092d75de0b7f6fa5f1dd7

3 years agoMerge "Data fragment update by xpath - parsing and validation"
Toine Siebelink [Wed, 10 Feb 2021 14:27:55 +0000 (14:27 +0000)]
Merge "Data fragment update by xpath - parsing and validation"

3 years agoRemove extra dependencies on actuator for rest services 63/117663/1
Ruslan Kashapov [Wed, 10 Feb 2021 09:14:03 +0000 (11:14 +0200)]
Remove extra dependencies on actuator for rest services

Issue-ID: CPS-232
Change-Id: I321752949ae8eed31e5ac3a1683f67fab30c5367
Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
3 years agoData fragment update by xpath - parsing and validation 85/117585/7
Ruslan Kashapov [Mon, 8 Feb 2021 09:02:39 +0000 (11:02 +0200)]
Data fragment update by xpath - parsing and validation

Issue-ID: CPS-58
Change-Id: I6363c39d7046afc3b20dcd1224d6399b043c4386
Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
3 years agoGeneral groovy test improvements 89/117589/2
ToineSiebelink [Mon, 8 Feb 2021 11:36:59 +0000 (11:36 +0000)]
General groovy test improvements

- Use the power of Groovy (maps and collections)
- Improve data sample readability
- Split out Datanode get scenarios: Separate Leave test from children related tests

Issue-ID: CPS-160

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

3 years agoImage name 04/117604/3
Claudio D. Gasparini [Thu, 4 Feb 2021 13:57:39 +0000 (14:57 +0100)]
Image name

- cps-service
- cps-nf-proxy
- cps-and-nf-proxy

Issue-ID: CPS-175
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Change-Id: I579d3646f54adebc131196acbe74e24299b4ead6

3 years agoMerge "Fix jenkins master merge job"
Toine Siebelink [Tue, 9 Feb 2021 09:02:16 +0000 (09:02 +0000)]
Merge "Fix jenkins master merge job"

3 years agoMerge "E2E Network Slice test for 'Coverage Area-Tracking Area & TA-Cell mapping...
Toine Siebelink [Tue, 9 Feb 2021 09:00:05 +0000 (09:00 +0000)]
Merge "E2E Network Slice test for 'Coverage Area-Tracking Area & TA-Cell mapping' with updated data"

3 years agoFix jenkins master merge job 18/117618/1
Bruno Sakoto [Tue, 9 Feb 2021 02:51:05 +0000 (21:51 -0500)]
Fix jenkins master merge job

Use port number 10003 to push to docker registry

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

3 years agoE2E Network Slice test for 'Coverage Area-Tracking Area & TA-Cell mapping' with updat... 59/117559/3
puthuparambil.aditya [Fri, 5 Feb 2021 17:43:58 +0000 (17:43 +0000)]
E2E Network Slice test for 'Coverage Area-Tracking Area & TA-Cell mapping' with updated data

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

3 years agoMerge "Custom Model E2E Network Slicing - RAN Inventory"
Toine Siebelink [Fri, 5 Feb 2021 15:09:58 +0000 (15:09 +0000)]
Merge "Custom Model E2E Network Slicing - RAN Inventory"

3 years agoCustom Model E2E Network Slicing - RAN Inventory 47/117447/3
niamhcore [Wed, 3 Feb 2021 16:10:37 +0000 (16:10 +0000)]
Custom Model E2E Network Slicing - RAN Inventory

Issue-ID: CPS-200

Signed-off-by: niamhcore <niamh.core@est.tech>
Change-Id: I846ff2928de6e1fae1483ced05d66cfd1e44615e

3 years agoFetching data node by xpath - rest and service layers 40/117340/10
Ruslan Kashapov [Mon, 1 Feb 2021 08:47:25 +0000 (10:47 +0200)]
Fetching data node by xpath - rest and service layers

IssueID: CPS-71
Change-Id: I54801fc12a8aa700d85e774780c9990b7f19c747
Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
3 years agofix mvc tests skipped for rest services 92/117492/1
Ruslan Kashapov [Thu, 4 Feb 2021 15:26:01 +0000 (17:26 +0200)]
fix mvc tests skipped for rest services

IssueID: CPS-175
Change-Id: I0ec53bf1b00a7fe7413819398cc7eddd520b4358
Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
3 years agoMerge "Fetching data node by xpath - persistence layer"
Toine Siebelink [Thu, 4 Feb 2021 15:18:01 +0000 (15:18 +0000)]
Merge "Fetching data node by xpath - persistence layer"

3 years agoDecouple application configuration file 76/117476/2
Claudio D. Gasparini [Thu, 4 Feb 2021 08:33:28 +0000 (09:33 +0100)]
Decouple application configuration file

Agreement is that application configuration should live on OOM
- leave an example of the configuration file under docker
  compose to run locally, instead of use OOM. Mainly for devs
- document on README how to run the app with IDE or with docker compose
- remove duplicate code on poms

Issue-ID: CPS-175
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Change-Id: I328e89dba78cdf4d8abab51e3be5cb6d641064db

3 years agoMerge "Decouple configuration from application"
Toine Siebelink [Thu, 4 Feb 2021 11:39:17 +0000 (11:39 +0000)]
Merge "Decouple configuration from application"

3 years agoFetching data node by xpath - persistence layer 94/117294/5
Ruslan Kashapov [Mon, 1 Feb 2021 08:47:25 +0000 (10:47 +0200)]
Fetching data node by xpath - persistence layer

IssueID: CPS-71
Change-Id: I88f76cf36ef8a1e4ccbd4f1eac8867e93ed5be82
Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
3 years agoMerge "E2E Network Slice test for 'Coverage Area-Tracking Area & TA-Cell mapping'"
Toine Siebelink [Wed, 3 Feb 2021 15:24:40 +0000 (15:24 +0000)]
Merge "E2E Network Slice test for 'Coverage Area-Tracking Area & TA-Cell mapping'"

3 years agoE2E Network Slice test for 'Coverage Area-Tracking Area & TA-Cell mapping' 74/117374/5
puthuparambil.aditya [Tue, 2 Feb 2021 15:20:48 +0000 (15:20 +0000)]
E2E Network Slice test for 'Coverage Area-Tracking Area & TA-Cell mapping'

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

3 years agoRefactoring tests and adding tests for creating a node. 08/117308/2
niamhcore [Mon, 1 Feb 2021 19:16:54 +0000 (19:16 +0000)]
Refactoring tests and adding tests for creating a node.

Issue-ID: CPS-26

Signed-off-by: niamhcore <niamh.core@est.tech>
Change-Id: I36e3f2bbb2928cc6b8d0d4a079516f801c33df13

3 years agoDecouple configuration from application 21/117221/6
Claudio D. Gasparini [Thu, 28 Jan 2021 14:36:37 +0000 (15:36 +0100)]
Decouple configuration from application

- Decouple configuration from application
- Generate all 3 types of docker variations

Issue-ID: CPS-175
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Change-Id: I1e2e0577c5911f7c79801e4c691d196515dc02a1

3 years agoMerge "Retrieve an Anchor for a given dataspace by anchor name - REST layer"
Toine Siebelink [Mon, 1 Feb 2021 15:50:32 +0000 (15:50 +0000)]
Merge "Retrieve an Anchor for a given dataspace by anchor name - REST layer"

3 years agoMerge "Attach a (JSON) data instance for a container with children to a given Anchor"
Toine Siebelink [Mon, 1 Feb 2021 15:36:38 +0000 (15:36 +0000)]
Merge "Attach a (JSON) data instance for a container with children to a given Anchor"

3 years agoAttach a (JSON) data instance for a container with children to a given Anchor 93/117193/9
niamhcore [Thu, 28 Jan 2021 16:11:52 +0000 (16:11 +0000)]
Attach a (JSON) data instance for a container with children to a given Anchor

Issue-ID: CPS-26

Signed-off-by: niamhcore <niamh.core@est.tech>
Change-Id: I38fc1b1a6ccf84e64eff3218372b40c8fa2491ba

3 years agoMerge "Introducing Spock/Groovy for Data Integration Tests"
Bruno Sakoto [Fri, 29 Jan 2021 23:39:18 +0000 (23:39 +0000)]
Merge "Introducing Spock/Groovy for Data Integration Tests"

3 years agoMerge "Fix the datanode build logic (incorrect parsing of containers and mapped lists)"
Toine Siebelink [Fri, 29 Jan 2021 11:18:03 +0000 (11:18 +0000)]
Merge "Fix the datanode build logic (incorrect parsing of containers and mapped lists)"

3 years agoIntroducing Spock/Groovy for Data Integration Tests 55/117155/5
ToineSiebelink [Wed, 27 Jan 2021 10:47:04 +0000 (10:47 +0000)]
Introducing Spock/Groovy for Data Integration Tests

Replaced CpsAdminPersistenceServiceTest with CpsAdminPersistenceServiceSpec
Replaced CpsDataPersistenceServiceTest with CpsDataPersistenceServiceSpec
Replaced CpsModulePersistenceServiceTest with CpsModulePersistenceServiceSpec
Extracted out common integration test base
Rationalised test (there was a lot of duplication already!)

Issue-ID: CPS-160

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

3 years agoFix the datanode build logic (incorrect parsing of containers and mapped lists) 78/117178/4
Ruslan Kashapov [Thu, 28 Jan 2021 10:15:23 +0000 (12:15 +0200)]
Fix the datanode build logic (incorrect parsing of containers and mapped lists)

Issue-ID: CPS-198
Change-Id: Ideb89f777a1bc155603152991174680fad8bb513
Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
3 years agoMerge "NexusIQ security improvement - package versions changed"
Toine Siebelink [Thu, 28 Jan 2021 12:20:17 +0000 (12:20 +0000)]
Merge "NexusIQ security improvement - package versions changed"

3 years agoNexusIQ security improvement - package versions changed 73/117173/2
Ruslan Kashapov [Thu, 28 Jan 2021 06:46:45 +0000 (08:46 +0200)]
NexusIQ security improvement - package versions changed

spring boot up to 2.3.8
yangtools version up to 5.0.7

Issue-ID: CPS-167
Change-Id: Ia4930cf855197a997876e6a962671a0a9fee749b
Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
3 years agoFix sonar false-positive code smells issues (licence below package line) 72/117172/2
Ruslan Kashapov [Thu, 28 Jan 2021 06:20:49 +0000 (08:20 +0200)]
Fix sonar false-positive code smells issues (licence below package line)

Issue-ID: CPS-89
Change-Id: I79d520c237b5ca6cf0250d1a001fc1406013bd14
Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
3 years agoMerge "Docker image building and docker-compose for cps-nf-proxy"
Toine Siebelink [Wed, 27 Jan 2021 17:37:00 +0000 (17:37 +0000)]
Merge "Docker image building and docker-compose for cps-nf-proxy"

3 years agoMerge "Initial cps-nf-proxy-rest module setup in CPS project"
Toine Siebelink [Wed, 27 Jan 2021 17:34:57 +0000 (17:34 +0000)]
Merge "Initial cps-nf-proxy-rest module setup in CPS project"

3 years agoDraft at proposal where the DataNodeBuilder 'replaces' yang Utils to buidl a DataNode 18/117118/10
ToineSiebelink [Mon, 25 Jan 2021 18:46:20 +0000 (18:46 +0000)]
Draft at proposal where the DataNodeBuilder 'replaces' yang Utils to buidl a DataNode

Most complexity is related to immutable collections and the fact taht we are adding data while recursing
over the orignal data in an uncontrolled order.

I cleaned it up as best I could with no logic in DataNode.
Espcially the handling of LitLeaves requires some specialed handling. Thsi is just a draft solution for that
I still propose we get back to that in dedicated user stories for handling the various types of Yang elements

Hope this helps...

Issue-ID: CPS-137

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

3 years agoDocker image building and docker-compose for cps-nf-proxy 97/117097/4
Ruslan Kashapov [Fri, 22 Jan 2021 10:53:01 +0000 (12:53 +0200)]
Docker image building and docker-compose for cps-nf-proxy

Issue-ID: CPS-184
Change-Id: I364a7f1ff41ca491f522038269d95d91b76da313
Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
3 years agoMerge "Loggers actuator config typo fix"
Toine Siebelink [Tue, 26 Jan 2021 11:16:06 +0000 (11:16 +0000)]
Merge "Loggers actuator config typo fix"

3 years agoLoggers actuator config typo fix 22/117122/2
Ruslan Kashapov [Tue, 26 Jan 2021 06:36:57 +0000 (08:36 +0200)]
Loggers actuator config typo fix

Issue-ID: CPS-158
Change-Id: I55abb9a459288d83eb7002e8f92c6e89148087db
Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
3 years agoInitial cps-nf-proxy-rest module setup in CPS project 64/117064/9
Ruslan Kashapov [Fri, 22 Jan 2021 10:53:01 +0000 (12:53 +0200)]
Initial cps-nf-proxy-rest module setup in CPS project

Issue-ID: CPS-171
Change-Id: I8998dc2818b6bc07fc4fe25a2d735b4ab8b4b817
Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
3 years agoEnsure CPS REST API Specs conform to ONAP standards 26/117826/2
Rishi.Chail [Sun, 24 Jan 2021 20:33:50 +0000 (20:33 +0000)]
Ensure CPS REST API Specs conform to ONAP standards

Issue-ID: CPS-25

Signed-off-by: Rishi.Chail <rishi.chail@est.tech>
Change-Id: I289248b0f67949a2b9515932628edd4a7bd77a58

3 years agoAdd DataNodeDoesNotExist Exception 68/117068/5
niamhcore [Fri, 22 Jan 2021 14:05:00 +0000 (14:05 +0000)]
Add DataNodeDoesNotExist Exception

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

3 years agoFix SonarQube Violations 86/117586/2
Rishi.Chail [Sun, 24 Jan 2021 03:50:20 +0000 (03:50 +0000)]
Fix SonarQube Violations

Issue-ID: CPS-89

Signed-off-by: Rishi.Chail <rishi.chail@est.tech>
Change-Id: I72e734929b464072e23b08a1e213b5fac31ff710

3 years agoReview and update INFO.yaml 41/117541/2
Rishi.Chail [Sat, 23 Jan 2021 21:04:56 +0000 (21:04 +0000)]
Review and update INFO.yaml

Issue-ID: CPS-215

Signed-off-by: Rishi.Chail <rishi.chail@est.tech>
Change-Id: Ia74cbe7bbe6b3b364a4edc15641107a3a9b6ab62

3 years agoRetrieve an Anchor for a given dataspace by anchor name - REST layer 92/117292/2
Rishi.Chail [Fri, 22 Jan 2021 15:05:03 +0000 (15:05 +0000)]
Retrieve an Anchor for a given dataspace by anchor name - REST layer

Issue-ID: CPS-186

Signed-off-by: Rishi.Chail <rishi.chail@est.tech>
Change-Id: I2dceb582c6277e56400dfbc46340c70d814603ee

3 years agoRetrieve an Anchor for a given dataspace by anchor name - Service layer 67/117067/2
Rishi.Chail [Thu, 21 Jan 2021 19:14:24 +0000 (19:14 +0000)]
Retrieve an Anchor for a given dataspace by anchor name -  Service layer

Part of story already done in CPS-135

Issue-ID: CPS-55

Signed-off-by: Rishi.Chail <rishi.chail@est.tech>
Change-Id: I0c4ae551f5c85866ce543fbb27b18ffff7d80462

3 years agoMerge "Enable log level management via actuator, /cps/api path to use for REST contro...
Toine Siebelink [Fri, 22 Jan 2021 15:32:19 +0000 (15:32 +0000)]
Merge "Enable log level management via actuator, /cps/api path to use for REST controllers only only"

3 years agoRemove Module Table 59/117059/2
Rishi.Chail [Thu, 21 Jan 2021 17:18:17 +0000 (17:18 +0000)]
Remove Module Table

Issue-ID: CPS-185

Signed-off-by: Rishi.Chail <rishi.chail@est.tech>
Change-Id: Id93b3ec4dec27184bc46767146d9801063f54916

3 years agoAdd another Child to a Fragment that has already at least one Child 71/116971/12
niamhcore [Tue, 19 Jan 2021 12:45:44 +0000 (12:45 +0000)]
Add another Child to a Fragment that has already at least one Child

Issue-ID: CPS-164

Signed-off-by: niamhcore <niamh.core@est.tech>
Change-Id: Ib6a4f8ce4fc9247726e016ecaa0b1e45ff11bdbb

3 years agoMerge "ZIP archive support for multiple YANG files delivery on Schema Set creation...
Toine Siebelink [Fri, 22 Jan 2021 10:53:24 +0000 (10:53 +0000)]
Merge "ZIP archive support for multiple YANG files delivery on Schema Set creation using REST"

3 years agoMove jib plugin configuration from parent 25/117025/6
Claudio David Gasparini [Wed, 20 Jan 2021 10:42:19 +0000 (11:42 +0100)]
Move jib plugin configuration from parent

and leave profile generating container under single module
responsible of such task

Issue-ID:  CPS-22
Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech>
Change-Id: Iaf4b0d6ef8211aab0556288912a6a49bf4c98bfd

3 years agoMerge "Introduce caffeine cache"
Toine Siebelink [Fri, 22 Jan 2021 09:33:55 +0000 (09:33 +0000)]
Merge "Introduce caffeine cache"