commit | 3738ee5e65a5fd97a341093b3198ab791cfe386d | [log] [tgz] |
---|---|---|
author | Toshio Koide <t-koide@onlab.us> | Wed Feb 12 14:57:39 2014 -0800 |
committer | Toshio Koide <t-koide@onlab.us> | Wed Feb 12 14:57:39 2014 -0800 |
tree | 999a3a367d7369f00eaf554a08558917b40295d1 | |
parent | 58b3497d3fb9297d17f5f88a25c416208c5d929c [diff] [blame] |
wip - add rest intent handling Change-Id: I6a127c2aaebfcb4915b80625a03d48a12102db77
diff --git a/src/main/java/net/onrc/onos/datagrid/web/DatagridWebRoutable.java b/src/main/java/net/onrc/onos/datagrid/web/DatagridWebRoutable.java index 1d3afe7..e0e1666 100644 --- a/src/main/java/net/onrc/onos/datagrid/web/DatagridWebRoutable.java +++ b/src/main/java/net/onrc/onos/datagrid/web/DatagridWebRoutable.java
@@ -17,6 +17,7 @@ public Restlet getRestlet(Context context) { Router router = new Router(context); router.attach("/get/map/{map-name}/json", GetMapResource.class); + router.attach("/add/intent/json", IntentResource.class); return router; }