summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-01-27Merge "Docker image building and docker-compose for cps-nf-proxy"Toine Siebelink2-0/+49
2021-01-27Merge "Initial cps-nf-proxy-rest module setup in CPS project"Toine Siebelink15-0/+595
2021-01-27Draft at proposal where the DataNodeBuilder 'replaces' yang Utils to buidl a ↵ToineSiebelink7-287/+244
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
2021-01-26Docker image building and docker-compose for cps-nf-proxyRuslan Kashapov2-0/+49
Issue-ID: CPS-184 Change-Id: I364a7f1ff41ca491f522038269d95d91b76da313 Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
2021-01-26Merge "Loggers actuator config typo fix"Toine Siebelink1-1/+1
2021-01-26Loggers actuator config typo fixRuslan Kashapov1-1/+1
Issue-ID: CPS-158 Change-Id: I55abb9a459288d83eb7002e8f92c6e89148087db Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
2021-01-26Initial cps-nf-proxy-rest module setup in CPS projectRuslan Kashapov15-0/+595
Issue-ID: CPS-171 Change-Id: I8998dc2818b6bc07fc4fe25a2d735b4ab8b4b817 Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
2021-01-25Add DataNodeDoesNotExist Exceptionniamhcore5-5/+73
Issue-ID: CPS-182 Signed-off-by: niamhcore <niamh.core@est.tech> Change-Id: I05fdd0fbc207e4806c187b96d35d7b6c54b795ea
2021-01-22Retrieve an Anchor for a given dataspace by anchor name - Service layerRishi.Chail3-5/+28
Part of story already done in CPS-135 Issue-ID: CPS-55 Signed-off-by: Rishi.Chail <rishi.chail@est.tech> Change-Id: I0c4ae551f5c85866ce543fbb27b18ffff7d80462
2021-01-22Merge "Enable log level management via actuator, /cps/api path to use for ↵Toine Siebelink6-12/+30
REST controllers only only"
2021-01-21Remove Module TableRishi.Chail1-13/+1
Issue-ID: CPS-185 Signed-off-by: Rishi.Chail <rishi.chail@est.tech> Change-Id: Id93b3ec4dec27184bc46767146d9801063f54916
2021-01-22Add another Child to a Fragment that has already at least one Childniamhcore5-63/+147
Issue-ID: CPS-164 Signed-off-by: niamhcore <niamh.core@est.tech> Change-Id: Ib6a4f8ce4fc9247726e016ecaa0b1e45ff11bdbb
2021-01-22Merge "ZIP archive support for multiple YANG files delivery on Schema Set ↵Toine Siebelink6-27/+197
creation using REST"
2021-01-22Move jib plugin configuration from parentClaudio David Gasparini2-57/+35
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
2021-01-22Merge "Introduce caffeine cache"Toine Siebelink8-27/+170
2021-01-21Introduce caffeine cacheClaudio David Gasparini8-28/+170
Issue-ID: CPS-163 Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech> Change-Id: Iff9b831c2d895d82aff419f60a8dd86a38b545d0
2021-01-21Merge "Add checkstyle rule for unused imports"Toine Siebelink2-2/+1
2021-01-21Enable log level management via actuator, /cps/api path to use for REST ↵Ruslan Kashapov6-12/+30
controllers only only Issue-ID: CPS-158 Change-Id: I1f9ff4429f331ca4204d1acaf73ac896a68994d0 Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
2021-01-21Add checkstyle rule for unused importsClaudio David Gasparini3-3/+1
Issue-ID: CPS-89 Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech> Change-Id: I2cb1f758c9d2f451c11a607a84e1f196ae087165
2021-01-21Fix sonarqube violationsToineSiebelink2-2/+1
Issue-ID: CPS-89 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: I8ce5f6fedb5d7c4d6c17d419b759b9d836f94ae9
2021-01-21ZIP archive support for multiple YANG files delivery on Schema Set creation ↵Ruslan Kashapov6-27/+197
using REST Issue-ID: CPS-180 Change-Id: I7e78a595593b170b981746e9aed1a7e5a45b202a Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
2021-01-20Test E2E Network Slicing model with CPSRishi.Chail4-0/+3138
Added TC with yang schema sets which are base for E2E Network slicing Issue-ID: CPS-169 Signed-off-by: Rishi.Chail <rishi.chail@est.tech> Change-Id: I7f082833880157a1711b5a380697c8ba75a1a39f
2021-01-19Delete schema set - REST and service layersRuslan Kashapov9-8/+127
Issue-ID: CPS-121 Change-Id: I0fe885c79f98c994a8ac25a59b77b99eee4b3076 Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
2021-01-18Delete schema set - persistence layerRuslan Kashapov11-17/+291
Issue-ID: CPS-121 Change-Id: I6fc8343969971b76d7f78ad202dd8ec1058c03fb Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
2021-01-18Merge "Persisting data nodes (fragments tree structure)"Toine Siebelink6-3/+284
2021-01-18Merge "Configure coverage per module for cps-service"Toine Siebelink2-1/+5
2021-01-18Persisting data nodes (fragments tree structure)niamhcore6-3/+284
Issue-ID: CPS-136 Signed-off-by: niamhcore <niamh.core@est.tech> Change-Id: I559afad41bf0eab1cc98c777a418b348c9c1b81c
2021-01-18Fix code smellRishi.Chail1-0/+1
Issue-ID: CPS-89 Signed-off-by: Rishi.Chail <rishi.chail@est.tech> Change-Id: I35615ff650c6b22391729513cb9185fd5986a285
2021-01-15Configure coverage per module for cps-serviceClaudio David Gasparini2-1/+5
Set global minimum to 90 % coverage Set specific minimum for cps-service, once achieved the 90 all modules should respect this minimum Issue-ID: CPS-87 Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech> Change-Id: I29172e47b907d596ffe983ff16429f44e44f8913
2021-01-15Retrieve the SchemaSet resources for an AnchorRishi.Chail11-24/+150
Issue-ID: CPS-135 Signed-off-by: Rishi.Chail <rishi.chail@est.tech> Change-Id: Ib7c17c5180212c7dd3b96cf27797c84166041cf9
2021-01-15SonarQube fixesToineSiebelink3-1/+40
- Ignore missed SonarQube violations on SchemaSetAlreadyDefinedException - Added coverage fro CpsConfig as it will not be covered by MVC tests Issue-ID: CPS-89 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: I52911419dd9556cf078f2a05eab2c7783cbf304f
2021-01-15Merge "SonarQube fixes"Rishi Chail7-5/+127
2021-01-15Split OpenAPI yaml fileputhuparambil.aditya7-396/+356
1. components like schema, parameters, responses, requestBodies all moved to components.yml (https://swagger.io/docs/specification/components/) 2. CpAdmin.yml includes the configuration details for cpsAdmin APIs 3. CpsData.yml includes the API configuration details for cpsData Issue-ID: CPS-155 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: I18fb9b8a2be85d180d4625657aca399dbf60b7bc
2021-01-14SonarQube fixesToineSiebelink7-5/+127
- Ignore SonarQube violations related to inheritance depth for exception classes - Increase coverage service module Issue-ID: CPS-89 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: I7998dee0f9abea0638639e0587b08febad6075f5
2021-01-14Fix code coverage for sonarClaudio David Gasparini7-13/+13
The get the multi module aggregate report to be consumed by sonar we are enforced to use full path to all reports. - 90.4 % coverage detected by sonar achieved Issue-ID: CPS-87 Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech> Change-Id: I91d81063e7234327cb4458c31fa27601ec22e9cd
2021-01-13Include aggregate xml report on sonar coverageClaudio David Gasparini4-0/+14
Issue-ID: CPS-87 Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech> Change-Id: I50de5df1bc79ff22c90a5cbe2f1b143164c8abea
2021-01-13Merge "Rename entity artifacts, remove obsolete entities"Toine Siebelink17-374/+183
2021-01-13Rename entity artifacts, remove obsolete entitiesRuslan Kashapov17-374/+183
Issue-ID: CPS-162 Change-Id: I10604e12a01f22930278118830eed53f5a2b159c Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
2021-01-13Use jacoco aggregate reportsClaudio David Gasparini1-0/+12
Issue-ID: CPS-87 Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech> Change-Id: If34831469e3cbc47eacf869f811ac1f057318c82
2021-01-13Decouple anchor from fragment in persistence moduleRuslan Kashapov9-56/+150
Issue-ID: CPS-161 Change-Id: Ia446b26ee4eca9281e86bd2be3dd6836aa201597 Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
2021-01-13Merge "Use and configure sonar-maven-plugin"Toine Siebelink1-0/+4
2021-01-13Use and configure sonar-maven-pluginClaudio David Gasparini1-0/+4
for support multimodule project Issue-ID: CPS-87 Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech> Change-Id: I5c9ed23069a26ba28461f6c20c9222741333cf3d
2021-01-12Merge "Enable spotbugs and fix spotbugs warns"Toine Siebelink6-9/+19
2021-01-12Increase CPS Code CoverageRishi.Chail2-1/+3
Disable lombok generated code from coverage. Issue-ID: CPS-87 Signed-off-by: Rishi.Chail <rishi.chail@est.tech> Change-Id: I8f13eb480baddc78c00a5a0c9c0e180252119f2e
2021-01-12Enable spotbugs and fix spotbugs warnsClaudio David Gasparini6-9/+19
Issue-ID: CPS-159 Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech> Change-Id: Iee572fd740689a172ca599123b0751b5e909223a
2021-01-11Merge "Introduce spotbug plugin"Toine Siebelink6-0/+135
2021-01-11Introduce spotbug pluginClaudio David Gasparini6-0/+135
Issue-ID: CPS-159 Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech> Change-Id: I889b3009505421621007031fb99a43c5cd30be82
2021-01-11Rework CpsModulePersistenceServiceClaudio David Gasparini15-41/+160
- remove getModuleReferences - provide service returning YangTextSchemaSourceSet Issue-ID: CPS-21 Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech> Change-Id: I61cf6450c8ed8a5154990ea19467e016dc1155b4
2021-01-08Merge "Remove depredcated classes"Bruno Sakoto3-146/+0
2021-01-07Remove deprecated methodClaudio David Gasparini2-23/+0
Issue-ID: CPS-130 Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech> Change-Id: Id774f8b080eeb5dcfd78278ed6ef3831d44db711