summaryrefslogtreecommitdiffstats
path: root/src/app/assets/stubs/ConvertQueryToTree.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/assets/stubs/ConvertQueryToTree.json')
-rw-r--r--src/app/assets/stubs/ConvertQueryToTree.json142
1 files changed, 142 insertions, 0 deletions
diff --git a/src/app/assets/stubs/ConvertQueryToTree.json b/src/app/assets/stubs/ConvertQueryToTree.json
new file mode 100644
index 0000000..4a3a31e
--- /dev/null
+++ b/src/app/assets/stubs/ConvertQueryToTree.json
@@ -0,0 +1,142 @@
+{
+ "node-filter": [],
+ "children": [
+ {
+ "node-filter": [
+ [
+ {
+ "filter": "EQ",
+ "value": [
+ "test-physical-location-id"
+ ],
+ "key": "physical-location-id"
+ }
+ ],
+ [
+ {
+ "filter": "EQ",
+ "value": [
+ "test-physical-location-type"
+ ],
+ "key": "physical-location-type"
+ }
+ ],
+ [
+ {
+ "filter": "EQ",
+ "value": [
+ "test-street1"
+ ],
+ "key": "street1"
+ }
+ ],
+ [
+ {
+ "filter": "EQ",
+ "value": [
+ "test-city"
+ ],
+ "key": "city"
+ }
+ ],
+ [
+ {
+ "filter": "EQ",
+ "value": [
+ "12345"
+ ],
+ "key": "postal-code"
+ }
+ ],
+ [
+ {
+ "filter": "EQ",
+ "value": [
+ "Test-Country"
+ ],
+ "key": "country"
+ }
+ ],
+ [
+ {
+ "filter": "EQ",
+ "value": [
+ "Test-Region"
+ ],
+ "key": "region"
+ }
+ ]
+ ],
+ "children": [
+ {
+ "node-filter": [],
+ "children": [],
+ "node-type": "cloud-region",
+ "where-filter": [],
+ "not-where": false,
+ "id": "A2",
+ "store": true,
+ "parent-type": "complex",
+ "labels": []
+ },
+ {
+ "node-filter": [],
+ "children": [],
+ "node-type": "pnf",
+ "where-filter": [],
+ "not-where": false,
+ "id": "A3",
+ "store": true,
+ "parent-type": "complex",
+ "labels": []
+ },
+ {
+ "node-filter": [],
+ "children": [],
+ "node-type": "pserver",
+ "where-filter": [],
+ "not-where": false,
+ "id": "A4",
+ "store": true,
+ "parent-type": "complex",
+ "labels": []
+ },
+ {
+ "node-filter": [],
+ "children": [],
+ "node-type": "rack",
+ "where-filter": [],
+ "not-where": false,
+ "id": "A5",
+ "store": true,
+ "parent-type": "complex",
+ "labels": []
+ },
+ {
+ "node-filter": [],
+ "children": [],
+ "node-type": "zone",
+ "where-filter": [],
+ "not-where": false,
+ "id": "A6",
+ "store": true,
+ "parent-type": "complex",
+ "labels": []
+ }
+ ],
+ "node-type": "complex",
+ "where-filter": [],
+ "not-where": false,
+ "id": "A1",
+ "store": true,
+ "parent-type": "",
+ "labels": []
+ }
+ ],
+ "node-type": "",
+ "where-filter": [],
+ "not-where": false,
+ "id": "A0",
+ "store": false,
+ "parent-type": ""
+}