aboutsummaryrefslogtreecommitdiffstats
path: root/cps-tbdmt-service/src/test/resources
diff options
context:
space:
mode:
authorNiranjana <niranjana.y60@wipro.com>2021-07-23 05:27:44 +0000
committerNiranjana Y <niranjana.y60@wipro.com>2021-07-30 11:33:18 +0000
commit3e5957464b6b4fa18bcae18bcfdce5fc9bace787 (patch)
tree398c1115de5f66b60d12d98f4106245ab7f64c9b /cps-tbdmt-service/src/test/resources
parente1216505db39f033c8460ca835eb352e27737b9f (diff)
Support for Multiple xpath queries in single api query
Issue-ID: CPS-510 Signed-off-by: Niranjana <niranjana.y60@wipro.com> Change-Id: I79c41d8028355a205d6d1e7808f64447dd94a28b
Diffstat (limited to 'cps-tbdmt-service/src/test/resources')
-rw-r--r--cps-tbdmt-service/src/test/resources/sample_multiple_query_data_1.json26
-rw-r--r--cps-tbdmt-service/src/test/resources/sample_multiple_query_data_2.json8
-rw-r--r--cps-tbdmt-service/src/test/resources/sample_multiple_query_data_3.json8
-rw-r--r--cps-tbdmt-service/src/test/resources/sample_transform_query_data.json104
4 files changed, 146 insertions, 0 deletions
diff --git a/cps-tbdmt-service/src/test/resources/sample_multiple_query_data_1.json b/cps-tbdmt-service/src/test/resources/sample_multiple_query_data_1.json
new file mode 100644
index 0000000..9cef3ea
--- /dev/null
+++ b/cps-tbdmt-service/src/test/resources/sample_multiple_query_data_1.json
@@ -0,0 +1,26 @@
+{
+ "branch":[
+ {
+ "name":"Right",
+ "nest":{
+ "name":"Big",
+ "birds":[
+ "Owl",
+ "Raven",
+ "Crow"
+ ]
+ }
+ },
+ {
+ "name":"Left",
+ "nest":{
+ "name":"Small",
+ "birds":[
+ "Robin",
+ "Sparrow",
+ "Finch"
+ ]
+ }
+ }
+ ]
+}
diff --git a/cps-tbdmt-service/src/test/resources/sample_multiple_query_data_2.json b/cps-tbdmt-service/src/test/resources/sample_multiple_query_data_2.json
new file mode 100644
index 0000000..8a4e509
--- /dev/null
+++ b/cps-tbdmt-service/src/test/resources/sample_multiple_query_data_2.json
@@ -0,0 +1,8 @@
+{
+ "name":"Big",
+ "birds":[
+ "Owl",
+ "Raven",
+ "Crow"
+ ]
+}
diff --git a/cps-tbdmt-service/src/test/resources/sample_multiple_query_data_3.json b/cps-tbdmt-service/src/test/resources/sample_multiple_query_data_3.json
new file mode 100644
index 0000000..b5770ab
--- /dev/null
+++ b/cps-tbdmt-service/src/test/resources/sample_multiple_query_data_3.json
@@ -0,0 +1,8 @@
+{
+ "name":"Small",
+ "birds":[
+ "Robin",
+ "Sparrow",
+ "Finch"
+ ]
+}
diff --git a/cps-tbdmt-service/src/test/resources/sample_transform_query_data.json b/cps-tbdmt-service/src/test/resources/sample_transform_query_data.json
new file mode 100644
index 0000000..d30b899
--- /dev/null
+++ b/cps-tbdmt-service/src/test/resources/sample_transform_query_data.json
@@ -0,0 +1,104 @@
+{
+ "attributes":{
+ "near-rt-ric-url":"10.165.160.47:6080",
+ "trackingArea":"Kingston",
+ "rANNFNSSIList":[
+ "e893-e93r-c0f2-kj76",
+ "m93ed-e93e-c0f2-9i7y"
+ ]
+ },
+ "GNBDUFunction":[
+ {
+ "idGNBDUFunction":"22",
+ "attributes":{
+ "gNBDUFunction-url":"10.165.160.13:6080",
+ "gNBIdLength":23,
+ "gNBDUName":"gnbdu1",
+ "gNBDUId":22,
+ "userLabel":"user",
+ "sAP":[
+ {
+ "host":"localhost",
+ "port":8080
+ }
+ ]
+ },
+ "NRCellDU":[
+ {
+ "idNRCellDU":"15299",
+ "attributes":{
+ "nRCellDU-url":"10.165.160.15:8083",
+ "cellLocalId":15299,
+ "pLMNInfoList":[
+ {
+ "mcc":"211",
+ "mnc":"211",
+ "sNSSAIList":[
+ {
+ "sNssai":"202",
+ "status":"active",
+ "configData":[
+ {
+ "configParameter":"maxNumberOfConns",
+ "configValue":20
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "nRPCI":11,
+ "nRTAC":14777,
+ "nRSectorCarrierRef":[
+ "OU=Sales"
+ ],
+ "userLabel":"user",
+ "sAP":[
+ {
+ "host":"localhost",
+ "port":8080
+ }
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "idGNBDUFunction":"33",
+ "attributes":{
+ "gNBDUFunction-url":"10.165.160.13:6080",
+ "gNBIdLength":23,
+ "gNBDUName":"gnbdu1",
+ "gNBDUId":22,
+ "userLabel":"user",
+ "sAP":[
+ {
+ "host":"localhost",
+ "port":8080
+ }
+ ]
+ },
+ "NRCellDU":[
+ {
+ "idNRCellDU":"15277",
+ "attributes":{
+ "nRCellDU-url":"10.165.160.15:8083",
+ "cellLocalId":15277,
+ "nRPCI":11,
+ "nRTAC":14777,
+ "nRSectorCarrierRef":[
+ "OU=Sales"
+ ],
+ "userLabel":"user",
+ "sAP":[
+ {
+ "host":"localhost",
+ "port":8080
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ]
+}