summaryrefslogtreecommitdiffstats
path: root/cps-ncmp-rest-stub
AgeCommit message (Collapse)AuthorFilesLines
2022-09-23Prepare for next CPS Core releasempriyank1-1/+1
- Bumping the CPS Core version from 3.1.0 to 3.1.1 Issue-ID: CPS-1295 Change-Id: I6bdff6dd3b266a24c3e89ba811be6bc64beb6e54 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2022-09-07Handle invalid operations on merged datastore endpointbmiklos1-6/+10
- Move the other endpoints under the same thats handling the get - Add exceptions to handle invalid cases - Add new tests for testing the invalid cases Issue-ID: CPS-1001 Issue-ID: CPS-1219 Change-Id: I26fd57b5921f976cde7089b4cf1e8c0e5d8dc43b Signed-off-by: bmiklos <miklos.baranyak@est.tech>
2022-09-01Implement merging all ncmp datastore endpoints into onebmiklos1-51/+48
- Merging all endpoints under /v1/ch/{cm-handle}/data/ds/ncmp-datastore:* to /v1/ch/{cm-handle}/data/ds/{ncmp-datastore-name} - Implementing missing tests from parent - Introducing abstract class to keep the common code and just pass in the supplier to be executed in sync or async manner - Removed the existing get endpoints for passthrough-running, passthrough-operational and operational and merged them into a common get endpoint Issue-ID: CPS-1178 Issue-ID: CPS-1001 Change-Id: I6956c81d5acfa8fb11217bcc16cb795b62070fa3 Signed-off-by: bmiklos <miklos.baranyak@est.tech>
2022-07-28Enable/Disable Data Sync for Cm HandleDylanB95EST1-0/+7
-Create API Which will enable/disable data sync enabled flag -Default functionality of module sync watchdog is to set to false -Remove global config param -Will set initial sync state based on data sync enabled flag -Throws an Exception if the same data sync enabled flag tries to be set -Throws Exception if state is not in READY -Data Sync enabled must be true to complete data sync process - Delete all resource data within fragment table related to synced cm handle when data sync is set to false Issue-ID: CPS-1133 Change-Id: Ib47bbd8293f083c1d705d91bd0def74e6a105c72 Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
2022-07-04Fix: cps-ncmp-rest-stub implement new methodslukegleeson1-0/+12
Override getModuleDefinitionsByCmHandleId Override getModuleReferencesByCmHandle Issue-ID: CPS-1094 Signed-off-by: lukegleeson <luke.gleeson@est.tech> Change-Id: I3e4f91602f338e6f22eaf89212cf31a1e7af0c33
2022-07-01cps-ncmp-rest-stub can not be compiled and executedputhuparambil.aditya2-20/+21
Issue-ID: CPS-1094 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: I2cd010e0bbe140198db22cf1f62cc8b0b9c80729
2022-06-07PoC Contract Stubs NCMP Rest Endpointsputhuparambil.aditya7-0/+518
Stubs defined for cmHandleSearch and passthrough operational Issue-ID: CPS-919 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: I4fd7bee8fa70ed237f74c721068ffa39817d5c7a