cps.git
3 years agoFix Get descendent to support xpaths that end in list values 71/120971/5
puthuparambil.aditya [Wed, 28 Apr 2021 15:39:32 +0000 (16:39 +0100)]
Fix Get descendent to support xpaths that end in list values

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

3 years agoJSON data fragment into DataNode collection parsing support 17/120817/5
Ruslan Kashapov [Thu, 22 Apr 2021 08:47:41 +0000 (11:47 +0300)]
JSON data fragment into DataNode collection parsing support

Issue-ID: CPS-358
Change-Id: I92f46504e5f3623131844616945069f70712ed61
Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
3 years agoInvestigate and update Spock version 04/121004/2
shivasubedi [Thu, 29 Apr 2021 11:48:05 +0000 (12:48 +0100)]
Investigate and update Spock version

Issue-ID: CPS-368
Signed-off-by: shivasubedi <shiva.subedi@est.tech>
Change-Id: Ie8505cf29068660af6bc6b9887f593f7e3be074f

3 years ago- Remove redundant and misleading tests 66/120966/2
ToineSiebelink [Wed, 28 Apr 2021 11:13:34 +0000 (12:13 +0100)]
- Remove redundant and misleading tests
- Some small improvemnt to tets ins same class

Issue-ID: CPS-325

Change-Id: I0d888dbd9db555508b23e37957098b7b4d518912
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
3 years agoFix Code smells 10/120910/3
shivasubedi [Mon, 26 Apr 2021 16:51:04 +0000 (17:51 +0100)]
Fix Code smells

Issue-ID: CPS-89
Change-Id: Ib1b6fbc6b6d712f169100825683e6db3e7c85cb9
Signed-off-by: shivasubedi <shiva.subedi@est.tech>
3 years agoMerge "Get Data under anchor using single root Changes for NCMP"
Toine Siebelink [Wed, 28 Apr 2021 09:45:03 +0000 (09:45 +0000)]
Merge "Get Data under anchor using single root Changes for NCMP"

3 years agoMerge "Leaf String value comparison matches mix of single and double quotes"
Rishi Chail [Mon, 26 Apr 2021 16:05:35 +0000 (16:05 +0000)]
Merge "Leaf String value comparison matches mix of single and double quotes"

3 years agoGet Data under anchor using single root 08/120908/1
Rishi.Chail [Mon, 26 Apr 2021 15:42:11 +0000 (16:42 +0100)]
Get Data under anchor using single root
Changes for NCMP

Issue-ID: CPS-325

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

3 years agoMerge "Get Data under anchor using single root"
Bruno Sakoto [Mon, 26 Apr 2021 14:37:57 +0000 (14:37 +0000)]
Merge "Get Data under anchor using single root"

3 years agoGet Data under anchor using single root 82/120782/5
Rishi.Chail [Tue, 13 Apr 2021 23:51:44 +0000 (00:51 +0100)]
Get Data under anchor using single root

Issue-ID: CPS-325

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

3 years agoLeaf String value comparison matches mix of single and double quotes 53/120853/5
shivasubedi [Thu, 22 Apr 2021 13:54:49 +0000 (14:54 +0100)]
Leaf String value comparison matches mix of single and double quotes

Issue-ID: CPS-345
Signed-off-by: shivasubedi <shiva.subedi@est.tech>
Change-Id: Id6db86817878ed5ed8ccaed4a9a71c5a06d6f97c

3 years agoUpdate documentation for csit tests 88/120788/2
Bruno Sakoto [Thu, 22 Apr 2021 03:58:05 +0000 (23:58 -0400)]
Update documentation for csit tests

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

3 years agoMerge "Upgrade to PostgreSQL 13"
Bruno Sakoto [Fri, 23 Apr 2021 13:18:03 +0000 (13:18 +0000)]
Merge "Upgrade to PostgreSQL 13"

3 years agoDocuments update for multiple attributes support in Get Descendent API 74/120874/2
puthuparambil.aditya [Fri, 23 Apr 2021 11:52:09 +0000 (12:52 +0100)]
Documents update for multiple attributes support in Get Descendent API

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

3 years agoDocuments update for multiple attributes support in Get Descendent API 72/120872/1
puthuparambil.aditya [Fri, 23 Apr 2021 10:55:24 +0000 (11:55 +0100)]
Documents update for multiple attributes support in Get Descendent API

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

3 years agoUpgrade to PostgreSQL 13 73/120873/1
Rishi.Chail [Fri, 23 Apr 2021 10:51:42 +0000 (11:51 +0100)]
Upgrade to PostgreSQL 13

Upgrade version in docker compose and test containers to match OOM
version.

Issue-ID: CPS-355

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

3 years agoImplement ends with cps path query to support multiple attributes with 'and' condition 04/120604/9
puthuparambil.aditya [Fri, 16 Apr 2021 12:47:52 +0000 (13:47 +0100)]
Implement ends with cps path query to support multiple attributes with 'and' condition

Issue-ID: CPS-309
Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca>
Change-Id: I80bf2650e2cd979b806fc29302fc5cb295f65241
Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca>
3 years agoDocument legacy CPS Path functionality 35/120735/3
ToineSiebelink [Tue, 20 Apr 2021 16:33:09 +0000 (17:33 +0100)]
Document legacy CPS Path functionality

Issue-ID: CPS-334

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

3 years agoMerge "Update README.md"
Toine Siebelink [Thu, 22 Apr 2021 08:46:28 +0000 (08:46 +0000)]
Merge "Update README.md"

3 years agoUpdate README.md 75/120575/4
Hanif Kukkalli [Thu, 15 Apr 2021 15:44:10 +0000 (17:44 +0200)]
Update README.md

Updated README.md to show the version that can be used to pass as an argument for docker-compose up
Issue-ID: CPS-339

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

3 years agoCreate child data node (part 2): NCMP service + REST 87/120687/4
Ruslan Kashapov [Tue, 20 Apr 2021 08:14:30 +0000 (11:14 +0300)]
Create child data node (part 2): NCMP service + REST

Issue-ID: CPS-337
Change-Id: Icf703f6f375e5f280058d58c781eac081f3dd161
Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
3 years agoMerge "Increase minimum coverage"
Toine Siebelink [Tue, 20 Apr 2021 13:29:00 +0000 (13:29 +0000)]
Merge "Increase minimum coverage"

3 years agoCreate child data node (part 1): CPS service + REST 25/120625/2
Ruslan Kashapov [Mon, 19 Apr 2021 09:40:01 +0000 (12:40 +0300)]
Create child data node (part 1): CPS service + REST

Issue-ID: CPS-337
Change-Id: I9c5c62d144b5301ac80e2b82a5cc66a980dad011
Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
3 years agoIncrease minimum coverage 54/120654/2
Claudio D. Gasparini [Mon, 19 Apr 2021 16:18:19 +0000 (18:18 +0200)]
Increase minimum coverage

and remove unnecesary dependency

Issue-ID: CPS-343
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@intl.att.com>
Change-Id: I3bffbd9941f539852da2e1de82f8edda08ea1ea3

3 years agoRemove default password from application.yml 42/120542/3
Renu Kumari [Wed, 14 Apr 2021 14:14:13 +0000 (10:14 -0400)]
Remove default password from application.yml

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

3 years agoFix "ends-with" query syntax to conform with xPath definition 63/120563/1
ToineSiebelink [Thu, 15 Apr 2021 11:15:01 +0000 (12:15 +0100)]
Fix "ends-with" query syntax to conform with xPath definition

"ends-with" is HOW we resolve it in sql query. 'descendant anywhere' is the correct Path name for the '//' operator
- Updated method names, variable names, test description to reflect the correct terminolgy
- Udpated query to always perfix the target (descendant name) with an '\' so it alwasy only matches whole node names
- Updated regex for cpsPath to NOT accept triple /// (as per xPath this is invalid since a ndoeName cannot start with or contain a node separator

Issue-ID: CPS-336

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

3 years agoAdd Security waiver to Release Notes 87/120487/1
ToineSiebelink [Tue, 13 Apr 2021 14:10:47 +0000 (15:10 +0100)]
Add Security waiver to Release Notes

Issue-ID: CPS-329

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

3 years agoMerge "Fix liquibase changeset so we can upgrade from H to I"
Bruno Sakoto [Mon, 12 Apr 2021 15:09:41 +0000 (15:09 +0000)]
Merge "Fix liquibase changeset so we can upgrade from H to I"

3 years agoMerge "Fix to pull images from Onap nexus"
Toine Siebelink [Fri, 9 Apr 2021 16:20:29 +0000 (16:20 +0000)]
Merge "Fix to pull images from Onap nexus"

3 years agoFix liquibase changeset so we can upgrade from H to I 76/120276/3
ToineSiebelink [Wed, 7 Apr 2021 15:17:33 +0000 (16:17 +0100)]
Fix liquibase changeset so we can upgrade from H to I

- Undo (accidental) changes in orginal liquiubase cahnge set (03)
(see commit : https://gerrit.onap.org/r/c/cps/+/119061)
- Add new changeset for required changed related to checksum calcualtion
- There is a incorrect field name (checkstyle instead of checksum) in 03-loadData-schema-set.yaml
 but it seems to be ignored/overruled by the .csv import. If we change it liquibase report an checksum error during upgrade
i.e were are not allowed to touch the file!

Issue-ID: CPS-310

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

3 years agoUpdate release note for Honolulu 1.0.1 (RC1) 57/120357/1
ToineSiebelink [Fri, 9 Apr 2021 10:15:48 +0000 (11:15 +0100)]
Update release note for Honolulu 1.0.1  (RC1)

Issue-ID: CPS-297

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

3 years agoFix to pull images from Onap nexus 88/120288/1
Rishi.Chail [Thu, 8 Apr 2021 13:23:32 +0000 (14:23 +0100)]
Fix to pull images from Onap nexus

Issue-ID: CPS-319

Signed-off-by: Rishi.Chail <rishi.chail@est.tech>
Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca>
Change-Id: I2a82e56aef8572e4241b6644cb8c53d2d33ace97
(cherry picked from commit 27fba350de15c5a5145a66f75cc188a6f69633c6)

3 years agoFix SonarQube violations 74/120274/1
ToineSiebelink [Wed, 7 Apr 2021 15:04:37 +0000 (16:04 +0100)]
Fix SonarQube violations

- Used @SupressWarning where issue was casued by 3PP we have not control over
- Remove TODO's which are now addt to backlog as new JIRA's; CPS-324 and CPS-325

Issue-ID: CPS-89

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

3 years agoMerge "Fix upload size to be greater than 1MB"
Bruno Sakoto [Wed, 7 Apr 2021 13:37:12 +0000 (13:37 +0000)]
Merge "Fix upload size to be greater than 1MB"

3 years agoFix upload size to be greater than 1MB 67/120267/2
niamhcore [Wed, 7 Apr 2021 10:35:19 +0000 (11:35 +0100)]
Fix upload size to be greater than 1MB

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

3 years agoDelete anchor part 2: cps rest 10/120210/4
Ruslan Kashapov [Mon, 5 Apr 2021 11:46:03 +0000 (14:46 +0300)]
Delete anchor part 2: cps rest

Issue-ID: CPS-312
Change-Id: I08f92dfff3188bd96a69ec2ae01e0d0891b81d87
Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
3 years agoMerge "Fix security hotspots n Regex"
Bruno Sakoto [Wed, 7 Apr 2021 12:55:41 +0000 (12:55 +0000)]
Merge "Fix security hotspots n Regex"

3 years agoDelete anchor part 1: service and persistence layers 06/120206/3
Ruslan Kashapov [Mon, 5 Apr 2021 09:59:57 +0000 (12:59 +0300)]
Delete anchor part 1: service and persistence layers

Issue-ID: CPS-312
Change-Id: I10ab5a2d115ffdf8179a99b6ec712f3eccfb5f13
Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
3 years agoFix xpath building for data nodes addressing YANG augmentation 59/120159/4
Ruslan Kashapov [Fri, 2 Apr 2021 09:41:14 +0000 (12:41 +0300)]
Fix xpath building for data nodes addressing YANG augmentation

Issue-ID: CPS-316
Change-Id: I8aa0960c2a6af2b8fe5bc2fb90efe36baee7a881
Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
3 years agoMoved application.yml under cps-application 45/120145/5
Renu Kumari [Thu, 1 Apr 2021 14:44:31 +0000 (10:44 -0400)]
Moved application.yml under cps-application

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

3 years agoFix security hotspots n Regex 30/120230/1
ToineSiebelink [Tue, 6 Apr 2021 15:44:14 +0000 (16:44 +0100)]
Fix security hotspots n Regex

Attemting to fix security risks indentified by SQ by reducing unlimited spaces to 0-9 spaces
See https://sonarcloud.io/project/security_hotspots?id=onap_cps#
I think the proposed regex changes are acceptable and better then adding @SupressWarning annotation
(have to test by merging this commit as issues are not spotted when using SonarLinit locally?!)

Issue-ID: CPS-89

Change-Id: I00bbacb3145650ab7d21d13152c08d5ccf0c04fa
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
3 years agoMerge "rename nf-proxy to network-cm-proxy"
Toine Siebelink [Tue, 6 Apr 2021 13:05:40 +0000 (13:05 +0000)]
Merge "rename nf-proxy to network-cm-proxy"

3 years agoFix for security hotspot related to safe archive expansion 69/119369/9
puthuparambil.aditya [Tue, 16 Mar 2021 12:01:23 +0000 (12:01 +0000)]
Fix for security hotspot related to safe archive expansion

https://sonarcloud.io/project/security_hotspots?id=onap_cps&hotspots=AXfObcsqA2pnU4Plp4-g

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

3 years agorename nf-proxy to network-cm-proxy 07/120007/7
tragait [Tue, 30 Mar 2021 11:02:27 +0000 (12:02 +0100)]
rename nf-proxy to network-cm-proxy

This commit renames two modules cps-nf-proxy-rest and
cps-nf-proxy-service to cps-ncmp-rest, cps-ncmp-service.
Docker image names are also changed respectively.
Swagger auto generated api files are also modified.

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

3 years agoMerge "Use ONAP recommended base Java Docker image"
Toine Siebelink [Thu, 1 Apr 2021 11:40:06 +0000 (11:40 +0000)]
Merge "Use ONAP recommended base Java Docker image"

3 years agoFix to store data for 2 anchors using same model 77/119677/5
Bruno Sakoto [Tue, 23 Mar 2021 18:42:00 +0000 (14:42 -0400)]
Fix to store data for 2 anchors using same model

This change deletes the database index on fragment table for dataspace
and xpath.

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

3 years agoUse ONAP recommended base Java Docker image 17/120017/2
Rishi.Chail [Tue, 30 Mar 2021 13:02:03 +0000 (14:02 +0100)]
Use ONAP recommended base Java Docker image

Issue-ID: CPS-304

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

3 years agoFix for AlreadyDefinedException test. 80/119980/1
niamhcore [Mon, 29 Mar 2021 12:27:42 +0000 (13:27 +0100)]
Fix for AlreadyDefinedException test.

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

3 years agoProvide the reason why data is not compliant 81/119281/4
Bruno Sakoto [Sat, 13 Mar 2021 00:21:55 +0000 (19:21 -0500)]
Provide the reason why data is not compliant

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

3 years agoAdd timestamp to docker snapshots 22/119322/2
Rishi.Chail [Mon, 15 Mar 2021 13:35:57 +0000 (13:35 +0000)]
Add timestamp to docker snapshots

Issue-ID: CPS-264

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

3 years agoInternal Server Error when creating the same data node twice 33/119333/9
niamhcore [Mon, 15 Mar 2021 15:54:12 +0000 (15:54 +0000)]
Internal Server Error when creating the same data node twice

This change adds a generic exception handler class for a already defined object and handles a JsonSyntaxException.

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

3 years agoFix code smells 64/119364/2
Rishi.Chail [Mon, 15 Mar 2021 14:36:23 +0000 (14:36 +0000)]
Fix code smells

1. removed typedefs annotation
2. chnaged final string constant name

Issue-ID: CPS-89

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

3 years agoDocs: overview, architecture, design, modeling 54/118854/7
Ruslan Kashapov [Tue, 2 Mar 2021 14:48:41 +0000 (16:48 +0200)]
Docs: overview, architecture, design, modeling

Issue-ID: CPS-268
Change-Id: I31480a9a6186af0ddedae4f0eca06a744a2e2d64
Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
3 years agoMerge "Move web security configuration to application module"
Toine Siebelink [Fri, 12 Mar 2021 16:04:00 +0000 (16:04 +0000)]
Merge "Move web security configuration to application module"

3 years agoMove web security configuration to application module 47/119147/5
Ruslan Kashapov [Thu, 11 Mar 2021 12:15:49 +0000 (14:15 +0200)]
Move web security configuration to application module

Issue-ID: CPS-288
Change-Id: Ieba184c3e4727e354c19a3db31325052d15ced44
Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
3 years agoException stack trace is exposed 39/119139/5
niamhcore [Thu, 11 Mar 2021 10:34:35 +0000 (10:34 +0000)]
Exception stack trace is exposed

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

3 years agoSuppress csrf sonar security hotspot warning 98/119098/2
Bruno Sakoto [Wed, 10 Mar 2021 18:13:50 +0000 (13:13 -0500)]
Suppress csrf sonar security hotspot warning

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

3 years agoFix for security hotspot related to wek cyptography 61/119061/3
puthuparambil.aditya [Wed, 10 Mar 2021 11:55:33 +0000 (11:55 +0000)]
Fix for security hotspot related to wek cyptography

https://sonarcloud.io/project/security_hotspots?id=onap_cps&hotspots=AXfObcurA2pnU4Plp4-j

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

3 years agoFix SonarQube Coverage for test cases 47/119047/5
Hanif Kukkalli [Wed, 10 Mar 2021 09:57:22 +0000 (10:57 +0100)]
Fix SonarQube Coverage for test cases

NfProxy Test Coverage
Issue-ID: CPS-89

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

3 years agoFix SOnarQube bug on Regex 71/118971/3
ToineSiebelink [Tue, 9 Mar 2021 15:27:06 +0000 (15:27 +0000)]
Fix SOnarQube bug on Regex

- Regex included unlimitted repetition is now limited to 99
99 nested yang container should sufice, in my experience in 5G 20-30 levels is the max I have seen
we can always record it as a 'known limitation'
-tried to improve the redability of the Regex using constant names
- Added edge-case senarios testing related to query regex

Issue-ID: CPS-89

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

3 years agoImprove error reporting for invalid cps path query 59/118959/1
niamhcore [Tue, 9 Mar 2021 14:23:52 +0000 (14:23 +0000)]
Improve error reporting for invalid cps path query

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

3 years agoUpdate versions for next release 46/118846/3
Rishi.Chail [Fri, 5 Mar 2021 12:32:33 +0000 (12:32 +0000)]
Update versions for next release

Issue-ID: CPS-256

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

3 years agoDeliver final image for Honululu 44/118844/1
Rishi.Chail [Fri, 5 Mar 2021 12:00:07 +0000 (12:00 +0000)]
Deliver final image for Honululu

Issue-ID: CPS-256

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

3 years agoDeliver new maven artifacts 43/118843/1
Rishi.Chail [Fri, 5 Mar 2021 11:21:56 +0000 (11:21 +0000)]
Deliver new maven artifacts

Issue-ID: CPS-256

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

3 years agoMerge "Upgrade version number"
Toine Siebelink [Fri, 5 Mar 2021 09:10:51 +0000 (09:10 +0000)]
Merge "Upgrade version number"

3 years agoAdd basic authentication security 73/118773/13
Bruno Sakoto [Wed, 3 Mar 2021 23:27:54 +0000 (18:27 -0500)]
Add basic authentication security

Endpoints exposed outside from the cluster require
basic authentication except actuator health and info endpoints.

Default user credentials are embedded in the application,
they can be overridden with system environment properties.

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

3 years agoUpgrade version number 34/118834/1
Bruno Sakoto [Fri, 5 Mar 2021 00:05:02 +0000 (19:05 -0500)]
Upgrade version number

Honolulu RC0 will be version 1.0.0

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

3 years agoCPS-265 - Update cps path query to support 'ends with' 61/118761/5
niamhcore [Wed, 3 Mar 2021 12:05:09 +0000 (12:05 +0000)]
CPS-265 - Update cps path query to support 'ends with'

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

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