aboutsummaryrefslogtreecommitdiffstats
path: root/integration-test/src/test/resources/data/ncmp-registry
diff options
context:
space:
mode:
authorsourabh_sourabh <sourabh.sourabh@est.tech>2024-05-02 16:46:21 +0100
committersourabh_sourabh <sourabh.sourabh@est.tech>2024-05-15 12:43:08 +0100
commita13ad9702211d66f3aee17eaeadd2b39053934cb (patch)
tree4d6061f8134287b480414d32053e9fa6b027671c /integration-test/src/test/resources/data/ncmp-registry
parent7c2cc25118efeb6480b69f8cdca36c5b310968d3 (diff)
Integration for getting cm handle by longest alternate id match
- Added a new integration test to check total time and memory taken to get cm handle by its longest match alternate id. Issue-ID: CPS-2176 Change-Id: I7a6b299c46803a0878406f1e16fdae970b361dd9 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
Diffstat (limited to 'integration-test/src/test/resources/data/ncmp-registry')
-rw-r--r--integration-test/src/test/resources/data/ncmp-registry/innerCmHandleNode.json24
1 files changed, 24 insertions, 0 deletions
diff --git a/integration-test/src/test/resources/data/ncmp-registry/innerCmHandleNode.json b/integration-test/src/test/resources/data/ncmp-registry/innerCmHandleNode.json
new file mode 100644
index 0000000000..88446c4a0f
--- /dev/null
+++ b/integration-test/src/test/resources/data/ncmp-registry/innerCmHandleNode.json
@@ -0,0 +1,24 @@
+{
+ "id": "cm-handle-CM_HANDLE_ID_HERE",
+ "alternate-id": "/a/b/c/d-ALTERNATE_ID_AS_PATH",
+ "module-set-tag": "my-module-set-tag",
+ "dmi-service-name": "http://ncmp-dmi-plugin-stub:8080",
+ "dmi-data-service-name": "",
+ "dmi-model-service-name": "",
+ "additional-properties": [
+ {
+ "name": "neType",
+ "value": "RadioNode"
+ }
+ ],
+ "state": {
+ "cm-handle-state": "READY",
+ "last-update-time": "2023-03-01T19:18:33.571+0000",
+ "data-sync-enabled": false,
+ "datastores": {
+ "operational": {
+ "sync-state": "NONE_REQUESTED"
+ }
+ }
+ }
+} \ No newline at end of file