summaryrefslogtreecommitdiffstats
path: root/properties-node/provider/src/test/resources/test-invalid.json
diff options
context:
space:
mode:
authorDan Timoney <dt5972@att.com>2018-06-25 11:50:14 +0000
committerGerrit Code Review <gerrit@onap.org>2018-06-25 11:50:14 +0000
commit75352fad2c5d2165bb67a34ecd61117af3214306 (patch)
tree40d20b47f1641f48d9ebb5e66d6df5b63ad41342 /properties-node/provider/src/test/resources/test-invalid.json
parent329ddc02f970a666e2a18dea1631ad6fbbe4e60d (diff)
parentb942c2091cacfe09e503e445c7a15b77080ab357 (diff)
Merge "CCSDK PropNode can read JSON and put to ctx"
Diffstat (limited to 'properties-node/provider/src/test/resources/test-invalid.json')
-rw-r--r--properties-node/provider/src/test/resources/test-invalid.json29
1 files changed, 29 insertions, 0 deletions
diff --git a/properties-node/provider/src/test/resources/test-invalid.json b/properties-node/provider/src/test/resources/test-invalid.json
new file mode 100644
index 00000000..21af3ac1
--- /dev/null
+++ b/properties-node/provider/src/test/resources/test-invalid.json
@@ -0,0 +1,29 @@
+ "equipment-data": [
+ {
+ "server-count": "4",
+ "max-server-speed": "1600000",
+ "number-primary-servers": "2",
+ "equipment-id": "Server1",
+ "server-model": "Unknown",
+ "server-id": "Server1",
+ "test-node" : {
+ "test-inner-node" : "Test-Value"
+ }
+ }
+ ],
+ "resource-state": {
+ "threshold-value": "1600000",
+ "last-added": "1605000",
+ "used": "1605000",
+ "limit-value": "1920000"
+ },
+ "resource-rule": {
+ "endpoint-position": "VCE-Cust",
+ "soft-limit-expression": "0.6 * max-server-speed * number-primary-servers",
+ "resource-name": "Bandwidth",
+ "service-model": "DUMMY",
+ "hard-limit-expression": "max-server-speed * number-primary-servers",
+ "equipment-level": "Server"
+ },
+ "message": "The provisioned access bandwidth is at or exceeds 50% of the total server capacity."
+}