summaryrefslogtreecommitdiffstats
path: root/cps-rest/docs
AgeCommit message (Collapse)AuthorFilesLines
2021-01-19Delete schema set - REST and service layersRuslan Kashapov2-0/+25
Issue-ID: CPS-121 Change-Id: I0fe885c79f98c994a8ac25a59b77b99eee4b3076 Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
2021-01-15Split OpenAPI yaml fileputhuparambil.aditya4-392/+352
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-11Rework CpsModulePersistenceServiceClaudio David Gasparini1-0/+35
- 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-06Create dataspaceRuslan Kashapov1-0/+29
Issue-ID: CPS-134 Change-Id: Ie7f00f9c322a12a6c2a71c1407f6970a7dd24d2d Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
2020-12-24Create schema set REST API and service levelRuslan Kashapov1-0/+41
Issue-ID: CPS-123 Change-Id: Ie6d5fd4755454331415af7b80eaf85925efab395 Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
2020-12-17Associate anchor to schema setRuslan Kashapov1-22/+12
- db schema updated - db layer tests provided for ancor create and reading by dataspace - anchor model is removed from rest api as extra - api/spi updated to use string references instead of object Issue-ID: CPS-99 Change-Id: Ideeb83fa9e91ec1816308d8327a6589b999c64c5 Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
2020-12-17Split the CpsRestController.javaputhuparambil.aditya1-47/+8
1. Changes in openApi.yml tags to cps-admin and cps-data 2. 2 different controllers implementing the corresponding Interfaces generated by the openapi 3. CpsRestExceptionHandler.java modified to handle the exceptions from all the controllers Issue-ID: CPS-129 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: If4da380771093f2a06946340c015ffa5c39e105d
2020-12-11Remove depredcated code/classesniamhcore1-43/+0
Issue-ID: CPS-93 Signed-off-by: niamhcore <niamh.core@est.tech> Change-Id: I49db5244400d5eb4206d59e73aaf801b7f90c61c
2020-12-10Retrieve All anchors for a given Dataspaceputhuparambil.aditya1-1/+6
Issue-ID: CPS-8 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: Idb2e4f83d390f078345e556d89781e0bf4a9a41f
2020-11-30REST level exception handling cleanupRuslan Kashapov1-15/+25
- removed direct handling of persistence exceptions - error message model is now described via OpenAPI config Issue-ID: CPS-79 Change-Id: Ib460b020ae9c650e1f81b46ab01dab641c953170 Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
2020-11-18VSE: Create an anchor in the given dataspaceRishi.Chail1-15/+23
Issue-ID: CPS-42 https://jira.onap.org/browse/CPS-42 Signed-off-by: Rishi Chail <rishi.chail@est.tech> Change-Id: If67be6f13889808da4d9fe830595766af67e4fdf
2020-11-16Fixing errors in openapi.yamlniamhcore1-14/+0
https://jira.onap.org/browse/CPS-83 Issue-ID: CPS-83 Signed-off-by: niamhcore <niamh.core@est.tech> Change-Id: I665b829b65cebcec6f03951aa1c8a91f59f2269b
2020-11-06Move cps files to root dirJessica Wagantall1-0/+387
Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>