aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/resources/event/champ-vertex-event-violations.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/resources/event/champ-vertex-event-violations.json')
-rw-r--r--src/test/resources/event/champ-vertex-event-violations.json30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/test/resources/event/champ-vertex-event-violations.json b/src/test/resources/event/champ-vertex-event-violations.json
new file mode 100644
index 0000000..ad30912
--- /dev/null
+++ b/src/test/resources/event/champ-vertex-event-violations.json
@@ -0,0 +1,30 @@
+{
+ "header": {
+ "request-id": "5cf7f973-c406-4507-ad71-72d7b3d26c36",
+ "timestamp": "20180316T092301Z",
+ "source-name": "CHAMP",
+ "event-type": "update-result",
+ "validation-entity-type": "pserver"
+ },
+ "body": {
+ "operation": "CREATE",
+ "transaction-id": "6544a144-0c56-4f71-81d8-a6170efbb296",
+ "timestamp": 1521192181065,
+ "vertex": {
+ "key": "890c8b3f-892f-48e3-85cd-748ebf0426a5",
+ "schema-version": "v13",
+ "type": "pserver",
+ "properties": {
+ "hostname":"hostname1",
+ "number-of-cpus":8
+ }
+ },
+ "result": "SUCCESS"
+ },
+ "policyViolations": [
+ {
+ "summary": "a summary",
+ "policyName": "a policy name"
+ }
+ ]
+} \ No newline at end of file