From 53be001c283800b0cd83a662ba0589f3abc6f136 Mon Sep 17 00:00:00 2001 From: sourabh_sourabh Date: Mon, 27 Jan 2025 13:58:35 +0000 Subject: Realistic Examples: K6 Test-ware - resourceIdentifiers must be url encoded fdns from ManagedElement. e.g.: ManagedElement=NRNode1/GNBDUFunction=1/NRCellDU=cell1 - resourceIdentifer refers to the object where the search starts from. This request will search for NRCellDUs and return their cellLocalId. The resourceIdentifier should be: ManagedElement=NRNode1/GNBDUFunction=1 Issue-ID: CPS-2482 Change-Id: Ic6ac360c71fcfc80f27367b626ad85d40a58a292 Signed-off-by: sourabh_sourabh --- k6-tests/ncmp/common/passthrough-crud.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'k6-tests/ncmp') diff --git a/k6-tests/ncmp/common/passthrough-crud.js b/k6-tests/ncmp/common/passthrough-crud.js index 251ddf8890..a3d48fd590 100644 --- a/k6-tests/ncmp/common/passthrough-crud.js +++ b/k6-tests/ncmp/common/passthrough-crud.js @@ -29,7 +29,7 @@ import { export function passthroughRead(useAlternateId) { const cmHandleReference = getRandomCmHandleReference(useAlternateId); - const resourceIdentifier = 'NRCellDU/attributes/cellLocalId'; + const resourceIdentifier = 'ManagedElement=NRNode1/GNBDUFunction=1'; const datastoreName = 'ncmp-datastore:passthrough-operational'; const includeDescendants = true; const url = generatePassthroughUrl(cmHandleReference, datastoreName, resourceIdentifier, includeDescendants); @@ -38,7 +38,7 @@ export function passthroughRead(useAlternateId) { export function passthroughWrite(useAlternateId) { const cmHandleReference = getRandomCmHandleReference(useAlternateId); - const resourceIdentifier = 'NRCellDU/attributes/cellLocalId'; + const resourceIdentifier = 'ManagedElement=NRNode1/GNBDUFunction=1'; const datastoreName = 'ncmp-datastore:passthrough-running'; const includeDescendants = false; const url = generatePassthroughUrl(cmHandleReference, datastoreName, resourceIdentifier, includeDescendants); @@ -54,7 +54,7 @@ export function legacyBatchRead(cmHandleIds) { const payload = JSON.stringify({ "operations": [ { - "resourceIdentifier": "NRCellDU/attributes/cellLocalId", + "resourceIdentifier": "ManagedElement=NRNode1/GNBDUFunction=1", "targetIds": cmHandleIds, "datastore": "ncmp-datastore:passthrough-operational", "options": "(fields=NRCellDU/attributes/cellLocalId)", -- cgit