summaryrefslogtreecommitdiffstats
path: root/k6-tests/ncmp/common/search-base.js
diff options
context:
space:
mode:
authorPriyank Maheshwari <priyank.maheshwari@est.tech>2024-09-25 09:26:32 +0000
committerGerrit Code Review <gerrit@onap.org>2024-09-25 09:26:32 +0000
commit2dbf14888235bf6140fe2e041e8681e15a725314 (patch)
tree53196ae34480a4263efd5b1b275e5389e45fb1a9 /k6-tests/ncmp/common/search-base.js
parent2bcccff7e2891f708cedc08cdbf969025d63019e (diff)
parenta9de166ce7d58b4ccabbd1d586a2ee9dc3b878e8 (diff)
Merge "[k6] CM handles searches using different filters"
Diffstat (limited to 'k6-tests/ncmp/common/search-base.js')
-rw-r--r--k6-tests/ncmp/common/search-base.js21
1 files changed, 18 insertions, 3 deletions
diff --git a/k6-tests/ncmp/common/search-base.js b/k6-tests/ncmp/common/search-base.js
index a6424fe5d0..1e98e9b07b 100644
--- a/k6-tests/ncmp/common/search-base.js
+++ b/k6-tests/ncmp/common/search-base.js
@@ -36,19 +36,34 @@ function executeSearchRequest(searchType, scenario) {
}
const SEARCH_PARAMETERS_PER_SCENARIO = {
- "module-and-properties": {
+ "no-filter": {
+ "cmHandleQueryParameters": []
+ },
+ "module": {
"cmHandleQueryParameters": [
{
"conditionName": "hasAllModules",
"conditionParameters": [{"moduleName": "ietf-yang-types"}]
- },
+ }
+ ]
+ },
+ "property": {
+ "cmHandleQueryParameters": [
{
"conditionName": "hasAllProperties",
"conditionParameters": [{"Color": "yellow"}]
}
]
},
- "readyCmHandles": {
+ "trust-level": {
+ "cmHandleQueryParameters": [
+ {
+ "conditionName": "cmHandleWithTrustLevel",
+ "conditionParameters": [ {"trustLevel": "COMPLETE"} ]
+ }
+ ]
+ },
+ "cps-path-for-ready-cm-handles": {
"cmHandleQueryParameters": [
{
"conditionName": "cmHandleWithCpsPath",