summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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
2022-03-14Async: NCMP Rest impl. including Request ID generationsourabh_sourabh4-21/+70
- In case of invalid topic return http status 400 with error message - Unit test is modified to handle/validate InvalidTopicException Issue-ID: CPS-828 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech> Change-Id: I05645c92ccebb8aa422a47f6edcde7b64088a118
2022-03-14Merge "Replacing ModelMapper with MapStruct"Toine Siebelink21-124/+188
2022-03-11Merge "Async: NCMP Rest impl. including Request ID generation"Bruno Sakoto20-169/+537
2022-03-11Merge "Updated cmhandle registration openapi documentation"Toine Siebelink1-11/+11
2022-03-11Merge "Removed ExtendedModuleReference Object"Toine Siebelink14-115/+42
2022-03-10Updated cmhandle registration openapi documentationRenu Kumari1-11/+11
- Fixed the cmhandle registration request example Issue-ID: CPS-896 Signed-off-by: Renu Kumari <renu.kumari@bell.ca> Change-Id: If4a7c820add676adb9637ce56678da3f5607bbcd
2022-03-10Replacing ModelMapper with MapStructlukegleeson21-124/+188
- Removed Model Mapper from pom files - Replaced ModelMapper with MapStruct - Added Tests for MapStruct - Changed mapstruct annotations for individual variables to be null safe rather than all variables - Excluded generated code from code coverage - Set ModuleReferences input to required for SchemaSet so that ModuleReferences list set to empty list rather than null Issue-ID: CPS-127 Signed-off-by: lukegleeson <luke.gleeson@est.tech> Change-Id: I43f874aea79f58dda5526c6fdead27d8474d90af
2022-03-10Removed ExtendedModuleReference Objectsourabh_sourabh14-115/+42
-Introduced ModuleReference with 2 prop name and revision -Removed default constructor of ModuleReference Issue-ID: CPS-592 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech> Change-Id: I27a8a521f133c0773ef0aa0b9700ac42f6bc613b
2022-03-10Async: NCMP Rest impl. including Request ID generationsourabh_sourabh20-169/+537
- Based on topic api can be sync or async - RequestId is generated using UUID - Used UriComponentBuilder to populate dmi service url. - New test cases are introduced to validate service url generation. Issue-ID: CPS-828 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech> Change-Id: I2696d5cb012d9274b0c1265f16aa9b2369657f05
2022-03-08Merge "Dependency Injection using Lombok"Bruno Sakoto1-21/+10
2022-03-07Dependency Injection using Lombokmpriyank1-21/+10
- NotificationService dependency injection using Lombok and populate dataspace patterns post injection. Issue-ID: CPS-906 Change-Id: Ia7d32903b18861d22cdd4e6809d9fe746181d389 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2022-03-04Updating sequences in db migration scriptDylanB95EST2-1/+26
Added a dynamic set value changeset for sequence id to both changelog 05 and 10. Issue-ID: CPS-900 Change-Id: Ia3ec0b66a89b151435acfa4ebaed3886307b75ea Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
2022-03-03Merge "Update dmi-registry yang to support cmHandle State"Bruno Sakoto7-12/+350
2022-03-03Merge "Bug fix for delete data node not working for root node"Renu Kumari3-32/+28
2022-03-03Bug fix for delete data node not working for root nodeputhuparambil.aditya3-32/+28
Fixing event for deletion of container node Fixing event for deletion of root node when '' is passed as xpath Issue-ID: CPS-895 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: I0676aec29e7b7e12bef2300219207ddc22414daa
2022-03-03Update dmi-registry yang to support cmHandle Statelukegleeson7-12/+350
- Added dmi-registry@2022-02-10 which contains the new dmi-registry yang model to support the cmHandle State. - Added changelog 12 which removes previous dmi-registries from the db - Added changelog 13 which adds new dmi-registry - Edited yangResourceCsvGenerator.py so that it generates for each argument given and does not generate the module_name and revision for dmi-registry@2021-12-13. - Updated rollback for changeset 11.1 Issue-ID: CPS-874 Signed-off-by: lukegleeson <luke.gleeson@est.tech> Change-Id: I4ab949f0bc00a52376b42a5ac8a33d397eefcedf
2022-03-02Update dependencies as recommended by SECCOMToineSiebelink1-0/+10
See also https://wiki.onap.org/display/SV/Jakarta+CPS Issue-ID: CPS-815 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: I184eabd45a62a99bbb09f09b699b74a5d51939f7
2022-03-02Merge "CPS-475 - Fix SQ codesmells introduced as aprt of CPS-887"Toine Siebelink1-2/+2
2022-03-02CPS-475 - Fix SQ codesmells introduced as aprt of CPS-887JosephKeenan1-2/+2
Issue-ID: CPS-475 Change-Id: If277242bd84e6c53d1ce288ac2a3803f99740ab2 Signed-off-by: JosephKeenan <joseph.keenan@est.tech>
2022-03-02Addressed refactoring comments related to method namempriyank3-13/+17
- YangRepository method names streamlined as per JPA Issue-ID: CPS-647 Change-Id: Ifd514947944131894d849bdbf1b7ec52959b0164 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>