summaryrefslogtreecommitdiffstats
path: root/prh-commons/src/test/resources
diff options
context:
space:
mode:
authorkurczews <krzysztof.kurczewski@nokia.com>2019-06-06 11:03:32 +0200
committerkurczews <krzysztof.kurczewski@nokia.com>2019-06-13 07:10:28 +0200
commit08d176c8640902686a26798729304a0316259274 (patch)
tree263a569a10685ba7e911f08ed731d9e44b598c50 /prh-commons/src/test/resources
parentdc3940018875d8064c1eb51afdc39768a033328a (diff)
Custom queries for PRH
Change-Id: Ie795c5951b63c138f1898bdfc16509233febf7ec Issue-ID: DCAEGEN2-1604 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
Diffstat (limited to 'prh-commons/src/test/resources')
-rw-r--r--prh-commons/src/test/resources/pnf_query_request.json5
-rw-r--r--prh-commons/src/test/resources/pnf_query_response.json27
2 files changed, 32 insertions, 0 deletions
diff --git a/prh-commons/src/test/resources/pnf_query_request.json b/prh-commons/src/test/resources/pnf_query_request.json
new file mode 100644
index 00000000..2a171c76
--- /dev/null
+++ b/prh-commons/src/test/resources/pnf_query_request.json
@@ -0,0 +1,5 @@
+{
+ "start": [
+ "/nodes/pnfs/pnf/foo"
+ ]
+} \ No newline at end of file
diff --git a/prh-commons/src/test/resources/pnf_query_response.json b/prh-commons/src/test/resources/pnf_query_response.json
new file mode 100644
index 00000000..f74b37a6
--- /dev/null
+++ b/prh-commons/src/test/resources/pnf_query_response.json
@@ -0,0 +1,27 @@
+{
+ "results": [
+ {
+ "pnf": {
+ "pnf-name": "foo",
+ "in-maint": false,
+ "resource-version": "1559732370039"
+ }
+ },
+ {
+ "logical-link": {
+ "link-name": "bar",
+ "in-maint": false,
+ "link-type": "attachment-point",
+ "resource-version": "1559805666899"
+ }
+ },
+ {
+ "service-instance": {
+ "service-instance-id": "pnf-service-id",
+ "service-instance-name": "baz",
+ "resource-version": "1559732385933",
+ "orchestration-status": "ACTIVE"
+ }
+ }
+ ]
+} \ No newline at end of file