From a13ad9702211d66f3aee17eaeadd2b39053934cb Mon Sep 17 00:00:00 2001 From: sourabh_sourabh Date: Thu, 2 May 2024 16:46:21 +0100 Subject: 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 --- .../data/ncmp-registry/innerCmHandleNode.json | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 integration-test/src/test/resources/data/ncmp-registry/innerCmHandleNode.json (limited to 'integration-test/src/test/resources/data/ncmp-registry') 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 -- cgit 1.2.3-korg