[ONOS-2225] Implement REST API for Flow Objectives
This commit implements REST API for Flow Objective Service.
The corresponding unit test will be followed in a separated commit.
Change-Id: I94d1dc6cfc07fc9d07fcf8c303c8e395b40ed122
diff --git a/web/api/src/main/resources/definitions/ObjectivePolicy.json b/web/api/src/main/resources/definitions/ObjectivePolicy.json
new file mode 100644
index 0000000..de811ac
--- /dev/null
+++ b/web/api/src/main/resources/definitions/ObjectivePolicy.json
@@ -0,0 +1,13 @@
+{
+ "type": "object",
+ "title": "objectivePolicy",
+ "required": [
+ "policy"
+ ],
+ "properties": {
+ "policy": {
+ "type": "string",
+ "example": "policy expression"
+ }
+ }
+}
\ No newline at end of file