Implement REST API of policy

Change-Id: I46f5a3cd6d66cf7a3a90a5d153b3878fdf5cbd31
diff --git a/impl/src/test/resources/droppolicy.json b/impl/src/test/resources/droppolicy.json
new file mode 100644
index 0000000..9a0e0ee
--- /dev/null
+++ b/impl/src/test/resources/droppolicy.json
@@ -0,0 +1,4 @@
+{
+  "policy_id": "DROP",
+  "policy_type": "DROP"
+}
\ No newline at end of file
diff --git a/impl/src/test/resources/redirectpolicy.json b/impl/src/test/resources/redirectpolicy.json
new file mode 100644
index 0000000..928788d
--- /dev/null
+++ b/impl/src/test/resources/redirectpolicy.json
@@ -0,0 +1,11 @@
+{
+  "policy_id": "REDIRECT[of:0000000000000001, of:0000000000000002, of:0000000000000003]",
+  "policy_type": "REDIRECT",
+  "spinesToEnforce": {
+    "deviceId": [
+      "of:0000000000000001",
+      "of:0000000000000002",
+      "of:0000000000000003"
+    ]
+  }
+}
\ No newline at end of file
diff --git a/impl/src/test/resources/trafficmatch.json b/impl/src/test/resources/trafficmatch.json
new file mode 100644
index 0000000..aea9585
--- /dev/null
+++ b/impl/src/test/resources/trafficmatch.json
@@ -0,0 +1,28 @@
+{
+  "traffic_match_id": "-1756753738",
+  "policy_id": "DROP",
+  "selector": {
+    "criteria": [
+      {
+        "type": "IP_PROTO",
+        "protocol": 6
+      },
+      {
+        "type": "IPV4_SRC",
+        "ip": "10.0.0.1/32"
+      },
+      {
+        "type": "IPV4_DST",
+        "ip": "10.0.0.2/32"
+      },
+      {
+        "type": "TCP_SRC",
+        "tcpPort": 80
+      },
+      {
+        "type": "TCP_DST",
+        "tcpPort": 81
+      }
+    ]
+  }
+}
\ No newline at end of file