summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2022-04-28Updated the documentation with limitation of leaf conditionLathish1-1/+4
Issue-ID: CPS-988 Change-Id: I6d02b35b949c62f956b291a86d4abe6e1a70b3ec Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
2022-04-27Add methods to Lock Anchor entityemaclee12-36/+415
Added separate integration and mock-based unit tests Issue-ID: CPS-898 Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech> Change-Id: I14d1d1c41759ce028e2417fdd2df001280e19ab2
2022-04-26Merge "Fix Absolute Path to list with Integer/String key"Toine Siebelink13-149/+392
2022-04-25Fix Absolute Path to list with Integer/String keyLathish13-149/+392
- Introduced normalizedXpath to normalize the xpath and cpspath - Introduced normalizedAncestorpath to normalize the ancestor path in xpath and cpspath - Added new condition in the ANTLR Grammar to capture the invalid path in the xpath - Introduced PathParsingException to replace the IllegalStateException Issue-ID: CPS-961 Change-Id: Ie10f5c6cfc466387e79eec184b933297d1d79587 Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
2022-04-21Review spring framework dependencyBruno Sakoto1-5/+3
Use default spring framework version from spring boot dependencies. Then, cps application is now currently using spring-web 5.3.16 (from spring boot 2.6.4) instead of previously specified 5.3.13. Issue-ID: CPS-998 Change-Id: If16c5f4c7176a34b5a595a1411d3caa763d3c2f0 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca>
2022-04-18Document ncmp-inventory error code in openapiRenu Kumari2-23/+55
Issue-ID: CPS-896 Signed-off-by: Renu Kumari <renu.kumari@bell.ca> Change-Id: Ic39da86c18ac921a6a3d213064f0b7c77d08e06f
2022-04-12Refactor existing model sync code into separate packagesourabh_sourabh5-66/+134
- Created a new class to seperate sync related operations of modules. - Kept newly created class into .../api/inventory/sync package. - Created a separate groovy test. - Fixed existing groovy test. Issue-ID: CPS-950 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech> Change-Id: Ie7cc36ea75daf43f1383757bcf2057c5cb4894b1
2022-04-12Fix ANTLR version issueLathish1-0/+1
- Updated ANTLR compiler version to 4.9.2 to be compatible with runtime version Issue-ID: CPS-961 Change-Id: I78a3fe541c9edcfc891fb045a60ed117d3aa5b08 Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
2022-04-11Add bounds to sphinx requirementCédric Ollivier1-1/+3
As ONAP was created before Oct 20 2020 in RTD, we must set bounds to enforce a compatible Sphinx version (see manual). Issue-ID: DOC-782 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: I5ed268d592986764bf040690a47c5024692768b7
2022-04-11Fix Sonar Qube ViolationsDylanB95EST1-12/+11
Immediately return expression Issue-ID: CPS-475 Change-Id: I2c33c94bef1ff097786299d3a037feea2b4ebbff Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
2022-04-08Fix Sonar Qube Violations - Recurring taskDylanB95EST2-3/+4
Fix sonar issues in CPS. - Remove Unnecessary cast to List - Immediately return expession Issue-ID: CPS-475 Change-Id: Ic3fa2f3f92784682045a780d87c6737d04f37659 Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
2022-04-08Merge "Refactoring/ Adding Tests for Validation"Joseph Keenan29-121/+633
2022-04-08Refactoring/ Adding Tests for ValidationDylanB95EST29-121/+633
Refactored classes affected by validation Have added tests for anywhere where validation is used Have refactored the parse and sync modules validation to be validated at the public api method Issue-ID: CPS-322 Change-Id: I4989cfd03300fbdca41571d0aa2d0b96978858ba Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
2022-04-08Merge "Fix to stop build failure on CopyrightCheck Error"Toine Siebelink1-0/+4
2022-04-08Merge "Update info.yml for new Committer"Toine Siebelink1-0/+5
2022-04-07Update info.yml for new CommitterJosephKeenan1-0/+5
-Updating INFO.yaml to include new committer for CPS (JosephKeenan) Issue-ID: CPS-985 Signed-off-by: JosephKeenan <joseph.keenan@est.tech> Change-Id: I08ca90749e13a977f83d173f2cd72146753c2370
2022-04-07Fix to stop build failure on CopyrightCheck Errorlukegleeson1-0/+4
- This will make the maven build see an error thrown by the python script as a success and won't fail the build Issue-ID: CPS-911 Signed-off-by: lukegleeson <luke.gleeson@est.tech> Change-Id: Ibc5311de8a2f173a92e44c20c1c244f016a99588
2022-04-06Merge "dmi plugin version updated to 1.2.0-SNAPSHOT-latest"Bruno Sakoto1-1/+1
2022-04-06Query based on Public CM PropertiesJosephKeenan24-23/+415
-Updated OpenAPI for new Endpoint -Will replace SQL with CPSPathQuery once investigation is complete -Functionality in place to determine if public properties match - -Added Unit and CSIT tests - small modifications may need to be made -CSIT tests enhanced to add additional nodes and tests Issue-ID: CPS-731 Change-Id: I403e603ce79c4a4a6994d51b459b5703510d5a83 Signed-off-by: DylanB95EST <dylan.byrne@est.tech> Signed-off-by: JosephKeenan <joseph.keenan@est.tech>
2022-04-06dmi plugin version updated to 1.2.0-SNAPSHOT-latestputhuparambil.aditya1-1/+1
CSIT updated to test the changes on Accept header Issue-ID: CPS-957 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: I2fb4abd5dff5ab7b02345ad6b4899987c2553130
2022-04-05Async: NCMP Rest impl. including Request ID generationsourabh_sourabh7-137/+161
- Restructured code and moved some of them at controller and service layer. - Unit is fixed and organized to it's belonging classes. Issue-ID: CPS-828 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech> Change-Id: I0919218e35b1d11cb579d707f376b76de80409da
2022-04-05[cps] Fix getResourceDataForPassthroughOperational endpointputhuparambil.aditya15-138/+39
Get endpoint only accepts application/json. Issue-ID: CPS-957 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: Ifc7426fbcd6073a39554014dc18b2107b6343b16
2022-04-05Merge "Structured Exception details for DMI"Bruno Sakoto8-29/+232
2022-04-04Structured Exception details for DMImpriyank8-30/+232
- Introduced DmiErrorMessage in API docs with 502 Bad Gateway - HttpClientRequestException will be thrown which will be exposed as 502 BAD Gateway for the client from NCMP Issue-ID: CPS-917 Change-Id: Iba8f159e8216bc1f63a9ab86208e5c802437e2e8 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2022-04-01Update CM-Handle registration responseRenu Kumari6-17/+196
- update openapi.yml with new response structure - send only details of failed cm-handle operations - updated csit to validate 200 status Issue-ID: CPS-896 Signed-off-by: Renu Kumari <renu.kumari@bell.ca> Change-Id: I3b868bcc5b8ff488c31faef51edc82c771452234
2022-04-01Fix issue around duplicate build tagToineSiebelink1-15/+13
Fixes failing build after merge of CPS-322. Duplicate build tag found in checkstyle POM Issue-ID: CPS-322 Change-Id: I099e4242e419d7b393e7787d3f75f9909dce52ac Signed-off-by: DylanB95EST <dylan.byrne@est.tech> Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
2022-03-31Merge "Additional validation for names/identifiers"Toine Siebelink25-60/+231
2022-03-30Merge "Copyright Check Script"Toine Siebelink6-0/+782
2022-03-30Additional validation for names/identifiersDylanB95EST25-60/+231
Implementing additional regex validation for names/identifiers in CPS - Introduces a CpsValidator - Applies to relevent java public API's - Tests have been updated where necessary Issue-ID: CPS-322 Change-Id: I29ab8820bb1fe0eee247e425d6bb018bcd38f28e Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
2022-03-28Merge "Updated the Documentation with sample yang and json"Toine Siebelink2-15/+138
2022-03-27Registration Response for Create cmhandles operationsRenu Kumari4-217/+227
- Changed implementation to register each cm-handle at a time instead of registering all at once - Removed YangCMHandleList class and using String format to generated expected JSON - Response of all three operation types is returned in the updateDmiRegistrationAndSyncModule method - Changed parseAndRemoveCmHandlesInDmiRegistration to protected to keep in sync with create flow - Refactored existing create CMHandle test cases Issue-ID: CPS-896 Signed-off-by: Renu Kumari <renu.kumari@bell.ca> Change-Id: I5b0c01b3b8e31ca7c257b1e04069e35268be1132
2022-03-25Merge "Add Start and Stop sessions on JAVA API"Toine Siebelink10-44/+302
2022-03-25Copyright Check Scriptlukegleeson6-0/+782
- Prints warnings to build log if copyright issues detected - File ignore included for checkstyle folder and common extensions which don't have copyrights - Included Tests Issue-ID: CPS-911 Signed-off-by: lukegleeson <luke.gleeson@est.tech> Change-Id: Idbdd050af964335cc32218e3c11c77d4101f9ecd
2022-03-25Registration Response for Update and Delete cmhandles operationsRenu Kumari7-84/+228
- Process registration in the delete, create and update order - updateRegistration returns DMIRegistartionRespons that contains response for all operations - Added logic to not delete cmhandle if schemaset deletion fails Issue-ID: CPS-896 Signed-off-by: Renu Kumari <renu.kumari@bell.ca> Change-Id: I907ff678d478894e7d4d3cc24b23a979c02ed97a
2022-03-25Add Start and Stop sessions on JAVA APIemaclee10-44/+302
Issue-ID: CPS-899 Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech> Change-Id: Idbeb922790824b1ca601d6d4798df45efa57d685
2022-03-25Merge "Update maven build deploy version"Toine Siebelink4-0/+48
2022-03-25Updated the Documentation with sample yang and jsonLathish2-15/+138
Issue-ID: CPS-940 Change-Id: I66b2f0cc1007a23498803cca695aa3d19c0eb433 Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
2022-03-24Update SpringBoot when approved version has Log4J 2.17.1 or higherJosephKeenan2-13/+3
-Updated cps-dependencies/pom.xml SpringBoot to v2.6.4 -Updated cps-parent/pom.xml springboot maven to v2.6.4 -Updated spring cloud dependencies to 2021.0.1 Issue-ID: CPS-958 Change-Id: I37aca89edf6da83501414b4f202d3bb88464c801 Signed-off-by: JosephKeenan <joseph.keenan@est.tech>
2022-03-24Update maven build deploy versionemaclee4-0/+48
Issue-ID: CPS-953 Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech> Change-Id: Icc79e3836a186a2a9ce79c0e97965bc7e1fbb347
2022-03-23Merge "Update log4j dependency version from 2.17.1 to 2.17.2"Toine Siebelink1-4/+4
2022-03-22Merge "Update docs to add info on providing additional config"Bruno Sakoto1-2/+7
2022-03-22Merge "Return Registration response for updating cmhandles"Toine Siebelink4-12/+227
2022-03-22Update docs to add info on providing additional configRenu Kumari1-2/+7
- Added information on overriding values of spring-supported properties Issue-ID: CPS-918 Signed-off-by: Renu Kumari <renu.kumari@bell.ca> Change-Id: I660cd9ea0c4c73d972f9c1645f5ed28308282fdc
2022-03-22Update log4j dependency version from 2.17.1 to 2.17.2emaclee1-4/+4
Issue-ID: CPS-953 Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech> Change-Id: I1f97b1864128c9e1105ecef2bfa5e598eefcd5d5
2022-03-21Update versions for next releaseToineSiebelink16-18/+18
Update Minor version number (on master) for next release as part of creating Jakarta release branch Issue-ID: CPS-952 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: Ie96ae7ce8997774d3ea27275c73e7d0703257e5e
2022-03-21Return Registration response for updating cmhandlesRenu Kumari4-12/+227
- Added CMHandleRegistrationResponse class for registration response - Send response in the case of success and failure - Each update operation in the request is independent on previous one Issue-ID: CPS-896 Signed-off-by: Renu Kumari <renu.kumari@bell.ca> Change-Id: Ic6cc69da48bd2078029784cabede4f5965054c03
2022-03-16Upgrade to next snapshot versionBruno Sakoto16-16/+16
Issue-ID: CPS-933 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: I5ba87c850aa932737cc62e312a825c69a3db5a02
2022-03-16Release container artifact for version 3.0.0Bruno Sakoto1-0/+8
Issue-ID: CPS-933 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: I3131b12f025248250755360fd1e3221c8fc89278
2022-03-16Release maven artifacts for version 3.0.0Bruno Sakoto1-0/+4
Issue-ID: CPS-933 Change-Id: I8bede2dfd5f230e42096d54c5f6644a588c15110 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca>
2022-03-15Create primary documentation for Jakarta releaseBruno Sakoto8-415/+1054
* Update release notes * Update openapi documentation * Fix section title hierarchy * Fix admin container directive not found Issue-ID: CPS-935 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: Iabdc357aa0168c1becafd6de1ac7703ec3bd1afa